Remove wrong definitions from pthread header refactor
[glibc.git] / ChangeLog
blob95611f3a1fc3112e171ae790e86f334aa332267b
1 2017-05-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
4         (__pthread_rwlock_arch_t): Remove __data definition.
5         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
6         (__pthread_rwlock_arch_t): Likewise.
8 2017-05-11  Florian Weimer  <fweimer@redhat.com>
10         * resolv/inet_pton.c: Reformat in GNU style.  Remove
11         internal_function on static functions.
13 2017-05-11  Florian Weimer  <fweimer@redhat.com>
15         * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
16         from format_ai_flags.
17         (format_ai_flags): New function.  Incorporate flag formatting code
18         from format_ai_one.
19         (format_ai_canonname): New function.
20         (format_ai_one): Remove flags parameter.
21         (format_ai_family): Likewise.
22         (support_format_addrinfo): Call format_ai_flags,
23         format_ai_canonname.
24         * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
25         check_ai.
26         (check_ai): Call check_ai_hints.
27         (do_test): Add AI_CANONNAME tests.
29 2017-05-11  Florian Weimer  <fweimer@redhat.com>
31         * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
32         (gaih_inet): Likewise.
34 2017-05-10  Andreas Schwab  <schwab@suse.de>
36         * nptl/tst-fork1.c: Include <support/test-driver.c>.
37         (main): Rename to do_test and make static.
39 2017-05-10  Joseph Myers  <joseph@codesourcery.com>
41         * string/rawmemchr.c: Include <libc-diag.h>.
42         (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
43         with size (size_t)-1.
45 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
47         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
48         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
49         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
51         * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
52         [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
53         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
54         [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
55         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
56         [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
57         * sysdeps/unix/sysv/linux/kernel-features.h
58         (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
59         socket syscalls.
60         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
61         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
62         * sysdeps/unix/sysv/linux/i386/kernel-features.h
63         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
64         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
65         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
66         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
67         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
68         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
69         * sysdeps/unix/sysv/linux/sh/kernel-features.h
70         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
71         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
72         (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
73         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
74         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
76 2017-05-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
78         * posix/Makefile (headers): Add pthreadtypes-arch.h and
79         thread-shared-types.h.
80         * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
81         specific thread definition.
82         * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
83         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
84         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
85         * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
86         * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
87         * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
88         * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
89         * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
90         * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
91         * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
92         * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
93         * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
94         * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
95         * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
96         * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
97         thread definition between POSIX and C11.
98         * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
99         * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
100         * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
101         * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
102         * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
103         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
104         * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
105         * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
106         * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
107         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
108         * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
109         * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
110         * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
111         * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
112         * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
113         * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
114         definitions shared across all architectures.
116 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
118         * sysdeps/unix/sysv/linux/kernel-features.h
119         (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
120         (__ASSUME_SENDMMSG): Likewise.
121         (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
122         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
123         sendmmsg syscall if that can be assumed to be present, socketcall
124         otherwise, with no fallback for runtime failure.
126         * sysdeps/unix/sysv/linux/kernel-features.h
127         (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
128         (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
129         (__ASSUME_RECVMMSG): Likewise.
130         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
131         recvmmsg syscall if it can be assumed to be present, socketcall
132         otherwise, with no fallback for runtime failure.
134 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
135             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
137         * bits/libc-header-start.h:
138         (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
139         * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
140         * manual/creature.texi: Likewise.
142 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
143             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
145         * math/Makefile:
146         (type-float128-suffix): New variable
147         (type-float128-routines): Likewise
148         (type-float128-yes): Likewise
149         (types): Append float128 if supported
150         (types-basic): New variable to control the use of templates for
151         float, double, and long double, but not for float128 or newer types.
152         (type-basic-foreach): Likewise.
154         * sysdeps/ieee754/float128/Makeconfig: New file.
155         * sysdeps/ieee754/float128/Versions: New file.
157 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
159         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
160         Remove macro.
161         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
162         prlimit64 is always available and does not give an ENOSYS error.
163         * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
164         unconditional.
165         [!__NR_prlimit64]: Remove conditional code.
166         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
167         prlimit64 is always available and does not give an ENOSYS error.
168         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
170 2017-05-09  Zack Weinberg  <zackw@panix.com>
172         * sunrpc/tst-xdrmem2.c: Include stdint.h.
174 2017-05-09  Florian Weimer  <fweimer@redhat.com>
176         [BZ #21474]
177         * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
178         (__res_maybe_init): Likewise.
180 2017-05-09  Zack Weinberg  <zackw@panix.com>
182         * extra-modules.mk: Delete file.
183         * cppflags-iterator.mk: Rename to ...
184         * libof-iterator.mk: ...this.  Adjust comments.
186         * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
187         * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
188         * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
189         Use libof-iterator.mk instead of cppflags-iterator.mk or
190         extra-modules.mk.
192         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
193         extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
195 2017-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
197         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
199 2017-05-08  Carlos O'Donell  <carlos@redhat.com>
201         * stdio-common/vfprintf.c (EXTSIZ): Define.
202         (vfprintf): Use EXTSIZ.
203         (printf_positional): Likewise.
205 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
207         * sysdeps/unix/sysv/linux/kernel-features.h
208         (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
209         * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
210         <kernel-features.h>.
211         (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
213         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
214         (__ASSUME_GETCPU_SYSCALL): Remove macro.
216 2017-05-08  Florian Weimer  <fweimer@redhat.com>
218         Prevent multiple deletion of temporary files.
219         * support/temp_file.c (struct temp_name_list): Add owner member.
220         (add_temp_file): Record owner.
221         (support_delete_temp_files): Delete file only if owner matches.
222         * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
223         (do_prepare): Use create_temp_file instead of add_temp_file.
224         Initialize temp_fd1, temp_fd2.
225         (do_test): Use global temp_fd1, temp_fd2 variables.  Let the test
226         framework remove the temporary files.
227         * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
228         (do_prepare): Use create_temp_file instead of add_temp_file.
229         Initialize temp_fd1, temp_fd2, temp_fd3.
230         (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables.  Let
231         the test framework remove the temporary files.
232         * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
233         deletion.
234         * posix/tst-pathconf.c (do_test): Do not call rmdir on the
235         temporary directory.  It is removed by the test framework.
236         * dirent/tst-scandir.c (do_test): Likewise.
238 2017-05-08  Florian Weimer  <fweimer@redhat.com>
240         Delete temporary files in LIFO order.
241         * support/temp_file.c (struct temp_name_list): Replace q member
242         with next.
243         (add_temp_file): Add new file to front of linked list.
244         (support_delete_temp_files): Use next member.
245         (support_print_temp_files): Likewise.
247 2017-05-08  Florian Weimer  <fweimer@redhat.com>
249         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
250         sys/ultrasound.h.
251         * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
253 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
255         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
256         Remove.
257         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
258         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
259         (arch_minimum_kernel): Remove.
260         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
261         * README: Update statement about Linux kernel requirements.
263 2017-05-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
265         * manual/llio.texi: Add preadv and pwritev documentation.
267 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
269         [BZ #21455]
270         * bits/stdint-intn.h: New file.
271         * bits/stdint-uintn.h: Likewise.
272         * stdlib/Makefile (headers): Add bits/stdint-intn.h and
273         bits/stdint-uintn.h.
274         * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
275         <stdint.h>.
276         * posix/sys/types.h: Include <bits/stdint-intn.h>.
277         (__int8_t_defined): Do not define here.
278         (int8_t): Likewise.
279         (int16_t): Likewise.
280         (int32_t): Likewise.
281         (int64_t): Likewise.
282         [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
283         * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
284         <stdint.h>.
285         * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
286         * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
287         <bits/stdint-uintn.h>.
288         (int8_t): Do not define here.
289         (int16_t): Likewise.
290         (int32_t): Likewise.
291         (int64_t): Likewise.
292         (uint8_t): Likewise.
293         (uint16_t): Likewise.
294         (uint32_t): Likewise.
295         (uint64_t): Likewise.
296         * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
297         variable.
298         (test-xfail-XPG42/netdb.h/conform): Likewise.
299         (test-xfail-XPG42/netinet/in.h/conform): Likewise.
300         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
301         (test-xfail-UNIX98/netdb.h/conform): Likewise.
302         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
304 2017-05-04  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
306         * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
307         * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
308         the above.
309         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
310         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
312 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
314         [BZ #21445]
315         * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
317         [BZ #21457]
318         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
319         [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
320         __glibc_reserved1.
321         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
322         (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
323         (struct _fpxreg): Likewise.
324         [!__x86_64__] (struct _fpstate): Rename field reserved to
325         __glibc_reserved1.  Rename field padding to __glibc_reserved2.
326         [__x86_64__] (struct _fpstate): Rename field padding to
327         __glibc_reserved1.
328         (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
329         Rename field reserved2 to __glibc_reserved2.
330         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
331         [__x86_64__] (struct _libc_fpxreg): Rename field padding to
332         __glibc_reserved1.
333         [__x86_64__] (struct _libc_fpstate): Rename field padding to
334         __glibc_reserved1.
336 2017-05-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
338         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
339         variable name.
341 2017-05-03  H.J. Lu  <hongjiu.lu@intel.com>
343         [BZ #21391]
344         * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
345         Only call init_cpu_features.
346         [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
347         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
348         * sysdeps/i386/dl-procinfo.h: Removed.
349         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
350         <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>.  Include
351         <sysdeps/x86/dl-procinfo.h>.
352         (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
353         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
354         Include <sysdeps/x86/dl-procinfo.h> instead of
355          <sysdeps/generic/dl-procinfo.h>.
356         * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
357         (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
358         * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
359         (bit_cpu_MOVBE): Likewise.
360         (bit_cpu_BMI1): Likewise.
361         (bit_cpu_BMI2): Likewise.
362         (index_cpu_BMI1): Likewise.
363         (index_cpu_BMI2): Likewise.
364         (index_cpu_LZCNT): Likewise.
365         (index_cpu_MOVBE): Likewise.
366         (index_cpu_POPCNT): Likewise.
367         (reg_BMI1): Likewise.
368         (reg_BMI2): Likewise.
369         (reg_LZCNT): Likewise.
370         (reg_MOVBE): Likewise.
371         (reg_POPCNT): Likewise.
372         * sysdeps/x86/dl-hwcap.h: New file.
373         * sysdeps/x86/dl-procinfo.h: Likewise.
374         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
375         (_dl_x86_platforms): Likewise.
377 2017-05-03  DJ Delorie  <dj@redhat.com>
379         [BZ #21411]
380         * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
382 2017-05-03  Phil Blundell  <pb@pbcl.net>
384         * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
385         comments.
387 2017-05-03  Carlos O'Donell  <carlos@redhat.com>
389         [BZ #20116]
390         * nptl/pthread_create.c: Expand comments to describe
391         semaphore-like and mutex-like uses of PD->lock.
393 2017-04-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
395         * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
396         * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
397         * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
398         auto-generation list.
399         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
400         epoll_wait.
401         * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
402         Remove epoll_wait.
404         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
405         osf_select.
406         * sysdeps/unix/sysv/linux/alpha/select.c: New file.
407         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
408         osf_select from auto-generation list.
409         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
410         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
411         * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
412         * sysdeps/unix/sysv/linux/select.c: New file.
414         * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
415         * sysdeps/unix/sysv/linux/poll.c: New file.
416         * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
417         auto-generation list.
419 2017-05-03  Joseph Myers  <joseph@codesourcery.com>
421         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
422         New macro.
424 2017-05-02  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
426         [BZ #21179]
427         * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
428         R_SPARC_REGISTER relocations.
430 2017-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
432         * include/unistd.h (__pread): Add libc_hidden_proto.
433         (__pread64): Likewise.
434         (__pwrite): Likewise.
435         * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
436         (__pread64): Remove.
437         * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
438         * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
439         * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
441 2017-05-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
443         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
445 2017-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
447         * nptl/tst-cancel4-common.c: Use libsupport.
448         * nptl/tst-cancel4-common.h: Likewise.
449         * nptl/tst-cancel4.c (tf_read): Likewise.
450         (tf_readv): Likewise.
451         (tf_write): Likewise.
452         (tf_writev): Likewise.
453         (tf_sleep): Likewise.
454         (tf_usleep): Likewise.
455         (tf_nanosleep): Likewise.
456         (tf_select): Likewise.
457         (tf_pselect): Likewise.
458         (tf_poll): Likewise.
459         (tf_ppoll): Likewise.
460         (tf_wait): Likewise.
461         (tf_waitpid): Likewise.
462         (tf_waitid): Likewise.
463         (tf_sigpause): Likewise.
464         (tf_sigsuspend): Likewise.
465         (tf_sigwait): Likewise.
466         (tf_sigwaitinfo): Likewise.
467         (tf_sigtimedwait): Likewise.
468         (tf_pause): Likewise.
469         (tf_accept): Likewise.
470         (tf_send): Likewise.
471         (tf_recv): Likewise.
472         (tf_recvfrom): Likewise.
473         (tf_recvmsg): Likewise.
474         (tf_open): Likewise.
475         (tf_close): Likewise.
476         (tf_pread): Likewise.
477         (tf_pwrite): Likewise.
478         (tf_preadv): Likewise.
479         (tf_pwritev): Likewise.
480         (tf_fsync): Likewise.
481         (tf_fdatasync): Likewise.
482         (tf_msync): Likewise.
483         (tf_sendto): Likewise.
484         (tf_sendmsg): Likewise.
485         (tf_creat): Likewise.
486         (tf_connect): Likewise.
487         (tf_tcdrain): Likewise.
488         (tf_msgrcv): Likewise.
489         (tf_msgsnd): Likewise.
490         * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
491         * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
493         * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
494         expected arguments.
495         (do_test): Adapt to use libsupport.
497 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
499         * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
501         * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
502         (PF_MAX): Set to 44.
503         (AF_SMC): New macro.
505         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
506         kernel version to 4.11.
508 2017-04-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
510         [BZ #21280]
511         * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
512         signal of subnormals and adjust the exponent of power of 2 down
513         when low part has opposite sign.
515 2017-04-28  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
517         * sysdeps/powerpc/powerpc64le/Implies: New file.
518         * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
519         * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
520         * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
521         * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
522         * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
523         * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
524         * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
525         * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
526         * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
527         * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
528         * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
529         * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
530         * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
531         * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
532         * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
533         * sysdeps/powerpc/preconfigure: New file.
534         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
535         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
537 2017-04-28  Joseph Myers  <joseph@codesourcery.com>
539         * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
540         inclusion.
541         * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
542         Remove.
544 2017-04-27  Joseph Myers  <joseph@codesourcery.com>
546         * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
547         (XPG3): Rename standard to XPG4.
548         * conform/Makefile: Likewise.
549         * conform/list-header-symbols.pl: Likewise.
550         * conform/data/aio.h-data: Likewise.
551         * conform/data/arpa/inet.h-data: Likewise.
552         * conform/data/complex.h-data: Likewise.
553         * conform/data/ctype.h-data: Likewise.
554         * conform/data/dlfcn.h-data: Likewise.
555         * conform/data/fcntl.h-data: Likewise.
556         * conform/data/fenv.h-data: Likewise.
557         * conform/data/float.h-data: Likewise.
558         * conform/data/fmtmsg.h-data: Likewise.
559         * conform/data/ftw.h-data: Likewise.
560         * conform/data/grp.h-data: Likewise.
561         * conform/data/inttypes.h-data: Likewise.
562         * conform/data/iso646.h-data: Likewise.
563         * conform/data/langinfo.h-data: Likewise.
564         * conform/data/libgen.h-data: Likewise.
565         * conform/data/limits.h-data: Likewise.
566         * conform/data/locale.h-data: Likewise.
567         * conform/data/math.h-data: Likewise.
568         * conform/data/mqueue.h-data: Likewise.
569         * conform/data/ndbm.h-data: Likewise.
570         * conform/data/net/if.h-data: Likewise.
571         * conform/data/netdb.h-data: Likewise.
572         * conform/data/netinet/in.h-data: Likewise.
573         * conform/data/poll.h-data: Likewise.
574         * conform/data/pthread.h-data: Likewise.
575         * conform/data/pwd.h-data: Likewise.
576         * conform/data/sched.h-data: Likewise.
577         * conform/data/search.h-data: Likewise.
578         * conform/data/semaphore.h-data: Likewise.
579         * conform/data/signal.h-data: Likewise.
580         * conform/data/spawn.h-data: Likewise.
581         * conform/data/stdbool.h-data: Likewise.
582         * conform/data/stdint.h-data: Likewise.
583         * conform/data/stdio.h-data: Likewise.
584         * conform/data/stdlib.h-data: Likewise.
585         * conform/data/string.h-data: Likewise.
586         * conform/data/strings.h-data: Likewise.
587         * conform/data/stropts.h-data: Likewise.
588         * conform/data/sys/mman.h-data: Likewise.
589         * conform/data/sys/resource.h-data: Likewise.
590         * conform/data/sys/select.h-data: Likewise.
591         * conform/data/sys/socket.h-data: Likewise.
592         * conform/data/sys/stat.h-data: Likewise.
593         * conform/data/sys/statvfs.h-data: Likewise.
594         * conform/data/sys/time.h-data: Likewise.
595         * conform/data/sys/timeb.h-data: Likewise.
596         * conform/data/sys/types.h-data: Likewise.
597         * conform/data/sys/uio.h-data: Likewise.
598         * conform/data/sys/un.h-data: Likewise.
599         * conform/data/sys/wait.h-data: Likewise.
600         * conform/data/syslog.h-data: Likewise.
601         * conform/data/termios.h-data: Likewise.
602         * conform/data/tgmath.h-data: Likewise.
603         * conform/data/time.h-data: Likewise.
604         * conform/data/ucontext.h-data: Likewise.
605         * conform/data/unistd.h-data: Likewise.
606         * conform/data/utmpx.h-data: Likewise.
607         * conform/data/varargs.h-data: Likewise.
608         * conform/data/wchar.h-data: Likewise.
609         * conform/data/wctype.h-data: Likewise.
611 2017-04-26  Joseph Myers  <joseph@codesourcery.com>
613         * scripts/build-many-glibcs.py (Context.checkout): Default gcc
614         version to 7 branch.
616 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
618         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
619         earlyclobber to output operand of sqrt insn.
620         (__ieee754_sqrtf): Ditto.
622 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
624         [BZ #21426]
625         * misc/bits/types/struct_iovec.h: New file.
626         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
627         * include/bits/types/struct_iovec.h: New file.
628         * bits/uio.h (struct iovec): Replace by inclusion of
629         <bits/types/struct_iovec.h>.
630         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
631         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
632         of <sys/uio.h>.
633         * nptl/tst-cancel4.c: Include <sys/uio.h>
634         * posix/test-errno.c: Likewise.
635         * support/resolv_test.c: Likewise.
636         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
637         Remove.
638         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
639         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
640         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
642         * conform/data/sys/socket.h-data (*_t): Allow.
644 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
646         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
647         assignment.
649 2017-04-24  Daurnimator  <quae@daurnimator.com>
650             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
652         [BZ #21340]
653         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
654         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
655         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
656         valid flags.
657         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
658         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
659         POSIX_SPAWN_SETSID.
660         * sysdeps/posix/spawni.c (__spawni): Likewise.
661         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
662         * NEWS: Add note about POSIX_SPAWN_SETSID support.
664 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
666         * sysdeps/generic/math_private.h: Move the declaration of many
667         functions to sysdeps/generic/math_private_calls.h.
668         * sysdeps/generic/math_private_calls.h: New file with the
669         declarations of the functions removed from math_private.h
670         macroized by floating-point type.
672 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
674         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
675         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
676         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
677         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
678         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
679         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
681 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
683         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
684         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
685         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
686         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
687         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
688         New Define.
690 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
692         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
693         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
694         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
695         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
696         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
697         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
699 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
701         * sysdeps/s390/multiarch/ifunc-resolve.h
702         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
703         * sysdeps/s390/multiarch/8bit-generic.c
704         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
705         define ifunc resolvers.
707 2017-04-21  Florian Weimer  <fweimer@redhat.com>
709         [BZ #20424]
710         * manual/memory.texi (Replacing malloc): New section.
711         (Allocating Storage For Program Data): Reference it.
712         (The GNU Allocator): Likewise.
714 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
716         * stdlib/Versions (__strtod_internal): List explicitly, not as
717         wildcard.
718         (__strtof_internal): Likewise.
719         (__strtold_internal): Likewise.
720         (__strtol_internal): Likewise.
721         (__strtoll_internal): Likewise.
722         (__strtoul_internal): Likewise.
723         (__strtoull_internal): Likewise.
724         (__strtoq_internal): Likewise.
725         (__strtouq_internal): Likewise.
726         * wcsmbs/Versions (__wcstod_internal): Likewise.
727         (__wcstof_internal): Likewise.
728         (__wcstold_internal): Likewise.
729         (__wcstol_internal): Likewise.
730         (__wcstoll_internal): Likewise.
731         (__wcstoul_internal): Likewise.
732         (__wcstoull_internal): Likewise.
734 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
736         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
737         struct timespec definition.
739 2017-04-19  Florian Weimer  <fweimer@redhat.com>
741         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
743 2017-04-19  Florian Weimer  <fweimer@redhat.com>
745         * inet/rcmd.c (rresvport_af): Fix typo in comment.
746         * inet/rexec.c (rexec_af): Likewise.
748 2017-04-19  Zack Weinberg  <zackw@panix.com>
750         * posix/tst-mmap-offset.c: Include stdint.h.
751         * resolv/tst-ns_name_compress.c: Include string.h.
752         * resolv/tst-resolv-edns.c: Include resolv.h.
754 2017-04-19  Florian Weimer  <fweimer@redhat.com>
756         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
757         with __glibc_likely.
758         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
759         Replace __builtin_expect with __glibc_unlikely.
760         * resolv/res_init.c (__res_vinit): Likewise.
761         * resolv/res_query.c (__libc_res_nquery): Likewise.
762         * resolv/res_send.c (__libc_res_nsend): Likewise.
764 2017-04-19  Florian Weimer  <fweimer@redhat.com>
766         [BZ #15722]
767         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
768         with SOCK_CLOEXEC.
769         * resolv/res_send.c (send_vc, reopen): Likewise.
770         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
771         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
772         Likewise.
773         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
774         * inet/rexec.c (rexec_af): Add comment.
775         * inet/rcmd.c (rresvport_af): Likewise.
777 2017-04-19  Florian Weimer  <fweimer@redhat.com>
779         * nscd/connections.c (have_accept4): Removed definition.
780         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
781         accept4 works.
782         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
783         ia64 because that was the first version with accept4 support.
784         * support/Makefile (libsupport-routines): Add xaccept4.
785         * support/xsocket.h (xaccept4): Declare.
786         * support/xaccept4.c: New file.
787         * socket/tst-accept4.c: New file.
788         * socket/Makefile (tests): Add tst-accept4.
789         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
790         definition.
791         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
792         comment.
793         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
794         implementation is available.
795         (accept4): Use the system call if available, otherwise use the
796         socket call.
797         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
798         Set to 3.2.18.
799         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
800         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
801         accept4 is unconditionally available in later 3.2 stable kernels.
802         (__ASSUME_ACCEPT4_SYSCALL): Define.
803         * sysdeps/unix/sysv/linux/kernel-features.h
804         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
805         definitions.
806         * sysdeps/unix/sysv/linux/i386/kernel-features.h
807         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
809 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
811         * conform/Makefile (tests-special): Do not make addition of
812         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
813         (generated): Do not make addition of $(conformtest-header-base)
814         conditional on [$(cross-compiling) = no].
816         [BZ #21267]
817         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
818         if defined by <asm/socket.h> and not previously defined.
819         (IOCSIZE_SHIFT): Likewise.
820         (IOC_IN): Likewise.
821         (IOC_INOUT): Likewise.
822         (IOC_OUT): Likewise.
824 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
826         [BZ #21396]
827         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
828         Prefer_No_AVX512 if AVX512ER isn't available.
829         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
830         (index_arch_Prefer_No_AVX512): Likewise.
831         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
832         AVX512 version if Prefer_No_AVX512 is set.
833         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
834         Likewise.
835         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
836         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
837         Likewise.
838         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
839         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
840         Likewise.
841         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
842         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
843         Likewise.
845 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
847         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
848         Prefer_No_VZEROUPPER if AVX512ER is available.
849         * sysdeps/x86/cpu-features.h
850         (bit_cpu_AVX512PF): New.
851         (bit_cpu_AVX512ER): Likewise.
852         (bit_cpu_AVX512CD): Likewise.
853         (bit_cpu_AVX512BW): Likewise.
854         (bit_cpu_AVX512VL): Likewise.
855         (index_cpu_AVX512PF): Likewise.
856         (index_cpu_AVX512ER): Likewise.
857         (index_cpu_AVX512CD): Likewise.
858         (index_cpu_AVX512BW): Likewise.
859         (index_cpu_AVX512VL): Likewise.
860         (reg_AVX512PF): Likewise.
861         (reg_AVX512ER): Likewise.
862         (reg_AVX512CD): Likewise.
863         (reg_AVX512BW): Likewise.
864         (reg_AVX512VL): Likewise.
866 2017-04-18  Florian Weimer  <fweimer@redhat.com>
868         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
869         O_CLOEXEC is defined.
870         * include/fcntl.h (__have_o_cloexec): Remove declaration.
871         * io/Makefile (aux): Remove.
872         * io/have_o_cloexec.c: Remove file.
873         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
874         defined and works.
875         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
876         defined.
877         * login/utmp_file.c (O_flags): Remove definition.
878         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
879         O_CLOEXEC works.
880         (pututline_file): Likewise.
881         * malloc/mtrace.c: Assume that O_CLOEXEC works.
882         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
883         definition.
884         (internal_setgrent): Assume that O_CLOEXEC works.
885         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
886         Remove definition.
887         (internal_setgrent): Assume that O_CLOEXEC works.
888         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
889         definition.
890         (internal_setpwent): Assume that O_CLOEXEC works.
891         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
892         definition.
893         (internal_setspent): Assume that O_CLOEXEC works.
894         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
895         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
896         O_CLOEXEC is defined and works.
897         * nss/Makefile (libnss_files-routines): Remove
898         files-have_o_cloexec.
899         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
900         defined.
901         * nss/nss_files/files-XXX.c (internal_setent): Assume that
902         O_CLOEXEC is defined and works.
903         * nss/nss_files/files-alias.c (internal_setent): Likewise.
904         * nss/nss_files/files-have_o_cloexec.c: Remove.
905         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
906         defined.
907         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
908         and works.
909         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
910         definition.
911         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
912         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
913         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
914         (__opendirat, __opendir): Adjust opendir_oflags call.
915         (check_have_o_cloexec): Remove.
916         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
917         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
918         defined.
919         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
920         Remove definition.
922 2017-04-18  Florian Weimer  <fweimer@redhat.com>
924         * include/unistd.h (__have_dup3): Remove declaration.
925         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
926         dup3 is available.
927         * libio/freopen64.c (freopen64): Likewise.
928         * socket/Makefile (aux): Remove have_sock_cloexec.
929         * socket/have_sock_cloexec.c: Remove file.
930         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
931         definition.
932         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
933         Likewise.
934         * sysdeps/nacl/kernel-features.h: Update comment.
936 2017-04-18  Florian Weimer  <fweimer@redhat.com>
938         * include/unistd.h (__have_pipe2): Remove declaration.
939         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
940         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
941         available.
942         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
943         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
944         Remove definition.
946 2017-04-18  Florian Weimer  <fweimer@redhat.com>
948         * malloc/malloc.c (cfree): Turn into compat symbol.
949         (__cfree): Remove alias.
950         * stdlib/stdlib.h (cfree): Remove declaration.
951         * malloc/malloc.h (cfree): Likewise.
952         * manual/memory.texi (Freeing after Malloc): Remove cfree.
953         * malloc/Versions (GLIBC_2.26): Add.
955 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
957         * sysdeps/powerpc/powerpc64/multiarch/Makefile
958         (sysdep_routines): Add strrchr-power8.
959         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
960         (strrchr): Add __strrchr_power8 to list of strrchr functions.
961         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
962         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
963         (strrchr): Add __strrchr_power8 to ifunc list.
964         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
966 2017-04-17  Rabin Vincent  <rabinv@axis.com>
968         [BZ #21357]
969         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
970         Call free() outside of mutex.
972 2017-04-13  Florian Weimer  <fweimer@redhat.com>
974         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
975         is defined.
976         * elf/rtld.c (process_envvars): Likewise.
977         * sysdeps/posix/shm_open.c (shm_open): Likewise.
978         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
979         O_NOFOLLOW directly.
980         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
982 2017-04-13  Florian Weimer  <fweimer@redhat.com>
984         [BZ #21369]
985         Remove EDNS fallback.
986         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
987         handling.
988         * resolv/res_send.c (send_dg): Likewise.
989         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
990         "tcp." prefixes.
991         (do_test): Send a "formerr."-prefixed query in an attempt to
992         trigger EDNS fallback.
994 2017-04-13  Florian Weimer  <fweimer@redhat.com>
996         [BZ #21361]
997         Limit EDNS buffer size to 1200 bytes.
998         * include/resolv.h (__res_nopt): Remove declaration.
999         * resolv/Makefile (tests): tst-resolv-edns.
1000         (tst-resolv-edns): Link with -lresolv, -lpthread.
1001         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
1002         interval [512, 1200].
1003         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
1004         we can resize the buffer.
1005         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
1006         (__res_nopt): Declare.
1007         * resolv/tst-resolv-edns.c: New file.
1008         * resolv/resolv_test.h (struct resolv_edns_info): Define.
1009         (struct resolv_response_context): Add edns member.
1010         * resolv/resolv_test.c (struct query_info): Add edns member.
1011         (parse_query): Extract EDNS information from the query.
1012         (server_thread_udp_process_one): Propagate EDNS data.
1013         (server_thread_tcp_client): Likewise.
1015 2017-04-13  Florian Weimer  <fweimer@redhat.com>
1017         [BZ #21359]
1018         * resolv/ns_name.c (ns_name_pack): Do not require an additional
1019         byte in the destination buffer.  Avoid out-of-bounds pointer
1020         arithmetic.
1021         * resolv/Makefile (tests): Add tst-ns_name_compress.
1022         (tst-ns_name_compress): Link with -lresolv.
1023         * resolv/tst-ns_name_compress.c: New file.
1024         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
1025         (response): Recognize LONG_NAME.
1026         (do_test): Add LONG_NAME tests.
1027         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
1028         for ns_name_unpack.  Add tests for ns_name_pton and
1029         ns_name_compress.
1031 2017-04-13  Florian Weimer  <fweimer@redhat.com>
1033         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
1034         (res_nisourserver): Remove definition.
1035         (p_section, res_npquery, res_nisourserver): Remove declaration.
1036         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
1037         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
1038         ... here.
1039         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
1040         <resolv.h>.
1041         * resolv/res_query.c: Likewise.
1042         * resolv/res_debug.c (p_section): Define as static.
1044 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1046         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
1047         strncat-power8.
1048         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
1049         __strncat_power8 to ifunc list.
1050         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1051         (strncat): Add __strncat_power8 to list of strncat functions.
1052         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
1054 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1056         [BZ #21270]
1057         * posix/tst-mmap-offset.c (do_prepare): New function.
1058         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
1059         (do_test_bz21270): New function.
1060         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
1061         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
1062         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
1063         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
1064         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
1065         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
1066         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
1067         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
1068         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
1069         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
1070         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
1071         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1072         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1073         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1074         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
1075         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
1076         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
1077         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
1078         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
1079         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
1080         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
1081         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
1082         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
1083         from auto-generation list.
1084         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
1085         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1086         * sysdeps/unix/sysv/linux/mmap.c: New file.
1087         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
1088         offsets and support for mmap2 syscall.
1090         * posix/globtest.sh: Add cleanup routine on trap 0.
1092 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1094         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
1095         implementation-specific function name and remove unneeded
1096         macros definition.
1097         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
1098         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
1099         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
1100         name if not defined and pass as parameter to macros accordingly.
1101         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
1102         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
1104         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
1105         implementation-specific function name and remove unneeded
1106         macros definition.
1107         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
1108         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
1109         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
1110         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
1111         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
1112         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
1113         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
1114         name if not defined and pass as parameter to macros accordingly.
1115         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1116         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1117         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1118         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1119         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1120         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
1122         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
1123         implementation-specific function name and remove unneeded macros
1124         definition.
1125         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
1126         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
1127         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
1128         function name if not defined and pass as parameter to macros
1129         accordingly.
1130         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1131         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
1133         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
1134         implementation-specific function name and remove unneeded macros
1135         definition.
1136         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
1137         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
1138         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
1139         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
1140         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
1141         not defined and pass as parameter to macros accordingly.
1142         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1143         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1144         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1145         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
1147         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
1148         strcasestr implementation name and remove unneeded macros definition.
1149         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
1150         strstr implementation name and remove unneeded macros definition.
1151         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
1152         name if not defined and pass as parameter to macros accordingly.
1153         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
1155         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
1156         implementation-specific function name and remove unneeded macros
1157         definition.
1158         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
1159         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
1160         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
1161         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
1162         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
1163         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
1164         function name if not defined and pass as parameter to macros
1165         accordingly.
1166         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
1167         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
1168         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
1169         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
1171         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
1172         the strlen implementation name and remove unneeded macros definition.
1173         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
1174         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
1175         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
1176         the strnlen implementation name and remove unneeded macros definition.
1177         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
1178         name if not defined and pass as parameter to macros accordingly.
1179         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
1180         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
1181         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1183         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
1184         the implementation-specific function name and remove unneeded
1185         macros definition.
1186         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
1187         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
1188         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
1189         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
1190         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
1191         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
1192         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
1193         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
1194         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
1195         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
1196         name if not defined and pass as parameter to macros accordingly.
1197         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
1198         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1199         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
1200         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
1201         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
1202         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
1203         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
1204         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1206         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
1207         implementation-specific function name and remove unneeded macros
1208         definition.
1209         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
1210         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
1211         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
1212         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
1213         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
1214         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
1215         function name if not defined.
1216         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
1217         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
1219 2017-04-11  Paul Clarke  <pc@us.ibm.com>
1221         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
1222         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
1223         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
1224         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
1226 2017-04-11  Florian Weimer  <fweimer@redhat.com>
1227             Zack Weinberg  <zackw@panix.com>
1229         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
1230         readdir64 as thread-safe.  Update warning about readdir_r.
1232 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1234         * sysdeps/unix/sysv/linux/x86/Implies: New file.
1235         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
1236         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
1237         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
1238         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
1239         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
1240         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
1242 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
1244         * sysdeps/i386/dl-procinfo.c: Include
1245         <sysdeps/x86/dl-procinfo.c>.
1246         * sysdeps/x86_64/dl-procinfo.c: Likewise.
1247         * sysdeps/x86/dl-procinfo.c: New file.
1249 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1251         * sysdeps/generic/math_private.h: Remove declarations of
1252         many functions that are already declared in math.h.
1253         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
1254         declaration for __frexpl.
1255         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
1256         the declarations for __scalbnl and fabsl.
1258 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
1260         [BZ #20831]
1261         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
1262         of __mprotect to change protection on the excess portion
1263         to disallow all access.
1265 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
1267         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
1268         HAS_CPU_FEATURE to check for SSE.
1269         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1270         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
1271         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
1272         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
1273         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
1274         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
1275         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
1276         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
1277         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1278         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
1279         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1280         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
1281         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
1282         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
1283         (index_cpu_SSE): Likewise.
1284         (reg_SSE): Likewise.
1286 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
1288         * posix/getopt1.c: Include <config.h>, not "config.h".
1290 2017-04-07  Zack Weinberg  <zackw@panix.com>
1292         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
1293         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
1294         Mention in top-of-file boilerplate that these files are shared
1295         with gnulib.
1296         * posix/getopt.h, posix/bits/getopt_posix.h:
1297         Mention in top-of-file boilerplate that these files are NOT shared
1298         with gnulib, unlike the rest of the getopt implementation.
1300         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
1301         New files, intended to be shared with gnulib.
1302         * posix/bits/getopt_posix.h:
1303         New file, not intended to be shared with gnulib.
1304         * posix/getopt.h: Now just includes features.h,
1305         bits/getopt_core.h, and bits/getopt_ext.h.  Will
1306         no longer be shared with gnulib.
1307         * include/bits/getopt_core.h, include/bits/getopt_ext.h
1308         * include/bits/getopt_posix.h: New wrappers.
1309         * posix/Makefile: Install new headers.
1310         * posix/unistd.h, libio/stdio.h:
1311         Include bits/getopt_posix.h instead of getopt.h.
1313         * include/libc-symbols.h: For gnulib compatibility, define
1314         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
1315         _GL_ATTRIBUTE_CONST.
1316         * posix/getopt.c (_getopt_initialize): Mark argc and argv
1317         parameters with _GL_UNUSED.
1319         * posix/getopt.c: When used standalone, define __libc_use_alloca
1320         as always false and alloca to abort if called.
1321         (process_long_option): Rewrite handling of ambiguous long options
1322         to use a single boolean vector, not a linked list; use
1323         __libc_use_alloca to decide whether to allocate this using alloca.
1324         * posix/tst-getopt_long1.c: Adjust text of expected error message.
1326         * posix/getopt.c (process_long_option): New function split out
1327         from _getopt_internal_r.
1328         (_getopt_internal_r): Replace both copies of the long-option
1329         processing code with calls to process_long_option.
1330         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
1331         (do_test): Differentiate argv[0] in the two subtests.
1333         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
1334         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
1335         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
1337         * posix/getopt.h: Add backup definition of __nonnull for
1338         consistency with gnulib.  Define __getopt_argv_const to const
1339         if not already defined.
1340         (getopt): Update doc comment from gnulib.  Prototype
1341         unconditionally.  Add __nonnull annotation.
1342         (__posix_getopt): Add __nonnull annotation.
1343         (getopt_long, getopt_long_only): Use __getopt_argv_const in
1344         prototypes for consistency with gnulib.  Add __nonnull
1345         annotations.
1346         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
1347         (getopt_internal): Change 'argv' argument to type 'char **'.
1348         Remove now-unnecessary casts.
1349         (getopt, __posix_getopt): Eliminate repetition with a macro.
1350         Cast 'argv' to 'char **' when calling _getopt_internal.
1351         * posix/getopt1.c (getopt_long, getopt_long_only):
1352         Use __getopt_argv_const for consistency with gnulib.
1353         Cast 'argv' to 'char **' when calling _getopt_internal.
1354         (_getopt_long_r, _getopt_long_only_r):
1355         Change 'argv' argument to type 'char **'.
1356         (main): Constify 'long_options'.
1357         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
1358         (_getopt_long_r, _getopt_long_only_r):
1359         Change 'argv' argument to type 'char **'.
1361         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
1362         (locked_vfxprintf): New helper function. Handle arbitrary
1363         multibyte strings, not just ASCII.
1364         * include/stdio.h: Declare __fxprintf_nocancel.
1365         * posix/getopt.c: When _LIBC is defined, define fprintf to
1366         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
1367         to _IO_funlockfile.  When neither _LIBC nor
1368         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
1369         funlockfile as no-ops.
1370         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
1371         the standalone error-printing code can now be used for libc as
1372         well.  Add an flockfile/funlockfile pair around one case where
1373         the error message is printed in several chunks.  Don't use fputc.
1374         * posix/tst-getopt-cancel.c: New test.
1375         * posix/Makefile: Run it.
1377         * posix/getopt.c (_getopt_internal_r): Don't increment
1378         d->optind a second time when reporting ambiguous -W options.
1380         * posix/getopt_int.h: Include getopt.h.
1381         Use impl-namespace names for all arguments to _getopt_internal and
1382         _getopt_internal_r.
1383         Declare __ordering enum outside the struct.
1384         Harmonize comments with gnulib.
1385         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
1386         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
1387         #ifdef TEST block and make unconditional.  Do not define NULL.
1388         * posix/getopt.c: Partial merge from gnulib, covering the
1389         initial includes and global declarations, commentary, and
1390         a couple of semantically-neutral code changes.
1392         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
1393         Use '...' instead of `...' for quotation marks inside
1394         comments and strings.
1396         * config.h.in (USE_NONOPTION_FLAGS): Remove.
1397         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
1398         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
1399         * posix/getopt_int.h: Likewise.
1400         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
1401         __libc_argc and __libc_argv externs, which were only used by
1402         #ifdef USE_NONOPTION_FLAGS blocks.
1403         * posix/getopt_init.c: Remove file.
1404         * posix/Makefile (routines): Remove getopt_init.
1405         * include/getopt.h: Don't declare __getopt_initialize_environment.
1406         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
1407         a comment.
1409 2017-04-07  Florian Weimer  <fweimer@redhat.com>
1411         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
1413 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1415         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
1416         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
1417         to __wrap_.udiv.
1418         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
1419         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
1421         * sysdeps/i386/symbol-hacks.h: New file.
1422         * sysdeps/m68k/symbol-hacks.h: New file.
1423         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
1424         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
1425         * sysdeps/unix/sysv/linux/i386/Makefile
1426         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
1427         [$(subdir) = csu] (sysdep-only-routines): Likewise.
1428         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1429         * sysdeps/unix/sysv/linux/m68k/Makefile
1430         [$(subdir) = csu] (sysdep_routines): Likewise.
1431         [$(subdir) = csu] (sysdep-only-routines): Likewise.
1432         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1434         [$(subdir) = csu] (sysdep_routines): Likewise.
1435         [$(subdir) = csu] (sysdep-only-routines): Likewise.
1436         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1437         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
1438         [$(subdir) = csu] (sysdep_routines): Likewise.
1439         [$(subdir) = csu] (sysdep-only-routines): Likewise.
1440         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1441         * sysdeps/wordsize-32/Makefile: Remove file.
1442         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
1443         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
1445 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
1447         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
1448         (TEST_FUNCTION_ARGV): New.
1450 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1452         * elf/next.c: Import support/test-driver.c instead of
1453         test-skeleton.c and delete TEST_FUNCTION macro definition.
1454         * elf/nodelete.c: Likewise.
1455         * elf/order2.c: Likewise.
1456         * elf/tst-_dl_addr_inside_object.c: Likewise.
1457         * elf/tst-addr1.c: Likewise.
1458         * elf/tst-align.c: Likewise.
1459         * elf/tst-align2.c: Likewise.
1460         * elf/tst-audit11.c: Likewise.
1461         * elf/tst-audit12.c: Likewise.
1462         * elf/tst-audit2.c: Likewise.
1463         * elf/tst-audit9.c: Likewise.
1464         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
1465         * elf/tst-deep1.c: Likewise.
1466         * elf/tst-dl-iter-static.c: Likewise.
1467         * elf/tst-dlmodcount.c: Likewise.
1468         * elf/tst-dlmopen1.c: Likewise.
1469         * elf/tst-dlmopen2.c: Likewise.
1470         * elf/tst-dlmopen3.c: Likewise.
1471         * elf/tst-dlopen-aout.c: Likewise.
1472         * elf/tst-dlopenrpath.c: Likewise.
1473         * elf/tst-dlsym-error.c: Likewise.
1474         * elf/tst-execstack-needed.c: Likewise.
1475         * elf/tst-execstack-prog.c: Likewise.
1476         * elf/tst-execstack.c: Likewise.
1477         * elf/tst-global1.c: Likewise.
1478         * elf/tst-gnu2-tls1.c: Likewise.
1479         * elf/tst-latepthread.c: Likewise.
1480         * elf/tst-leaks1.c: Likewise.
1481         * elf/tst-linkall-static.c: Likewise.
1482         (do_test): New function.
1483         * elf/tst-nodelete-opened.c: Likewise.
1484         * elf/tst-nodelete.cc: Likewise.
1485         * elf/tst-nodelete2.c: Likewise.
1486         * elf/tst-noload.c: Likewise.
1487         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
1488         * elf/tst-order-main.c: Likewise.
1489         * elf/tst-pathopt.c: Likewise.
1490         * elf/tst-pie2.c: Likewise.
1491         * elf/tst-piemod1.c: Likewise.
1492         * elf/tst-prelink.c: Likewise.
1493         * elf/tst-protected1a.c: Likewise.
1494         * elf/tst-protected1b.c: Likewise.
1495         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
1496         and define _GNU_SOURCE macro.
1497         (cmdline_process_function): New function.
1498         * elf/tst-relsort1.c: Likewise.
1499         * elf/tst-stackguard1.c: Likewise, import getopt.h,
1500         and define _GNU_SOURCE macro.
1501         (cmdline_process_function): New function.
1502         * elf/tst-thrlock.c: Likewise.
1503         * elf/tst-tls-dlinfo.c: Likewise.
1504         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
1505         * elf/tst-tls1.c: Likewise.
1506         * elf/tst-tls10.c: Likewise.
1507         * elf/tst-tls11.c: Likewise.
1508         * elf/tst-tls12.c: Likewise.
1509         * elf/tst-tls13.c: Likewise.
1510         * elf/tst-tls14.c: Likewise.
1511         * elf/tst-tls15.c: Likewise.
1512         * elf/tst-tls16.c: Likewise.
1513         * elf/tst-tls17.c: Likewise.
1514         * elf/tst-tls18.c: Likewise.
1515         * elf/tst-tls19.c: Likewise.
1516         * elf/tst-tls2.c: Likewise.
1517         * elf/tst-tls3.c: Likewise.
1518         * elf/tst-tls4.c: Likewise.
1519         * elf/tst-tls5.c: Likewise.
1520         * elf/tst-tls6.c: Likewise.
1521         * elf/tst-tls7.c: Likewise.
1522         * elf/tst-tls8.c: Likewise.
1523         * elf/tst-tls9.c: Likewise.
1524         * elf/tst-tlsalign-extern.c: Likewise.
1525         * elf/tst-tlsalign.c: Likewise.
1526         * elf/tst-unique1.c: Likewise.
1527         * elf/tst-unique2.c: Likewise.
1528         * elf/vismain.c: Likewise.
1530 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1532         * string/test-strnlen.c (do_page_tests): New function
1533         to check length of strings ending at the page boundary.
1534         (test_main): Added call to the do_page_tests function.
1536 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1537             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1539         * sysdeps/powerpc/powerpc64/multiarch/Makefile
1540         (sysdep_routines): Add strnlen-power8.
1541         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1542         (strnlen): Add __strnlen_power8 to list of strnlen functions.
1543         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
1544         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
1545         (__strnlen): Add __strnlen_power8 to ifunc list.
1546         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
1548 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1550         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
1551         the TEST_FUNCTION macro definition.
1552         * wcsmbs/tst-mbrtowc2.c: Likewise.
1553         * wcsmbs/tst-mbsrtowcs.c: Likewise.
1554         * wcsmbs/tst-wchar-h.c: Likewise.
1555         * wcsmbs/tst-wcpncpy.c: Likewise.
1556         * wcsmbs/tst-wcrtomb.c: Likewise.
1557         * wcsmbs/tst-wcsnlen.c: Likewise.
1558         * wcsmbs/tst-wcstof.c: Likewise.
1560 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1562         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
1563         CALL_THREAD_FCT macro usage.
1564         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
1565         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
1566         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
1568         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
1569         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1570         (__ASSUME_REQUEUE_PI): Likewise.
1571         * sysdeps/unix/sysv/linux/kernel-features.h
1572         (__ASSUME_REQUEUE_PI): Likewise.
1573         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1574         (__ASSUME_REQUEUE_PI): Likewise.
1575         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1576         (__ASSUME_REQUEUE_PI): Likewise.
1577         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1578         (__ASSUME_REQUEUE_PI): Likewise.
1580 2017-04-04  Florian Weimer  <fweimer@redhat.com>
1582         * resolv/tst-resolv-canonname.c: New file.
1583         * resolv/Makefile (tests): Add tst-resolv-canonname.
1584         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
1586 2017-04-04  Florian Weimer  <fweimer@redhat.com>
1588         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
1589         Declare.
1590         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
1591         (NS_MAXCDNAME): Remove definition.
1592         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
1593         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
1594         (NS_MAXCDNAME): Remove definition.
1595         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
1597 2017-04-04  Florian Weimer  <fweimer@redhat.com>
1599         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
1600         call whose result is not used.
1602 2017-04-04  Florian Weimer  <fweimer@redhat.com>
1604         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
1605         * resolv/Makefile (tests): Add tst-ns_name.
1606         (tst-ns_name): Link with -lresolv.
1607         (tst-ns_name.out): Depend on the input data file.
1609 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
1611         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
1612         Clobber also r14.
1614 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
1616         [BZ #21253]
1617         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
1618         slack space by 32KiB.
1620 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
1622         [BZ #21338]
1623         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
1624         instead of incorrect do_set_arena_test
1626 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1628         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
1629         * math/bits/math-finite.h: Likewise.
1631 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
1633         [BZ #21289]
1634         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
1636 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1638         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
1639         non expected inotify_add_watch and quotactl return.
1641 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1643         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
1644         to int32_t.
1645         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
1646         as returning int32_t.
1648 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1650         * math/math.h: Include bits/math-finite.h once per
1651         floating-point type.
1652         * math/bits/math-finite.h: Macroize all declarations by
1653         floating-point type.
1655 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1657         [BZ #21182]
1658         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
1659         near end of a page.
1660         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
1661         overflow calculation.
1663 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
1665         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
1666         (IMPL) Call with 1 instead of 0 as argument.
1668 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1670         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
1671         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
1672         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
1673         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
1674         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
1675         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
1676         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
1677         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
1678         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
1679         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
1680         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
1681         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
1682         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1683         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
1684         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1685         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1686         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
1687         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
1688         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
1689         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
1690         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
1691         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
1692         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
1693         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
1694         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
1695         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
1696         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
1697         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
1698         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
1699         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
1700         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
1701         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
1702         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
1703         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
1704         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
1705         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
1706         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
1707         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
1708         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
1709         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
1710         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
1711         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
1712         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
1713         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
1714         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
1715         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
1716         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
1717         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
1718         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
1719         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
1720         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
1721         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
1722         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
1723         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
1724         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
1725         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
1726         INLINE_SYSCALL_ERROR_RETURN_VALUE.
1727         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
1728         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
1729         defined.
1730         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
1731         __NR_setgroups32 if defined.
1732         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
1733         if defined.
1734         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
1735         __NR_setresgid32 is defined.
1736         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
1737         __NR_setresuid32 if defined.
1738         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
1739         __NR_setreuid32 if defined.
1740         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
1741         defined.
1742         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
1743         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
1744         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
1745         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
1746         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
1747         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
1748         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
1749         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
1750         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
1751         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
1752         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
1753         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
1754         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1755         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
1756         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1757         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1758         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
1759         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
1760         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
1761         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
1762         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
1763         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
1764         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
1765         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
1766         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
1767         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
1768         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
1769         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
1770         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
1771         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
1772         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
1773         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
1774         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
1775         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
1776         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
1777         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
1778         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
1779         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
1780         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
1781         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
1782         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
1783         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
1784         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
1785         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
1786         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
1787         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
1788         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
1789         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
1790         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
1791         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
1792         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
1793         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
1794         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
1795         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
1796         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
1797         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
1798         INLINE_SYSCALL_ERROR_RETURN_VALUE.
1799         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
1800         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
1801         defined.
1802         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
1803         __NR_setgroups32 if defined.
1804         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
1805         if defined.
1806         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
1807         __NR_setresgid32 is defined.
1808         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
1809         __NR_setresuid32 if defined.
1810         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
1811         __NR_setreuid32 if defined.
1812         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
1813         defined.
1815 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
1817         [BZ #21277]
1818         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
1819         unconditionally.
1820         (IMAXBEL): Likewise.
1821         (IUTF8): Likewise.
1823 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1825         * sysdeps/aarch64/libm-test-ulps: Update.
1827 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
1829         * README.tunables: Updated descriptions.
1830         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
1831         * scripts/gen-tunables.awk: Updated the code related to the
1832         commit.
1834 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
1836         * benchtests/Makefile (string-benchset): Add memcpy-random.
1837         * benchtests/bench-memcpy-random.c: New file.
1839 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1841         * stdio-common/printf.h (register_printf_modifier): Change the
1842         order of __wur and __THROW.
1843         (register_printf_type): Likewise.
1845 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1847         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
1848         test_main ().
1849         (CMDLINE_PROCESS): Use function instead of defined macro.
1850         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
1851         <suppport/support.h> to use set_fortify_handler().
1852         * string/bug-envz1.c: Import support/test-driver.c instead of
1853         test-skeleton.c.
1854         * string/bug-strcoll2.c: Likewise.
1855         * string/bug-strtok1.c: Likewise.
1856         * string/stratcliff.c: Likewise.
1857         * string/test-ffs.c: Likewise.
1858         * string/test-memccpy.c: Likewise.
1859         * string/test-memchr.c: Likewise.
1860         * string/test-memcmp.c: Likewise.
1861         * string/test-memcpy.c: Likewise.
1862         * string/test-memmem.c: Likewise.
1863         * string/test-memmove.c: Likewise.
1864         * string/test-memrchr.c: Likewise.
1865         * string/test-memset.c: Likewise.
1866         * string/test-rawmemchr.c: Likewise.
1867         * string/test-strcasecmp.c: Likewise.
1868         * string/test-strcasestr.c: Likewise.
1869         * string/test-strcat.c: Likewise.
1870         * string/test-strchr.c: Likewise.
1871         * string/test-strcmp.c: Likewise.
1872         * string/test-strcpy.c: Likewise.
1873         * string/test-string.h: Likewise.
1874         * string/test-strlen.c: Likewise.
1875         * string/test-strncasecmp.c: Likewise.
1876         * string/test-strncat.c: Likewise.
1877         * string/test-strncmp.c: Likewise.
1878         * string/test-strncpy.c: Likewise.
1879         * string/test-strnlen.c: Likewise.
1880         * string/test-strpbrk.c: Likewise.
1881         * string/test-strrchr.c: Likewise.
1882         * string/test-strspn.c: Likewise.
1883         * string/test-strstr.c: Likewise.
1884         * string/tst-bswap.c: Likewise.
1885         * string/tst-cmp.c: Likewise.
1886         * string/tst-endian.c: Likewise.
1887         * string/tst-inlcall.c: Likewise.
1888         * string/tst-strcoll-overflow.c: Likewise.
1889         * string/tst-strfry.c: Likewise.
1890         * string/tst-strlen.c: Likewise.
1891         * string/tst-strtok.c: Likewise.
1892         * string/tst-strtok_r.c: Likewise.
1893         * string/tst-strxfrm.c: Likewise.
1894         * string/tst-strxfrm2.c: Likewise.
1895         * string/tst-svc.c: Likewise.
1896         * string/tst-svc2.c: Likewise.
1898 2017-03-22  Zack Weinberg  <zackw@panix.com>
1900         * stdio-common/bug25.c: Include stdlib.h.
1901         * support/tst-support_format_dns_packet.c: Include stdio.h,
1902         stdlib.h, and string.h.
1903         * support/tst-support_record_failure.c: Include string.h.
1904         * support/tst-support_record_failure-2.sh: Adjust line number
1905         expectations and correct a typo in an error message.
1907 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1909         [BZ #21258]
1910         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
1911         Define only if _dl_runtime_resolve is defined to
1912         _dl_runtime_resolve_sse_vex.
1913         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
1914         Fallthrough to _dl_runtime_resolve_sse_vex.
1916 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
1918         * INSTALL: Regenerated.
1920 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
1922         * config.h.in: Add LINK_OBSOLETE_NSL.
1923         * config.make.in: Add build-obsolete-nsl.
1924         * configure.ac: Add obsolete-nsl option.
1925         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
1926         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
1927         * include/rpcsvc/nislib.h: Likewise.
1928         * include/rpcsvc/ypclnt.h: Likewise.
1929         * manual/install.texi: Document --enable-obsolete-nsl.
1930         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
1931         * nis/nis_add.c: Replace libnsl_hidden_def with
1932         libnsl_hidden_nolink_def.
1933         * nis/nis_addmember.c: Likewise.
1934         * nis/nis_call.c: Likewise.
1935         * nis/nis_clone_obj.c: Likewise.
1936         * nis/nis_defaults.c: Likeise.
1937         * nis/nis_domain_of_r.c: Likewise.
1938         * nis/nis_error.c: Likewise.
1939         * nis/nis_file.c: Likewise.
1940         * nis/nis_free.c: Likewise.
1941         * nis_local_names.c: Likewise.
1942         * nis/nis_lookup.c: Likewise.
1943         * nis/nis_modify.c: Likewise.
1944         * nis/nis_print.c: Likewise.
1945         * nis/nis_remove.c: Likewise.
1946         * nis/nis_table.c: Likewise.
1947         * nis/nis_util.c: Likewise.
1948         * nis/nis_xdr.c: Likewise.
1949         * nis/yp_xdr.c: Likewise.
1950         * nis/ypclnt.c: Likewise.
1951         * nis/ypupdate_xdr.c: Likewise.
1952         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
1953         * nis/nis_clone_dir.c: Likewise.
1954         * nis/nis_clone_res.c: Likewise.
1955         * nis/nis_creategroup.c: Likewise.
1956         * nis/nis_destroygroup.c: Likewise.
1957         * nis/nis_domain_of.c: Likewise.
1958         * nis/nis_getservlist.c: Likewise.
1959         * nis/nis_ismember.c: Likewise.
1960         * nis/nis_mkdir.c: Likewise.
1961         * nis/nis_ping.c: Likewise.
1962         * nis/nis_print_group_entry.c: Likewise.
1963         * nis/nis_removemember.c: Likewise.
1964         * nis/nis_rmdir.c: Likewise.
1965         * nis/nis_server.c: Likewise.
1966         * nis/nis_subr.c: Likewise.
1967         * nis/nis_verifygroup.c: Likewise.
1969 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
1971         * malloc/tst-interpose-aux.c (check_for_allocations):
1972         Move compiler barrier before free.
1974 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
1976         [BZ #21279]
1977         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
1978         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
1979         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
1980         x86_64-x32-linux.
1981         (mq_attr.mq_maxmsg): Likewise.
1982         (mq_attr.mq_msgsize): Likewise.
1983         (mq_attr.mq_curmsgs): Likewise.
1985         [BZ #21278]
1986         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
1987         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
1988         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
1989         mips-o32-linux.
1991         [BZ #21268]
1992         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
1993         if [__USE_MISC]
1994         (NL3): Likewise.
1996 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
1998         [BZ #21275]
1999         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
2000         __stack to __stackbase.
2001         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
2002         checks so we can include defined(__ia64__) first.
2004 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
2006         * sysdeps/unix/sysv/linux/ttyname.h: New file.
2007         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
2008         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
2009         Call is_pty when the link does not exist or does not match, fail
2010         with ENODEV when it returns true.
2011         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
2012         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
2013         Call is_pty when the link does not exist or does not match, fail
2014         with ENODEV when it returns true.
2016 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
2018         [BZ #16437]
2019         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
2020         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
2021         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
2022         x86_64-x32-linux.
2023         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
2024         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
2025         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
2027         [BZ #21261]
2028         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
2029         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
2030         names for all fields.
2031         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
2032         for jmp_buf field renaming.
2033         (_JMPBUF_UNWINDS_ADJ): Likewise.
2035         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
2036         with allow-header.
2038 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
2040         * malloc/malloc.c (unlink): Add consistency check between size and
2041         next->prev->size, to further harden against 1-byte overflows.
2043 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
2045         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
2046         CPU_FEATURES_CPU_P.
2048 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
2050         [BZ #21259]
2051         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
2052         unconditionally, not just for [__USE_MISC].
2054         [BZ #17786]
2055         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
2056         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
2057         mips-o32-linux.
2059         [BZ #21260]
2060         * sysdeps/unix/sysv/linux/alpha/Makefile
2061         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
2062         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
2064         * conform/conformtest.pl ($cross): New variable.
2065         (--cross): New command-line option.
2066         (runtest): Skip test execution when cross-compiling.
2067         * conform/Makefile (conformtest-cross): New variable.
2068         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
2069         conformtest.pl.
2071         * conform/conformtest.pl ($xfail_str): New variable.
2072         (--xfail=): New command-line option.
2073         (top level): Handle expectations starting xfail[cond]-.
2074         * conform/Makefile (conformtest-xfail): New variable.
2075         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
2076         conformtest.pl.
2078 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
2080         * conform/conformtest.pl: Use compilation instead of execution
2081         tests for testing values of constants and usability in #if.
2083 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2085         * math/auto-libm-test-in: Mark some catan and catanh as
2086         xfail-rounding:ibm128-libgcc.
2087         * math/auto-libm-test-out-catan: Regenerate.
2088         * math/auto-libm-test-out-catanh: Likewise.
2090 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
2092         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
2093         (__END_NAMESPACE_STD): Likewise.
2094         (__USING_NAMESPACE_STD): Likewise.
2095         (__BEGIN_NAMESPACE_C99): Likewise.
2096         (__END_NAMESPACE_C99): Likewise.
2097         (__USING_NAMESPACE_C99): Likewise.
2098         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
2099         undefine macro.
2100         (_Mdouble_END_NAMESPACE): Likewise.
2101         * ctype/ctype.h: Do not handle C++ namespaces.
2102         * libio/bits/stdio-ldbl.h: Likewise.
2103         * libio/stdio.h: Likewise.
2104         * locale/locale.h: Likewise.
2105         * math/bits/mathcalls.h: Likewise.
2106         * setjmp/setjmp.h: Likewise.
2107         * signal/signal.h: Likewise.
2108         * stdlib/bits/stdlib-float.h: Likewise.
2109         * stdlib/bits/stdlib-ldbl.h: Likewise.
2110         * stdlib/stdlib.h: Likewise.
2111         * string/string.h: Likewise.
2112         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
2113         * time/bits/types/clock_t.h: Likewise.
2114         * time/bits/types/struct_tm.h: Likewise.
2115         * time/bits/types/time_t.h: Likewise.
2116         * time/time.h: Likewise.
2117         * wcsmbs/bits/wchar-ldbl.h: Likewise.
2118         * wcsmbs/uchar.h: Likewise.
2119         * wcsmbs/wchar.h: Likewise.
2120         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
2121         * wctype/wctype.h: Do not handle C++ namespaces.
2122         * scripts/begin-end-check.pl: Remove.
2123         * Makefile (installed-headers): Likewise.
2124         (tests-special): Do not add $(objpfx)begin-end-check.out.
2125         ($(objpfx)begin-end-check.out): Remove.
2127 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
2128             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2130         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
2131         (DL_PLATFORM_INIT): New define.
2132         (dl_platform_init): New function.
2133         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
2134         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
2135         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
2136         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
2137         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
2139 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
2141         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
2142         instead of PIC.
2144 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
2146         [BZ #21094]
2147         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
2148         24+24+24-bit pi for wider range of values around pi/2.
2149         * math/auto-libm-test-in: Add more tests of cos and tan.
2150         * math/auto-libm-test-out-cos: Regenerated.
2151         * math/auto-libm-test-out-tan: Likewise.
2153 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
2155         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
2156         (RTLD_START): Don't record stack end address in _dl_start_user.
2158 2017-03-15  Alexey Neyman  <stilor@att.net>
2160         [BZ #21088]
2161         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
2162         around definitions match those around use.
2164 2017-03-15  Alexey Neyman  <stilor@att.net>
2166         * configure.ac: Avoid empty subexpression in grep.
2167         * configure: Regenerate.
2169 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2171         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
2172         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
2173         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
2174         (test_wrp_rv): Fix format.
2175         (test_wrp_rv2): New macro.
2176         (do_test): Handle mlock return on 64 bits kernels with 32 bits
2177         binaries.
2179 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
2181         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
2182         Use a union when storing pointers.
2183         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
2184         cast result when passing to INIT_VEC_PTRS_LOOP.
2185         (VECTOR_WRAPPER_fFF_3): Likewise.
2186         (VECTOR_WRAPPER_fFF_4): Likewise.
2188 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2190         * include/bits/mathcalls-helper-functions.h: New file.
2191         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
2192         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
2193         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
2194         math/bits/mathcalls-helper-functions.h.
2195         * math/bits/mathcalls-helper-functions.h: New file.
2196         * math/math.h: Include bits/mathcalls-helper-functions.h for
2197         float, double, and long double.
2199 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2201         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
2202         instead of feraiseexcept.
2204 2017-03-15  Florian Weimer  <fweimer@redhat.com>
2206         [BZ #21243]
2207         * support/temp_file.c (support_delete_temp_files): Add comment
2208         about ignored errors.
2210 2017-03-15  Florian Weimer  <fweimer@redhat.com>
2212         [BZ #21244]
2213         * support/xclose.c: New file.
2214         * support/Makefile (libsupport-routines): Add xclose.
2215         * support/xunistd.h (xclose): Declare.
2216         * support/resolv_test.c (server_thread_tcp_client)
2217         (server_thread_tcp, make_server_sockets, resolv_test_start)
2218         (resolv_test_end): Call xclose instead of close.
2219         * support/support_enter_network_namespace.c
2220         (support_enter_network_namespace): Likewise.
2221         * support/support_run_diff.c (write_to_temp_file): Likewise.
2223 2017-03-15  Florian Weimer  <fweimer@redhat.com>
2225         * support/support_format_dns_packet.c (support_format_dns_packet):
2226         Handle CNAME records in the response.  Extract RDATA names from
2227         rdata, not the whole packet.  Check AAAA record length.
2228         * support/tst-support_format_dns_packet.c: New file.
2229         * support/Makefile (tests): Add tst-support_format_dns_packet.
2230         (tst-support_format_dns_packet): Link against libresolv.
2232 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2234         [BZ #21232]
2235         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
2236         posix_fadvise64 weak_alias for static build.
2238 2017-03-14  Andreas Schwab  <schwab@suse.de>
2240         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
2241         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
2242         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
2243         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
2244         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
2245         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
2246         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
2247         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
2249 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2251         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
2252         posix error code.
2253         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
2255 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2257         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
2258         no_isolate usage for SH.
2260 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
2262         [BZ #15105]
2263         [BZ #19463]
2264         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
2265         * inet/rcmd.c (rcmd_af): Likewise.
2266         * inet/rexec.c   (rexec_af): Likewise.
2267         * intl/dcigettext.c (_LIBC): Likewise.
2268         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
2269         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
2270         * locale/setlocale.c (setlocale): Likewise.
2271         * posix/spawn_faction_addopen.c
2272         (posix_spawn_file_actions_addopen): Likewise.
2273         * stdlib/putenv.c (putenv): Use __strndup.
2274         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
2275         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
2276         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
2277         (__Need_M_And_C) Remove define/undef.
2278         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
2279         (__malloc_and_calloc_defined): Remove define.
2280         * string/bits/string2.h (__strdup): Remove define.
2281         (strdup): Likewise.
2282         (__strndup): Likewise.
2283         (strndup): Likewise.
2285 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
2287         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
2288         macro.
2289         (IPV6_ADDR_PREFERENCES): Likewise.
2290         (IPV6_MINHOPCOUNT): Likewise.
2291         (IPV6_ORIGDSTADDR): Likewise.
2292         (IPV6_RECVORIGDSTADDR): Likewise.
2293         (IPV6_TRANSPARENT): Likewise.
2294         (IPV6_UNICAST_IF): Likewise.
2295         (IPV6_RECVFRAGSIZE): Likewise.
2297 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
2299         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
2301 2017-03-12  Alexey Neyman <stilor@att.net>
2303         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
2304         in R_SH_DIR32 case is always false when inlined from
2305         dl-conflict.c. Ifdef out to prevent GCC from insertin an
2307 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
2309         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2310         (__ASSUME_RECV_SYSCALL): Replace duplicate by
2311         __ASSUME_SEND_SYSCALL.
2313 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
2315         * sunrpc/Makefile: don't build and install rpcsvc header
2316         files, rpcgen and librpcsvc.a by default.
2318 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
2320         * math/auto-libm-test-out-catan: Regenerated.
2321         * math/auto-libm-test-out-catanh: Likewise.
2322         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2324 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
2326         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
2327         for long double with corrected test expectations.
2329 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2331         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
2332         Define.
2333         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
2334         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
2335         * sysdeps/unix/sysv/linux/nios2/sysdep.h
2336         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
2337         * sysdeps/unix/sysv/linux/tile/sysdep.h
2338         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
2339         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2340         (__ASSUME_RECV_SYSCALL): Define.
2341         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2342         (__ASSUME_RECV_SYSCALL): Likewise.
2343         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2344         (__ASSUME_RECV_SYSCALL): Likewise.
2345         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2346         (__ASSUME_RECV_SYSCALL): Likewise.
2347         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2348         (__ASSUME_RECV_SYSCALL): Likewise.
2349         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2350         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
2351         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2352         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
2353         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2354         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
2355         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
2356         auto-generation list.
2357         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2358         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
2359         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
2360         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2361         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2362         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
2363         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
2364         __ASSUME_SENDTO_SYSCALL.
2365         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
2366         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
2367         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
2369         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
2370         auto-generation list.
2371         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2372         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
2373         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
2374         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2375         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2376         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2377         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2378         * sysdeps/unix/sysv/linux/kernel-features.h
2379         (__ASSUME_SENDTO_SYSCALL): Define by default.
2380         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2381         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
2382         __NR_sendto.
2383         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2384         (__ASSUME_SENDTO_SYSCALL): Likewise.
2385         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2386         (__ASSUME_SENDTO_SYSCALL): Likewise.
2387         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2388         (__ASSUME_SENDTO_SYSCALL): Remove definition.
2389         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2390         (__ASSUME_SENDTO_SYSCALL): Likewise.
2391         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
2392         (__ASSUME_SENDTO_SYSCALL): Likewise.
2393         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
2395         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
2396         auto-generation list.
2397         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2398         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
2399         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2400         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2401         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2402         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2403         (__ASSUME_RECV_SYSCALL): New define.
2404         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2405         (__ASSUME_RECV_SYSCALL): Likewise.
2406         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2407         (__ASSUME_RECV_SYSCALL): Likewise.
2408         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2409         (__ASSUME_RECV_SYSCALL): Likewise.
2410         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2411         (__ASSUME_RECV_SYSCALL): Likewise.
2412         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2413         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
2414         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2415         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
2416         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2417         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
2418         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
2419         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
2420         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
2421         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
2422         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
2423         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
2425         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
2426         auto-generation list.
2427         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2428         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
2429         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
2430         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2431         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2432         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2433         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2434         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2435         (__ASSUME_RECVFROM_SYSCALL): Define by default.
2436         * sysdeps/unix/sysv/linux/kernel-features.h
2437         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
2438         __NR_recvfrom.
2439         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2440         (__ASSUME_RECVFROM_SYSCALL): Likewise.
2441         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2442         (__ASSUME_RECVFROM_SYSCALL): Likewise.
2443         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2444         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
2445         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2446         (__ASSUME_RECVFROM_SYSCALL): Likewise.
2447         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2448         (__ASSUME_RECVFROM_SYSCALL): Likewise.
2449         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2450         (__ASSUME_RECVFROM_SYSCALL): Likewise.
2451         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
2453         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
2454         auto-generation list.
2455         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2456         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
2457         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2458         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2459         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
2460         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2461         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2462         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
2463         * sysdeps/unix/sysv/linux/kernel-features.h
2464         (__ASSUME_CONNECT_SYSCALL): Define.
2465         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2466         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
2467         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2468         (__ASSUME_CONNECT_SYSCALL): Likewise.
2469         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2470         (__ASSUME_CONNECT_SYSCALL): Likewise.
2471         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2472         (__ASSUME_CONNECT_SYSCALL): Likewise.
2474         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
2475         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
2476         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
2477         auto-generation list.
2478         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2479         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
2480         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
2481         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2482         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2483         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2484         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2485         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2486         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
2487         (__ASSUME_ACCEPT_SYSCALL): Undefine.
2488         * sysdeps/unix/sysv/linux/kernel-features.h
2489         (__ASSUME_ACCEPT_SYSCALL): New define.
2490         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2491         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
2492         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
2493         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2494         (__ASSUME_ACCEPT_SYSCALL): Define.
2495         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2496         (__ASSUME_ACCEPT_SYSCALL): Undefine.
2497         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2498         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
2499         (__ASSUME_ACCEPT_SYSCALL): Undefine.
2500         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2501         (__ASSUME_ACCEPT_SYSCALL): Undefine.
2502         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2503         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
2505 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
2506             Zack Weinberg  <zackw@panix.com>
2508         * posix/test-errno.c: New file.
2509         * posix/Makefile (tests): Add test-errno.
2510         * sysdeps/unix/sysv/linux/test-errno.c: New file.
2511         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
2513 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
2515         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2517 2017-03-07  Florian Weimer  <fweimer@redhat.com>
2519         * time/tzset.c (compute_offset): Open-code min macro.
2520         (min, max, sign): Remove.
2522 2017-03-07  Florian Weimer  <fweimer@redhat.com>
2524         [BZ #15576]
2525         Remove TZNAME_MAX limit from sysconf.
2526         * include/time.h (__tzname_cur_max, __tzname_max): Remove
2527         declaration.
2528         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
2529         compute_tzname_max.
2530         (compute_tzname_max): Remove.
2531         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
2532         (update_vars): Do not update __tzname_cur_max.
2533         (tzset_internal): Remove argument.
2534         (__tzset): Adjust call to tzset_internal.
2535         (__tz_convert): Likewise.
2537         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
2538         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
2539         * manual/conf.texi (Sysconf Definition): Update comment.
2541 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2543         [BZ #21209]
2544         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
2545         AT_SECURE processes.
2546         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
2547         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
2548         (test_child): Likewise.
2549         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
2551 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2553         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
2555 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2557         * sysdeps/s390/atomic-machine.h
2558         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
2559         (__arch_compare_and_exchange_val_8_acq,
2560         __arch_compare_and_exchange_val_16_acq,
2561         __arch_compare_and_exchange_val_32_acq,
2562         __arch_compare_and_exchange_val_64_acq):
2563         Delete macro.
2564         (atomic_compare_and_exchange_val_acq,
2565         atomic_compare_and_exchange_val_rel,
2566         atomic_compare_and_exchange_bool_acq,
2567         catomic_compare_and_exchange_bool_acq,
2568         atomic_exchange_acq, atomic_exchange_rel,
2569         atomic_exchange_and_add_acq,
2570         atomic_exchange_and_add_rel,
2571         catomic_exchange_and_add, atomic_or_val,
2572         atomic_or, catomic_or, atomic_bit_test_set,
2573         atomic_and_val, atomic_and, catomic_and):
2574         Define macros with help of C11 atomic builtins.
2576 2017-03-03  Justus Winter <justus@gnupg.org>
2578         * sysdeps/mach/hurd/ftruncate64.c: New file.
2579         * sysdeps/mach/hurd/truncate64.c: Likewise.
2581 2017-03-03  Florian Weimer  <fweimer@redhat.com>
2583         * time/tzfile.c (NOID): Do not define.
2584         * time/tzset.c (NOID): Likewise.
2586 2017-03-03  Florian Weimer  <fweimer@redhat.com>
2588         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
2590 2017-03-02  Florian Weimer  <fweimer@redhat.com>
2592         * elf/get-dynamic-info.h: Remove header file inclusion guard.
2594 2017-03-02  Florian Weimer  <fweimer@redhat.com>
2596         [BZ #21015]
2597         * manual/install.texi (Configuring and compiling): Document
2598         --enable-bind-now.
2599         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
2600         (build-shlib-helper): Use $(LDFLAGS-lib.so).
2601         (format.lds): Likewise.
2602         [bind-now] (LDFLAGS-c.so): Remove.
2603         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
2604         be R_X86_64_GLOB_DAT.
2605         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
2606         relocation can be R_386_GLOB_DAT.
2607         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
2608         relocaiton can be R_ALPHA_GLOB_DAT.
2609         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
2611 2017-03-01  Zack Weinberg  <zackw@panix.com>
2613         * include/libc-pointer-arith.h: New file.  Define
2614         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
2615         PTR_ALIGN_DOWN here.
2616         * include/libc-internal.h: Definitions of above macros
2617         moved from here.  Don't include libc-diag.h anymore either.
2618         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
2619         Don't include libc-internal.h.
2621         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
2622         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
2623         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
2624         * string/strcoll_l.c, sysdeps/nacl/brk.c
2625         * sysdeps/unix/clock_settime.c
2626         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
2627         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
2628         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
2629         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
2630         Don't include libc-internal.h.
2632         * elf/get-dynamic-info.h, iconv/loop.c
2633         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
2634         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
2635         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
2636         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
2637         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
2638         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
2639         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
2640         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
2641         * sysdeps/ieee754/ldbl-128/k_tanl.c
2642         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
2643         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
2644         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
2645         Include libc-diag.h instead of libc-internal.h.
2647         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
2648         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
2649         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
2650         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
2651         * sysdeps/unix/sysv/linux/spawni.c
2652         * sysdeps/x86_64/nptl/tls.h:
2653         Include libc-pointer-arith.h instead of libc-internal.h.
2655         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
2656         * sysdeps/x86_64/atomic-machine.h:
2657         Add multiple include guard.
2659         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
2660         * string/strcasestr.c: No need to include config.h.
2661         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
2662         sys/auxv.h. Don't include sysdep.h.
2663         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
2665         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
2666         DL_LOOKUP_ADDRESS.
2667         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
2668         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
2669         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
2670         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
2671         of ARTIFICIAL_LIMIT.
2672         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
2673         declaration of __clone2.
2675 2017-02-28  Florian Weimer  <fweimer@redhat.com>
2677         * scripts/backport-support.sh (latest_commit): New file.
2679 2017-02-28  Florian Weimer  <fweimer@redhat.com>
2681         [BZ #20257]
2682         * inet/Makefile (routines): Add deadline.
2683         (tests-static): Add tst-deadline.
2684         * inet/net-internal.h (struct deadline_current_time)
2685         (__deadline_current_time, struct deadline, __deadline_is_infinite)
2686         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
2687         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
2688         * inet/deadline.c: New file.
2689         * inet/tst-deadline.c: Likewise.
2690         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
2691         tst-udp-timeout, tst-udp-garbage.
2692         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
2693         explicitly.
2694         (tst-udp-garbage): Likewise.  Also link against thread library.
2695         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
2696         struct layout is part of the ABI.
2697         (clntudp_call): Rework timeout handling.
2698         * sunrpc/tst-udp-garbage.c: New file.
2699         * sunrpc/tst-udp-nonblocking.c: Likewise.
2700         * sunrpc/tst-udp-timeout.c: Likewise.
2702 2017-02-28  Florian Weimer  <fweimer@redhat.com>
2704         [BZ #5010]
2705         * sunrpc/svc.c (svc_is_mapped): Remove.
2706         (svc_unregister): Obtain mapped status while the service is still
2707         registered.
2708         * sunrpc/Makefile [have-thread-library] (tests): Add
2709         tst-svc_register.
2710         (tst-svc_register): Link against libc.so explicitly and the thread
2711         library.
2712         * sunrpc/tst-svc_register.c: New file.
2714 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
2716         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
2717         * sysdeps/pthread/bits/sigthread.h: Likewise.
2719 2017-02-27  Florian Weimer  <fweimer@redhat.com>
2721         [BZ #21115]
2722         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
2723         * sunrpc/Makefile (tests): Add tst-udp-error.
2724         (tst-udp-error): Link against libc.so explicitly.
2725         * sunrpc/tst-udp-error: New file.
2727 2017-02-25  Zack Weinberg  <zackw@panix.com>
2729         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
2730         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
2732         * sysdeps/generic/math_ldbl.h
2733         * sysdeps/ia64/fpu/math_ldbl.h
2734         * sysdeps/ieee754/ldbl-128/math_ldbl.h
2735         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
2736         * sysdeps/ieee754/ldbl-96/math_ldbl.h
2737         * sysdeps/powerpc/fpu/math_ldbl.h
2738         * sysdeps/x86_64/fpu/math_ldbl.h:
2739         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
2740         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
2741         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
2742         Add copyright notices.
2744         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
2745         Don't use EXTRACT_WORDS64.
2747         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
2748         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
2749         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
2750         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
2751         Include math_ldbl.h, not math_private.h.
2753 2017-02-25  Zack Weinberg  <zackw@panix.com>
2755         * include/libc-diag.h: New file.  Define ignore_value,
2756         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
2757         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
2759         * include/libc-internal.h: Definitions of above macros moved from
2760         here.  Include libc-diag.h.  Add copyright notice.
2762         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
2763         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
2764         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
2765         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
2766         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
2767         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
2768         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
2769         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
2770         Include libc-diag.h instead of libc-internal.h.
2772         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
2773         call to unsetenv (NULL).
2774         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
2775         call to pthread_mutexattr_destroy (NULL).
2777 2017-02-25  Zack Weinberg  <zackw@panix.com>
2779         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
2780         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
2781         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
2782         gets was removed from C++ in C++14.
2783         * include/stdio.h: Remove redundant declaration of gets.
2784         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
2785         be declared, since we are testing it.
2786         * stdio-common/Makefile (tst-gets.c): Compile with
2787         -Wno-deprecated-declarations.
2788         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
2789         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
2790         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
2791         Compile with -Wno-deprecated-declarations.
2793 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2795         * math/libm-test-support.c (check_ulp): Use LIT() around literal
2796         numbers.
2798 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2800         * resolv/tst-resolv-qtypes.c (domain):
2801         Change type to const pointer to const char.
2803 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
2805         * math/Makefile (libm-tests-generated): Remove variable.
2806         (libm-tests-base-normal): New variable.
2807         (libm-tests-base-finite): Likewise.
2808         (libm-tests-base-inline): Likewise.
2809         (libm-tests-base): Likewise.
2810         (libm-tests-normal): Likewise.
2811         (libm-tests-finite): Likewise.
2812         (libm-tests-inline): Likewise.
2813         (libm-tests-vector): Likewise.
2814         (libm-tests): Define in terms of these new variables.
2815         (libm-tests-for-type): New variable.
2816         (libm-tests.o): Move definition.
2817         (tests): Move addition of $(libm-tests).
2818         (generated): Update for new and removed libm test files.
2819         ($(objpfx)libm-test.c): Remove target.
2820         ($(objpfx)libm-have-vector-test.h): Likewise.
2821         (CFLAGS-test-double-vlen2.c): Remove variable.
2822         (CFLAGS-test-double-vlen4.c): Likewise.
2823         (CFLAGS-test-double-vlen8.c): Likewise.
2824         (CFLAGS-test-float-vlen4.c): Likewise.
2825         (CFLAGS-test-float-vlen8.c): Likewise.
2826         (CFLAGS-test-float-vlen16.c): Likewise.
2827         (CFLAGS-test-float.c): Likewise.
2828         (CFLAGS-test-float-finite.c): Likewise.
2829         (CFLAGS-libm-test-support-float.c): Likewise.
2830         (CFLAGS-test-double.c): Likewise.
2831         (CFLAGS-test-double-finite.c): Likewise.
2832         (CFLAGS-libm-test-support-double.c): Likewise.
2833         (CFLAGS-test-ldouble.c): Likewise.
2834         (CFLAGS-test-ldouble-finite.c): Likewise.
2835         (CFLAGS-libm-test-support-ldouble.c): Likewise.
2836         (libm-test-inline-cflags): New variable.
2837         (CFLAGS-test-ifloat.c): Remove variable.
2838         (CFLAGS-test-idouble.c): Likewise.
2839         (CFLAGS-test-ildouble.c): Likewise.
2840         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
2841         dependencies.
2842         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
2843         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
2844         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
2845         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
2846         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
2847         Likewise.
2848         (dependencies on libm-test-support-*.o): Remove.
2849         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
2850         rules using iterators.
2851         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
2852         Likewise.
2853         ($(objpfx)libm-test-support-$(o).o): Likewise.
2854         ($(addprefix $(objpfx),$(filter-out $(tests-static)
2855         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
2856         instead.
2857         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
2858         define rule instead.
2859         * math/README.libm-test: Update.
2860         * math/libm-test-acos.inc: Include libm-test-driver.c.
2861         (do_test): New function.
2862         * math/libm-test-acosh.inc: Include libm-test-driver.c.
2863         (do_test): New function.
2864         * math/libm-test-asin.inc: Include libm-test-driver.c.
2865         (do_test): New function.
2866         * math/libm-test-asinh.inc: Include libm-test-driver.c.
2867         (do_test): New function.
2868         * math/libm-test-atan.inc: Include libm-test-driver.c.
2869         (do_test): New function.
2870         * math/libm-test-atan2.inc: Include libm-test-driver.c.
2871         (do_test): New function.
2872         * math/libm-test-atanh.inc: Include libm-test-driver.c.
2873         (do_test): New function.
2874         * math/libm-test-cabs.inc: Include libm-test-driver.c.
2875         (do_test): New function.
2876         * math/libm-test-cacos.inc: Include libm-test-driver.c.
2877         (do_test): New function.
2878         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
2879         (do_test): New function.
2880         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
2881         (do_test): New function.
2882         * math/libm-test-carg.inc: Include libm-test-driver.c.
2883         (do_test): New function.
2884         * math/libm-test-casin.inc: Include libm-test-driver.c.
2885         (do_test): New function.
2886         * math/libm-test-casinh.inc: Include libm-test-driver.c.
2887         (do_test): New function.
2888         * math/libm-test-catan.inc: Include libm-test-driver.c.
2889         (do_test): New function.
2890         * math/libm-test-catanh.inc: Include libm-test-driver.c.
2891         (do_test): New function.
2892         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
2893         (do_test): New function.
2894         * math/libm-test-ccos.inc: Include libm-test-driver.c.
2895         (do_test): New function.
2896         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
2897         (do_test): New function.
2898         * math/libm-test-ceil.inc: Include libm-test-driver.c.
2899         (do_test): New function.
2900         * math/libm-test-cexp.inc: Include libm-test-driver.c.
2901         (do_test): New function.
2902         * math/libm-test-cimag.inc: Include libm-test-driver.c.
2903         (do_test): New function.
2904         * math/libm-test-clog.inc: Include libm-test-driver.c.
2905         (do_test): New function.
2906         * math/libm-test-clog10.inc: Include libm-test-driver.c.
2907         (do_test): New function.
2908         * math/libm-test-conj.inc: Include libm-test-driver.c.
2909         (do_test): New function.
2910         * math/libm-test-copysign.inc: Include libm-test-driver.c.
2911         (do_test): New function.
2912         * math/libm-test-cos.inc: Include libm-test-driver.c.
2913         (do_test): New function.
2914         * math/libm-test-cosh.inc: Include libm-test-driver.c.
2915         (do_test): New function.
2916         * math/libm-test-cpow.inc: Include libm-test-driver.c.
2917         (do_test): New function.
2918         * math/libm-test-cproj.inc: Include libm-test-driver.c.
2919         (do_test): New function.
2920         * math/libm-test-creal.inc: Include libm-test-driver.c.
2921         (do_test): New function.
2922         * math/libm-test-csin.inc: Include libm-test-driver.c.
2923         (do_test): New function.
2924         * math/libm-test-csinh.inc: Include libm-test-driver.c.
2925         (do_test): New function.
2926         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
2927         (do_test): New function.
2928         * math/libm-test-ctan.inc: Include libm-test-driver.c.
2929         (do_test): New function.
2930         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
2931         (do_test): New function.
2932         * math/libm-test-erf.inc: Include libm-test-driver.c.
2933         (do_test): New function.
2934         * math/libm-test-erfc.inc: Include libm-test-driver.c.
2935         (do_test): New function.
2936         * math/libm-test-exp.inc: Include libm-test-driver.c.
2937         (do_test): New function.
2938         * math/libm-test-exp10.inc: Include libm-test-driver.c.
2939         (do_test): New function.
2940         * math/libm-test-exp2.inc: Include libm-test-driver.c.
2941         (do_test): New function.
2942         * math/libm-test-expm1.inc: Include libm-test-driver.c.
2943         (do_test): New function.
2944         * math/libm-test-fabs.inc: Include libm-test-driver.c.
2945         (do_test): New function.
2946         * math/libm-test-fdim.inc: Include libm-test-driver.c.
2947         (do_test): New function.
2948         * math/libm-test-floor.inc: Include libm-test-driver.c.
2949         (do_test): New function.
2950         * math/libm-test-fma.inc: Include libm-test-driver.c.
2951         (do_test): New function.
2952         * math/libm-test-fmax.inc: Include libm-test-driver.c.
2953         (do_test): New function.
2954         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
2955         (do_test): New function.
2956         * math/libm-test-fmin.inc: Include libm-test-driver.c.
2957         (do_test): New function.
2958         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
2959         (do_test): New function.
2960         * math/libm-test-fmod.inc: Include libm-test-driver.c.
2961         (do_test): New function.
2962         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
2963         (do_test): New function.
2964         * math/libm-test-frexp.inc: Include libm-test-driver.c.
2965         (do_test): New function.
2966         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
2967         (do_test): New function.
2968         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
2969         (do_test): New function.
2970         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
2971         (do_test): New function.
2972         * math/libm-test-hypot.inc: Include libm-test-driver.c.
2973         (do_test): New function.
2974         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
2975         (do_test): New function.
2976         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
2977         (do_test): New function.
2978         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
2979         (do_test): New function.
2980         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
2981         (do_test): New function.
2982         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
2983         (do_test): New function.
2984         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
2985         (do_test): New function.
2986         * math/libm-test-isinf.inc: Include libm-test-driver.c.
2987         (do_test): New function.
2988         * math/libm-test-isless.inc: Include libm-test-driver.c.
2989         (do_test): New function.
2990         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
2991         (do_test): New function.
2992         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
2993         (do_test): New function.
2994         * math/libm-test-isnan.inc: Include libm-test-driver.c.
2995         (do_test): New function.
2996         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
2997         (do_test): New function.
2998         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
2999         (do_test): New function.
3000         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
3001         (do_test): New function.
3002         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
3003         (do_test): New function.
3004         * math/libm-test-iszero.inc: Include libm-test-driver.c.
3005         (do_test): New function.
3006         * math/libm-test-j0.inc: Include libm-test-driver.c.
3007         (do_test): New function.
3008         * math/libm-test-j1.inc: Include libm-test-driver.c.
3009         (do_test): New function.
3010         * math/libm-test-jn.inc: Include libm-test-driver.c.
3011         (do_test): New function.
3012         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
3013         (do_test): New function.
3014         * math/libm-test-llogb.inc: Include libm-test-driver.c.
3015         (do_test): New function.
3016         * math/libm-test-llrint.inc: Include libm-test-driver.c.
3017         (do_test): New function.
3018         * math/libm-test-llround.inc: Include libm-test-driver.c.
3019         (do_test): New function.
3020         * math/libm-test-log.inc: Include libm-test-driver.c.
3021         (do_test): New function.
3022         * math/libm-test-log10.inc: Include libm-test-driver.c.
3023         (do_test): New function.
3024         * math/libm-test-log1p.inc: Include libm-test-driver.c.
3025         (do_test): New function.
3026         * math/libm-test-log2.inc: Include libm-test-driver.c.
3027         (do_test): New function.
3028         * math/libm-test-logb.inc: Include libm-test-driver.c.
3029         (do_test): New function.
3030         * math/libm-test-lrint.inc: Include libm-test-driver.c.
3031         (do_test): New function.
3032         * math/libm-test-lround.inc: Include libm-test-driver.c.
3033         (do_test): New function.
3034         * math/libm-test-modf.inc: Include libm-test-driver.c.
3035         (do_test): New function.
3036         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
3037         (do_test): New function.
3038         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
3039         (do_test): New function.
3040         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
3041         (do_test): New function.
3042         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
3043         (do_test): New function.
3044         * math/libm-test-nextup.inc: Include libm-test-driver.c.
3045         (do_test): New function.
3046         * math/libm-test-pow.inc: Include libm-test-driver.c.
3047         (do_test): New function.
3048         * math/libm-test-remainder.inc: Include libm-test-driver.c.
3049         (do_test): New function.
3050         * math/libm-test-remquo.inc: Include libm-test-driver.c.
3051         (do_test): New function.
3052         * math/libm-test-rint.inc: Include libm-test-driver.c.
3053         (do_test): New function.
3054         * math/libm-test-round.inc: Include libm-test-driver.c.
3055         (do_test): New function.
3056         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
3057         (do_test): New function.
3058         * math/libm-test-scalb.inc: Include libm-test-driver.c.
3059         (do_test): New function.
3060         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
3061         (do_test): New function.
3062         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
3063         (do_test): New function.
3064         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
3065         (do_test): New function.
3066         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
3067         (do_test): New function.
3068         * math/libm-test-signbit.inc: Include libm-test-driver.c.
3069         (do_test): New function.
3070         * math/libm-test-significand.inc: Include libm-test-driver.c.
3071         (do_test): New function.
3072         * math/libm-test-sin.inc: Include libm-test-driver.c.
3073         (do_test): New function.
3074         * math/libm-test-sincos.inc: Include libm-test-driver.c.
3075         (do_test): New function.
3076         * math/libm-test-sinh.inc: Include libm-test-driver.c.
3077         (do_test): New function.
3078         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
3079         (do_test): New function.
3080         * math/libm-test-tan.inc: Include libm-test-driver.c.
3081         (do_test): New function.
3082         * math/libm-test-tanh.inc: Include libm-test-driver.c.
3083         (do_test): New function.
3084         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
3085         (do_test): New function.
3086         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
3087         (do_test): New function.
3088         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
3089         (do_test): New function.
3090         * math/libm-test-trunc.inc: Include libm-test-driver.c.
3091         (do_test): New function.
3092         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
3093         (do_test): New function.
3094         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
3095         (do_test): New function.
3096         * math/libm-test-y0.inc: Include libm-test-driver.c.
3097         (do_test): New function.
3098         * math/libm-test-y1.inc: Include libm-test-driver.c.
3099         (do_test): New function.
3100         * math/libm-test-yn.inc: Include libm-test-driver.c.
3101         (do_test): New function.
3102         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
3103         (HAVE_VECTOR): Remove macro.
3104         (START): Do not call HAVE_VECTOR.
3105         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
3106         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
3107         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
3108         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
3109         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
3110         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
3111         * math/test-math-vector.h (FUNC_TEST): New macro.
3112         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
3113         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
3114         (double-vlen4-funcs): Likewise.
3115         (double-vlen4-avx2-funcs): Likewise.
3116         (double-vlen8-funcs): Likewise.
3117         (float-vlen4-funcs): Likewise.
3118         (float-vlen8-funcs): Likewise.
3119         (float-vlen8-avx2-funcs): Likewise.
3120         (float-vlen16-funcs): Likewise.
3121         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
3122         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
3123         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
3124         macro.
3125         (TEST_VECTOR_sin): Likewise.
3126         (TEST_VECTOR_sincos): Likewise.
3127         (TEST_VECTOR_log): Likewise.
3128         (TEST_VECTOR_exp): Likewise.
3129         (TEST_VECTOR_pow): Likewise.
3130         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
3131         Likewise.
3132         (TEST_VECTOR_sin): Likewise.
3133         (TEST_VECTOR_sincos): Likewise.
3134         (TEST_VECTOR_log): Likewise.
3135         (TEST_VECTOR_exp): Likewise.
3136         (TEST_VECTOR_pow): Likewise.
3137         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
3138         Likewise.
3139         (TEST_VECTOR_sinf): Likewise.
3140         (TEST_VECTOR_sincosf): Likewise.
3141         (TEST_VECTOR_logf): Likewise.
3142         (TEST_VECTOR_expf): Likewise.
3143         (TEST_VECTOR_powf): Likewise.
3144         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
3145         Likewise.
3146         (TEST_VECTOR_sinf): Likewise.
3147         (TEST_VECTOR_sincosf): Likewise.
3148         (TEST_VECTOR_logf): Likewise.
3149         (TEST_VECTOR_expf): Likewise.
3150         (TEST_VECTOR_powf): Likewise.
3151         * math/gen-libm-have-vector-test.sh: Remove file.
3152         * math/libm-test.inc: Likewise.
3153         * math/libm-test-support-double.c: Likewise.
3154         * math/libm-test-support-float.c: Likewise.
3155         * math/libm-test-support-ldouble.c: Likewise.
3156         * math/test-double-finite.c: Likewise.: Likewise.
3157         * math/test-double.c: Likewise.
3158         * math/test-float-finite.c: Likewise.
3159         * math/test-float.c: Likewise.
3160         * math/test-idouble.c: Likewise.
3161         * math/test-ifloat.c: Likewise.
3162         * math/test-ildouble.c: Likewise.
3163         * math/test-ldouble-finite.c: Likewise.
3164         * math/test-ldouble.c: Likewise.
3165         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3166         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
3167         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3168         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3169         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3170         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3171         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3172         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
3173         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3174         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3176 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3177            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3179         * math/Makefile: Add wrappers to gen-libm-calls.
3180         * math/w_acos_template.c: New file.
3181         * math/w_acosh_template.c: Likewise.
3182         * math/w_asin_template.c: Likewise.
3183         * math/w_atan2_template.c: Likewise.
3184         * math/w_atanh_template.c: Likewise.
3185         * math/w_cosh_template.c: Likewise.
3186         * math/w_exp10_template.c: Likewise.
3187         * math/w_exp2_template.c: Likewise.
3188         * math/w_exp_template.c: Likewise.
3189         * math/w_fmod_template.c: Likewise.
3190         * math/w_hypot_template.c: Likewise.
3191         * math/w_j0_template.c: Likewise.
3192         * math/w_j1_template.c: Likewise.
3193         * math/w_jn_template.c: Likewise.
3194         * math/w_lgamma_r_template.c: Likewise.
3195         * math/w_lgamma_template.c: Likewise.
3196         * math/w_log10_template.c: Likewise.
3197         * math/w_log2_template.c: Likewise.
3198         * math/w_log_template.c: Likewise.
3199         * math/w_pow_template.c: Likewise.
3200         * math/w_remainder_template.c: Likewise.
3201         * math/w_sinh_template.c: Likewise.
3202         * math/w_sqrt_template.c: Likewise.
3203         * math/w_tgamma_template.c: Likewise.: Likewise.
3204         * sysdeps/generic/math-type-macros-double.h
3205         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
3206         the new wrappers.
3207         * sysdeps/generic/math-type-macros-float.h: Likewise.
3208         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
3210 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
3212         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
3213         New enum constant and macro.
3215         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3216         kernel version to 4.10.
3218 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
3220         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
3222 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3224         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3226 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3228         * sysdeps/powerpc/tst-set_ppr.c: New file.
3229         Implement test cases for __ppc_set_ppr_* functions.
3230         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
3231         in the list of tests.
3233 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3235         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
3236         instead of test-skeleton.c.
3237         (do_test): Replaced pthread_create and pthread_join with
3238         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
3239         Removed unneeded status variable.
3240         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
3241         instead of test-skeleton.c.
3242         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
3244 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
3246         [BZ #20313]
3247         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
3248         201605L, for Unicode 9.
3250 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
3252         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
3253         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3254         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3255         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3256         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
3257         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3259 2017-02-19  Zack Weinberg  <zackw@panix.com>
3261         * rt/tst-mqueue4.c: Include stdint.h.
3263 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
3265         * sysdeps/arm/libm-test-ulps: Update.
3266         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3267         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3268         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3270 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3272         [BZ #21029]
3273         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
3274         * sysdeps/unix/sysv/linux/i386/Makefile
3275         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
3276         (uses-6-syscall-arguments): Remove.
3277         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
3278         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
3279         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
3280         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
3281         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
3282         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
3283         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
3284         [$(subdir) = misc] (cflags-pselect.o): Likewise.
3285         [$(subdir) = misc] (cflags-pselect.os): Likewise.
3286         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
3287         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
3288         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
3289         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
3290         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
3291         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
3292         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
3293         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
3294         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
3295         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
3296         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
3297         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
3298         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
3299         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
3300         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
3301         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
3302         Likewise.
3303         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
3304         Likewise.
3305         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
3306         Likewise.
3307         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
3308         Likewise.
3309         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
3310         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
3311         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
3312         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
3313         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
3314         ebp on inline assembly.
3315         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
3316         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
3317         Set if CAN_USE_REGISTER_ASM_EBP is set.
3319 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
3321         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
3322         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
3324 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
3326         * math/auto-libm-test-in: Add tests of catan and catanh.
3327         * math/auto-libm-test-out-catan: New generated file.
3328         * math/auto-libm-test-out-catanh: Likewise.
3329         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
3330         Move tests with finite inputs, except divide-by-zero cases, to
3331         auto-libm-test-in.
3332         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
3333         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
3334         (libm-test-funcs-noauto): Remove catan and catanh.
3335         * sysdeps/i386/fpu/libm-test-ulps: Update.
3336         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
3337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3339         * math/auto-libm-test-in: Add tests of casin and casinh.
3340         * math/auto-libm-test-out-casin: New generated file.
3341         * math/auto-libm-test-out-casinh: Likewise.
3342         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
3343         Move tests with finite inputs to auto-libm-test-in.
3344         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
3345         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
3346         (libm-test-funcs-noauto): Remove casin and casinh.
3347         * sysdeps/i386/fpu/libm-test-ulps: Update.
3348         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
3349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3351         * math/auto-libm-test-in: Add tests of cacos and cacosh.
3352         * math/auto-libm-test-out-cacos: New generated file.
3353         * math/auto-libm-test-out-cacosh: Likewise.
3354         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
3355         Move tests with finite inputs to auto-libm-test-in.
3356         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
3357         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
3358         (libm-test-funcs-noauto): Remove cacos and cacosh.
3359         * sysdeps/i386/fpu/libm-test-ulps: Update.
3360         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
3361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3363         Revert:
3364         2017-02-16  Zack Weinberg  <zackw@panix.com>
3366         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
3367         Don't include init-arch.h.
3368         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
3369         Don't include init-arch.h.
3371 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3373         [BZ #21171]
3374         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
3375         +Inf and raise divide-by-zero when x is negative.
3376         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
3377         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
3378         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
3379         -Inf and raise divide-by-zero when x = +-0.
3380         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
3381         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
3382         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
3383         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
3384         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
3385         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
3386         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
3388 2017-02-16  Zack Weinberg  <zackw@panix.com>
3390         * scripts/build-many-glibcs.py (bot_build_mail): If the
3391         bot_config does not contain all of the necessary email-
3392         related settings, just print a warning and continue.
3394 2017-02-16  Zack Weinberg  <zackw@panix.com>
3396         * crypt/md5.h: Test _LIBC with #if defined, not #if.
3397         * dirent/opendir-tst1.c: Include sys/stat.h.
3398         * dirent/tst-fdopendir.c: Include sys/stat.h.
3399         * dirent/tst-fdopendir2.c: Include stdlib.h.
3400         * dirent/tst-scandir.c: Include stdbool.h.
3401         * elf/tst-auditmod1.c: Include link.h and stddef.h.
3402         * elf/tst-tls15.c: Include stdlib.h.
3403         * elf/tst-tls16.c: Include stdlib.h.
3404         * elf/tst-tls17.c: Include stdlib.h.
3405         * elf/tst-tls18.c: Include stdlib.h.
3406         * iconv/tst-iconv6.c: Include endian.h.
3407         * iconvdata/bug-iconv11.c: Include limits.h.
3408         * io/test-utime.c: Include stdint.h.
3409         * io/tst-faccessat.c: Include sys/stat.h.
3410         * io/tst-fchmodat.c: Include sys/stat.h.
3411         * io/tst-fchownat.c: Include sys/stat.h.
3412         * io/tst-fstatat.c: Include sys/stat.h.
3413         * io/tst-futimesat.c: Include sys/stat.h.
3414         * io/tst-linkat.c: Include sys/stat.h.
3415         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
3416         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
3417         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
3418         * io/tst-openat.c: Include stdbool.h.
3419         * io/tst-readlinkat.c: Include sys/stat.h.
3420         * io/tst-renameat.c: Include sys/stat.h.
3421         * io/tst-symlinkat.c: Include sys/stat.h.
3422         * io/tst-unlinkat.c: Include stdbool.h.
3423         * libio/bug-memstream1.c: Include stdlib.h.
3424         * libio/bug-wmemstream1.c: Include stdlib.h.
3425         * libio/tst-fwrite-error.c: Include stdlib.h.
3426         * libio/tst-memstream1.c: Include stdlib.h.
3427         * libio/tst-memstream2.c: Include stdlib.h.
3428         * libio/tst-memstream3.c: Include stdlib.h.
3429         * malloc/tst-interpose-aux.c: Include stdint.h.
3430         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
3431         * nptl/tst-basic7.c: Include limits.h.
3432         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
3433         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
3434         * nptl/tst-cancel4_1.c: Include stddef.h.
3435         * nptl/tst-cancel4_2.c: Include stddef.h.
3436         * nptl/tst-cond16.c: Include limits.h.
3437         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
3438         * nptl/tst-cond18.c: Include limits.h.
3439         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
3440         * nptl/tst-cond4.c: Include stdint.h.
3441         * nptl/tst-cond6.c: Include stdint.h.
3442         * nptl/tst-stack2.c: Include limits.h.
3443         * nptl/tst-stackguard1.c: Include stddef.h.
3444         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
3445         * nptl/tst-tls4moda.c: Include stddef.h.
3446         Don't include stdio.h, unistd.h, or tls.h.
3447         * nptl/tst-tls4modb.c: Include stddef.h.
3448         Don't include stdio.h, unistd.h, or tls.h.
3449         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
3450         * posix/tst-getaddrinfo2.c: Include stdio.h.
3451         * posix/tst-getaddrinfo5.c: Include stdio.h.
3452         * posix/tst-pathconf.c: Include sys/stat.h.
3453         * posix/tst-posix_fadvise-common.c: Include stdint.h.
3454         * posix/tst-preadwrite-common.c: Include sys/stat.h.
3455         * posix/tst-regex.c: Include stdint.h.
3456         Don't include spawn.h or spawn_int.h.
3457         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
3458         * posix/tst-vfork3.c: Include sys/stat.h.
3459         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
3460         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
3461         * resolv/tst-resolv-search.c: Include stdlib.h.
3462         * stdio-common/tst-fmemopen2.c: Include stdint.h.
3463         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
3464         * stdlib/test-canon.c: Include sys/stat.h.
3465         * stdlib/tst-tls-atexit.c: Include stdbool.h.
3466         * string/test-memchr.c: Include stdint.h.
3467         * string/tst-cmp.c: Include stdint.h.
3468         * sysdeps/pthread/tst-timer.c: Include stdint.h.
3469         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
3470         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
3471         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
3472         Don't include init-arch.h.
3473         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
3474         Don't include init-arch.h.
3475         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
3476         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
3477         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
3478         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
3479         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
3480         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
3481         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
3482         * time/clocktest.c: Include stdint.h.
3483         * time/tst-posixtz.c: Include stdint.h.
3484         * timezone/tst-timezone.c: Include stdint.h.
3486 2017-02-16  Zack Weinberg  <zackw@panix.com>
3488         * string/string.h [__USE_MISC]: Include strings.h.
3489         (__bzero, bcmp, bcopy, bzero, index, rindex)
3490         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
3491         (ffs, ffsl, ffsll): Don't declare.
3492         * string/strings.h: Do not suppress the file if string.h has
3493         already been included.
3494         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
3495         annotations.
3496         (index, rindex): Define inline forwarders even if
3497         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
3498         (ffs): Use __attribute_const__.
3499         (ffsl, ffsll): Declare here.
3500         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
3501         have now been standardized.
3502         * include/string.h (__bzero): Declare here.
3504         * bits/types.h: Move to posix/bits.
3505         * include/bits/types.h: New wrapper.
3507 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
3509         * string/bits/string2.h (strcmp): Remove define.
3510         (__strcmp_cg): Likewise.
3511         (strncmp): Likewise.
3513 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
3515         * include/string.h: Add __cplusplus check.
3517 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3519         [BZ #21134]
3520         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
3521         "divide by zero" exception when the input is zero.
3522         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
3523         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
3524         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
3525         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
3526         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3528 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
3530         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
3531         and include ...
3532         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
3533         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
3534         to, and include ...
3535         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
3536         file.
3537         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
3538         and include ...
3539         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
3540         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
3541         and include ...
3542         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
3543         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
3544         and include ...
3545         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
3546         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
3547         and include ...
3548         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
3549         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
3550         to, and include ...
3551         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
3552         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
3553         and include ...
3554         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
3556 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
3558         * math/libm-test-support.h: Do not include <math-tests-arch.h>
3559         here.
3560         * math/libm-test-support.c (libm_test_init): Do not call
3561         INIT_ARCH_EXT here.
3562         * math/libm-test-driver.c: Include <math-tests-arch.h>.
3563         (main): Call INIT_ARCH_EXT.
3565 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3567         [BZ #21130]
3568         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
3569         with the "invalid" exception raised when x is -Inf.
3570         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3572 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
3574         * string/bits/string2.h (strchr): Remove define.
3576 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
3578         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
3579         tst-avx512.
3580         (test-extras): Add tst-avx-aux and tst-avx512-aux.
3581         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
3582         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
3583         ($(objpfx)tst-sse): New rule.
3584         ($(objpfx)tst-avx): Likewise.
3585         ($(objpfx)tst-avx512): Likewise.
3586         (CFLAGS-tst-avx-aux.c): New.
3587         (CFLAGS-tst-avxmod.c): Likewise.
3588         (CFLAGS-tst-avx512-aux.c): Likewise.
3589         (CFLAGS-tst-avx512mod.c): Likewise.
3590         * sysdeps/x86_64/tst-avx-aux.c: New file.
3591         * sysdeps/x86_64/tst-avx.c: Likewise.
3592         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
3593         * sysdeps/x86_64/tst-avx512.c: Likewise.
3594         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
3595         * sysdeps/x86_64/tst-avxmod.c: Likewise.
3596         * sysdeps/x86_64/tst-sse.c: Likewise.
3597         * sysdeps/x86_64/tst-ssemod.c: Likewise.
3599 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
3601         * math/auto-libm-test-in: Add more tests of csin and csinh.
3602         * math/auto-libm-test-out-csin: Regenerated.
3603         * math/auto-libm-test-out-csinh: Likewise.
3604         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
3605         auto-libm-test-in.
3606         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
3608 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3610         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
3611         libm-compat-calls-auto.
3612         (libm-compat-calls): Likewise.
3613         (libm-compat-calls-auto): Rename to libm-compat-calls and add
3614         w_lgamma_compatF and k_standardF (merged from the items above).
3615         (libm-routines): Use libm-compat-calls, instead of
3616         libm-compat-calls-auto, with type-foreach.
3618 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
3620         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
3621         macro.
3622         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
3623         (CFLAGS-test-ifloat.c): ... this.  Remove
3624         -U__LIBC_INTERNAL_MATH_INLINES.
3625         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
3626         (CFLAGS-test-idouble.c): ... this.  Remove
3627         -U__LIBC_INTERNAL_MATH_INLINES.
3628         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
3629         (CFLAGS-test-ildouble.c): ... this.  Remove
3630         -U__LIBC_INTERNAL_MATH_INLINES.
3632 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
3634         * math/libm-test-support.c: New file.  Content from
3635         math/libm-test-driver.c.
3636         * math/libm-test-support.h: Likewise.
3637         * math/libm-test-support-double.c: New file.
3638         * math/libm-test-support-float.c: Likewise.
3639         * math/libm-test-support-ldouble.c: Likewise.
3640         * math/libm-test-driver.c: Remove main comment and header
3641         includes.  Include libm-test-support.h.
3642         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
3643         (flag_test_errno): Remove static.
3644         (flag_test_exceptions): Likewise.
3645         (flag_test_finite): Likewise.
3646         (flag_test_inline): Likewise.
3647         (flag_test_mathvec): Likewise.
3648         (test_msg): Likewise.
3649         (NO_EXCEPTION): Remove.
3650         (INVALID_EXCEPTION): Likewise.
3651         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
3652         (OVERFLOW_EXCEPTION): Likewise.
3653         (UNDERFLOW_EXCEPTION): Likewise.
3654         (INEXACT_EXCEPTION): Likewise.
3655         (INVALID_EXCEPTION_OK): Likewise.
3656         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3657         (OVERFLOW_EXCEPTION_OK): Likewise.
3658         (UNDERFLOW_EXCEPTION_OK): Likewise.
3659         (NO_INEXACT_EXCEPTION): Likewise.
3660         (EXCEPTIONS_OK): Likewise.
3661         (IGNORE_ZERO_INF_SIGN): Likewise.
3662         (TEST_NAN_SIGN): Likewise.
3663         (TEST_NAN_PAYLOAD): Likewise.
3664         (NO_TEST_INLINE): Likewise.
3665         (XFAIL_TEST): Likewise.
3666         (ERRNO_UNCHANGED): Likewise.
3667         (ERRNO_EDOM): Likewise.
3668         (ERRNO_ERANGE): Likewise.
3669         (IGNORE_RESULT): Likewise.
3670         (NON_FINITE): Likewise.
3671         (TEST_SNAN): Likewise.
3672         (NO_TEST_MATHVEC): Likewise.
3673         (__CONCATX): Likewise.
3674         (TYPE_MIN): Likewise.
3675         (TYPE_TRUE_MIN): Likewise.
3676         (TYPE_MAX): Likewise.
3677         (MIN_EXP): Likewise.
3678         (MAX_EXP): Likewise.
3679         (MANT_DIG): Likewise.
3680         (FSTR_MAX): Likewise.
3681         (ulp_idx): Likewise.
3682         (qtype_str): Remove static.
3683         (TEST_COND_binary32): Remove.
3684         (TEST_COND_binary64): Likewise.
3685         (TEST_COND_binary128): Likewise.
3686         (TEST_COND_ibm128): Likewise.
3687         (TEST_COND_intel96): Likewise.
3688         (TEST_COND_m68k96): Likewise.
3689         (TEST_COND_ibm128_libgcc): Likewise.
3690         (XFAIL_IBM128_LIBGCC): Likewise.
3691         (PAYLOAD_DIG): Likewise.
3692         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3693         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3694         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3695         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
3696         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3697         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
3698         (TEST_COND_long32): Likewise.
3699         (TEST_COND_long64): Likewise.
3700         (TEST_COND_before_rounding): Likewise.
3701         (TEST_COND_after_rounding): Likewise.
3702         (ulps_file_name): Likewise.
3703         (ulps_file): Likewise.
3704         (output_ulps): Likewise.
3705         (output_dir): Likewise.
3706         (noErrors): Likewise.
3707         (noTests): Likewise.
3708         (noExcTests): Likewise.
3709         (noErrnoTests): Likewise.
3710         (verbose): Likewise.
3711         (output_max_error): Likewise.
3712         (output_points): Likewise.
3713         (ignore_max_ulp): Likewise.
3714         (max_error): Likewise.
3715         (real_max_error): Likewise.
3716         (imag_max_error): Likewise.
3717         (prev_max_error): Likewise.
3718         (prev_real_max_error): Likewise.
3719         (prev_imag_max_error): Likewise.
3720         (max_valid_error): Likewise.
3721         (TYPE_DECIMAL_DIG): Likewise.
3722         (TYPE_HEX_DIG): Likewise.
3723         (fmt_ftostr): Likewise.
3724         (compare_ulp_data): Likewise.
3725         (find_ulps): Likewise.
3726         (init_max_error): Likewise.
3727         (set_max_error): Likewise.
3728         (print_float): Likewise.
3729         (print_screen): Likewise.
3730         (print_screen_max_error): Likewise.
3731         (update_stats): Likewise.
3732         (print_function_ulps): Likewise.
3733         (print_complex_function_ulps): Likewise.
3734         (fpstack_test): Likewise.
3735         (print_max_error): Likewise.
3736         (print_complex_max_error): Likewise.
3737         (test_single_exception): Likewise.
3738         (test_exceptions): Likewise.
3739         (test_single_errno): Likewise.
3740         (test_errno): Likewise.
3741         (ULPDIFF): Likewise.
3742         (ulp): Likewise.
3743         (check_float_internal): Likewise.
3744         (check_float): Likewise.
3745         (check_complex): Likewise.
3746         (check_int): Likewise.
3747         (check_long): Likewise.
3748         (check_bool): Likewise.
3749         (check_longlong): Likewise.
3750         (check_intmax_t): Likewise.
3751         (check_uintmax_t): Likewise.
3752         (enable_test): Likewise.
3753         (matherr): Likewise.
3754         (initialize): Likewise.
3755         (options): Likewise.
3756         (doc): Remove static.
3757         (argp): Likewise.
3758         (parse_opt): Remove.
3759         (check_ulp): Likewise.
3760         (libm_test_init): Likewise.
3761         (libm_test_finish): Likewise.
3762         * math/Makefile (libm-test-support): New variable.
3763         (test-extras): Add libm-test-support files.
3764         (extra-test-objs): Likewise.
3765         (CFLAGS-libm-test-support-float.c): New variable.
3766         (CFLAGS-libm-test-support-double.c): Likewise.
3767         (CFLAGS-libm-test-support-ldouble.c): Likewise.
3768         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
3769         libm-test-support objects.
3771 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3773         * math/Makefile (libm-calls): Move w_exp...
3774         (libm-compat-calls-auto): Here.
3776         * math/w_expl.c: Add suffix "_compat" to filename.
3777         * sysdeps/ia64/fpu/w_expl.c: Likewise.
3778         * sysdeps/ia64/fpu/w_expf.c: Likewise.
3779         * sysdeps/ia64/fpu/w_exp.c: Likewise.
3780         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3781         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3782         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3783         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
3784         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3786         * math/w_expl_compat.c: New file, copied from above.
3787         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
3788         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
3789         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
3790         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
3791         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
3792         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
3793         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
3794         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
3796         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
3797         to filename.
3798         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
3800         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
3801         copied from above and adjusted for the new filenames.
3802         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
3804 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3806         * math/Makefile (libm-calls): Move w_lgammaF...
3807         (libm-compat-calls-auto): Here.
3809         * math/w_lgamma.c: Add suffix "_compat2" to filename.
3810         * math/w_lgammaf.c: Likewise.
3811         * math/w_lgammal.c: Likewise.
3813         * math/w_lgamma_compat2.c: New file, copied from above.
3814         * math/w_lgammaf_compat2.c: Likewise.
3815         * math/w_lgammal_compat2.c: Likewise.
3817 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3819         * math/Makefile (libm-calls): Move w_lgammaF_r...
3820         (libm-compat-calls-auto): Here.
3822         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
3823         * math/w_lgammaf_r.c: Likewise.
3824         * math/w_lgammal_r.c: Likewise.
3825         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
3826         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
3827         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
3829         * math/w_lgamma_r_compat.c: New file, copied from above.
3830         * math/w_lgammaf_r_compat.c: Likewise.
3831         * math/w_lgammal_r_compat.c: Likewise.
3832         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
3833         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
3834         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
3836         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
3837         to filename.
3838         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
3840         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
3841         copied from above and adjusted for the new filenames.
3842         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
3844 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
3846         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
3847         calculation in SYSCALL_ERROR_HANDLER().
3849 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
3851         * manual/contrib.texi: Fix typo.
3853 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3855         [BZ #21109]
3856         * elf/dl-tunable-types.h (tunable_callback_t): Accept
3857         tunable_val_t as argument.
3858         * elf/dl-tunables.c (__tunable_set_val): Add comment.
3859         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
3860         argument.
3861         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
3863 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
3865         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
3866         Add PTRACE_EVENT_STOP.
3867         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
3868         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3869         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3870         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3871         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
3872         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
3874 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
3876         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
3877         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
3878         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
3879         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
3880         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
3881         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
3882         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
3883         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
3884         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
3885         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
3887         [BZ #21112]
3888         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
3889         12 bits zero.
3890         (cp_l): Update for new value of cp_h.
3891         * math/auto-libm-test-in: Add another test of pow.
3892         * math/auto-libm-test-out-pow: Regenerated.
3894 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3896         * manual/contrib.texi: Fix typo.
3898 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3900         [BZ #15998]
3901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3902         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
3903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3905 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3907         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
3908         STRCHR as __strchr_power8.
3909         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
3910         strlen as __strlen_power8.
3912 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3914         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
3915         unaligned load for shorter strings.
3916         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
3918 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
3920         * math/libm-test-driver.c (flag_test_errno): New variable.
3921         (flag_test_exceptions): Likewise.
3922         (flag_test_finite): Likewise.
3923         (flag_test_inline): Likewise.
3924         (flag_test_mathvec): Likewise.
3925         (test_msg): Likewise.
3926         (ulp_idx): Likewise.
3927         (qtype_str): Likewise.
3928         (ULP_IDX): Remove macro.
3929         (QTYPE_STR): Likewise.
3930         (find_ulps): Use ulp_idx not ULP_IDX.
3931         (print_function_ulps): Use qtype_str, printed with %s, not
3932         QTYPE_STR, printed with concatentation to format string.
3933         (print_complex_function_ulps): Likewise.
3934         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
3935         (test_errno): Use flag_test_errno not TEST_ERRNO.
3936         (enable_test): Use flag_test_inline, flag_test_finite and
3937         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
3938         TEST_MATHVEC.
3939         (libm_test_init): New function.  Factored out of main.
3940         (libm_test_finish): Likewise.
3941         (main): Call libm_test_init and libm_test_finish and move most
3942         code to those functions.
3944         * math/libm-test-driver.c (STRX): New macro.
3945         (STR): Likewise.
3946         (STR_FLOAT): Likewise.
3947         (STR_VEC_LEN): Likewise.
3948         (TEST_MSG): Likewise.  Define here instead of expecting to be
3949         defined by including file.
3950         * math/test-double-finite.c (TEST_MSG): Remove macro.
3951         * math/test-double-vlen2.h (TEST_MSG): Likewise.
3952         * math/test-double-vlen4.h (TEST_MSG): Likewise.
3953         * math/test-double-vlen8.h (TEST_MSG): Likewise.
3954         * math/test-double.c (TEST_MSG): Likewise.
3955         * math/test-float-finite.c (TEST_MSG): Likewise.
3956         * math/test-float-vlen16.h (TEST_MSG): Likewise.
3957         * math/test-float-vlen4.h (TEST_MSG): Likewise.
3958         * math/test-float-vlen8.h (TEST_MSG): Likewise.
3959         * math/test-float.c (TEST_MSG): Likewise.
3960         * math/test-idouble.c (TEST_MSG): Likewise.
3961         * math/test-ifloat.c (TEST_MSG): Likewise.
3962         * math/test-ildouble.c (TEST_MSG): Likewise.
3963         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
3964         * math/test-ldouble.c (TEST_MSG): Likewise.
3966         * math/libm-test.inc: Move all tests of individual functions to
3967         libm-test-*.inc and #include libm-test-*.c files.
3968         (acos_test_data): Remove.
3969         (acos_test): Likewise.
3970         (acosh_test_data): Likewise.
3971         (acosh_test): Likewise.
3972         (asin_test_data): Likewise.
3973         (asin_test): Likewise.
3974         (asinh_test_data): Likewise.
3975         (asinh_test): Likewise.
3976         (atan_test_data): Likewise.
3977         (atan_test): Likewise.
3978         (atanh_test_data): Likewise.
3979         (atanh_test): Likewise.
3980         (atan2_test_data): Likewise.
3981         (atan2_test): Likewise.
3982         (cabs_test_data): Likewise.
3983         (cabs_test): Likewise.
3984         (cacos_test_data): Likewise.
3985         (cacos_test): Likewise.
3986         (cacosh_test_data): Likewise.
3987         (cacosh_test): Likewise.
3988         (canonicalize_test_data): Likewise.
3989         (canonicalize_test): Likewise.
3990         (carg_test_data): Likewise.
3991         (carg_test): Likewise.
3992         (casin_test_data): Likewise.
3993         (casin_test): Likewise.
3994         (casinh_test_data): Likewise.
3995         (casinh_test): Likewise.
3996         (catan_test_data): Likewise.
3997         (catan_test): Likewise.
3998         (catanh_test_data): Likewise.
3999         (catanh_test): Likewise.
4000         (cbrt_test_data): Likewise.
4001         (cbrt_test): Likewise.
4002         (ccos_test_data): Likewise.
4003         (ccos_test): Likewise.
4004         (ccosh_test_data): Likewise.
4005         (ccosh_test): Likewise.
4006         (ceil_test_data): Likewise.
4007         (ceil_test): Likewise.
4008         (cexp_test_data): Likewise.
4009         (cexp_test): Likewise.
4010         (cimag_test_data): Likewise.
4011         (cimag_test): Likewise.
4012         (clog_test_data): Likewise.
4013         (clog_test): Likewise.
4014         (clog10_test_data): Likewise.
4015         (clog10_test): Likewise.
4016         (conj_test_data): Likewise.
4017         (conj_test): Likewise.
4018         (copysign_test_data): Likewise.
4019         (copysign_test): Likewise.
4020         (cos_test_data): Likewise.
4021         (cos_test): Likewise.
4022         (cosh_test_data): Likewise.
4023         (cosh_test): Likewise.
4024         (cpow_test_data): Likewise.
4025         (cpow_test): Likewise.
4026         (cproj_test_data): Likewise.
4027         (cproj_test): Likewise.
4028         (creal_test_data): Likewise.
4029         (creal_test): Likewise.
4030         (csin_test_data): Likewise.
4031         (csin_test): Likewise.
4032         (csinh_test_data): Likewise.
4033         (csinh_test): Likewise.
4034         (csqrt_test_data): Likewise.
4035         (csqrt_test): Likewise.
4036         (ctan_test_data): Likewise.
4037         (ctan_test): Likewise.
4038         (ctanh_test_data): Likewise.
4039         (ctanh_test): Likewise.
4040         (erf_test_data): Likewise.
4041         (erf_test): Likewise.
4042         (erfc_test_data): Likewise.
4043         (erfc_test): Likewise.
4044         (exp_test_data): Likewise.
4045         (exp_test): Likewise.
4046         (exp10_test_data): Likewise.
4047         (exp10_test): Likewise.
4048         (pow10_test): Likewise.
4049         (exp2_test_data): Likewise.
4050         (exp2_test): Likewise.
4051         (expm1_test_data): Likewise.
4052         (expm1_test): Likewise.
4053         (fabs_test_data): Likewise.
4054         (fabs_test): Likewise.
4055         (fdim_test_data): Likewise.
4056         (fdim_test): Likewise.
4057         (floor_test_data): Likewise.
4058         (floor_test): Likewise.
4059         (fma_test_data): Likewise.
4060         (fma_test): Likewise.
4061         (fmax_test_data): Likewise.
4062         (fmax_test): Likewise.
4063         (fmaxmag_test_data): Likewise.
4064         (fmaxmag_test): Likewise.
4065         (fmin_test_data): Likewise.
4066         (fmin_test): Likewise.
4067         (fminmag_test_data): Likewise.
4068         (fminmag_test): Likewise.
4069         (fmod_test_data): Likewise.
4070         (fmod_test): Likewise.
4071         (fpclassify_test_data): Likewise.
4072         (fpclassify_test): Likewise.
4073         (frexp_test_data): Likewise.
4074         (frexp_test): Likewise.
4075         (fromfp_test_data): Likewise.
4076         (fromfp_test): Likewise.
4077         (fromfpx_test_data): Likewise.
4078         (fromfpx_test): Likewise.
4079         (getpayload_test_data): Likewise.
4080         (getpayload_test): Likewise.
4081         (hypot_test_data): Likewise.
4082         (hypot_test): Likewise.
4083         (ilogb_test_data): Likewise.
4084         (ilogb_test): Likewise.
4085         (iscanonical_test_data): Likewise.
4086         (iscanonical_test): Likewise.
4087         (iseqsig_test_data): Likewise.
4088         (iseqsig_test): Likewise.
4089         (isfinite_test_data): Likewise.
4090         (isfinite_test): Likewise.
4091         (finite_test): Likewise.
4092         (isgreater_test_data): Likewise.
4093         (isgreater_test): Likewise.
4094         (isgreaterequal_test_data): Likewise.
4095         (isgreaterequal_test): Likewise.
4096         (isinf_test_data): Likewise.
4097         (isinf_test): Likewise.
4098         (isless_test_data): Likewise.
4099         (isless_test): Likewise.
4100         (islessequal_test_data): Likewise.
4101         (islessequal_test): Likewise.
4102         (islessgreater_test_data): Likewise.
4103         (islessgreater_test): Likewise.
4104         (isnan_test_data): Likewise.
4105         (isnan_test): Likewise.
4106         (isnormal_test_data): Likewise.
4107         (isnormal_test): Likewise.
4108         (issignaling_test_data): Likewise.
4109         (issignaling_test): Likewise.
4110         (issubnormal_test_data): Likewise.
4111         (issubnormal_test): Likewise.
4112         (isunordered_test_data): Likewise.
4113         (isunordered_test): Likewise.
4114         (iszero_test_data): Likewise.
4115         (iszero_test): Likewise.
4116         (j0_test_data): Likewise.
4117         (j0_test): Likewise.
4118         (j1_test_data): Likewise.
4119         (j1_test): Likewise.
4120         (jn_test_data): Likewise.
4121         (jn_test): Likewise.
4122         (lgamma_test_data): Likewise.
4123         (lgamma_test): Likewise.
4124         (gamma_test): Likewise.
4125         (llogb_test_data): Likewise.
4126         (llogb_test): Likewise.
4127         (lrint_test_data): Likewise.
4128         (lrint_test): Likewise.
4129         (llrint_test_data): Likewise.
4130         (llrint_test): Likewise.
4131         (log_test_data): Likewise.
4132         (log_test): Likewise.
4133         (log10_test_data): Likewise.
4134         (log10_test): Likewise.
4135         (log1p_test_data): Likewise.
4136         (log1p_test): Likewise.
4137         (log2_test_data): Likewise.
4138         (log2_test): Likewise.
4139         (logb_test_data): Likewise.
4140         (logb_test): Likewise.
4141         (lround_test_data): Likewise.
4142         (lround_test): Likewise.
4143         (llround_test_data): Likewise.
4144         (llround_test): Likewise.
4145         (modf_test_data): Likewise.
4146         (modf_test): Likewise.
4147         (nearbyint_test_data): Likewise.
4148         (nearbyint_test): Likewise.
4149         (nextafter_test_data): Likewise.
4150         (nextafter_test): Likewise.
4151         (nextup_test_data): Likewise.
4152         (nextup_test): Likewise.
4153         (nextdown_test_data): Likewise.
4154         (nextdown_test): Likewise.
4155         (nexttoward_test_data): Likewise.
4156         (nexttoward_test): Likewise.
4157         (pow_test_data): Likewise.
4158         (pow_test): Likewise.
4159         (remainder_test_data): Likewise.
4160         (remainder_test): Likewise.
4161         (drem_test): Likewise.
4162         (remquo_test_data): Likewise.
4163         (remquo_test): Likewise.
4164         (rint_test_data): Likewise.
4165         (rint_test): Likewise.
4166         (round_test_data): Likewise.
4167         (round_test): Likewise.
4168         (roundeven_test_data): Likewise.
4169         (roundeven_test): Likewise.
4170         (scalb_test_data): Likewise.
4171         (scalb_test): Likewise.
4172         (scalbn_test_data): Likewise.
4173         (scalbn_test): Likewise.
4174         (ldexp_test): Likewise.
4175         (scalbln_test_data): Likewise.
4176         (scalbln_test): Likewise.
4177         (setpayload_test_data): Likewise.
4178         (setpayload_test): Likewise.
4179         (setpayloadsig_test_data): Likewise.
4180         (setpayloadsig_test): Likewise.
4181         (signbit_test_data): Likewise.
4182         (signbit_test): Likewise.
4183         (sin_test_data): Likewise.
4184         (sin_test): Likewise.
4185         (sincos_test_data): Likewise.
4186         (sincos_test): Likewise.
4187         (sinh_test_data): Likewise.
4188         (sinh_test): Likewise.
4189         (sqrt_test_data): Likewise.
4190         (sqrt_test): Likewise.
4191         (tan_test_data): Likewise.
4192         (tan_test): Likewise.
4193         (tanh_test_data): Likewise.
4194         (tanh_test): Likewise.
4195         (tgamma_test_data): Likewise.
4196         (tgamma_test): Likewise.
4197         (totalorder_test_data): Likewise.
4198         (totalorder_test): Likewise.
4199         (totalordermag_test_data): Likewise.
4200         (totalordermag_test): Likewise.
4201         (trunc_test_data): Likewise.
4202         (trunc_test): Likewise.
4203         (ufromfp_test_data): Likewise.
4204         (ufromfp_test): Likewise.
4205         (ufromfpx_test_data): Likewise.
4206         (ufromfpx_test): Likewise.
4207         (y0_test_data): Likewise.
4208         (y0_test): Likewise.
4209         (y1_test_data): Likewise.
4210         (y1_test): Likewise.
4211         (yn_test_data): Likewise.
4212         (yn_test): Likewise.
4213         (significand_test_data): Likewise.
4214         (significand_test): Likewise.
4215         * math/Makefile (auto-libm-test-out-files): Remove variable.
4216         (libm-test-funcs-noauto): New variable.
4217         (libm-test-funcs-all): Likewise.
4218         (libm-test-c-auto): Likewise.
4219         (libm-test-c-noauto): Likewise.
4220         (libm-tests-generated): Add $(libm-test-c-auto) and
4221         $(libm-test-c-noauto).
4222         (generated): Do not add auto-libm-test-out.
4223         (libm-test-c-auto-obj): New variable.
4224         (libm-test-c-noauto-obj): Likewise.
4225         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
4226         ($(libm-test-c-noauto-obj)): New static pattern rule.
4227         ($(libm-test-c-auto-obj)): Likewise.
4228         (libm-test-incs): New variable.
4229         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
4230         and pass it to gen-libm-have-vector-test.sh.
4231         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
4232         be passed on command line.
4233         * math/libm-test-acos.inc: New file.  Content from
4234         math/libm-test.inc.
4235         * math/libm-test-acosh.inc: Likewise.
4236         * math/libm-test-asin.inc: Likewise.
4237         * math/libm-test-asinh.inc: Likewise.
4238         * math/libm-test-atan.inc: Likewise.
4239         * math/libm-test-atan2.inc: Likewise.
4240         * math/libm-test-atanh.inc: Likewise.
4241         * math/libm-test-cabs.inc: Likewise.
4242         * math/libm-test-cacos.inc: Likewise.
4243         * math/libm-test-cacosh.inc: Likewise.
4244         * math/libm-test-canonicalize.inc: Likewise.
4245         * math/libm-test-carg.inc: Likewise.
4246         * math/libm-test-casin.inc: Likewise.
4247         * math/libm-test-casinh.inc: Likewise.
4248         * math/libm-test-catan.inc: Likewise.
4249         * math/libm-test-catanh.inc: Likewise.
4250         * math/libm-test-cbrt.inc: Likewise.
4251         * math/libm-test-ccos.inc: Likewise.
4252         * math/libm-test-ccosh.inc: Likewise.
4253         * math/libm-test-ceil.inc: Likewise.
4254         * math/libm-test-cexp.inc: Likewise.
4255         * math/libm-test-cimag.inc: Likewise.
4256         * math/libm-test-clog.inc: Likewise.
4257         * math/libm-test-clog10.inc: Likewise.
4258         * math/libm-test-conj.inc: Likewise.
4259         * math/libm-test-copysign.inc: Likewise.
4260         * math/libm-test-cos.inc: Likewise.
4261         * math/libm-test-cosh.inc: Likewise.
4262         * math/libm-test-cpow.inc: Likewise.
4263         * math/libm-test-cproj.inc: Likewise.
4264         * math/libm-test-creal.inc: Likewise.
4265         * math/libm-test-csin.inc: Likewise.
4266         * math/libm-test-csinh.inc: Likewise.
4267         * math/libm-test-csqrt.inc: Likewise.
4268         * math/libm-test-ctan.inc: Likewise.
4269         * math/libm-test-ctanh.inc: Likewise.
4270         * math/libm-test-erf.inc: Likewise.
4271         * math/libm-test-erfc.inc: Likewise.
4272         * math/libm-test-exp.inc: Likewise.
4273         * math/libm-test-exp10.inc: Likewise.
4274         * math/libm-test-exp2.inc: Likewise.
4275         * math/libm-test-expm1.inc: Likewise.
4276         * math/libm-test-fabs.inc: Likewise.
4277         * math/libm-test-fdim.inc: Likewise.
4278         * math/libm-test-floor.inc: Likewise.
4279         * math/libm-test-fma.inc: Likewise.
4280         * math/libm-test-fmax.inc: Likewise.
4281         * math/libm-test-fmaxmag.inc: Likewise.
4282         * math/libm-test-fmin.inc: Likewise.
4283         * math/libm-test-fminmag.inc: Likewise.
4284         * math/libm-test-fmod.inc: Likewise.
4285         * math/libm-test-fpclassify.inc: Likewise.
4286         * math/libm-test-frexp.inc: Likewise.
4287         * math/libm-test-fromfp.inc: Likewise.
4288         * math/libm-test-fromfpx.inc: Likewise.
4289         * math/libm-test-getpayload.inc: Likewise.
4290         * math/libm-test-hypot.inc: Likewise.
4291         * math/libm-test-ilogb.inc: Likewise.
4292         * math/libm-test-iscanonical.inc: Likewise.
4293         * math/libm-test-iseqsig.inc: Likewise.
4294         * math/libm-test-isfinite.inc: Likewise.
4295         * math/libm-test-isgreater.inc: Likewise.
4296         * math/libm-test-isgreaterequal.inc: Likewise.
4297         * math/libm-test-isinf.inc: Likewise.
4298         * math/libm-test-isless.inc: Likewise.
4299         * math/libm-test-islessequal.inc: Likewise.
4300         * math/libm-test-islessgreater.inc: Likewise.
4301         * math/libm-test-isnan.inc: Likewise.
4302         * math/libm-test-isnormal.inc: Likewise.
4303         * math/libm-test-issignaling.inc: Likewise.
4304         * math/libm-test-issubnormal.inc: Likewise.
4305         * math/libm-test-isunordered.inc: Likewise.
4306         * math/libm-test-iszero.inc: Likewise.
4307         * math/libm-test-j0.inc: Likewise.
4308         * math/libm-test-j1.inc: Likewise.
4309         * math/libm-test-jn.inc: Likewise.
4310         * math/libm-test-lgamma.inc: Likewise.
4311         * math/libm-test-llogb.inc: Likewise.
4312         * math/libm-test-llrint.inc: Likewise.
4313         * math/libm-test-llround.inc: Likewise.
4314         * math/libm-test-log.inc: Likewise.
4315         * math/libm-test-log10.inc: Likewise.
4316         * math/libm-test-log1p.inc: Likewise.
4317         * math/libm-test-log2.inc: Likewise.
4318         * math/libm-test-logb.inc: Likewise.
4319         * math/libm-test-lrint.inc: Likewise.
4320         * math/libm-test-lround.inc: Likewise.
4321         * math/libm-test-modf.inc: Likewise.
4322         * math/libm-test-nearbyint.inc: Likewise.
4323         * math/libm-test-nextafter.inc: Likewise.
4324         * math/libm-test-nextdown.inc: Likewise.
4325         * math/libm-test-nexttoward.inc: Likewise.
4326         * math/libm-test-nextup.inc: Likewise.
4327         * math/libm-test-pow.inc: Likewise.
4328         * math/libm-test-remainder.inc: Likewise.
4329         * math/libm-test-remquo.inc: Likewise.
4330         * math/libm-test-rint.inc: Likewise.
4331         * math/libm-test-round.inc: Likewise.
4332         * math/libm-test-roundeven.inc: Likewise.
4333         * math/libm-test-scalb.inc: Likewise.
4334         * math/libm-test-scalbln.inc: Likewise.
4335         * math/libm-test-scalbn.inc: Likewise.
4336         * math/libm-test-setpayload.inc: Likewise.
4337         * math/libm-test-setpayloadsig.inc: Likewise.
4338         * math/libm-test-signbit.inc: Likewise.
4339         * math/libm-test-significand.inc: Likewise.
4340         * math/libm-test-sin.inc: Likewise.
4341         * math/libm-test-sincos.inc: Likewise.
4342         * math/libm-test-sinh.inc: Likewise.
4343         * math/libm-test-sqrt.inc: Likewise.
4344         * math/libm-test-tan.inc: Likewise.
4345         * math/libm-test-tanh.inc: Likewise.
4346         * math/libm-test-tgamma.inc: Likewise.
4347         * math/libm-test-totalorder.inc: Likewise.
4348         * math/libm-test-totalordermag.inc: Likewise.
4349         * math/libm-test-trunc.inc: Likewise.
4350         * math/libm-test-ufromfp.inc: Likewise.
4351         * math/libm-test-ufromfpx.inc: Likewise.
4352         * math/libm-test-y0.inc: Likewise.
4353         * math/libm-test-y1.inc: Likewise.
4354         * math/libm-test-yn.inc: Likewise.
4355         * math/README.libm-test: Update.
4357         * math/gen-auto-libm-tests.c: Update comment about use of program.
4358         (generate_output): Add argument FUNCTION.
4359         (main): Require extra argument.  Pass function name to
4360         generate_output.
4361         * math/Makefile (generated): Add auto-libm-test-out.
4362         (libm-test-funcs-auto): New variable.
4363         (auto-libm-test-out-files): New variable.
4364         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
4365         Concatenate those files to form $(objpfx)auto-libm-test-out and
4366         use it as input to gen-libm-test.pl.
4367         * math/README.libm-test: Update.
4368         * math/auto-libm-test-out: Remove.
4369         * math/auto-libm-test-out-acos: New generated file.
4370         * math/auto-libm-test-out-acosh: Likewise.
4371         * math/auto-libm-test-out-asin: Likewise.
4372         * math/auto-libm-test-out-asinh: Likewise.
4373         * math/auto-libm-test-out-atan: Likewise.
4374         * math/auto-libm-test-out-atan2: Likewise.
4375         * math/auto-libm-test-out-atanh: Likewise.
4376         * math/auto-libm-test-out-cabs: Likewise.
4377         * math/auto-libm-test-out-carg: Likewise.
4378         * math/auto-libm-test-out-cbrt: Likewise.
4379         * math/auto-libm-test-out-ccos: Likewise.
4380         * math/auto-libm-test-out-ccosh: Likewise.
4381         * math/auto-libm-test-out-cexp: Likewise.
4382         * math/auto-libm-test-out-clog: Likewise.
4383         * math/auto-libm-test-out-clog10: Likewise.
4384         * math/auto-libm-test-out-cos: Likewise.
4385         * math/auto-libm-test-out-cosh: Likewise.
4386         * math/auto-libm-test-out-cpow: Likewise.
4387         * math/auto-libm-test-out-csin: Likewise.
4388         * math/auto-libm-test-out-csinh: Likewise.
4389         * math/auto-libm-test-out-csqrt: Likewise.
4390         * math/auto-libm-test-out-ctan: Likewise.
4391         * math/auto-libm-test-out-ctanh: Likewise.
4392         * math/auto-libm-test-out-erf: Likewise.
4393         * math/auto-libm-test-out-erfc: Likewise.
4394         * math/auto-libm-test-out-exp: Likewise.
4395         * math/auto-libm-test-out-exp10: Likewise.
4396         * math/auto-libm-test-out-exp2: Likewise.
4397         * math/auto-libm-test-out-expm1: Likewise.
4398         * math/auto-libm-test-out-fma: Likewise.
4399         * math/auto-libm-test-out-hypot: Likewise.
4400         * math/auto-libm-test-out-j0: Likewise.
4401         * math/auto-libm-test-out-j1: Likewise.
4402         * math/auto-libm-test-out-jn: Likewise.
4403         * math/auto-libm-test-out-lgamma: Likewise.
4404         * math/auto-libm-test-out-log: Likewise.
4405         * math/auto-libm-test-out-log10: Likewise.
4406         * math/auto-libm-test-out-log1p: Likewise.
4407         * math/auto-libm-test-out-log2: Likewise.
4408         * math/auto-libm-test-out-pow: Likewise.
4409         * math/auto-libm-test-out-sin: Likewise.
4410         * math/auto-libm-test-out-sincos: Likewise.
4411         * math/auto-libm-test-out-sinh: Likewise.
4412         * math/auto-libm-test-out-sqrt: Likewise.
4413         * math/auto-libm-test-out-tan: Likewise.
4414         * math/auto-libm-test-out-tanh: Likewise.
4415         * math/auto-libm-test-out-tgamma: Likewise.
4416         * math/auto-libm-test-out-y0: Likewise.
4417         * math/auto-libm-test-out-y1: Likewise.
4418         * math/auto-libm-test-out-yn: Likewise.
4420         * math/Makefile (generated): Do not include libm-test.stmp.
4421         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
4422         on $(objpfx)libm-test.stmp.
4423         ($(objpfx)libm-test.stmp): Remove rule.
4424         ($(objpfx)libm-test-ulps.h): New rule.
4425         ($(objpfx)libm-test.c): Likewise.
4426         ($(objpfx)libm-have-vector-test.h): Likewise.
4427         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
4428         individual generated files, not libm-test.stmp.
4430         * math/gen-libm-test.pl ($output_dir): Remove variable.
4431         ($srcdir): Likewise.
4432         ($opt_a): New variable.
4433         ($opt_c): Likewise.
4434         ($opt_C): Likewise.
4435         ($opt_H): Likewise.
4436         (-n): Make option take argument and use it as NewUlps output.
4437         (-a): New option.  Use its argument for auto-libm-test-out input.
4438         (-c): New option.  Use its argument for libm-test.inc input.
4439         (-C): New option.  Use its argument for libm-test.c output.
4440         (-H): New option.  Use its argument for libm-test-ulps.h output.
4441         (top level): Only process inputs needed to generate outputs
4442         specified by command-line options.  Only generate outputs
4443         specified by command-line options.
4444         * math/README.libm-test: Update example gen-libm-test.pl command.
4445         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
4446         commands.
4447         (regen-ulps): Likewise.
4449 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
4451         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
4452         * include/string.h (index): Remove define.
4453         (rindex): Likewise.
4454         * misc/getttyent.c (__getttyent): Rename index to strchr.
4455         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
4456         * sunrpc/rpc_main.c (mkfile_output): Likewise.
4458 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
4460         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
4461         * math/libm-test.inc: Move all contents, other than tests of
4462         individual functions, to libm-test-driver.c.
4463         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
4464         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
4465         [!FE_UPWARD] (FE_UPWARD): Likewise.
4466         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
4467         (NO_EXCEPTION): Likewise.
4468         (INVALID_EXCEPTION): Likewise.
4469         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
4470         (OVERFLOW_EXCEPTION): Likewise.
4471         (UNDERFLOW_EXCEPTION): Likewise.
4472         (INEXACT_EXCEPTION): Likewise.
4473         (INVALID_EXCEPTION_OK): Likewise.
4474         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4475         (OVERFLOW_EXCEPTION_OK): Likewise.
4476         (UNDERFLOW_EXCEPTION_OK): Likewise.
4477         (NO_INEXACT_EXCEPTION): Likewise.
4478         (EXCEPTIONS_OK): Likewise.
4479         (IGNORE_ZERO_INF_SIGN): Likewise.
4480         (TEST_NAN_SIGN): Likewise.
4481         (TEST_NAN_PAYLOAD): Likewise.
4482         (NO_TEST_INLINE): Likewise.
4483         (XFAIL_TEST): Likewise.
4484         (ERRNO_UNCHANGED): Likewise.
4485         (ERRNO_EDOM): Likewise.
4486         (ERRNO_ERANGE): Likewise.
4487         (IGNORE_RESULT): Likewise.
4488         (NON_FINITE): Likewise.
4489         (TEST_SNAN): Likewise.
4490         (NO_TEST_MATHVEC): Likewise.
4491         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
4492         (__CONCATX): Likewise.
4493         (TYPE_MIN): Likewise.
4494         (TYPE_TRUE_MIN): Likewise.
4495         (TYPE_MAX): Likewise.
4496         (MIN_EXP): Likewise.
4497         (MAX_EXP): Likewise.
4498         (MANT_DIG): Likewise.
4499         (FSTR_MAX): Likewise.
4500         (ULP_IDX): Likewise.
4501         (QTYPE_STR): Likewise.
4502         (TEST_COND_binary32): Likewise.
4503         (TEST_COND_binary64): Likewise.
4504         (TEST_COND_binary128): Likewise.
4505         (TEST_COND_ibm128): Likewise.
4506         (TEST_COND_intel96): Likewise.
4507         (TEST_COND_m68k96): Likewise.
4508         (TEST_COND_ibm128_libgcc): Likewise.
4509         (XFAIL_IBM128_LIBGCC): Likewise.
4510         (PAYLOAD_DIG): Likewise.
4511         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4512         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4513         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4514         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
4515         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4516         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
4517         (TEST_COND_long32): Likewise.
4518         (TEST_COND_long64): Likewise.
4519         (TEST_COND_before_rounding): Likewise.
4520         (TEST_COND_after_rounding): Likewise.
4521         (lit_pi_3_m_4_d): Likewise.
4522         (lit_pi_3_m_4_ln10_m_d): Likewise.
4523         (lit_pi_2_ln10_m_d): Likewise.
4524         (lit_pi_4_ln10_m_d): Likewise.
4525         (lit_pi_ln10_d): Likewise.
4526         (lit_pi_2_d): Likewise.
4527         (lit_pi_4_d): Likewise.
4528         (lit_pi): Likewise.
4529         (lit_e): Likewise.
4530         (ulps_file_name): Likewise.
4531         (ulps_file): Likewise.
4532         (output_ulps): Likewise.
4533         (output_dir): Likewise.
4534         (noErrors): Likewise.
4535         (noTests): Likewise.
4536         (noExcTests): Likewise.
4537         (noErrnoTests): Likewise.
4538         (verbose): Likewise.
4539         (output_max_error): Likewise.
4540         (output_points): Likewise.
4541         (ignore_max_ulp): Likewise.
4542         (plus_zero): Likewise.
4543         (minus_zero): Likewise.
4544         (plus_infty): Likewise.
4545         (minus_infty): Likewise.
4546         (qnan_value_pl): Likewise.
4547         (qnan_value): Likewise.
4548         (snan_value_pl): Likewise.
4549         (snan_value): Likewise.
4550         (max_value): Likewise.
4551         (min_value): Likewise.
4552         (min_subnorm_value): Likewise.
4553         (snan_value_ld): Likewise.
4554         (max_error): Likewise.
4555         (real_max_error): Likewise.
4556         (imag_max_error): Likewise.
4557         (prev_max_error): Likewise.
4558         (prev_real_max_error): Likewise.
4559         (prev_imag_max_error): Likewise.
4560         (max_valid_error): Likewise.
4561         (TYPE_DECIMAL_DIG): Likewise.
4562         (TYPE_HEX_DIG): Likewise.
4563         (fmt_ftostr): Likewise.
4564         (compare_ulp_data): Likewise.
4565         (find_ulps): Likewise.
4566         (init_max_error): Likewise.
4567         (set_max_error): Likewise.
4568         (print_float): Likewise.
4569         (print_screen): Likewise.
4570         (print_screen_max_error): Likewise.
4571         (update_stats): Likewise.
4572         (print_function_ulps): Likewise.
4573         (print_complex_function_ulps): Likewise.
4574         (fpstack_test): Likewise.
4575         (print_max_error): Likewise.
4576         (print_complex_max_error): Likewise.
4577         (test_single_exception): Likewise.
4578         (test_exceptions): Likewise.
4579         (test_single_errno): Likewise.
4580         (test_errno): Likewise.
4581         (ULPDIFF): Likewise.
4582         (ulp): Likewise.
4583         (check_float_internal): Likewise.
4584         (check_float): Likewise.
4585         (check_complex): Likewise.
4586         (check_int): Likewise.
4587         (check_long): Likewise.
4588         (check_bool): Likewise.
4589         (check_longlong): Likewise.
4590         (check_intmax_t): Likewise.
4591         (check_uintmax_t): Likewise.
4592         (enable_test): Likewise.
4593         (struct test_f_f_data): Likewise.
4594         (struct test_ff_f_data): Likewise.
4595         (struct test_fj_f_data): Likewise.
4596         (struct test_fi_f_data): Likewise.
4597         (struct test_fl_f_data): Likewise.
4598         (struct test_if_f_data): Likewise.
4599         (struct test_fff_f_data): Likewise.
4600         (struct test_fiu_M_data): Likewise.
4601         (struct test_fiu_U_data): Likewise.
4602         (struct test_c_f_data): Likewise.
4603         (struct test_f_f1_data): Likewise.
4604         (struct test_fF_f1_data): Likewise.
4605         (struct test_ffI_f1_data): Likewise.
4606         (struct test_c_c_data): Likewise.
4607         (struct test_cc_c_data): Likewise.
4608         (struct test_f_i_data): Likewise.
4609         (struct test_ff_i_data): Likewise.
4610         (struct test_f_l_data): Likewise.
4611         (struct test_f_L_data): Likewise.
4612         (struct test_fFF_11_data): Likewise.
4613         (struct test_Ff_b1_data): Likewise.
4614         (IF_ROUND_INIT_): Likewise.
4615         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4616         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4617         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4618         (IF_ROUND_INIT_FE_UPWARD): Likewise.
4619         (ROUND_RESTORE_): Likewise.
4620         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4621         (ROUND_RESTORE_FE_TONEAREST): Likewise.
4622         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4623         (ROUND_RESTORE_FE_UPWARD): Likewise.
4624         (RM_): Likewise.
4625         (RM_FE_DOWNWARD): Likewise.
4626         (RM_FE_TONEAREST): Likewise.
4627         (RM_FE_TOWARDZERO): Likewise.
4628         (RM_FE_UPWARD): Likewise.
4629         (COMMON_TEST_SETUP): Likewise.
4630         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4631         (COMMON_TEST_CLEANUP): Likewise.
4632         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4633         (RUN_TEST_f_f): Likewise.
4634         (RUN_TEST_LOOP_f_f): Likewise.
4635         (RUN_TEST_fp_f): Likewise.
4636         (RUN_TEST_LOOP_fp_f): Likewise.
4637         (RUN_TEST_2_f): Likewise.
4638         (RUN_TEST_LOOP_2_f): Likewise.
4639         (RUN_TEST_ff_f): Likewise.
4640         (RUN_TEST_LOOP_ff_f): Likewise.
4641         (RUN_TEST_LOOP_fj_f): Likewise.
4642         (RUN_TEST_fi_f): Likewise.
4643         (RUN_TEST_LOOP_fi_f): Likewise.
4644         (RUN_TEST_fl_f): Likewise.
4645         (RUN_TEST_LOOP_fl_f): Likewise.
4646         (RUN_TEST_if_f): Likewise.
4647         (RUN_TEST_LOOP_if_f): Likewise.
4648         (RUN_TEST_fff_f): Likewise.
4649         (RUN_TEST_LOOP_fff_f): Likewise.
4650         (RUN_TEST_fiu_M): Likewise.
4651         (RUN_TEST_LOOP_fiu_M): Likewise.
4652         (RUN_TEST_fiu_U): Likewise.
4653         (RUN_TEST_LOOP_fiu_U): Likewise.
4654         (RUN_TEST_c_f): Likewise.
4655         (RUN_TEST_LOOP_c_f): Likewise.
4656         (RUN_TEST_f_f1): Likewise.
4657         (RUN_TEST_LOOP_f_f1): Likewise.
4658         (RUN_TEST_fF_f1): Likewise.
4659         (RUN_TEST_LOOP_fF_f1): Likewise.
4660         (RUN_TEST_fI_f1): Likewise.
4661         (RUN_TEST_LOOP_fI_f1): Likewise.
4662         (RUN_TEST_ffI_f1_mod8): Likewise.
4663         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
4664         (RUN_TEST_Ff_b1): Likewise.
4665         (RUN_TEST_LOOP_Ff_b1): Likewise.
4666         (RUN_TEST_Ffp_b1): Likewise.
4667         (RUN_TEST_LOOP_Ffp_b1): Likewise.
4668         (RUN_TEST_c_c): Likewise.
4669         (RUN_TEST_LOOP_c_c): Likewise.
4670         (RUN_TEST_cc_c): Likewise.
4671         (RUN_TEST_LOOP_cc_c): Likewise.
4672         (RUN_TEST_f_i): Likewise.
4673         (RUN_TEST_LOOP_f_i): Likewise.
4674         (RUN_TEST_f_i_tg): Likewise.
4675         (RUN_TEST_LOOP_f_i_tg): Likewise.
4676         (RUN_TEST_ff_b): Likewise.
4677         (RUN_TEST_LOOP_ff_b): Likewise.
4678         (RUN_TEST_ff_i_tg): Likewise.
4679         (RUN_TEST_LOOP_ff_i_tg): Likewise.
4680         (RUN_TEST_f_b): Likewise.
4681         (RUN_TEST_LOOP_f_b): Likewise.
4682         (RUN_TEST_f_b_tg): Likewise.
4683         (RUN_TEST_LOOP_f_b_tg): Likewise.
4684         (RUN_TEST_f_l): Likewise.
4685         (RUN_TEST_LOOP_f_l): Likewise.
4686         (RUN_TEST_f_L): Likewise.
4687         (RUN_TEST_LOOP_f_L): Likewise.
4688         (RUN_TEST_fFF_11): Likewise.
4689         (RUN_TEST_LOOP_fFF_11): Likewise.
4690         (VEC_SUFF): Likewise.
4691         (STR_CONCAT): Likewise.
4692         (STR_CON3): Likewise.
4693         (HAVE_VECTOR): Likewise.
4694         (START): Likewise.
4695         (END): Likewise.
4696         (END_COMPLEX): Likewise.
4697         (ALL_RM_TEST): Likewise.
4698         (matherr): Likewise.
4699         (initialize): Likewise.
4700         (options): Likewise.
4701         (doc): Likewise.
4702         (parse_opt): Likewise.
4703         (argp): Likewise.
4704         (check_ulp): Likewise.
4705         (main): Likewise.
4706         (do_test): New function.  Call tests of individual functions
4707         previously called from main.
4709         * math/libm-test.inc: Remove comment listing functions tested and
4710         not tested.
4712 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4714         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
4715         (allocate_stack): Remove COLORING_INCREMENT usage.
4716         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
4717         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
4719 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
4721         * manual/libm-err-tab.pl (@all_functions): Change to
4722         %all_functions.  Initialize as empty.
4723         (parse_ulps): Add to %all_functions based on functions found in
4724         ulps files.  Ignore results for non-default rounding modes and
4725         vector functions.
4726         (print_platforms): Use %all_platforms.
4727         * manual/math.texi (Errors in Math Functions): Document omissions
4728         from the table.
4730         * math/Makefile (before-compile): Remove.
4732 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
4734         [BZ #21075]
4735         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
4736         unused assignment.
4737         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
4739 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4741         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
4742         Add __glibc_unlikely hint.
4744 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4746         [BZ #16640]
4747         * sysdeps/i386/i686/strtok.S: Remove file.
4748         * sysdeps/i386/i686/strtok_r.S: Likewise.
4749         * sysdeps/i386/strtok.S: Likewise.
4750         * sysdeps/i386/strtok_r.S: Likewise.
4751         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
4752         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
4753         * sysdeps/x86_64/strtok.S: Likewise.
4754         * sysdeps/x86_64/strtok_r.S: Likewise.
4756         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
4757         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
4758         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4759         (__ASSUME_FADVISE64_AS_64_64): Define.
4760         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
4761         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
4762         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
4763         __ALIGNMENT_ARG usage.
4764         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
4765         __NR_fadvise64_64 if it is not defined.
4767 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4769         * version.h (RELEASE): Set to "development"
4770         (VERSION): Set to 2.25.90.
4771         * NEWS: Add 2.26 section.
4773         * version.h (RELEASE): Set to "stable"
4774         (VERSION): Set to 2.25.
4775         * include/features.h (__GLIBC_MINOR__): Set to 25.
4777         * manual/contrib.texi: Add more contributors from this release
4778         and past releases.
4780         * NEWS (2.25): Add list of bugs fixed.
4782         * NEWS: Add missing news items.
4784 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4786         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
4787         parent if child exited in that manner.  Print WEXITSTATUS
4788         instead of the raw status.
4789         (do_test_prep): Rename to do_test.
4790         (do_test): Return the result of run_executable_sgid.
4791         (TEST_FUNCTION_ARGV): Adjust.
4793 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
4794             Florian Weimer  <fweimer@redhat.com>
4795             Carlos O'Donell  <carlos@redhat.com>
4797         [BZ #20915]
4798         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
4799         Do not initialize DTV.
4800         * nptl/allocatestack.c (init_one_static_tls): Likewise.
4802 2017-02-03  David S. Miller  <davem@davemloft.net>
4804         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
4805         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4806         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
4807         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4808         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
4809         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4810         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
4811         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4812         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
4813         (libm-sysdep_routines): Update.
4814         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
4815         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
4816         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4817         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
4818         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4819         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
4820         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
4821         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
4822         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
4823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
4824         Likewise.
4825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
4827         Likewise.
4828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
4830         Likewise.
4831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
4833         Likewise.
4834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
4835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
4836         (libm-sysdep_routines): Update.
4838 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
4840         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
4841         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
4842         against unrelocated shared library.
4843         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4845 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4847         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
4848         * elf/tst-env-setuid-tunables.c
4849         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
4850         GLIBC_TUNABLES is removed in a setgid process.
4852         [BZ #21073]
4853         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
4854         * elf/dl-tunables.c (tunables_strdup): Remove.
4855         (get_next_env): Also return the previous envp.
4856         (parse_tunables): Erase tunables of category
4857         TUNABLES_SECLEVEL_SXID_ERASE.
4858         (maybe_enable_malloc_check): Make MALLOC_CHECK_
4859         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
4860         (__tunables_init)[TUNABLES_FRONTEND ==
4861         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
4862         after parsing.
4863         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
4864         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
4865         * elf/dl-tunables.h (struct _tunable): Change member is_secure
4866         to security_level.
4867         * elf/dl-tunables.list: Add security_level annotations for all
4868         tunables.
4869         * scripts/gen-tunables.awk: Recognize and generate enum values
4870         for security_level.
4871         * elf/tst-env-setuid.c: New test case.
4872         * elf/tst-env-setuid-tunables: new test case.
4873         * elf/Makefile (tests-static): Add them.
4875 2017-02-01  Richard Henderson  <rth@twiddle.net>
4877         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
4878         adjusting the byte count.
4880 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
4882         * conform/Makefile (linknamespace-libs): Define.
4884         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
4885         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
4886         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
4887         operands.
4889 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
4891         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
4893 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
4895         [BZ #21081]
4896         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4897         (L(stosb)): Add VZEROUPPER before ret.
4899 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
4900             Alexey Makhalov <amakhalov@vmware.com>
4901             Florian Weimer <fweimer@redhat.com>
4903         [BZ #20116]
4904         * nptl/pthread_create.c: Document concurrency notes.
4905         Enhance thread creation notes.
4906         (create_thread): Use bool *stopped_start.
4907         (START_THREAD_DEFN): Comment ownership of PD.
4908         (__pthread_create_2_1): Add local bool stopped_start and use
4909         that instead of pd->stopped_start where appropriate.
4910         * nptl/createthread.c (create_thread): Use bool *stopped_start.
4911         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
4912         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
4913         * nptl/tst-create-detached.c: New file.
4914         * nptl/Makefile (tests): Add tst-create-detached.
4915         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
4916         Reference the enhanced thread creation notes.
4917         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
4918         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
4919         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
4920         (__pthread_current_priority): Likewise.
4921         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
4922         xpthread_attr_init, xpthread_attr_setdetachstate, and
4923         xpthread_attr_setstacksize.
4924         * support/xpthread_attr_destroy.c: New file.
4925         * support/xpthread_attr_init.c: New file.
4926         * support/xpthread_attr_setdetachstate.c: New file.
4927         * support/xpthread_attr_setstacksize.c: New file.
4928         * support/xthread.h: Define prototypes for xpthread_attr_destroy
4929         xpthread_attr_init, xpthread_attr_setdetachstate, and
4930         xpthread_attr_setstacksize.
4932 2017-01-27  Florian Weimer  <fweimer@redhat.com>
4934         * nptl/Makefile (tests): Add tst-robust-fork.
4935         * nptl/tst-robust-fork.c: New file.
4936         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
4937         xpthread_mutex_consistent, xpthread_mutex_destroy,
4938         xpthread_mutex_init, xpthread_mutexattr_destroy,
4939         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
4940         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
4941         xpthread_mutexattr_settype.
4942         * support/xmmap.c: New file.
4943         * support/xmunmap.c: Likewise.
4944         * support/xpthread_mutex_consistent.c: Likewise.
4945         * support/xpthread_mutex_destroy.c: Likewise.
4946         * support/xpthread_mutex_init.c: Likewise.
4947         * support/xpthread_mutexattr_destroy.c: Likewise.
4948         * support/xpthread_mutexattr_init.c: Likewise.
4949         * support/xpthread_mutexattr_setprotocol.c: Likewise.
4950         * support/xpthread_mutexattr_setpshared.c: Likewise.
4951         * support/xpthread_mutexattr_setrobust.c: Likewise.
4952         * support/xpthread_mutexattr_settype.c: Likewise.
4953         * support/xthread.h (xpthread_mutexattr_destroy)
4954         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
4955         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
4956         (xpthread_mutexattr_settype, xpthread_mutex_init)
4957         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
4958         * support/xunistd.h (xmmap, xmunmap): Likewise.
4960 2017-01-25  Florian Weimer  <fweimer@redhat.com>
4962         * string/Makefile (xtests): Add comment.
4963         (LOCALES): Add en_GB.UTF-8.
4964         (tst-strcoll-overflow.out): Depend on generated locales.
4965         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
4966         (SIZE, TIMEOUT): Update comments.
4967         (do_test): Define as static.  Fail test if setlocale fails.
4968         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
4969         messages.
4970         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
4971         TIMEOUT at 300 seconds should be enough to run this test
4972         successfully.
4974 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
4976         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
4977         /* FALLTHRU */ comments.
4979 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
4981         [BZ #21053]
4982         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
4983         constants instead of the old R* ones.
4984         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
4985         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
4986         (NGREG): ... to this, to fit in with other architectures.
4987         (gpregset_t): Use new NGREG macro.
4988         [__USE_GNU]: Remove condition; all architectures other than tile
4989         are unconditional.
4990         (R*): Rename to REG_R*.
4992 2017-01-20  DJ Delorie  <dj@redhat.com>
4994         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
4995         (tunable_set_val_if_valid_range_signed) ... this, and ...
4996         (tunable_set_val_if_valid_range_unsigned) ... this.
4997         (tunable_initialize): Call the correct one of the above based on type.
4999 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
5001         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
5002         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5003         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
5004         * sysdeps/microblaze/libm-test-ulps: Likewise.
5005         * sysdeps/sh/libm-test-ulps: Likewise.
5007         * math/README.libm-test: Update list of characters for input and
5008         output types.
5010 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5012         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
5013         (__lll_unlock_elision): Fix adapt_count decrement.
5015 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
5017         * README.pretty-printers (Known issues): Warn about printers not
5018         always covering everything.
5019         * nptl/nptl-printers.py (MutexPrinter): Change output.
5020         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
5022 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5024         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
5025         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5026         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
5027         (__lll_lock_elision): Do not test futex before starting a
5028         transaction.  Use __glibc_likely instead of __builtin_expect.
5029         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
5030         (__lll_trylock_elision): Do not test futex before starting a
5031         transaction.  Use __glibc_likely instead of __builtin_expect.
5033 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5035         * po/Makefile (update-translations): New target.
5037 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
5039         [BZ #21061]
5040         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
5042 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5044         * elf/dl-tunables (get_next_env): Always advance envp.
5045         * stdlib/tst-empty-env.c: New test case.
5046         * stdlib/Makefile (tests): Use it.
5048 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
5050         [BZ #21047]
5051         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
5052         name for instruction.
5053         [!__SOFTFP__] (_FPU_SETCW): Likewise.
5055 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
5057         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
5058         for make install.
5060 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5062         * po/bg.po: Merge from Translation Project.
5063         * po/fr.po: Likewise.
5064         * po/ko.po: Likewise.
5065         * po/nl.po: Likewise.
5066         * po/sv.po: Likewise.
5068 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
5070         * manual/install.texi (Tools for Compilation): Update GCC version
5071         known to work to build glibc.
5072         * INSTALL: Regenerated.
5074 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5076         [BZ #21006]
5077         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
5079 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
5081         [BZ #21045]
5082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
5083         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
5084         to __sigprocmask.
5086 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
5088         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
5089         wrap-around.
5090         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
5092         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
5094 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5096         * NEWS: Fix typo.
5098 2016-01-13  Torvald Riegel  <triegel@redhat.com>
5100         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
5101         barriers and comments.
5102         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
5103         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5104         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5106 2016-01-13  Torvald Riegel  <triegel@redhat.com>
5108         [BZ #19402]
5109         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
5110         mutexes.
5112 2016-01-13  Torvald Riegel  <triegel@redhat.com>
5114         [BZ #20985]
5115         * nptl/Makefile: Adapt.
5116         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
5117         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
5118         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
5119         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
5120         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
5121         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
5122         lll_robust* functions and adapt.
5123         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5124         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
5125         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
5126         __lll_robust_timedlock, __lll_robust_unlock): Remove.
5127         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
5128         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
5129         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
5130         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
5131         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
5132         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
5133         __lll_robust_timedlock, __lll_robust_unlock): Remove.
5134         * nptl/lowlevelrobustlock.c: Remove file.
5135         * nptl/lowlevelrobustlock.sym: Likewise.
5136         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
5137         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
5139 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5141         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5143 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5145         * po/cs.po: Merge translations from the Translation Project.
5146         * po/de.po: Likewise.
5147         * po/pl.po: Likewise.
5148         * po/ru.po: Likewise.
5149         * po/tr.po: Likewise.
5150         * po/uk.po: Likewise.
5151         * po/vi.po: Likewise.
5152         * po/zh_CN.po: Likewise.
5154 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
5156         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
5158         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
5159         object.
5161 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
5163         [BZ #16458]
5164         * bits/uintn-identity.h: New file.
5165         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
5166         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
5167         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
5168         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
5169         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
5170         * string/endian.h: Include <bits/uintn-identity.h>.
5171         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
5172         __uint16_identity.
5173         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
5174         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
5175         __uint32_identity.
5176         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
5177         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
5178         __uint64_identity.
5179         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
5180         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
5181         __uint16_identity.
5182         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
5183         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
5184         __uint32_identity.
5185         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
5186         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
5187         __uint64_identity.
5188         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
5189         * string/Makefile (headers): Add bits/uintn-identity.h.
5190         (tests): Add test-endian-types.
5191         * string/test-endian-types.c: New file.
5192         * inet/Makefile (tests): Add test-hnto-types.
5193         * inet/test-hnto-types.c: New file.
5195 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5197         * po/be.po: Update from Translation Project.
5198         * po/bg.po: Likewise.
5199         * po/ca.po: Likewise.
5200         * po/cs.po: Likewise.
5201         * po/da.po: Likewise.
5202         * po/de.po: Likewise.
5203         * po/el.po: Likewise.
5204         * po/eo.po: Likewise.
5205         * po/es.po: Likewise.
5206         * po/fi.po: Likewise.
5207         * po/fr.po: Likewise.
5208         * po/gl.po: Likewise.
5209         * po/hr.po: Likewise.
5210         * po/hu.po: Likewise.
5211         * po/ia.po: Likewise.
5212         * po/id.po: Likewise.
5213         * po/it.po: Likewise.
5214         * po/ja.po: Likewise.
5215         * po/ko.po: Likewise.
5216         * po/lt.po: Likewise.
5217         * po/nb.po: Likewise.
5218         * po/nl.po: Likewise.
5219         * po/pl.po: Likewise.
5220         * po/pt_BR.po: Likewise.
5221         * po/ru.po: Likewise.
5222         * po/rw.po: Likewise.
5223         * po/sk.po: Likewise.
5224         * po/sl.po: Likewise.
5225         * po/sv.po: Likewise.
5226         * po/tr.po: Likewise.
5227         * po/uk.po: Likewise.
5228         * po/vi.po: Likewise.
5229         * po/zh_CN.po: Likewise.
5230         * po/zh_TW.po: Likewise.
5232 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
5234         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
5235         -Wformat-truncation instead of -Wformat-length.
5236         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
5237         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
5238         GCC 7.
5239         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
5240         (do_test): Ignore -Wformat-truncation for GCC 7.
5242         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
5243         buffer used to print long int value.
5245         * elf/sotruss-lib.c (init): Increase space allocated for pid by
5246         one byte.  Print it with %ld, cast to long int.
5248 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5250         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
5251         (re.fullmatch, subprocess.run): Likewise.
5253 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5255         * po/libc.pot: Regenerate.
5257 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5259         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
5260         (min_strlen): Likewise.
5261         (disable_tunable): Likewise.
5262         (maybe_disable_malloc_check): Rename to
5263         maybe_enable_malloc_check.
5264         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
5265         if /etc/suid-debug file exists.
5266         (__tunables_init): Update caller.
5267         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
5268         secure.
5270 2016-01-10  Torvald Riegel  <triegel@redhat.com>
5272         * nptl/DESIGN-rwlock.txt: Remove.
5273         * nptl/lowlevelrwlock.sym: Remove.
5274         * nptl/Makefile: Add new tests.
5275         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
5276         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
5277         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
5278         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
5279         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
5280         PTHREAD_RWLOCK_FUTEX_USED): New.
5281         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
5282         implementation.
5283         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
5284         (__pthread_rwlock_rdlock): Adapt.
5285         * nptl/pthread_rwlock_timedrdlock.c
5286         (pthread_rwlock_timedrdlock): Adapt.
5287         * nptl/pthread_rwlock_timedwrlock.c
5288         (pthread_rwlock_timedwrlock): Adapt.
5289         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
5290         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
5291         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
5292         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
5293         (__pthread_rwlock_wrlock): Adapt.
5294         * nptl/tst-rwlock10.c: Adapt.
5295         * nptl/tst-rwlock11.c: Adapt.
5296         * nptl/tst-rwlock17.c: New file.
5297         * nptl/tst-rwlock18.c: New file.
5298         * nptl/tst-rwlock19.c: New file.
5299         * nptl/tst-rwlock2b.c: New file.
5300         * nptl/tst-rwlock8.c: Adapt.
5301         * nptl/tst-rwlock9.c: Adapt.
5302         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5303         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5304         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5305         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5306         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5307         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5308         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5309         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5310         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5311         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5312         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5313         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5314         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
5315         (pthread_rwlock_t): Adapt.
5316         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5317         (pthread_rwlock_t): Adapt.
5318         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5319         * nptl/nptl-printers.py (): Adapt.
5320         * nptl/nptl_lock_constants.pysym: Adapt.
5321         * nptl/test-rwlock-printers.py: Adapt.
5322         * nptl/test-rwlockattr-printers.c: Adapt.
5323         * nptl/test-rwlockattr-printers.py: Adapt.
5325 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
5327         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
5328         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
5329         (fma_test_data): Likewise.
5330         (hypot_test_data): Likewise.
5331         (log1p_test_data): Likewise.
5332         (modf_test_data): Likewise.
5333         (pow_test_data): Likewise.
5334         (remainder_test_data): Likewise.
5335         (remquo_test_data): Likewise.
5336         (scalb_test_data): Likewise.
5337         (scalbn_test_data): Likewise.
5338         (scalbln_test_data): Likewise.
5339         * math/gen-libm-test.pl (parse_args): Transform
5340         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
5341         on the rounding mode.
5343 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
5345         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
5346         xfail-rounding:ibm128-libgcc automatically to tests overflowing
5347         and those that can underflow to zero.
5348         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
5349         add others.
5350         * math/auto-libm-test-out: Regenerated.
5352         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
5353         supported.
5354         (feholdexcept_tests): Skip tests requiring exceptions or rounding
5355         modes support if not supported.
5357         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
5358         Add libc.so PLT entry.
5359         (__tls_get_addr): Make ld.so PLT entry optional.
5361 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5363         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
5364         * string/bits/string3.h: ... here.
5366 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
5368         [BZ #21028]
5369         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
5370         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
5371         if EXCEPTION_TESTS returns false.
5373 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5375         [BZ #20558]
5376         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
5377         strings_fortified.h.
5378         [__USE_MISC] (bzero): Likewise.
5379         [__USE_MISC] (explicit_bzero): Likewise.
5380         * string/strings.h: Include strings_fortified.h.
5381         * string/Makefile (headers): Add strings_fortified.h.
5382         * string/bits/strings_fortified.h: New file.
5383         * include/bits/strings_fortified.h: Likewise.
5385 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
5387         * elf/tst-tls13.c (TIMEOUT): Remove.
5388         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
5389         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
5390         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
5391         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
5392         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
5394         [BZ #21026]
5395         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
5396         (readahead): New syscall entry.
5398 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
5400         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
5401         around tests of strncat with large sizes.
5403         * malloc/tst-malloc.c: Include <libc-internal.h>.
5404         (do_test): Disable -Walloc-size-larger-than= around tests of
5405         malloc with negative sizes.
5406         * malloc/tst-mcheck.c: Include <libc-internal.h>.
5407         (do_test): Disable -Walloc-size-larger-than= around tests of
5408         malloc and realloc with negative sizes.
5409         * malloc/tst-realloc.c: Include <libc-internal.h>.
5410         (do_test): Disable -Walloc-size-larger-than= around tests of
5411         realloc with negative sizes.
5413         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
5414         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
5415         allowed to 16 ulps.
5416         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
5417         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
5418         * math/auto-libm-test-out: Regenerated.
5420 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5422         * math/Makefile (libm-calls): Move wrappers...
5423         (libm-compat-call-auto): Here.
5424         (libm-routines): Add items in libm-compat-calls-auto.
5425         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
5426         the filenames of the wrappers that have been renamed.
5427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
5428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5430         * math/w_acos.c: Add _compat suffix to filename.
5431         * math/w_acosf.c: Likewise.
5432         * math/w_acosh.c: Likewise.
5433         * math/w_acoshf.c: Likewise.
5434         * math/w_acoshl.c: Likewise.
5435         * math/w_acosl.c: Likewise.
5436         * math/w_asin.c: Likewise.
5437         * math/w_asinf.c: Likewise.
5438         * math/w_asinl.c: Likewise.
5439         * math/w_atan2.c: Likewise.
5440         * math/w_atan2f.c: Likewise.
5441         * math/w_atan2l.c: Likewise.
5442         * math/w_atanh.c: Likewise.
5443         * math/w_atanhf.c: Likewise.
5444         * math/w_atanhl.c: Likewise.
5445         * math/w_cosh.c: Likewise.
5446         * math/w_coshf.c: Likewise.
5447         * math/w_coshl.c: Likewise.
5448         * math/w_exp10.c: Likewise.
5449         * math/w_exp10f.c: Likewise.
5450         * math/w_exp10l.c: Likewise.
5451         * math/w_exp2.c: Likewise.
5452         * math/w_exp2f.c: Likewise.
5453         * math/w_exp2l.c: Likewise.
5454         * math/w_fmod.c: Likewise.
5455         * math/w_fmodf.c: Likewise.
5456         * math/w_fmodl.c: Likewise.
5457         * math/w_hypot.c: Likewise.
5458         * math/w_hypotf.c: Likewise.
5459         * math/w_hypotl.c: Likewise.
5460         * math/w_j0.c: Likewise.
5461         * math/w_j0f.c: Likewise.
5462         * math/w_j0l.c: Likewise.
5463         * math/w_j1.c: Likewise.
5464         * math/w_j1f.c: Likewise.
5465         * math/w_j1l.c: Likewise.
5466         * math/w_jn.c: Likewise.
5467         * math/w_jnf.c: Likewise.
5468         * math/w_jnl.c: Likewise.
5469         * math/w_log10.c: Likewise.
5470         * math/w_log10f.c: Likewise.
5471         * math/w_log10l.c: Likewise.
5472         * math/w_log2.c: Likewise.
5473         * math/w_log2f.c: Likewise.
5474         * math/w_log2l.c: Likewise.
5475         * math/w_log.c: Likewise.
5476         * math/w_logf.c: Likewise.
5477         * math/w_logl.c: Likewise.
5478         * math/w_pow.c: Likewise.
5479         * math/w_powf.c: Likewise.
5480         * math/w_powl.c: Likewise.
5481         * math/w_remainder.c: Likewise.
5482         * math/w_remainderf.c: Likewise.
5483         * math/w_remainderl.c: Likewise.
5484         * math/w_scalb.c: Likewise.
5485         * math/w_scalbf.c: Likewise.
5486         * math/w_scalbl.c: Likewise.
5487         * math/w_sinh.c: Likewise.
5488         * math/w_sinhf.c: Likewise.
5489         * math/w_sinhl.c: Likewise.
5490         * math/w_sqrt.c: Likewise.
5491         * math/w_sqrtf.c: Likewise.
5492         * math/w_sqrtl.c: Likewise.
5493         * math/w_tgamma.c: Likewise.
5494         * math/w_tgammaf.c: Likewise.
5495         * math/w_tgammal.c: Likewise.
5497         * math/w_acos_compat.c: New file copied from above and
5498         adjusted for new #includes path
5499         * math/w_acosf_compat.c: Likewise.
5500         * math/w_acosh_compat.c: Likewise.
5501         * math/w_acoshf_compat.c: Likewise.
5502         * math/w_acoshl_compat.c: Likewise.
5503         * math/w_acosl_compat.c: Likewise.
5504         * math/w_asin_compat.c: Likewise.
5505         * math/w_asinf_compat.c: Likewise.
5506         * math/w_asinl_compat.c: Likewise.
5507         * math/w_atan2_compat.c: Likewise.
5508         * math/w_atan2f_compat.c: Likewise.
5509         * math/w_atan2l_compat.c: Likewise.
5510         * math/w_atanh_compat.c: Likewise.
5511         * math/w_atanhf_compat.c: Likewise.
5512         * math/w_atanhl_compat.c: Likewise.
5513         * math/w_cosh_compat.c: Likewise.
5514         * math/w_coshf_compat.c: Likewise.
5515         * math/w_coshl_compat.c: Likewise.
5516         * math/w_exp10_compat.c: Likewise.
5517         * math/w_exp10f_compat.c: Likewise.
5518         * math/w_exp10l_compat.c: Likewise.
5519         * math/w_exp2_compat.c: Likewise.
5520         * math/w_exp2f_compat.c: Likewise.
5521         * math/w_exp2l_compat.c: Likewise.
5522         * math/w_fmod_compat.c: Likewise.
5523         * math/w_fmodf_compat.c: Likewise.
5524         * math/w_fmodl_compat.c: Likewise.
5525         * math/w_hypot_compat.c: Likewise.
5526         * math/w_hypotf_compat.c: Likewise.
5527         * math/w_hypotl_compat.c: Likewise.
5528         * math/w_j0_compat.c: Likewise.
5529         * math/w_j0f_compat.c: Likewise.
5530         * math/w_j0l_compat.c: Likewise.
5531         * math/w_j1_compat.c: Likewise.
5532         * math/w_j1f_compat.c: Likewise.
5533         * math/w_j1l_compat.c: Likewise.
5534         * math/w_jn_compat.c: Likewise.
5535         * math/w_jnf_compat.c: Likewise.
5536         * math/w_jnl_compat.c: Likewise.
5537         * math/w_log10_compat.c: Likewise.
5538         * math/w_log10f_compat.c: Likewise.
5539         * math/w_log10l_compat.c: Likewise.
5540         * math/w_log2_compat.c: Likewise.
5541         * math/w_log2f_compat.c: Likewise.
5542         * math/w_log2l_compat.c: Likewise.
5543         * math/w_log_compat.c: Likewise.
5544         * math/w_logf_compat.c: Likewise.
5545         * math/w_logl_compat.c: Likewise.
5546         * math/w_pow_compat.c: Likewise.
5547         * math/w_powf_compat.c: Likewise.
5548         * math/w_powl_compat.c: Likewise.
5549         * math/w_remainder_compat.c: Likewise.
5550         * math/w_remainderf_compat.c: Likewise.
5551         * math/w_remainderl_compat.c: Likewise.
5552         * math/w_scalb_compat.c: Likewise.
5553         * math/w_scalbf_compat.c: Likewise.
5554         * math/w_scalbl_compat.c: Likewise.
5555         * math/w_sinh_compat.c: Likewise.
5556         * math/w_sinhf_compat.c: Likewise.
5557         * math/w_sinhl_compat.c: Likewise.
5558         * math/w_sqrt_compat.c: Likewise.
5559         * math/w_sqrtf_compat.c: Likewise.
5560         * math/w_sqrtl_compat.c: Likewise.
5561         * math/w_tgamma_compat.c: Likewise.
5562         * math/w_tgammaf_compat.c: Likewise.
5563         * math/w_tgammal_compat.c: Likewise.
5565         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
5566         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
5567         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
5568         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
5569         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
5570         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
5571         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
5572         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
5573         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
5574         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
5575         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
5576         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
5577         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
5578         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
5579         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
5580         * sysdeps/ia64/fpu/w_powl.c: Likewise.
5581         * sysdeps/ia64/fpu/w_powf.c: Likewise.
5582         * sysdeps/ia64/fpu/w_pow.c: Likewise.
5583         * sysdeps/ia64/fpu/w_logl.c: Likewise.
5584         * sysdeps/ia64/fpu/w_logf.c: Likewise.
5585         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
5586         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
5587         * sysdeps/ia64/fpu/w_log2.c: Likewise.
5588         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
5589         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
5590         * sysdeps/ia64/fpu/w_log10.c: Likewise.
5591         * sysdeps/ia64/fpu/w_log.c: Likewise.
5592         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
5593         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
5594         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
5595         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
5596         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
5597         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
5598         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
5599         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
5600         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
5601         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
5602         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
5603         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
5604         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
5605         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
5606         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
5607         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
5608         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
5609         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
5610         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
5611         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
5612         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
5613         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
5614         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
5615         * sysdeps/ia64/fpu/w_asin.c: Likewise.
5616         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
5617         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
5618         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
5619         * sysdeps/ia64/fpu/w_acos.c: Likewise.
5620         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
5621         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
5622         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
5623         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
5624         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
5625         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
5626         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
5627         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
5628         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
5629         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
5630         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
5631         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
5632         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
5633         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
5634         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
5635         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
5636         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
5637         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
5638         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
5639         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
5640         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
5641         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
5642         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
5643         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
5644         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
5645         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
5646         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
5647         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
5648         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
5649         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
5650         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
5651         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
5652         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
5653         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
5654         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
5655         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
5656         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
5657         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
5658         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
5659         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
5660         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
5661         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
5662         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
5663         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
5664         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
5665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
5666         Likewise.
5667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
5668         Likewise.
5669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
5670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
5671         Likewise.
5672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
5673         Likewise.
5674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
5675         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5676         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5677         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5678         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5679         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5680         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
5682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
5683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
5684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
5685         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5686         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5687         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5688         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5690         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
5691         and adjusted for new #includes path
5692         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
5693         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
5694         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
5695         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
5696         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
5697         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
5698         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
5699         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
5700         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
5701         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
5702         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
5703         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
5704         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
5705         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
5706         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
5707         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
5708         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
5709         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
5710         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
5711         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
5712         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
5713         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
5714         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
5715         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
5716         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
5717         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
5718         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
5719         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
5720         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
5721         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
5722         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
5723         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
5724         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
5725         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
5726         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
5727         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
5728         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
5729         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
5730         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
5731         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
5732         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
5733         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
5734         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
5735         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
5736         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
5737         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
5738         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
5739         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
5740         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
5741         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
5742         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
5743         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
5744         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
5745         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
5746         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
5747         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
5748         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
5749         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
5750         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
5751         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
5752         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
5753         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
5754         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
5755         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
5756         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
5757         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
5758         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
5759         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
5760         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
5761         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
5762         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
5763         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
5764         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
5765         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
5766         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
5767         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
5768         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
5769         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
5770         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
5771         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
5772         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
5773         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
5774         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
5775         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
5776         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
5777         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
5778         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
5779         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
5780         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
5781         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
5782         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
5783         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
5784         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
5785         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
5786         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
5787         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
5788         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
5789         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
5790         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
5791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
5792         Likewise.
5793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
5794         Likewise.
5795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
5796         Likewise.
5797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
5798         Likewise.
5799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
5800         Likewise.
5801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
5802         Likewise.
5803         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
5804         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
5805         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
5806         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
5807         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
5808         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
5809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
5810         Likewise.
5811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
5812         Likewise.
5813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
5814         Likewise.
5815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
5816         Likewise.
5817         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
5818         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
5819         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
5820         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
5822 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
5824         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
5825         __jmp_buf_internal_tag.
5827         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
5828         preserve NaN payload if [__mips_nan2008].
5829         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5831         [BZ #21022]
5832         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
5834 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
5836         * sysdeps/i386/fpu/libm-test-ulps: Update.
5838 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5840         * sysdeps/ia64/strcat.c: Remove file.
5841         * sysdeps/powerpc/strcat.c: Likewise.
5842         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
5843         C implementation.
5844         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
5845         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
5847 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5848             Steven Munroe  <sjmunroe@us.ibm.com>
5849             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5851         [BZ #20822]
5852         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
5853         (__lll_lock_elision): Access adapt_count via C11 atomics.
5854         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
5855         (__lll_trylock_elision): Likewise.
5856         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
5857         (__lll_unlock_elision):  Update adapt_count variable inside the
5858         critical section using C11 atomics.
5860 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
5862         * math/test-fenvinline.c (do_test): Disable tests of raised
5863         exceptions if !EXCEPTION_TESTS (FLOAT).
5865 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5867         [BZ #19390]
5868         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
5869         maximum string size.
5870         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
5871         in pointer addition.
5872         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
5873         Likewise.
5875 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
5877         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
5878         passed to tst-ldconfig-X.sh.
5880 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
5882         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
5884 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
5886         [BZ #21019]
5887         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
5888         New syscall entry.
5889         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
5890         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
5891         lseek.
5893         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
5894         power4 glibc for powerpc-linux-gnu.
5896 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5898         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
5899         semctl.
5901 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
5903         * math/test-nearbyint-except.c: Include <stdbool.h>.
5904         (any_supported): New variable.
5905         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
5906         set any_supported.
5907         (do_test): Return 77 if no floating-point type supported
5908         exceptions.
5910         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
5911         condition on [__mips_hard_float].
5913 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5915         [BZ #21014]
5916         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
5917         in pointer addition.
5918         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
5920 2017-01-02  Torvald Riegel  <triegel@redhat.com>
5922         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
5923         new condvar.
5925 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
5927         * scripts/build-many-glibcs.py (Context.checkout): Default
5928         binutils version to 2.28 branch.
5930 2017-01-01  Florian Weimer  <fweimer@redhat.com>
5932         * support/support_format_netent.c (support_format_netent): Work
5933         around alpha struct netent definition difference.
5935 2017-01-01  Florian Weimer  <fweimer@redhat.com>
5937         * support/xwrite.c (xwrite): Use %td for pointer difference.
5939 2017-01-01  Florian Weimer  <fweimer@redhat.com>
5941         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
5942         have-tunables only.
5943         (tests-static): Add tst-malloc-usable-static-tunables for
5944         have-tunables only.
5946 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
5948         * scripts/config.guess: Update to version 2017-01-01.
5949         * scripts/config.sub: Update to version 2017-01-01.
5951         * NEWS: Update copyright dates.
5952         * catgets/gencat.c (print_version): Likewise.
5953         * csu/version.c (banner): Likewise.
5954         * debug/catchsegv.sh: Likewise.
5955         * debug/pcprofiledump.c (print_version): Likewise.
5956         * debug/xtrace.sh (do_version): Likewise.
5957         * elf/ldconfig.c (print_version): Likewise.
5958         * elf/ldd.bash.in: Likewise.
5959         * elf/pldd.c (print_version): Likewise.
5960         * elf/sotruss.sh: Likewise.
5961         * elf/sprof.c (print_version): Likewise.
5962         * iconv/iconv_prog.c (print_version): Likewise.
5963         * iconv/iconvconfig.c (print_version): Likewise.
5964         * locale/programs/locale.c (print_version): Likewise.
5965         * locale/programs/localedef.c (print_version): Likewise.
5966         * login/programs/pt_chown.c (print_version): Likewise.
5967         * malloc/memusage.sh (do_version): Likewise.
5968         * malloc/memusagestat.c (print_version): Likewise.
5969         * malloc/mtrace.pl: Likewise.
5970         * manual/libc.texinfo: Likewise.
5971         * nptl/version.c (banner): Likewise.
5972         * nscd/nscd.c (print_version): Likewise.
5973         * nss/getent.c (print_version): Likewise.
5974         * nss/makedb.c (print_version): Likewise.
5975         * posix/getconf.c (main): Likewise.
5976         * scripts/test-installation.pl: Likewise.
5977         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5979         * All files with FSF copyright notices: Update copyright dates
5980         using scripts/update-copyrights.
5981         * intl/plural.c: Regenerated.
5982         * locale/programs/charmap-kw.h: Likewise.
5983         * locale/programs/locfile-kw.h: Likewise.
5985 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5987         [BZ #20593]
5988         Update DNS RR type definitions.
5989         * scripts/gen-rrtypes.py: New file.
5990         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
5991         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
5992         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
5993         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
5994         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
5995         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
5996         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
5997         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
5998         ns_t_ta, ns_t_dlv.
5999         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
6000         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
6001         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
6002         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
6003         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
6004         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
6005         Define.
6006         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
6007         entry for ns_t_zxfr.
6009 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6011         [BZ #18784]
6012         CVE-2015-5180
6013         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
6014         T_UNSPEC.  Adjust value.
6015         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
6016         * resolv/res_query.c (__libc_res_nquery): Likewise.
6017         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
6018         QTYPEs.
6019         * resolv/tst-resolv-qtypes.c: New file.
6020         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
6021         (tst-resolv-qtypes): Link against libresolv and libpthread.
6023 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6025         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
6027 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6029         * manual/tunables.texi: New chapter.
6030         * manual/Makefile (chapters): Add it.
6031         * manual/probes.texi (@node): Point to the Tunables chapter.
6033         * Makeconfig (have-tunables): Check for non-negative instead
6034         of positive.
6035         * configure.ac: Add 'valstring' as a valid value for
6036         --enable-tunables.
6037         * configure: Regenerate.
6038         * elf/Makefile (have-tunables): Check for non-negative instead
6039         of positive.
6040         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
6041         dl-tunables.c.
6042         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
6043         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
6044         (tunables_strdup): Likewise.
6045         (disable_tunables): Likewise.
6046         (parse_tunables): Likewise.
6047         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
6048         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
6049         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
6050         (TUNABLES_FRONTEND_yes): New macro, define as
6051         TUNABLES_FRONTEND_valstring by default.
6052         * manual/install.texi: Document new acceptable values for
6053         --enable-tunables.
6054         * INSTALL: Regenerate.
6056         * config.make.in (have-loop-to-function): Define.
6057         * elf/Makefile (CFLAGS-dl-tunables.c): Add
6058         -fno-tree-loop-distribute-patterns.
6059         * elf/dl-tunables.c: Include libc-internals.h.
6060         (GLIBC_TUNABLES): New macro.
6061         (tunables_strdup): New function.
6062         (parse_tunables): New function.
6063         (min_strlen): New function.
6064         (__tunables_init): Use the new functions and macro.
6065         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
6066         * malloc/tst-malloc-usable-tunables.c: New test case.
6067         * malloc/tst-malloc-usable-static-tunables.c: New test case.
6068         * malloc/Makefile (tests, tests-static): Add tests.
6070         * manual/install.texi: Add --enable-tunables option.
6071         * INSTALL: Regenerate.
6072         * README.tunables: New file.
6073         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
6074         (before-compile): Generate dl-tunable-list.h early.
6075         * config.h.in: Add HAVE_TUNABLES.
6076         * config.make.in: Add have-tunables.
6077         * configure.ac: Add --enable-tunables option.
6078         * configure: Regenerate.
6079         * csu/init-first.c (__libc_init_first): Move
6080         __libc_init_secure earlier...
6081         * csu/init-first.c (LIBC_START_MAIN):... to here.
6082         Include dl-tunables.h, libc-internal.h.
6083         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
6084         binaries.
6085         * elf/Makefile (dl-routines): Add dl-tunables.
6086         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
6087         namespace.
6088         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
6089         only when !HAVE_TUNABLES.
6090         * elf/rtld.c (process_envvars): Likewise.
6091         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
6092         (_dl_sysdep_start): Call __tunables_init.
6093         * elf/dl-tunable-types.h: New file.
6094         * elf/dl-tunables.c: New file.
6095         * elf/dl-tunables.h: New file.
6096         * elf/dl-tunables.list: New file.
6097         * malloc/tst-malloc-usable-static.c: New test case.
6098         * malloc/Makefile (tests-static): Add it.
6099         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
6100         Define TUNABLE_NAMESPACE.
6101         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
6102         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
6103         callback functions.
6104         (ptmalloc_init): Set tunable values.
6105         * scripts/gen-tunables.awk: New file.
6106         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
6107         (_dl_sysdep_start): Call __tunables_init.
6109 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6111         * resolv/resolv.h (RES_BLAST): Deprecate.
6112         * resolv/res_debug.c (p_option): Remove RES_BLAST.
6113         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
6114         to RES_BLAST.
6116 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6118         [BZ #19582]
6119         Deprecate RES_USE_INET6.
6120         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
6121         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
6122         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
6123         RES_USE_INET6.
6124         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
6125         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
6126         (_nss_nisplus_gethostbyaddr_r): Likewise.
6127         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
6128         of res_use_inet6.
6129         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
6130         instead of RES_USE_INET6.
6131         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
6132         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
6133         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
6134         Likewise.
6135         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
6136         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
6137         Likewise.
6138         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
6139         (_nss_dns_gethostbyname_r): Likewise.
6140         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
6141         alternate RES_USE_INET6 handling.
6142         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
6143         instead of RES_USE_INET6.
6144         * resolv/res_init.c (res_setoptions): Likewise.
6145         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
6146         * resolv/resolv-internal.h: New file.
6147         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
6148         make the deprecation warning non-fatal.
6149         * resolv/README (Using the resolver in multi-threaded code): Drop
6150         reference to RES_USE_INET6.
6151         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
6152         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
6154 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6156         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
6157         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
6158         tst-resolv-search.
6159         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
6160         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
6161         with libresolv and libpthread.
6162         * resolv/tst-bug18665.c: New file.
6163         * resolv/tst-bug18665-tcp: Likewise.
6164         * resolv/tst-res_use_inet6: Likewise.
6165         * resolv/tst-resolv-basic: Likewise.
6166         * resolv/tst-resolv-network: Likewise.
6167         * resolv/tst-resolv-search: Likewise.
6168         * support/Makefile (libsupport-routines): Add check_addrinfo,
6169         check_dns_packet, check_hostent, check_netent, resolv_test,
6170         support_format_address_family, support_format_addrinfo,
6171         support_format_dns_packet, support_format_herrno,
6172         support_format_hostent, support_format_netent, support_run_diff,
6173         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
6174         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
6175         xstrdup, xwrite.
6176         * support/check_addrinfo.c: New file.
6177         * support/check_dns_packet.c: Likewise.
6178         * support/check_hostent.c: Likewise.
6179         * support/check_netent.c: Likewise.
6180         * support/check_nss.h: Likewise.
6181         * support/format_nss.h: Likewise.
6182         * support/resolv_test.c: Likewise.
6183         * support/resolv_test.h: Likewise.
6184         * support/run_diff.h: Likewise.
6185         * support/support_format_address_family.c: Likewise.
6186         * support/support_format_addrinfo.c: Likewise.
6187         * support/support_format_dns_packet.c: Likewise.
6188         * support/support_format_herrno.c: Likewise.
6189         * support/support_format_hostent.c: Likewise.
6190         * support/support_format_netent.c: Likewise.
6191         * support/support_run_diff.c: Likewise.
6192         * support/xaccept.c: Likewise.
6193         * support/xbind.c: Likewise.
6194         * support/xconnect.c: Likewise.
6195         * support/xfclose.c: Likewise.
6196         * support/xfopen.c: Likewise.
6197         * support/xgetsockname.c: Likewise.
6198         * support/xlisten.c: Likewise.
6199         * support/xmemstream.c: Likewise.
6200         * support/xmemstream.h: Likewise.
6201         * support/xpoll.c: Likewise.
6202         * support/xpthread_once.c: Likewise.
6203         * support/xrecvfrom.c: Likewise.
6204         * support/xsendto.c: Likewise.
6205         * support/xsetsockopt.c: Likewise.
6206         * support/xstdio.h: Likewise.
6207         * support/xstrdup.c: Likewise.
6208         * support/support.h (xstrdup): Declare.
6209         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
6210         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
6211         * support/xthread.h (xpthread_once): Likwise.
6212         * support/xunistd.h (xwrite): Declare.
6214 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6216         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
6217         (test_verbose): Declare.
6218         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
6219         * support/support_test_main.c (default_options): Likewise.
6220         (usage, support_test_main): Handle 'v'.
6221         (test_verbose): Define.
6222         * support/tst-support_record_failure.c (do_test): Use
6223         test_verbose.
6224         * support/tst-support_record_failure-2.sh (different_status): Add
6225         --verbose test.
6227 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6229         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
6230         test failures are recorded.
6231         * support/check.c (support_print_failure_impl): Call
6232         support_record_failure.
6233         (support_exit_failure_impl): Call support_record_failure if status
6234         indicates failure.
6235         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
6236         * support/xasprintf.c (xasprintf): Likewise.
6237         * support/xfork.c (xfork): Likewise.
6238         * support/xpthread_check_return.c (xpthread_check_return):
6239         Likewise.
6240         * support/xsocket.c (xsocket): Likeweise.
6241         * support/xwaitpid.c (xwaitpid): Likewise.
6242         * support/support_record_failure.c (struct test_failures): Adjust
6243         to coding style.
6244         * support/support_test_verify_impl.c (support_test_verify_impl):
6245         Adjust error messages.
6246         * support/tst-support_record_failure-2.sh (different_status):
6247         Adjust error messages.
6249 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6251         * support/namespace.h: New file.
6252         * support/support_become_root.c: Likewise.
6253         * support/support_enter_network_namespace.c: Likewise.
6254         * support/tst-support-namespace.c: Likewise.
6255         * support/xsocket.c: Likewise.
6256         * support/xsocket.h: Likewise.
6257         * support/Makefile (libsupport-routines): Add support_become_root,
6258         support_enter_network_namespace, xsocket.
6259         (tests): Add tst-support-namespace.
6261 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6263         [BZ #17252]
6264         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
6265         __USE_GNU.
6267 2016-12-31  Torvald Riegel  <triegel@redhat.com>
6269         [BZ #13165]
6270         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
6271         use new algorithm.
6272         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
6273         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
6274         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
6275         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
6276         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
6277         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
6278         __condvar_cleanup_waiting, __condvar_dec_grefs,
6279         __pthread_cond_wait_common): New.
6280         (__condvar_cleanup): Remove.
6281         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
6282         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
6283         Likewise.
6284         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
6285         Likewise.
6286         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
6287         * nptl/tst-cond1.c: Add comment.
6288         * nptl/tst-cond20.c (do_test): Adapt.
6289         * nptl/tst-cond22.c (do_test): Likewise.
6290         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
6291         structure.
6292         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6293         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6294         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6295         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
6296         Likewise.
6297         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6298         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6299         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6300         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6301         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6302         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
6303         Likewise.
6304         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
6305         Likewise.
6306         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6307         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
6308         (COND_CLOCK_BITS): Adapt.
6309         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
6310         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
6311         __PTHREAD_COND_SHARED_MASK): New.
6312         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
6313         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
6314         * nptl/nptl_lock_constants.pysym: Adapt.
6315         * nptl/test-cond-printers.py: Adapt.
6316         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
6317         cond_compat_check_and_clear): Adapt.
6318         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
6319         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
6320         (__pthread_cond_timedwait): ... and move here.
6321         * nptl/DESIGN-condvar.txt: Remove file.
6322         * nptl/lowlevelcond.sym: Likewise.
6323         * nptl/pthread_cond_timedwait.c: Likewise.
6324         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
6325         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
6326         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
6327         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
6328         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
6329         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
6330         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
6331         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
6332         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
6333         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
6334         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
6335         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
6336         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
6337         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
6338         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
6339         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
6341 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
6343         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6344         (fromfp): New declaration.
6345         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
6346         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
6347         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
6348         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
6349         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
6350         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
6351         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
6352         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
6353         * math/math.h: Include <bits/types.h>.
6354         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
6355         constant and macro.
6356         (FP_INT_DOWNWARD): Likewise.
6357         (FP_INT_TOWARDZERO): Likewise.
6358         (FP_INT_TONEARESTFROMZERO): Likewise.
6359         (FP_INT_TONEAREST): Likewise.
6360         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
6361         (fromfpf): Likewise.
6362         (fromfpl): Likewise.
6363         (ufromfp): Likewise.
6364         (ufromfpf): Likewise.
6365         (ufromfpl): Likewise.
6366         (fromfpx): Likewise.
6367         (fromfpxf): Likewise.
6368         (fromfpxl): Likewise.
6369         (ufromfpx): Likewise.
6370         (ufromfpxf): Likewise.
6371         (ufromfpxl): Likewise.
6372         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
6373         s_fromfpxF and s_ufromfpxF.
6374         * math/gen-fromfp-tests.py: New file.
6375         * math/gen-fromfp-tests-inputs: Likewise.
6376         * math/libm-test.inc: Include <stdint.h>
6377         (check_intmax_t): New function.
6378         (check_uintmax_t): Likewise.
6379         (struct test_fiu_M_data): New type.
6380         (struct test_fiu_U_data): Likewise.
6381         (RUN_TEST_fiu_M): New macro.
6382         (RUN_TEST_LOOP_fiu_M): Likewise.
6383         (RUN_TEST_fiu_U): Likewise.
6384         (RUN_TEST_LOOP_fiu_U): Likewise.
6385         (fromfp_test_data): New array.
6386         (fromfp_test): New function.
6387         (fromfpx_test_data): New array.
6388         (fromfpx_test): New function.
6389         (ufromfp_test_data): New array.
6390         (ufromfp_test): New function.
6391         (ufromfpx_test_data): New array.
6392         (ufromfpx_test): New function.
6393         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
6394         ufromfpx_test.
6395         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
6396         characters.
6397         * math/test-tgmath-ret.c: Include <stdint.h>.
6398         (rm): New variable.
6399         (width): Likewise.
6400         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
6401         called function.
6402         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
6403         CHECK_RET_CONST_TYPE.
6404         (CHECK_RET_CONST_DOUBLE): Likewise.
6405         (CHECK_RET_CONST_LDOUBLE): Likewise.
6406         (CHECK_RET_CONST): Take extra arguments and pass them to calls
6407         macros.
6408         (fromfp): New CHECK_RET_CONST call.
6409         (ufromfp): Likewise.
6410         (fromfpx): Likewise.
6411         (ufromfpx): Likewise.
6412         (do_test): Call check_return_fromfp, check_return_ufromfp,
6413         check_return_fromfpx and check_return_ufromfpx.
6414         * math/test-tgmath.c: Include <stdint.h>
6415         (NCALLS): Increase to 138.
6416         (F(compile_test)): Initialize i.  Call fromfp functions.
6417         (F(fromfp)): New function.
6418         (F(fromfpx)): Likewise.
6419         (F(ufromfp)): Likewise.
6420         (F(ufromfpx)): Likewise.
6421         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
6422         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
6423         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
6424         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
6425         ufromfpxl.
6426         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
6427         ufromfp and ufromfpx.
6428         * math/fromfp.h: New file.
6429         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
6430         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
6431         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
6432         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
6433         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
6434         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
6435         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
6436         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
6437         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
6438         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
6439         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
6440         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
6441         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
6442         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
6443         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
6444         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
6445         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
6446         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
6447         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
6448         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
6449         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
6450         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
6451         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
6452         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
6453         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
6454         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
6455         ufromfp, fromfpx and ufromfpx.
6456         (CFLAGS-nldbl-fromfp.c): New variable.
6457         (CFLAGS-nldbl-fromfpx.c): Likewise.
6458         (CFLAGS-nldbl-ufromfp.c): Likewise.
6459         (CFLAGS-nldbl-ufromfpx.c): Likewise.
6460         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
6461         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
6462         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
6463         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
6464         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
6465         * sysdeps/nacl/libm.abilist: Update.
6466         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6467         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6468         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6469         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6470         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6471         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6472         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6473         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6474         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6475         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6476         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6477         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6479         Likewise.
6480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6481         Likewise.
6482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6483         Likewise.
6484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6485         Likewise.
6486         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6487         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6488         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6489         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6490         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6491         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6492         Likewise.
6493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6494         Likewise.
6495         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6496         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6497         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6499 2016-12-30  Florian Weimer  <fweimer@redhat.com>
6501         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
6502         compat-gethnamaddr.
6503         (CPPFLAGS): Remove.
6504         * resolv/gethnamaddr.c: Rename ...
6505         * resolv/compat-gethnamaddr.c: ... to this file.
6506         (_endhtent): Make static.
6507         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
6508         symbol.
6509         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
6510         compat symbol.
6511         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
6512         symbol.
6513         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
6514         Turn into compat symbol.
6515         * include/resolv.h (_endhtent): Remove declaration.
6517 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
6519         * bits/types.h (__intmax_t): New typedef.
6520         (__uintmax_t): Likewise.
6521         * sysdeps/generic/stdint.h: Include <bits/types.h>.
6522         (intmax_t): Define using __intmax_t.
6523         (uintmax_t): Define using __uintmax_t.
6525         * support/Makefile (tests-special): Make definition conditional on
6526         [$(run-built-tests) = yes].
6527         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
6528         on [$(run-built-tests) = yes].
6530 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6532         * Rules (tests): Add tests-printers-programs to tests to be
6533         built.
6535 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6537         * sysvipc/Makefile (tests): Add test-sysvshm.
6538         * sysvipc/test-sysvshm.c: New file.
6540         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
6541         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
6542         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
6543         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
6544         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
6545         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
6546         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
6547         Likewise.
6548         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
6549         Likewise.
6550         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
6551         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
6552         is defined.
6554         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
6555         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
6556         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
6557         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
6558         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
6559         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
6560         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
6561         Likewise.
6562         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
6563         Likewise.
6564         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
6565         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
6566         defined.
6568         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
6569         oldshmctl.
6570         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
6571         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
6572         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
6573         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
6574         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
6575         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
6576         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
6577         Likewise.
6578         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
6579         Likewise.
6580         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
6581         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
6582         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
6583         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
6584         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
6585         implementation.
6586         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
6587         if it is defined.
6589         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
6590         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
6591         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
6592         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
6593         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
6594         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
6595         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
6596         Likewise.
6597         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
6598         Likewise.
6599         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
6600         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
6601         Define to __NR_osf_shmat.
6602         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
6603         defined.
6605         * sysvipc/Makefile (tests): Add test-sysvsem.
6606         * sysvipc/test-sysvsem.c: New file.
6608         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
6609         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
6610         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
6611         Likewise.
6612         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
6613         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
6614         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
6615         Likewise.
6616         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
6617         Likewise.
6618         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
6619         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
6620         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
6621         add a comment about s390 syscall difference from default one.
6622         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
6623         syscall if it is defined.
6625         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
6626         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
6627         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
6628         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
6629         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
6630         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
6631         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
6632         Likewise.
6633         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
6634         Likewise.
6635         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
6636         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
6637         defined.
6639         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
6640         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
6641         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
6642         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
6643         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
6644         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
6645         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
6646         Likewise.
6647         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
6648         Likewise.
6649         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
6650         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
6651         if it is defined.
6653         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
6654         oldsemctl.
6655         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
6656         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
6657         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
6658         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
6659         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
6660         implementation.
6661         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
6662         syscall if it is defined.
6663         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
6664         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
6665         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
6666         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
6667         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
6668         Likewise.
6669         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
6671         * sysvipc/Makefile (tests): Add test-sysvmsg.
6672         * sysvipc/test-sysvmsg.c: New file.
6673         * support/check.h (FAIL_UNSUPPORTED): New define.
6675         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
6676         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
6677         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
6678         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
6679         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
6680         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
6681         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
6682         Likewise.
6683         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
6684         Likewise.
6685         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
6686         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
6687         define.
6689         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
6690         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
6691         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
6692         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
6693         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
6694         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
6695         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
6696         Likewise.
6697         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
6698         Likewise.
6699         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
6700         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
6701         if defined.
6703         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
6704         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
6705         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
6706         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
6707         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
6708         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
6709         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
6710         Likewise.
6711         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
6712         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
6713         Likewise.
6714         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
6715         if defined.
6716         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
6718         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
6719         oldmsgctl.
6720         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
6721         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
6722         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
6723         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
6724         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
6725         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
6726         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
6727         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
6728         Likewise.
6729         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
6730         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
6731         implementation.
6732         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
6733         if defined.
6735         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
6736         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
6737         definition and define its own.
6738         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
6739         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
6740         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
6741         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
6742         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
6743         definitions to common header.
6744         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
6745         operation from ipc_ops.h.
6747         * sysdeps/unix/sysv/linux/kernel-features.h
6748         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
6749         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6750         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
6751         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6752         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6753         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6754         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6755         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6756         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6757         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6758         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6759         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6760         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6761         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6762         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6764 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6766         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
6767         overflow in pointer addition.
6769 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6771         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6772         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
6773         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6774         (strchr): Add __strchr_power8 to list of strchr functions.
6775         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
6776         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
6777         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
6778         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
6779         (strchr): Add __strchr_power8 to ifunc list.
6780         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
6781         (__strchrnul): Add __strchrnul_power8 to ifunc list.
6782         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
6783         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
6785 2016-12-28  Florian Weimer  <fweimer@redhat.com>
6787         * support/Makefile (libsupport-routines): Add
6788         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
6789         (tests): Add tst-support_record_failure.
6790         (tests-special): tst-support_record_failure-2.
6791         (tst-support_record_failure-2.out): Depend on
6792         tst-support_record_failure-2.sh and tst-support_record_failure.
6793         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
6794         (support_test_verify_impl, support_record_failure)
6795         (support_report_failure, support_report_failure_reset): Declare.
6796         * support/support_test_main.c (adjust_exit_status): New function.
6797         (support_test_main): Call it to incorporate record test failures.
6798         * support/support_test_verify_impl.c: New file.
6799         * support/support_record_failure.c: Likewise.
6800         * support/tst-support_record_failure.c: Likewise.
6801         * support/tst-support_record_failure-2.sh: Likewise.
6802         * support/xunistd.h: Likewise.
6803         * support/xfork.c: Likewise.
6804         * support/xwaitpid.c: Likewise.
6806 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
6808         * scripts/check-c++-types.sh: Add comments.
6810 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
6812         [BZ #19514]
6813         * resolv/res_send.c: Fix typo in comment.
6814         * sysdeps/i386/i386-mcount.S: Likewise.
6815         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6816         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6817         * sysdeps/sparc/sparc-mcount.S: Likewise.
6819 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6821         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
6822         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
6823         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
6824         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
6825         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
6826         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
6827         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
6828         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
6830 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6832         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
6834 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6836         [BZ #17252]
6837         * posix/unistd.h (getentropy): Declare.
6839 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6841         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
6842         Remove.
6843         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
6844         (cmd): Remove spoof, nospoof, spoofalert.
6845         (parse_line): Ignore spoof-related lines.
6846         (do_init): Do not process RESOLV_SPOOF_CHECK.
6848 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6850         [BZ #20964]
6851         sunrpc: Always obtain AF_INET addresses from NSS.
6852         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
6853         * sunrpc/rpc_gethostbyname.c: New file.
6854         * sunrpc/Makefile (routines): Add it.
6855         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
6856         * sunrpc/clnt_simp.c (callrpc): Likewise.
6857         * sunrpc/getrpcport.c (getrpcport): Likewise.
6859 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6861         * sunrpc/rpcinfo.c: Remove.
6862         * sunrpc/Makefile: Remove comments referring to rpcinfo.
6864 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6866         [BZ #19387]
6867         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
6868         addition.
6869         * string/test-memchr.c (do_test): Remove alignment limitation.
6870         (test_main): Add test that trigger BZ #19387.
6872 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6874         [BZ #7065]
6875         Enable stack protectore if requested by ./configure.
6876         * Makeconfig (+stack-protector): New variable.
6877         (+cflags): Use it.
6879 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6881         [BZ #7065]
6882         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
6883         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
6884         (__rt_sigreturn_stub): Use inhibit_stack_protector.
6885         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6886         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
6888 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6890         [BZ #7065]
6891         * login/Makefile (pt_chown-cflags): Remove.
6892         * nscd/Makefile (CFLAGS-nscd): Likewise.
6893         * resolv/Makefile (CFLAGS-libresolv): Likewise.
6895 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6897         [BZ #7065]
6898         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
6899         non-libc-linking testcase.
6901 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6902             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6903             Florian Weimer  <fweimer@redhat.com>
6905         [BZ #7065]
6906         PLT avoidance for __stack_chk_fail*.
6907         * debug/Makefile (CFLAGS-stack_chk_fail.c)
6908         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
6909         * debug/stack_chk_fail.c (__stack_chk_fail): Add
6910         __stack_chk_fail_local alias.
6911         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
6912         (__stack_chk_fail): Turn into hidden reference to
6913         __stack_chk_fail_local.
6915 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6917         [BZ #7065]
6918         * configure.ac: Add check for unsupported stack-protection level.
6919         (libc_cv_predef_stack_protector): Remove.
6920         (no_ssp): New variable.
6921         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
6922         (stack_protector): Set to -fno-stack-protector similarly.
6923         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
6924         (libc_cv_asm_set_directive): Likewise.
6925         (libc_cv_protected_data): Likewise.
6926         (libc_cv_z_combreloc): Likewise.
6927         (libc_cv_hashstyle): Likewise.
6928         (libc_cv_has_glob_dat): Likewise.
6929         (libc_cv_output_format): Likewise.
6930         (libc_cv_output_format): Likewise.
6931         (libc_cv_ehdr_start): Likewise.
6932         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
6933         (LIBC_LINKER_FEATURE): Likewise.
6934         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
6936 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6938         [BZ #7065]
6939         * elf/Makefile (dummy-stack-chk-fail): New.
6940         (librtld.map): Use it.
6942 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6944         [BZ #7065]
6945         Compile the dynamic linker without stack protection.
6946         * elf/Makefile (elide-stack-protector): New.
6947         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
6948         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
6949         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
6950         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
6952 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6954         [BZ #7065]
6955         * config.make.in (have-ssp, no-stack-protector): New.
6956         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
6957         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
6958         (CFLAGS-sbrk.op): Likewise.
6959         (CFLAGS-brk.o): Likewise.
6960         (CFLAGS-brk.op): Likewise.
6961         * string/Makefile (CFLAGS-memcpy.c): Likewise.
6962         (CFLAGS-wordcopy.c): Likewise.
6964 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6966         [BZ #7065]
6967         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
6968         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
6969         * include/libc-symbols.h (inhibit_stack_protector): New macro.
6970         (__ifunc_resolver): Use it.
6971         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
6972         inhibit_stack_protector.
6973         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
6974         * elf/ifuncmain7.c (foo_ifunc): Likewise.
6975         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
6976         (foo_protected_ifunc): Likewise.
6977         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
6978         (foo_protected_ifunc): Likewise.
6979         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
6980         * sysdeps/nacl/nacl_interface_query.c
6981         (nacl_interface_query_ifunc): Likewise.
6982         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
6983         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
6984         Likewise.
6985         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
6986         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
6987         the generated vDSO syscall resolver.
6989 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6990             Florian Weimer  <fweimer@redhat.com>
6992         [BZ #7065]
6993         Initialize the stack guard earlier when linking statically.
6994         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
6995         (__pthread_initialize_minimal): Declare.
6996         * csu/libc-start.c (__pthread_initialize_minimal): Remove
6997         declaration.
6998         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
6999         stack canary and apply_irel initialization up.  Call
7000         __pthread_initialize_minimal only if linked in.
7001         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
7002         constant values.
7003         (__pthread_initialize_minimal): Remove.
7004         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
7005         (__pthread_initialize_minimal_internal): Do not call
7006         __libc_setup_tls.
7008 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
7010         [BZ #7065]
7011         * configure.ac (libc_cv_ssp): Move up.
7012         (libc_cv_ssp_strong): Likewise.
7013         (libc_cv_ssp_all): New.
7014         (stack_protector): Augment, adding -fstack-protector-all.
7015         (no_stack_protector): New.
7016         (STACK_PROTECTOR_LEVEL): New.
7017         (AC_ARG_ENABLE(stack-protector)): New configure flag.
7018         * manual/install.texi (--enable-stack-protector): Document it.
7019         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
7021 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
7023         * README.pretty-printers: Must specify CPPFLAGS-* also.
7024         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
7025         (CPPFLAGS-test-mutex-printers.c): Define.
7026         (CPPFLAGS-test-condattr-printers.c): Define.
7027         (CPPFLAGS-test-cond-printers.c): Define.
7028         (CPPFLAGS-test-rwlockattr-printers.c): Define.
7029         (CPPFLAGS-test-rwlock-printers.c): Define.
7031         * nss/Makefile [ifeq (yes,$(have-thread-library))]
7032         (tests): Add tst-cancel-getpwuid_r.
7033         * nss/tst-cancel-getpwuid_r.c: New file.
7035         [BZ #11941]
7036         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
7037         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
7038         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
7039         tst-nodelete-dlclose.
7040         (modules-names): Add tst-nodelete-dlclose-dso and
7041         tst-nodelete-dlclose-plugin.
7042         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
7043         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
7044         ($(objpfx)tst-nodelete-dlclose): Define.
7045         ($(objpfx)tst-nodelete-dlclose.out): Define.
7047 2016-12-23  Florian Weimer  <fweimer@redhat.com>
7049         * scripts/test_printers_common.py: Log GDB output in case of
7050         Python detection failure.
7052 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7054         * configure.ac: Check for python3 or python.
7055         * configure: Regenerated.
7056         * config.make.in (PYTHON): New variable.
7057         * benchtests/Makefile: Don't define PYTHON.
7058         (bench): Define target only if PYTHON was defined.
7059         * Rules: Don't define PYTHON.
7060         Define pretty printer targets only if PYTHON was defined.
7061         (tests-printers): Add to tests-unsupported if PYTHON is not
7062         found.
7063         (python-flags, python-invoke): Remove.
7064         (tests-printers-out): Use PYTHON instead of python-invoke.
7066 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
7068         [BZ #20978]
7069         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7070         Compare name == NULL, not name != NULL.
7072         * manual/texinfo.tex: Update to version 2016-09-18.18 with
7073         trailing whitespace removed.
7074         * scripts/config.guess: Update to version 2016-10-02.
7075         * scripts/config.sub: Update to version 2016-11-19.
7076         * scripts/install-sh: Update to version 2016-01-11.22.
7077         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
7078         * scripts/move-if-change: Update to version 2016-01-11 22:04.
7080 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
7082         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
7083         (do_one_test) Restore original string so iteration works.
7084         * string/string-inlines.c (do_test): Create better input strings.
7085         (test_main) Reduce number of testruns.
7086         * string/string-inlines.c (__old_strsep_1c): New function.
7087         (__old_strsep_2c): Likewise.
7088         (__old_strsep_3c): Likewise.
7089         * string/strsep.c (__strsep): Remove case of small delim string.
7090         Call strcspn directly rather than strpbrk.
7091         * string/bits/string2.h (__strsep): Remove define.
7092         (__strsep_1c): Remove.
7093         (__strsep_2c): Remove.
7094         (__strsep_3c): Remove.
7095         (strsep): Remove.
7096         * sysdeps/unix/sysv/linux/internal_statvfs.c
7097         (__statvfs_getflags): Rename to __strsep.
7099 2016-12-21  Florian Weimer  <fweimer@redhat.com>
7101         * csu/libc-tls.c (_dl_tls_setup): Remove.
7102         * elf/dl-tls.c (_dl_tls_setup): Likewise.
7103         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
7104         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
7106 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
7108         [BZ #7065]
7109         * sysdeps/x86_64/Makefile [$(subdir) = elf]
7110         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
7112 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
7113             Florian Weimer  <fweimer@redhat.com>
7115         [BZ #7065]
7116         * csu/Makefile (tests): Empty assignment and document it.
7117         (tests-static): Remove.
7118         * csu/tst-empty.c: Move to...
7119         * misc/tst-empty.c: ... here.  Switch to new test driver.
7120         * csu/tst-atomic.c: Move to...
7121         * misc/tst-atomic.c: ... here.  Switch to new test driver.
7122         * csu/tst-atomic-long.c: Move to...
7123         * misc/tst-atomic-long.c: ... here.
7124         * misc/Makefile (tests): Add tst-empty, tst-atomic,
7125         tst-atomic-long.
7126         (tests-static): Add tst-empty.
7128 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
7130         * manual/nss.texi: Change incorrect @vtable to @table.
7131         * manual/arith.texi: Convert @tables of variables to @vtables
7132         and remove unnecessary indexing.
7133         * manual/filesys.texi: Likewise.
7134         * manual/llio.texi: Likewise.
7135         * manual/memory.texi: Likewise.
7136         * manual/process.texi: Likewise.
7137         * manual/resource.texi: Likewise.
7138         * manual/search.texi: Likewise.
7139         * manual/signal.texi: Likewise.
7140         * manual/socket.texi: Likewise.
7141         * manual/stdio.texi: Likewise.
7142         * manual/sysinfo.texi: Likewise.
7143         * manual/syslog.texi: Likewise.
7144         * manual/terminal.texi: Likewise.
7145         * manual/time.texi: Likewise.
7146         * manual/users.texi: Likewise.
7148 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
7150         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7151         (roundeven): New declaration.
7152         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
7153         macro.
7154         * math/Versions (roundeven): New libm symbol at version
7155         GLIBC_2.25.
7156         (roundevenf): Likewise.
7157         (roundevenl): Likewise.
7158         * math/Makefile (libm-calls): Add s_roundevenF.
7159         * math/libm-test.inc (roundeven_test_data): New array.
7160         (roundeven_test): New function.
7161         (main): Call roundeven_test.
7162         * math/test-tgmath.c (NCALLS): Increase to 134.
7163         (F(compile_test)): Call roundeven.
7164         (F(roundeven)): New function.
7165         * manual/arith.texi (Rounding Functions): Document roundeven,
7166         roundevenf and roundevenl.
7167         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
7168         * include/math.h (roundeven): Use libm_hidden_proto.
7169         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
7170         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
7171         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
7172         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
7173         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
7174         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
7175         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7176         roundeven.
7177         (CFLAGS-nldbl-roundeven.c): New variable.
7178         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
7179         * sysdeps/nacl/libm.abilist: Update.
7180         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7181         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7182         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7183         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7184         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7185         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7186         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7187         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7188         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7189         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7190         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7191         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7193         Likewise.
7194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7195         Likewise.
7196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7197         Likewise.
7198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7199         Likewise.
7200         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7201         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7202         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7203         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7204         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7205         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7206         Likewise.
7207         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7208         Likewise.
7209         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7210         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7211         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7213 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
7215         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
7216         preprocessor indentation inside #if.
7218 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7220         * math/libm-test.inc (fmt_ftostr): New function.
7221         (print_float, check_float_internal): Replace some uses of
7222         FTOSTR with uses of fmt_ftostr.
7223         (print_max_error, print_complex_max_error, print_function_ulps)
7224         (print_complex_function_ulps): Remove uses of the macros
7225         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
7226         * math/test-double.h (FTOSTR): Define to strfromd.
7227         (PRINTF_EXPR): Delete.
7228         (PRINTF_XEXPR): Likewise.
7229         (PRINTF_NEXPR): Likewise.
7230         * math/test-float.h (FTOSTR): Define to strfromf.
7231         (PRINTF_EXPR): Delete.
7232         (PRINTF_XEXPR): Likewise.
7233         (PRINTF_NEXPR): Likewise.
7234         * math/test-ldouble.h (FTOSTR): Define to strfroml.
7235         (PRINTF_EXPR): Delete.
7236         (PRINTF_XEXPR): Likewise.
7237         (PRINTF_NEXPR): Likewise.
7239 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7241         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
7242         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
7243         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
7244         (__lll_lock_elision): Decrement adapt_count while unlocking
7245         instead of before locking.
7246         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
7247         (__lll_trylock_elision): Likewise.
7248         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
7249         (__lll_unlock_elision): Likewise.
7251 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7253         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
7254         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
7255         Use __libc_tbegin_retry macro.
7257 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7259         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
7260         Add -msoft-float.
7261         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
7262         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
7263         Use __libc_t* transaction macros instead of __builtin_t*.
7264         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7265         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
7267 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7269         * sysdeps/unix/sysv/linux/s390/elision-lock.c
7270         (__lll_lock_elision): Use atomics to load / store adapt_count.
7271         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
7272         (__lll_trylock_elision): Likewise.
7274 2016-12-20  Florian Weimer  <fweimer@redhat.com>
7276         Do not require memset elimination in explicit_bzero test.
7277         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
7278         (enum test_expectation): Add NO_EXPECTATIONS.
7279         (subtests): NO_EXPECTATIONS for ordinary clear.
7280         (check_test_buffer): Handle NO_EXPECTATIONS.
7281         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
7283 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
7285         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7286         (fmaxmag): New declaration.
7287         (fminmag): Likewise.
7288         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
7289         macro.
7290         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
7291         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
7292         (fmaxmagf): Likewise.
7293         (fmaxmagl): Likewise.
7294         (fminmag): Likewise.
7295         (fminmagf): Likewise.
7296         (fminmagl): Likewise.
7297         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
7298         * math/s_fmaxmag_template.c: New file.
7299         * math/s_fminmag_template.c: Likewise.
7300         * math/libm-test.inc (fmaxmag_test_data): New array.
7301         (fmaxmag_test): New function.
7302         (fminmag_test_data): New array.
7303         (fminmag_test): New function.
7304         (main): Call fmaxmag_test and fminmag_test.
7305         * math/test-tgmath.c (NCALLS): Increase to 132.
7306         (F(compile_test)): Call fmaxmag and fminmag.
7307         (F(fminmag)): New function.
7308         (F(fmaxmag)): Likewise.
7309         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
7310         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
7311         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
7312         fminmag.
7313         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
7314         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
7315         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
7316         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
7317         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
7318         and fminmag.
7319         (CFLAGS-nldbl-fmaxmag.c): New variable.
7320         (CFLAGS-nldbl-fminmag.c): Likewise.
7321         * sysdeps/nacl/libm.abilist: Update.
7322         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7323         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7324         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7325         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7326         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7327         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7328         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7329         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7330         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7331         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7332         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7333         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7335         Likewise.
7336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7337         Likewise.
7338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7339         Likewise.
7340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7341         Likewise.
7342         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7343         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7344         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7345         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7346         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7347         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7348         Likewise.
7349         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7350         Likewise.
7351         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7352         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7353         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7355 2016-12-19  Torvald Riegel  <triegel@redhat.com>
7357         [BZ #20973]
7358         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
7359         wake-up in robust mutexes.
7360         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
7362 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7364         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
7365         (CFLAGS-bench-fmaxf.c): New rule.
7366         (CFLAGS-bench-fminf.c): Likewise.
7367         * benchtests/fmaxf-inputs: New file.
7368         * benchtests/fminf-inputs: Likewise.
7370         * benchtests/Makefile (bench-math): Add fmin and fmax.
7371         (CFLAGS-bench-fmax.c): New rule.
7372         (CFLAGS-bench-fmin.c): Likewise.
7373         * benchtests/fmax-inputs: New file.
7374         * benchtests/fmin-inputs: Likewise.
7376         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
7377         parenthesis.
7378         (CMDLINE_PROCESS): Define using function instead of macro.
7379         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
7380         of test-skeleton.
7381         * benchtests/bench-memchr.c: Likewise.
7382         * benchtests/bench-memcmp.c: Likewise.
7383         * benchtests/bench-memcpy-large.c: Likewise.
7384         * benchtests/bench-memcpy.c: Likewise.
7385         * benchtests/bench-memmem.c: Likewise.
7386         * benchtests/bench-memmove-large.c: Likewise.
7387         * benchtests/bench-memmove.c: Likewise.
7388         * benchtests/bench-memset-large.c: Likewise.
7389         * benchtests/bench-memset.c: Likewise.
7390         * benchtests/bench-rawmemchr.c: Likewise.
7391         * benchtests/bench-strcasecmp.c: Likewise.
7392         * benchtests/bench-strcasestr.c: Likewise.
7393         * benchtests/bench-strcat.c: Likewise.
7394         * benchtests/bench-strchr.c: Likewise.
7395         * benchtests/bench-strcmp.c: Likewise.
7396         * benchtests/bench-strcpy.c: Likewise.
7397         * benchtests/bench-strcpy_chk.c: Likewise.
7398         * benchtests/bench-strlen.c: Likewise.
7399         * benchtests/bench-strncasecmp.c: Likewise.
7400         * benchtests/bench-strncmp.c: Likewise.
7401         * benchtests/bench-strncpy.c: Likewise.
7402         * benchtests/bench-strnlen.c: Likewise.
7403         * benchtests/bench-strpbrk.c: Likewise.
7404         * benchtests/bench-strrchr.c: Likewise.
7405         * benchtests/bench-strsep.c: Likewise.
7406         * benchtests/bench-strspn.c: Likewise.
7407         * benchtests/bench-strstr.c: Likewise.
7408         * benchtests/bench-strtok.c: Likewise.
7410 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
7412         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
7413         stepping identification.
7414         (init_cpu_features): Add handle of Haswell.
7416 2016-11-25  Jim Meyering  <meyering@fb.com>
7418         [BZ #20386]
7419         Let gcc detect assert(a = 1) errors.
7420         * assert/assert.h (assert): Rewrite, retaining the old definintion
7421         when required, but otherwise putting the expression as-is in an "if"
7422         expression (hence, with no added parentheses) within a statement
7423         expression.
7425 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7427         * benchtests/Makefile (binaries-benchset): Depend on libsupport
7428         DSO.
7430 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
7432         * Rules (python-flags, python-invoke): New.
7433         ($(test-printers-out)): Use $(python-flags).
7435 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
7437         * manual/arith.texi (Math Error Reporting): Document that sNaN
7438         arguments are not considered domain errors.
7440 2016-12-16  Zack Weinberg <zackw@panix.com>
7441             Florian Weimer <fweimer@redhat.com>
7442             Nick Mathewson <nickm@torproject.org>
7444         * string/explicit_bzero.c: New routine.
7445         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
7446         * string/Makefile (routines, strop-tests, tests): Add them.
7447         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
7448         * string/string.h [__USE_MISC]: Declare explicit_bzero.
7450         * debug/explicit_bzero_chk.c: New routine.
7451         * debug/Makefile (routines): Add it.
7452         * debug/tst-chk1.c: Test fortification of explicit_bzero.
7453         * string/bits/string3.h: Fortify explicit_bzero.
7455         * manual/string.texi: Document explicit_bzero.
7456         * NEWS: Mention addition of explicit_bzero.
7458         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
7459         data before returning, using explicit_bzero.
7460         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
7461         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7462         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7464         * include/string.h: Redirect internal uses of explicit_bzero
7465         to __explicit_bzero_chk[_internal].
7466         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
7467         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
7468         * sysdeps/arm/nacl/libc.abilist
7469         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
7470         * sysdeps/unix/sysv/linux/alpha/libc.abilist
7471         * sysdeps/unix/sysv/linux/arm/libc.abilist
7472         * sysdeps/unix/sysv/linux/hppa/libc.abilist
7473         * sysdeps/unix/sysv/linux/i386/libc.abilist
7474         * sysdeps/unix/sysv/linux/ia64/libc.abilist
7475         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
7476         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
7477         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
7478         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7479         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7480         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7481         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7482         * sysdeps/unix/sysv/linux/nios2/libc.abilist
7483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7487         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
7488         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
7489         * sysdeps/unix/sysv/linux/sh/libc.abilist
7490         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
7491         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
7492         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
7493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
7494         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
7495         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
7496         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
7497         Add entries for explicit_bzero and __explicit_bzero_chk.
7499 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
7501         * math/fenv.h
7502         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
7503         (FE_SNANS_ALWAYS_SIGNAL): New macro.
7504         * math/test-fe-snans-always-signal.c: New file.
7505         * math/Makefile (tests): Add test-fe-snans-always-signal.
7506         (CFLAGS-test-fe-snans-always-signal.c): New variable.
7507         * manual/arith.texi (Infinity and NaN): Document
7508         FE_SNANS_ALWAYS_SIGNAL.
7510 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7512         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
7513         bracket.
7515 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
7517         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
7518         before calling execv.
7520 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7522         [BZ #20971]
7523         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
7524         overflow in pointer addition.
7525         * string/test-memchr.c (do_test): Add an argument to pass as
7526         the size on memchr.
7527         (test_main): Add check for SIZE_MAX.
7529 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7531         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
7532         (libm-calls): Add w_scalblnF.
7533         * math/w_scalbln.c: Remove.
7534         * math/w_scalblnf.c: Likewise.
7535         * math/w_scalblnl.c: Likewise.
7536         * math/w_scalbln_template.c: New file with type-generic
7537         implementation based on math/w_scalbln.c.
7538         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
7539         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
7541 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
7543         [BZ #20947]
7544         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
7545         either is a signaling NaN.
7546         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
7547         follow fmaxl more closely.
7548         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
7549         when either is a signaling NaN.
7550         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
7551         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
7552         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
7553         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
7554         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
7555         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
7556         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
7557         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
7558         (fmin_test_data): Likewise.
7560 2016-12-15  Andreas Schwab  <schwab@suse.de>
7562         * support/support_test_main.c (support_test_main): Don't shadow
7563         file-local variable test_pid.
7565 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
7567         [BZ #20947]
7568         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
7569         either is a signaling NaN.
7570         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
7572 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
7574         [BZ #20947]
7575         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
7576         when either is a signaling NaN.
7577         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
7579         * bits/long-double.h: New file.
7580         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
7581         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
7582         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
7583         * sysdeps/mips/bits/long-double.h: Likewise.
7584         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
7585         * math/Makefile (headers): Add bits/long-double.h.
7586         * misc/sys/cdefs.h: Include <bits/long-double.h>.
7587         * stdlib/strtold.c: Include <bits/long-double.h> instead of
7588         <bits/wordsize.h>.
7589         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
7590         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
7591         * math/math.h: Do not include <bits/mathdef.h>.
7592         * sysdeps/aarch64/bits/mathdef.h: Remove file.
7593         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
7594         inclusion.
7595         * sysdeps/ia64/bits/mathdef.h: Remove file.
7596         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
7597         * sysdeps/mips/bits/mathdef.h: Likewise.
7598         * sysdeps/powerpc/bits/mathdef.h: Likewise.
7599         * sysdeps/s390/bits/mathdef.h: Likewise.
7600         * sysdeps/sparc/bits/mathdef.h: Likewise.
7601         * sysdeps/x86/bits/mathdef.h: Likewise.
7602         * sysdeps/s390/s390-32/bits/wordsize.h
7603         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
7604         conditional code.
7605         * sysdeps/s390/s390-64/bits/wordsize.h
7606         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
7607         Likewise.
7608         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
7609         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
7610         Likewise.
7611         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
7612         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
7613         Likewise.
7614         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
7615         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
7616         Likewise.
7618         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
7619         <linux/falloc.h>.
7620         (FALLOC_FL_KEEP_SIZE): Remove.
7621         (FALLOC_FL_PUNCH_HOLE): Likewise.
7622         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
7623         (FALLOC_FL_ZERO_RANGE): Likewise.
7625 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7627         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
7629 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7631         * sysdeps/unix/sysv/linux/renameat.c: New file.
7632         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
7634         * sysdeps/unix/sysv/linux/rename.c: New file.
7635         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
7637 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
7639         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
7640         * string/strtok.c (strtok): Change to tailcall __strtok_r.
7641         * string/strtok_r.c (__strtok_r): Optimize for performance.
7642         * string/string-inlines.c (__old_strtok_r_1c): New function.
7643         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
7645 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7647         * math/Makefile (gen-libm-calls): Add w_log1pF.
7648         (libm-calls): Remove w_log1pF.
7649         * math/w_log1p.c: Remove.
7650         * math/w_log1pf.c: Likewise.
7651         * math/w_log1pl.c: Likewise.
7652         * math/w_log1p_template.c: New file with type-generic
7653         implementation based on math/w_log1p.c.
7654         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
7655         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
7657 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
7659         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
7661 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
7663         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7664         kernel version to 4.9.
7666 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
7668         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
7669         ($(inst_libdir)/libm.a): Fix rule to create the target only.
7671 2016-12-13  Andreas Schwab  <schwab@suse.de>
7673         * sysdeps/powerpc/dl-procinfo.c: Don't define
7674         _dl_powerpc_platforms.
7675         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
7676         constants instead of referencing _dl_powerpc_platforms.
7677         (_dl_platform_string): Remove.
7679 2016-12-13  Florian Weimer  <fweimer@redhat.com>
7681         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
7683 2016-12-13  Florian Weimer  <fweimer@redhat.com>
7685         * Rules (binaries-shared-tests, binaries-pie-tests)
7686         (binaries-static-tests): Link with $(link-extra-libs-tests).
7687         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
7688         Remove $(link-extra-libs-tests).
7690 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7692         * sysdeps/powerpc/powerpc64/multiarch/Makefile
7693         (sysdep_routines): Add strncmp_power9.
7694         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7695         (strncmp): Add __strncmp_power9 to list of strncmp functions.
7696         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
7697         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
7698         (strncmp): Add __strncmp_power9 to ifunc list.
7699         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
7701 2016-12-12  Florian Weimer  <fweimer@redhat.com>
7703         [BZ #17252]
7704         Add getentropy, getrandom.
7705         * stdlib/sys/random.h: New file.
7706         (headers): Add it.
7707         * stdlib/Makefile (routines): Add getentropy, getrandom.
7708         (tests): Add tst-getrandom.
7709         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
7710         * stdlib/getentropy.c: New file.
7711         * stdlib/getrandom.c: Likewise.
7712         * stdlib/tst-getrandom.c: Likewise.
7713         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
7714         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
7715         * manual/crypt.texi (Unpredictable Bytes): New section.
7716         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
7717         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
7718         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
7719         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7720         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7721         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7722         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7723         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7724         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7725         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7726         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7727         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7728         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7729         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7730         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7731         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7733         Likewise.
7734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7735         Likewise.
7736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7738         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7739         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7740         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7741         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7742         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7744         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7745         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7746         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7747         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7749 2016-12-10  Florian Weimer  <fweimer@redhat.com>
7751         [BZ #20956]
7752         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
7753         as additional compiler barriers.
7754         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
7755         (fn2, do_test): Declare with external linkage.
7756         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
7757         (do_test): Declare with external linkage.
7758         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
7759         (do_test): Declare with external linkage.
7760         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
7761         (do_test): Declare with external linkage.
7763 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
7765         * support/support_test_main.c (support_test_main): Use correct
7766         timeout.
7768 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
7769             Florian Weimer  <fweimer@redhat.com>
7771         [BZ #16421]
7772         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
7773         and __u6_addr32 members.
7774         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
7775         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
7776         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
7777         Use __u6_addr32.
7778         * inet/tst-checks.c: Use <support/test-driver.c>
7779         * inet/tst-checks-posix.c: New file.
7780         * inet/Makefile (tests): Add it.
7781         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
7783 2016-12-09  Florian Weimer  <fweimer@redhat.com>
7785         New subdirectory support for build and test infrastructure.
7786         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
7787         setting install-lib.
7788         * Makeconfig (link-extra-libs-tests): Define.
7789         (+link-pie-tests, +link-static-tests, +link-tests): Use
7790         link-extra-libs-tests.
7791         (rpath-dirs, all-subdirs): Add support.
7792         (built-modules): Add libsupport.
7793         (libsupport): Define.
7794         * support: New directory.
7795         * support/Makefile: New file.
7796         * support/check.c: Likewise.
7797         * support/check.h: Likewise.
7798         * support/delayed_exit.c: Likewise.
7799         * support/ignore_stderr.c: Likewise.
7800         * support/oom_error.c: Likewise.
7801         * support/set_fortify_handler.c: Likewise.
7802         * support/support.h: Likewise.
7803         * support/temp_file-internal.h: Likewise.
7804         * support/temp_file.c: Likewise.
7805         * support/test-driver.c: Likewise.
7806         * support/test-driver.h: Likewise.
7807         * support/test_main.c: Likewise.
7808         * support/write_message.c: Likewise.
7809         * support/xasprintf.c: Likewise.
7810         * support/xcalloc.c: Likewise.
7811         * support/xmalloc.c: Likewise.
7812         * support/xpthread_barrier_destroy.c: Likewise.
7813         * support/xpthread_barrier_init.c: Likewise.
7814         * support/xpthread_barrier_wait.c: Likewise.
7815         * support/xpthread_cancel.c: Likewise.
7816         * support/xpthread_check_return.c: Likewise.
7817         * support/xpthread_cond_wait.c: Likewise.
7818         * support/xpthread_create.c: Likewise.
7819         * support/xpthread_detach.c: Likewise.
7820         * support/xpthread_join.c: Likewise.
7821         * support/xpthread_mutex_lock.c: Likewise.
7822         * support/xpthread_mutex_unlock.c: Likewise.
7823         * support/xpthread_sigmask.c: Likewise.
7824         * support/xpthread_spin_lock.c: Likewise.
7825         * support/xpthread_spin_unlock.c: Likewise.
7826         * support/xrealloc.c: Likewise.
7827         * support/xsignal.h: Likewise.
7828         * support/xthread.h: Likewise.
7829         * support_tempfile.h: Likewise.
7830         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
7831         (TEST_DATA_LIMIT): Remove unused macro.
7832         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
7833         <support/check.h>.
7834         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
7835         (ignore_stderr, set_fortify_handler): Remove.  Now in
7836         <support/support.h>.
7837         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
7838         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
7839         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
7840         (xpthread_join): Remove.  Now in <support/xthread.h>.
7841         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
7842         Introduce legacy wrappers.
7843         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
7844         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
7845         (write_message): Remove.
7846         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
7847         test-skeleton.c.
7848         * io/test-open-tmpfile: Likewise.
7849         * io/tst-posix_fallocate-common.c: Likewise.
7850         * libio/tst-fseek.c: Likewise.
7851         * malloc/tst-malloc-backtrace.c: Likewise.
7852         * malloc/tst-malloc-fork-deadlock.c: Likewise.
7853         * malloc/tst-malloc-thread-exit.c: Likewise.
7854         * nptl/tst-cancel7.c: Likewise.
7855         * nptl/tst-cleanup0.c: Likewise.
7856         * posix/tst-posix_fadvise-common.c: Likewise.
7857         * rt/tst-shm.c: Likewise.
7858         * time/bug-getdate1.c: Likewise.
7859         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
7860         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
7861         * elf/Makefile (tst-piemod1.so): Link against libsupport.
7863 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
7865         * Rules [$(run-built-tests) != no] (tests-expected): Add
7866         $(tests-printers).
7867         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
7869 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
7871         [BZ #20539]
7872         * math/Makefile (install-lib-ldscripts): Add libm.a.
7873         (install_subdir): Remove.
7874         (install-others): Add.
7875         ($(inst_libdir)/libm.a): Add rule for installation as
7876         linker script.
7877         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
7879 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
7881         * INSTALL: Regenerated.
7882         * Makeconfig: Add comments and whitespace to make the control flow
7883         clearer.
7884         (+link-printers-tests, +link-pie-printers-tests,
7885         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
7886         built-rtld-LDFLAGS, link-libc-rpath,
7887         link-libc-tests-after-rpath-link,
7888         link-libc-printers-tests): New.
7889         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
7890         link-libc-tests): Use the new variables as required.
7891         * Makerules ($(py-const)): New rule.
7892         generated: Add $(py-const).
7893         * README.pretty-printers: New file.
7894         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
7895         (others): Depend on $(py-const).
7896         (tests): Depend on $(tests-printers-programs) or
7897         $(tests-printers-out),
7898         as required.  Pass $(tests-printers) to merge-test-results.sh.
7899         * manual/install.texi: Add requirements for testing the pretty
7900         printers.
7901         * nptl/Makefile (gen-py-const-headers, pretty-printers,
7902         tests-printers, CFLAGS-test-mutexattr-printers.c
7903         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
7904         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
7905         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
7906         * nptl/nptl-printers.py: New file.
7907         * nptl/nptl_lock_constants.pysym: Likewise.
7908         * nptl/test-cond-printers.c: Likewise.
7909         * nptl/test-cond-printers.py: Likewise.
7910         * nptl/test-condattr-printers.c: Likewise.
7911         * nptl/test-condattr-printers.py: Likewise.
7912         * nptl/test-mutex-printers.c: Likewise.
7913         * nptl/test-mutex-printers.py: Likewise.
7914         * nptl/test-mutexattr-printers.c: Likewise.
7915         * nptl/test-mutexattr-printers.py: Likewise.
7916         * nptl/test-rwlock-printers.c: Likewise.
7917         * nptl/test-rwlock-printers.py: Likewise.
7918         * nptl/test-rwlockattr-printers.c: Likewise.
7919         * nptl/test-rwlockattr-printers.py: Likewise.
7920         * scripts/gen-py-const.awk: Likewise.
7921         * scripts/test_printers_common.py: Likewise.
7922         * scripts/test_printers_exceptions.py: Likewise.
7924 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
7926         * scripts/build-many-glibcs.py (Context.__init__): Take strip
7927         argument.
7928         (Glibc.build_glibc): Strip installed shared libraries if
7929         requested.
7930         (get_parser): Add --strip option.
7931         (main): Update Context call.
7933 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7934             Dominik Vogt  <vogt@linux.vnet.ibm.com>
7936         [BZ #20847]
7937         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
7938         array bounds for else branch.
7939         (__execvpe): Style fixes.
7940         * posix/tst-vfork3.c (run_script): New function.
7941         (create_script): Likewise.
7942         (do_test): Use run_script internal function.
7943         (do_prepare): Use create_script internal function.
7945 2016-12-07  Andreas Schwab  <schwab@suse.de>
7947         * sysdeps/unix/sysv/linux/x86/elision-conf.h
7948         (__elision_available): Don't declare.
7949         * sysdeps/unix/sysv/linux/x86/elision-conf.c
7950         (__elision_available): Don't define.
7951         (elision_init): Don't set __elision_available.
7953 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
7955         [BZ #20940]
7956         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
7957         return Inf for arguments Inf and sNaN.
7958         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
7959         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7960         Likewise.
7961         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
7962         Likewise.
7963         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
7964         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
7965         for arguments Inf and sNaN.  When returning a NaN, compute it by
7966         arithmetic on the arguments.
7967         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
7968         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
7969         arguments.
7971 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
7973         [BZ #20916]
7974         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
7975         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
7976         to compute result.
7977         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7978         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
7980 2016-12-05  Torvald Riegel  <triegel@redhat.com>
7982         * include/atomic.h (__atomic_check_size_ls): New.
7983         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
7984         atomic_store_release): Use it.
7985         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
7986         (elision_adapt, ELIDE_LOCK): Use atomics.
7987         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
7988         atomics and improve code comments.
7989         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
7990         (__lll_trylock_elision): Likewise.
7992 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7994         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
7995         programs.
7997 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
7999         [BZ #20916]
8000         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
8001         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
8002         arguments to compute result.
8003         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
8004         1 for arguments (sNaN, 0) or (1, sNaN).
8005         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
8006         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8008         [BZ #20919]
8009         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
8010         NaN first argument when raised to power 0.
8011         * math/w_pow.c (__pow): Do not check for NaN or zero results from
8012         raising to power zero.
8013         * math/w_powf.c (__powf): Likewise.
8014         * math/w_powl.c (__powl): Likewise.
8015         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
8016         pow (0, 0) or pow (NaN, 0).
8018 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
8020         [BZ #20918]
8021         * configure.ac: Test for static NSS cryptographic libraries and set
8022         libc_cv_static_nss_crypt.
8023         * configure: Regenerate.
8024         * config.make.in (static-nss-crypt): Define.
8025         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
8026         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
8027         (CFLAGS-tst-linkall-static.c): Define.
8028         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
8029         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
8030         ($(objpfx)tst-linkall-static): Define.
8031         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
8032         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
8034 2016-12-02  Florian Weimer  <fweimer@redhat.com>
8036         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
8037         (one-hundred, tst-tls-many-dynamic-modules): Define.
8038         (modules-names): Add $(tst-tls-many-dynamic-modules).
8039         (tst-tls-manydynamic%mod.os): Build with special preprocessor
8040         macros.
8041         (tst-tls-manydynamic): Link against libdl, libpthread.
8042         (tst-tls-manydynamic.out): The test needs the test modules at run
8043         time.
8044         * elf/tst-tls-manydynamic.c: New file.
8045         * elf/tst-tls-manydynamic.h: Likewise.
8046         * elf/tst-tls-manydynamicmod.c: Likewise.
8048 2016-12-02  Florian Weimer  <fweimer@redhat.com>
8050         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
8051         (TLS_DTV_UNALLOCATED): Add.
8052         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
8053         offsets.
8055 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
8057         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8059 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
8061         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
8062         Add -fno-optimize-sibling-calls.
8064 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
8066         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
8067         New declaration.
8068         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
8069         macro.
8070         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
8071         New macro.
8072         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
8073         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
8074         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
8075         (llogbf): Likewise.
8076         (llogbl): Likewise.
8077         * math/Makefile (gen-libm-calls): Add w_llogbF.
8078         (tests): Add test-fp-llogb-constants.
8079         * math/w_llogb_template.c: New file.  Based on
8080         math/w_ilogb_template.c.
8081         * math/libm-test.inc (llogb_test_data): New array.
8082         (llogb_test): New function.
8083         (main): Call llogb_test.
8084         * math/test-fp-llogb-constants.c: New file.  Based on
8085         math/test-fp-ilogb-constants.c.
8086         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
8087         (do_test): Call check_return_llogb.
8088         * math/test-tgmath.c (NCALLS): Increase to 126.
8089         (F(compile_test)): Call llogb.
8090         (F(llogb)): New function.
8091         * manual/math.texi (Exponents and Logarithms): Document llogb,
8092         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
8093         * manual/libm-err-tab.pl (@all_functions): Add llogb.
8094         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
8095         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
8096         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
8097         (CFLAGS-nldbl-llogb.c): New variable.
8098         * sysdeps/nacl/libm.abilist: Update.
8099         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8100         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8101         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8102         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8103         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8104         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8105         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8106         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8107         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8108         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8109         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8110         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8112         Likewise.
8113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8114         Likewise.
8115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8116         Likewise.
8117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8118         Likewise.
8119         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8120         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8121         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8122         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8123         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8124         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8125         Likewise.
8126         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8127         Likewise.
8128         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8129         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8130         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8132 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
8134         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
8135         _Float128 instead of long double.
8136         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
8138         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
8139         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
8140         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
8141         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
8142         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
8143         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
8144         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
8145         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
8146         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
8147         Likewise.
8149 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8151         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
8152         Remove redirection to __strrchr_ppc.
8154 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8156         * sysdeps/powerpc/powerpc64/multiarch/Makefile
8157         (sysdep_routines): Add strcmp_power9.
8158         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8159         (strcmp): Add __strcmp_power9 to list of strcmp functions.
8160         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
8161         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
8162         (strcmp): Add __strcmp_power9 to ifunc list.
8163         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
8165 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
8167         * bits/fp-logb.h: New file.
8168         * sysdeps/ia64/bits/fp-logb.h: Likewise.
8169         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
8170         * sysdeps/x86/bits/fp-logb.h: Likewise.
8171         * math/Makefile (headers): Add bits/fp-logb.h.
8172         * math/math.h: Include <bits/fp-logb.h>.
8173         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
8174         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
8175         * bits/mathdef.h (FP_ILOGB0): Remove.
8176         (FP_ILOGBNAN): Likewise.
8177         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
8178         (FP_ILOGBNAN): Likewise.
8179         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
8180         (FP_ILOGBNAN): Likewise.
8181         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
8182         (FP_ILOGBNAN): Likewise.
8183         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
8184         (FP_ILOGBNAN): Likewise.
8185         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
8186         (FP_ILOGBNAN): Likewise.
8187         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
8188         (FP_ILOGBNAN): Likewise.
8189         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
8190         (FP_ILOGBNAN): Likewise.
8191         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
8192         (FP_ILOGBNAN): Likewise.
8193         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
8194         (FP_ILOGBNAN): Likewise.
8196         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
8197         time module.
8198         (Context.__init__): Initialize self.logsdir_old.
8199         (Context.run_builds): Handle bot action.
8200         (Context.bot_cycle): Copy logs directory before running builds.
8201         (Context.bot_run_self): Take argument for whether to check
8202         subprocess result.  Flush stdout before running subprocess.
8203         (Context.bot): New function.
8204         (get_parser): Allow bot action.
8206 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
8208         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
8209         Import email.mime.text, email.utils and smtplib modules.
8210         (Context.__init__): Initialize self.bot_config_json.
8211         (Context.run_builds): Handle bot-cycle action.
8212         (Context.load_bot_config_json): New function.
8213         (Context.part_build_old): Likewise.
8214         (Context.bot_cycle): Likewise.
8215         (Context.bot_build_mail): Likewise.
8216         (Context.bot_run_self): Likewise.
8217         (get_parser): Allow bot-cycle action.
8219 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8221         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
8222         Remove redirection to __stpcpy_ppc.
8224 2016-11-30  Florian Weimer  <fweimer@redhat.com>
8226         Remove __libc_memalign from ld.so because it is unused.
8227         * elf/dl-minimal.c: Update comment on the malloc implementation.
8228         (malloc): Renamed from __libc_memalign, replacing the original
8229         malloc implementation.  Replace the align parameter with
8230         MALLOC_ALIGNMENT.
8231         * elf/Versions (ld): Update comment and remove __libc_memalign.
8232         * sysdeps/nacl/ld.abilist: Likewise.
8233         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
8234         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
8235         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
8236         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
8237         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
8238         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
8239         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
8240         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
8241         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
8242         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
8243         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
8244         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
8245         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
8246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
8247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
8248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
8249         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
8250         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
8251         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
8252         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
8253         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
8254         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
8255         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
8256         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
8257         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
8258         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
8259         * sysdeps/generic/localplt.data (ld.so): Likewise.
8260         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
8261         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
8262         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
8263         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
8264         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
8265         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
8266         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
8267         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
8268         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
8269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
8270         (ld.so): Likewise.
8271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
8272         (ld.so): Likewise.
8273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
8274         Likewise.
8275         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
8276         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
8277         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
8278         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
8279         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
8281 2016-11-30  Florian Weimer  <fweimer@redhat.com>
8283         [BZ #16628]
8284         Implement _dl_catch_error, _dl_signal_error in libc.so.
8285         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
8286         (catch_hook): Define as thread-local or regular variable,
8287         depending on DL_ERROR_BOOTSTRAP.
8288         (CATCH_HOOK): Remove.
8289         (dl_signal_error, _dl_catch_error): Use
8290         catch_hook.  Add hidden definition for libc.
8291         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
8292         for DL_ERROR_BOOTSTRAP only.
8293         * elf/dl-error.c: New file.
8294         * elf/dl-error-minimal.c: Likewise.
8295         * elf/tst-latepthread.c: Likewise.
8296         * elf/tst-latepthreadmod.c: Likewise.
8297         * elf/Makefile (routines): Add dl-error.
8298         (dl-routines): Remove dl-error.
8299         (rtld-routines): Add dl-error-minimal.
8300         [build-shared] (tests): Add tst-latepthread.
8301         (module-names): Add tst-latepthreadmod.
8302         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
8303         symbol.
8304         (tst-latepthreadmod.so): Link against libpthread.
8305         (tst-latepthread): Link against libdbl.
8306         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
8307         _dl_catch_error.
8308         [ld] (GLIBC_PRIVATE): Likewise.
8309         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
8310         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
8311         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
8312         directly.
8313         * elf/dl-tsd.c: Remove file.
8314         * elf/rtld.c (_rtld_global_ro): Remove initializers for
8315         _dl_catch_error, _dl_signal_error.
8316         (_dl_initial_error_catch_tsd): Remove definition.
8317         (do_preload): Remove initialization of dl_error_catch_tsd.
8318         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
8319         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
8320         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8321         * dlfcn/dlopen.c (dlopen_doit): Likewise.
8322         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
8323         set dl_error_catch_tsd.
8324         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
8325         _dl_error_catch_tsd member.
8326         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
8327         members.
8328         (_dl_initial_error_catch_tsd): Remove declaration.
8329         (_dl_dprintf): Provide definition for use outside of ld.so.
8330         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
8331         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
8332         prototype for libc.
8333         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
8334         _dl_catch_error.
8335         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
8336         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
8337         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
8338         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
8339         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
8340         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
8341         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
8342         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
8343         Likewise.
8344         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
8345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
8346         (ld.so): Likewise.
8347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
8348         (ld.so): Likewise.
8349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
8350         Likewise.
8351         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
8352         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
8353         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
8354         Likewise.
8355         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
8356         Likewise.
8357         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
8359 2016-11-30  Florian Weimer  <fweimer@redhat.com>
8361         [BZ #4099]
8362         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
8363         _IO_BUFSIZ (8192).
8365 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
8367         * PROJECTS: Remove file.
8369 2016-11-29  Florian Weimer  <fweimer@redhat.com>
8371         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
8373 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
8374             Steve Ellcey  <sellcey@caviumnetworks.com>
8376         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
8377         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
8378         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
8379         fxstatat.
8380         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
8381         lxstat.
8382         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
8383         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
8384         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
8385         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
8386         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
8387         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
8388         __xstat.
8390 2016-11-29  Florian Weimer  <fweimer@redhat.com>
8392         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
8393         Define.
8394         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
8395         definition.
8397 2016-11-29  Florian Weimer  <fweimer@redhat.com>
8399         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
8400         version and turn into strong alias.  Remove compat symbol.
8402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8403         (__longjmp): Remove.
8405 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
8407         * bits/fp-fast.h: New file.
8408         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
8409         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
8410         * math/Makefile (headers): Add bits/fp-fast.h.
8411         * math/math.h: Include <bits/fp-fast.h>.
8412         * bits/mathdef.h (FP_FAST_FMA): Remove.
8413         (FP_FAST_FMAF): Likewise.
8414         (FP_FAST_FMAL): Likewise.
8415         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
8416         (FP_FAST_FMAF): Likewise.
8417         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
8418         (FP_FAST_FMAF): Likewise.
8419         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
8420         (FP_FAST_FMAF): Likewise.
8421         (FP_FAST_FMAL): Likewise.
8422         * sysdeps/arm/bits/mathdef.h: Remove file.
8423         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
8424         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8425         * sysdeps/tile/bits/mathdef.h: Likewise.
8427 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
8429         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
8430         * math/w_ilogb.c: Remove.
8431         * math/w_ilogbf.c: Likewise.
8432         * math/w_ilogbl.c: Likewise.
8433         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
8434         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
8435         * math/Makefile (gen-libm-calls): Add w_ilogbF.
8436         (libm-calls): Remove w_ilogbF.
8437         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
8438         (LDOUBLE_ilogbl_libm_version): New macro.
8440         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
8442         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
8443         [!__STRICT_ANSI__ && !__cplusplus].
8445 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
8447         [BZ #20750]
8448         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
8449         of PIC.
8451 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
8452             Yury Norov  <ynorov@caviumnetworks.com>
8453             Steve Ellcey  <sellcey@caviumnetworks.com>
8455         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
8456         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
8457         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
8458         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
8459         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
8460         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
8461         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
8462         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
8463         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
8464         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
8465         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
8466         to get correct reg name for ILP32.
8467         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
8468         (RELA_SIZE): New Macro.
8469         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
8470         to support ILP32.
8471         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
8472         cast for ILP32 mode.
8473         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
8474         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
8475         * sysdeps/aarch64/memset.S (__memset): Ditto.
8476         * sysdeps/aarch64/strchr.S (strchr): Ditto.
8477         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
8478         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
8479         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
8480         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
8481         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
8482         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
8483         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
8484         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
8485         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
8486         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
8487         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
8488         change PTR_MANGLE call to use register numbers instead of names.
8489         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
8490         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
8491         ILP32 mode, change PTR_MANGLE calls to use register numbers.
8492         * sysdeps/aarch64/start.S (_start): Ditto.
8493         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
8494         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
8495         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
8496         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
8497         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
8498         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
8499         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
8500         Make defined values dependent on __ILP32__.
8501         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
8502         (sem_t): Change __align type.
8503         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
8504         PTR_SIZE): New Macros.
8505         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
8506         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
8507         Set when in ILP32 mode.
8508         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
8509         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
8510         Set elf flags for ILP32.
8511         (add_system_dir): Set ILP32 library directories.
8512         * sysdeps/unix/sysv/linux/aarch64/init-first.c
8513         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
8514         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
8515         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
8516         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
8517         New Macros.
8518         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
8520 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
8522         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
8523         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
8524         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
8526 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
8528         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
8529         <asm/cachectl.h>.
8531 2016-11-27  Zack Weinberg  <zackw@panix.com>
8533         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
8534         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
8536 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8538         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
8539         error_t to fix usage in C++ programs.
8541 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
8543         * scripts/build-many-glibcs.py: Import datetime module.
8544         (Context.__init__): Load JSON build state.  Initialize list of
8545         status logs.
8546         (Context.run_builds): Update saved build state.
8547         (Context.add_makefile_cmdlist): Update list of status logs.
8548         (Context.load_build_state_json): New function.
8549         (Context.store_build_state_json): Likewise.
8550         (Context.clear_last_build_state): Likewise.
8551         (Context.update_build_state): Likewise.
8552         (CommandList.status_logs): Likewise.
8554 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
8556         * scripts/build-many-glibcs.py (Context.__init__): Save text of
8557         script being executed.
8558         (Context.get_script_text): New function.
8559         (Context.exec_self): Likewise.
8560         (Context.checkout): Re-exec script if changed by checkout process.
8562 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
8564         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8565         (setpayloadsig): New declaration.
8566         * math/Versions (setpayloadsig): New libm symbol at version
8567         GLIBC_2.25.
8568         (setpayloadsigf): Likewise.
8569         (setpayloadsigl): Likewise.
8570         * math/Makefile (libm-calls): Add s_setpayloadsigF.
8571         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
8572         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
8573         (setpayloadsig_test_data): New array.
8574         (setpayloadsig_test): New function.
8575         (main): Call setpayloadsig_test.
8576         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
8577         setpayloadsigf and setpayloadsigl.
8578         * manual/libm-err-tab.pl: Update comment on interfaces without
8579         ulps tabulated.
8580         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
8581         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
8582         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
8583         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
8584         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
8585         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
8586         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8587         setpayloadsig.
8588         (CFLAGS-nldbl-setpayloadsig.c): New variable.
8589         * sysdeps/nacl/libm.abilist: Update.
8590         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8591         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8592         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8593         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8594         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8595         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8596         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8597         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8598         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8599         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8600         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8601         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8603         Likewise.
8604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8605         Likewise.
8606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8607         Likewise.
8608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8609         Likewise.
8610         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8611         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8612         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8613         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8614         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8615         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8616         Likewise.
8617         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8618         Likewise.
8619         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8620         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8621         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8623         * scripts/build-many-glibcs.py: Import json module.
8624         (Context.__init__): Take replace_sources argument.  Load
8625         versions.json.
8626         (Context.load_versions_json): New function.
8627         (Context.store_json): Likewise.
8628         (Context.store_versions_json): Likewise.
8629         (Context.set_component_version): Likewise.
8630         (Context.checkout): Update versions.json.  Check for and handle
8631         changes of version.  Prefer previously explicitly specified
8632         version to default version.
8633         (Context.checkout_vcs): Return a revision identifier.
8634         (Context.git_checkout): Likewise.
8635         (Context.gcc_checkout): Likewise.
8636         (get_parser): Add --replace-sources option.
8637         (main): Pass replace_sources argument to Context call.
8639 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8641         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
8642         * nptl/allocatestack.c (allocate_stack): Likewise.
8643         (__reclaim_stacks): Likewise.
8644         (setxid_signal_thread): Obtain pid through syscall.
8645         * nptl/nptl-init.c (sigcancel_handler): Likewise.
8646         (sighandle_setxid): Likewise.
8647         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
8648         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
8649         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
8650         Likewise.
8651         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
8652         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
8653         comment.
8654         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
8655         * nptl/descr.h (struct pthread): Change comment about pid value.
8656         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
8657         pid assert.
8658         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
8659         Do not set pid value.
8660         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
8661         pid cache check.
8662         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
8663         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
8664         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
8665         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
8666         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
8667         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
8668         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
8669         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
8670         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
8671         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
8672         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
8673         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
8674         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
8675         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
8676         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
8677         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
8678         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
8679         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
8680         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
8681         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
8682         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
8683         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8684         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
8685         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
8686         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
8687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
8689         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8690         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8691         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8692         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
8693         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
8694         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
8695         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
8696         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
8697         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
8698         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
8699         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8700         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
8701         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
8702         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
8703         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
8704         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
8705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
8706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
8707         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8708         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8709         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8710         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
8711         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
8712         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
8713         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
8714         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
8715         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
8716         struct access.
8717         (clone_test): Remove function.
8718         (do_test): Rewrite to take in consideration pid is not cached anymore.
8720 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
8722         * bits/flt-eval-method.h: New file.
8723         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
8724         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
8725         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
8726         * math/Makefile (headers): Add bits/flt-eval-method.h.
8727         * math/math.h: Include <bits/flt-eval-method.h>.
8728         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
8729         [__USE_ISOC99] (double_t): Likewise.
8730         * bits/mathdef.h (float_t): Remove.
8731         (double_t): Likewise.
8732         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
8733         (double_t): Likewise.
8734         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
8735         (double_t): Likewise.
8736         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
8737         (double_t): Likewise.
8738         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
8739         (double_t): Likewise.
8740         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
8741         (double_t): Likewise.
8742         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
8743         (double_t): Likewise.
8744         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
8745         (double_t): Likewise.
8746         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
8747         (double_t): Likewise.
8748         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
8749         (double_t): Likewise.
8750         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
8751         (double_t): Likewise.
8752         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
8753         (double_t): Likewise.
8754         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
8755         (double_t): Likewise.
8756         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
8757         (double_t): Likewise.
8759 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
8761         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
8762         instead of PIC.
8764 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
8766         [BZ #20859]
8767         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
8768         (-0x7fffffff) instead of 0x80000001.
8769         * math/test-fp-ilogb-constants.c: New file.
8770         * math/Makefile (tests): Add test-fp-ilogb-constants.
8772 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
8774         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
8775         (_init): Use it in place of hardcoded R_MIPS_JALR.
8776         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
8777         (_init): Use it in place of hardcoded R_MIPS_JALR.
8778         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
8779         (_init): Use it in place of hardcoded R_MIPS_JALR.
8781 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
8783         [BZ #20787]
8784         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
8785         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
8786         (double_t): Do not define to double if [__x86_64__] when
8787         __FLT_EVAL_METHOD__ is nonzero.
8788         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
8789         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
8790         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8791         test-flt-eval-method-387 and test-flt-eval-method-sse.
8792         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
8793         variable.
8794         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
8796 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
8798         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
8799         use of -fno-isolate-erroneous-paths options for tilepro.
8801 2016-11-23  Florian Weimer  <fweimer@redhat.com>
8803         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
8804         structure initialization is no longer needed.
8806 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
8808         [BZ #20855]
8809         * bits/mathdef.h (float_t): Define to float.
8810         * math/test-flt-eval-method.c: New file.
8811         * math/Makefile (tests): Add test-flt-eval-method.
8812         (CFLAGS-test-flt-eval-method.c): New variable.
8814 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
8816         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
8817         and __fstatfs.  Make them aliases of __fstatfs64 if
8818         STATFS_IS_STATFS64 is set to non-zero.
8819         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
8820         and __statfs64.
8821         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
8822         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
8823         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
8824         for __statfs and statfs.
8825         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
8826         to 0.
8827         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
8828         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
8829         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
8830         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
8831         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
8832         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
8833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
8834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
8835         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
8836         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
8837         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
8838         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
8840 2016-11-22  Andreas Schwab  <schwab@suse.de>
8842         * misc/mkstemp.c: Include <fcntl.h>.
8843         * misc/mkstemps.c: Likewise.
8844         * misc/mkostemp.c: Likewise.
8845         * misc/mkostemps.c: Likewise.
8847 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
8849         [BZ #20847]
8850         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
8851         array bounds.
8852         (__execvpe): Likewise.
8854 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
8856         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
8857         -fno-isolate-erroneous-paths options for tilepro.
8859 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
8861         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
8862         to 0 when in 32 bit mode.
8863         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
8864         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
8865         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
8866         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
8867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
8868         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
8869         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
8870         XSTAT_IS_XSTAT64 test.
8871         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
8872         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
8873         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
8874         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
8875         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
8876         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
8877         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
8878         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
8879         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
8880         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
8881         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
8883 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
8885         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8886         (setpayload): New declaration.
8887         * math/Versions (setpayload): New libm symbol at version
8888         GLIBC_2.25.
8889         (setpayloadf): Likewise.
8890         (setpayloadl): Likewise.
8891         * math/Makefile (libm-calls): Add s_setpayloadF.
8892         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
8893         test_Ff_b1_data.
8894         (RUN_TEST_Ff_b1): New macro.
8895         (RUN_TEST_LOOP_Ff_b1): Likewise.
8896         (canonicalize_test_data): Update type.
8897         (setpayload_test_data): New array.
8898         (setpayload_test): New function.
8899         (main): Call setpayload_test.
8900         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
8901         setpayloadf and setpayloadl.
8902         * manual/libm-err-tab.pl: Update comment on interfaces without
8903         ulps tabulated.
8904         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
8905         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
8906         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
8907         Likewise.
8908         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
8909         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
8910         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
8911         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
8912         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
8913         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
8914         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
8915         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
8916         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
8917         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8918         setpayload.
8919         (CFLAGS-nldbl-setpayload.c): New variable.
8920         * sysdeps/nacl/libm.abilist: Update.
8921         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8922         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8923         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8924         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8925         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8926         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8927         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8928         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8929         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8930         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8931         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8932         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8934         Likewise.
8935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8936         Likewise.
8937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8938         Likewise.
8939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8940         Likewise.
8941         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8942         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8943         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8944         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8945         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8946         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8947         Likewise.
8948         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8949         Likewise.
8950         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8951         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8952         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8954 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8956         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
8957         * include/unistd.h: Extend comment about __access_noerrno return
8958         semantics.
8959         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
8960         (access_common): Correct typo for EACCES.
8962 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
8964         * sysdeps/tile/math-tests.h: New file.
8966         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
8967         (__old_set_dataplane): Rename from set_dataplane and make a
8968         compatibility symbol.
8969         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
8970         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
8971         sys/dataplane.h.
8973 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
8975         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
8976         script quote words in command output to log suitably for input to
8977         the shell.
8979 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
8980             Maciej W. Rozycki  <macro@imgtec.com>
8982         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
8983         `.Lno_weak_fn' label.
8984         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
8985         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
8987 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8988             Yury Norov  <ynorov@caviumnetworks.com>
8990         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
8991         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
8992         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8993         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
8994         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8995         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
8996         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8997         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8998         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8999         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
9000         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
9001         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
9002         (sysdep_routines): Remove oldgetrlimit64.
9003         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
9004         (sysdep_routines): Likewise.
9005         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
9006         (sysdep_routines): Likewise.
9007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
9008         [$(subdir) = resource] (sysdep_routines): Likewise.
9009         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
9010         [$(subdir) = resource] (sysdep_routines): Likewise.
9011         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
9012         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
9013         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
9014         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
9015         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
9016         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
9017         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
9018         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
9019         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
9020         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
9021         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
9022         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
9023         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
9024         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
9025         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
9026         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
9027         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
9028         setrlimit and getrlimit.
9029         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
9030         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
9031         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
9032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
9033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
9034         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
9035         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
9036         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9037         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9038         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
9039         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
9040         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
9041         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
9042         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
9043         (__old_getrlimit64): Add compatibility symbol.
9044         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
9046 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
9048         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
9049         newly built gmp, mpfr and mpc.
9051         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
9053 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
9055         * conform/Makefile (linknamespace-libs): Rename to
9056         linknamespace-libs-thr.
9057         (linknamespace-libs-posix): New variable.
9058         (linknamespace-libs-xsi): Likewise.
9059         (linknamespace-libs-XPG3): Include libcrypt.a.
9060         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
9061         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
9062         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
9063         (linknamespace-libs-XOPEN2K): Likewise.
9064         (linknamespace-libs-XOPEN2K8): Likewise.
9065         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
9067         [BZ #20829]
9068         * stdio-common/Versions (__snprintf): Add to version
9069         GLIBC_PRIVATE.
9070         * include/stdio.h (__snprintf): Use libc_hidden_proto.
9071         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
9072         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
9073         of snprintf.
9074         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9076 2016-11-16  Zack Weinberg  <zackw@panix.com>
9078         * string/string.h: Remove obsolete comment stating that
9079         strcoll_l and strxfrm_l have not yet been standardized.
9081 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9083         * hurd/hurd.h (__hurd_fail_noerrno): New function.
9084         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
9085         __access_noerrno.
9086         * io/access.c (__access_noerrno): New function.
9087         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
9088         (hurd_fail_seterrno): Likewise.
9089         (access_common): Likewise.
9090         (__access_noerrno): Likewise.
9091         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
9092         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
9093         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
9094         macro.
9096 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
9098         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
9099         Only declare fpregs if [__SH_FPU_ANY__].
9101 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
9103         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
9104         Make code unconditional.
9105         [!(__SH4__ || __SH4A__)]: Remove conditional code.
9107 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
9109         * manual/sysinfo.texi (S_APPEND): Delete.
9110         (S_IMMUTABLE): Likewise.
9112 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
9113             Magnus Granberg  <zorry@gentoo.org>
9114             Mike Frysinger  <vapier@gentoo.org>
9116         [BZ #20662]
9117         * configure.ac (libc_cv_predef_stack_protector): Also check for
9118         __stack_chk_fail_local symbols.
9119         * configure: Regenerated.
9121 2016-11-15  Florian Weimer  <fweimer@redhat.com>
9123         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
9124         (libc_hidden_def): Remove redefinition.
9125         (__sigsetjmp): Add hidden definition.
9126         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
9127         (libc_hidden_def): Remove redefinition.
9128         (__sigsetjmp): Add hidden definition.
9130 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
9132         * scripts/build-many-glibcs.py (os.path): Do not import.
9133         (Context): Inherit explicitly from object.  Remove blank line
9134         between class and docstring.
9135         (Config): Likewise.
9136         (Glibc): Likewise.
9137         (Command): Likewise.
9138         (CommandList): Likewise.
9139         (Context.write_files): Store chmod mode in a variable.
9141         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
9142         LIBC_SLIBDIR_RTLDDIR for tilegx32.
9143         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
9145 2016-11-14  Zack Weinberg  <zackw@panix.com>
9147         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
9148         creating or re-creating it.
9150         * string/bits/string2.h: Fix typo in comment.
9152 2016-11-14  Zack Weinberg  <zackw@panix.com>
9154         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
9155         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
9156         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
9157         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
9158         of redirected function names.
9160         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
9161         as well.  Document that MESSAGE must be a single string literal.
9163 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
9165         * scripts/build-many-glibcs.py: New file.
9167         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
9168         (do_test): Disable -Wmaybe-uninitialized around uses of
9169         except_mask.
9171         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
9173 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
9175         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
9176         (atomic_store_release): Provide tilepro-specific implementations.
9178 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
9180         * math/math.h (__MATH_TG): New macro.
9181         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
9182         [__USE_ISOC99] (signbit): Likewise.
9183         [__USE_ISOC99] (isfinite): Likewise.
9184         [__USE_ISOC99] (isnan): Likewise.
9185         [__USE_ISOC99] (isinf): Likewise.
9186         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
9187         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
9188         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
9189         __MATH_TG and __MATH_EVAL_FMT2.
9190         * sysdeps/generic/math_private.h (fabs_tg): Define using
9191         __MATH_TG.
9192         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
9193         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
9194         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
9195         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
9196         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
9197         macro.
9198         (__iscanonical): Likewise.
9199         (iscanonical): Define using __MATH_TG.
9201 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9203         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
9204         guards.
9206         * sysdeps/unix/sysv/linux/access.c: New file.
9207         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
9209 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
9211         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
9212         and __WORDSIZE32_PTRDIFF_LONG.
9214 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9216         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9218 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9220         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
9221         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
9222         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
9223         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
9224         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
9225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
9226         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
9227         * sysdeps/unix/sysv/linux/truncate.c: New file.
9228         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
9229         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
9230         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
9231         Remove.
9232         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
9233         Likewise.
9235         * posix/tst-truncate-common.c: New file.
9236         * posix/tst-truncate.c: Use tst-truncate-common.c.
9237         * posix/tst-truncate64.c: Likewise and add LFS tests.
9238         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
9239         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
9240         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
9241         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
9242         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
9243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
9244         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
9245         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
9246         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
9247         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
9248         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
9249         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
9250         Remove.
9251         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
9252         Likewise.
9254 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
9256         [BZ #20790]
9257         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
9258         to MAXLINESIZE.
9259         * sunrpc/bug20790.x: New file.
9260         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
9261         variable.
9262         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
9263         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
9265         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
9267         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
9269         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
9270         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
9271         calloc, realloc, free, memalign and __libc_memalign rather than
9272         making them optional.
9274         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
9275         for libc.so.
9277 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9279         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
9280         ptw-lseek64.
9281         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
9282         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
9283         Likewise.
9284         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
9285         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
9286         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
9287         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
9288         * sysdeps/unix/sysv/linux/lseek.c: New file.
9289         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
9290         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
9291         __libc_lseek64 from auto-generation.
9292         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9293         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
9295 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9297         * nptl/tst-basic1.c (tf, do_test): Use write_message.
9298         * nptl/tst-cleanup1.c (do_test): Likewise.
9299         * nptl/tst-cleanup3.c (do_test): Likewise.
9300         * nptl/tst-key1.c (do_test): Likewise.
9301         * nptl/tst-key2.c (tf, do_test): Likewise.
9302         * nptl/tst-key3.c (tf, do_test): Likewise.
9303         * nptl/tst-stdio1.c (do_test): Likewise.
9304         * nptl/tst-stdio2.c (do_test): Likewise.
9306         * nptl/tst-kill3.c (handler): Use write_message in place of write.
9307         * nptl/tst-kill6.c (handler): Likewise.
9308         * nptl/tst-tls2.c (CB): Likewise.
9309         * nptl/tst-tls3.c (CB): Likewise.
9311 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
9313         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
9315 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
9316             Steve Ellcey  <sellcey@caviumnetworks.com>
9318         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
9319           __ASSUME_ST_INO_64_BIT as 0
9320         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
9321         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
9322           over the code where __ASSUME_ST_INO_64_BIT is used.
9323         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
9324         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
9325         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9327 2016-11-07  Florian Weimer  <fweimer@redhat.com>
9329         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9330         Document ABI exposure of the __kind offset.
9331         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9332         Mention reason for the __kind offset exposure in the ABI.
9333         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9334         Likewise.
9335         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9336         Likewise.
9337         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9338         Likewise.
9339         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
9340         (struct __pthread_mutex_s): Likewise.
9341         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9342         Likewise.
9343         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9344         Likewise.
9345         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9346         Likewise.
9347         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9348         Likewise.
9349         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9350         Likewise.
9351         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9352         Likewise.
9353         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
9354         (struct __pthread_mutex_s): Likewise.
9355         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9356         (struct __pthread_mutex_s): Likewise.
9357         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
9358         Likewise.
9360 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
9362         * test-skeleton.c: Document do_test usage.
9364 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
9366         * iconv/gconv.h (__gconv_info): Define __data element using a
9367         zero-length array.
9369 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
9371         * math/test-tgmath2.c: Split up test function.
9373 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
9375         * Rules (tests-expected): New variable, depending on
9376         $(run-built-tests).
9377         (tests): Pass $(tests-expected) to merge-test-results.sh, not
9378         $(tests).
9380         * Rules [$(run-built-tests) = no] (tests): Do not depend on
9381         $(tests-unsupported).
9383 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9385         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
9386         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
9388 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
9390         [BZ #20768]
9391         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
9392         __fegetenv instead of fegetenv.
9394         [BZ #14139]
9395         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
9396         (find_files): Obtain platform name from libm-test-ulps-name and
9397         store in %pplatforms.
9398         (canonicalize_platform): Remove.
9399         (print_platforms): Use $pplatforms directly.
9400         (by_platforms): Do not allow for platforms missing from
9401         %pplatforms.
9402         * sysdeps/aarch64/libm-test-ulps-name: New file.
9403         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
9404         * sysdeps/arm/libm-test-ulps-name: Likewise.
9405         * sysdeps/generic/libm-test-ulps-name: Likewise.
9406         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
9407         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
9408         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
9409         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
9410         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
9411         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
9412         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
9413         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
9414         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
9415         * sysdeps/nios2/libm-test-ulps-name: Likewise.
9416         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
9417         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
9418         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
9419         * sysdeps/sh/libm-test-ulps-name: Likewise.
9420         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
9421         * sysdeps/tile/libm-test-ulps-name: Likewise.
9422         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
9424         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
9426         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
9427         (test-xfail-check-execstack): New variable.
9429         * sysdeps/mips/localplt.data: New file.
9431 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
9432             Steve Ellcey  <sellcey@caviumnetworks.com>
9434         * bits/wordsize.h: Add documentation.
9435         * sysdeps/aarch64/bits/wordsize.h : New file
9436         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
9437         definitions.
9438         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
9439         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
9440         with #if instead of #ifdef.
9441         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
9442         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
9443         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
9444         Add or change defines.
9445         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
9446         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
9447         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
9448         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
9449         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
9450         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
9451         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
9452         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
9453         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
9454         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
9455         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
9456         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
9457         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
9458         * sysdeps/x86/bits/wordsize.h: Likewise.
9460 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
9461             Kevin Petit  <kevin.petit@arm.com>
9463         * sysdeps/aarch64/memchr.S (__memchr): New file.
9465 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
9467         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
9469 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
9471         [BZ #19398]
9472         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
9473         $(linknamespace-symlists-tests).
9475 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
9477         * time/tst-strptime2.c: Ignore -Wformat-length warning.
9479 2016-11-02  Florian Weimer  <fweimer@redhat.com>
9480             Carlos O'Donell  <carlos@redhat.com>
9482         [Bug #20729]
9483         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
9484         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
9485         for -Os related change.
9487 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
9489         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
9491 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
9493         [BZ #19673]
9494         * manual/math.texi (Exponents and Logarithms): Correct description
9495         of clog10.
9497 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
9499         [Bz #20729]
9500         * locale/weight.h: Include libc-internal.h.
9501         * locale/weightwc.h: Likewise.
9502         * nptl/nptl_dbP.h: Likewise.
9504 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
9506         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
9507         when it is MACH_PORT_NULL.
9509 2016-10-31  Andreas Schwab  <schwab@suse.de>
9511         [BZ #20707]
9512         * posix/glob.c (glob): Initialize pglob before checking for
9513         GLOB_BRACE.  Don't call glob recursively if pattern contains no
9514         valid brace expression despite GLOB_BRACE.
9515         * posix/globtest.sh: Test it.
9517 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
9519         [BZ #20729]
9520         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
9521         Define.
9522         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
9523         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
9524         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
9525         for seq2.back_us and seq1.back_us only for -Os compiles.
9526         * locale/weightwc.h (findix): Likewise.
9527         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
9528         DB_GET_FIELD_ADDRESS only for -Os compiles.
9529         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
9530         for slen only for -Os compiles.
9531         * string/strcoll_l.c (get_next_seq): Ignore
9532         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
9533         for -Os compiles.
9535         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
9536         * include/crypt.h: New file.
9538 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9540         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
9541         from test-skeleton.c.
9542         (statclass): Replace calls to write with calls to write_message.
9544 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
9546         * math/math.h
9547         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
9548         New macro.
9549         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
9550         Likewise.
9551         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
9552         Likewise.
9553         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
9554         SNANL.
9555         * math/test-double.h (snan_value_MACRO): New macro.
9556         * math/test-float.h (snan_value_MACRO): Likewise.
9557         * math/test-ldouble.h (snan_value_MACRO): Likewise.
9558         * math/libm-test.inc (issignaling_test_data): Add tests of
9559         snan_value_MACRO.
9561 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9563         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
9564         behavior when eliding a lock not held by the current thread.
9565         * sysdeps/powerpc/nptl/elide.h: Likewise.
9567 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9569         [BZ #20728]
9570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
9571         branch to _exit() by a function call.
9573 2016-10-28  Florian Weimer  <fweimer@redhat.com>
9575         * malloc/malloc.c: Update chunk layout comments.
9576         (chunk_main_arena): Update comment.
9578 2016-10-28  Florian Weimer  <fweimer@redhat.com>
9580         * crypt/sha256.c, crypt/sha256-block.c,
9581         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
9582         sha256_process_block to __sha256_process_block.
9583         * crypt/sha512.c, crypt/sha512-block.c,
9584         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
9585         sha512_process_block to __sha512_process_block.
9587 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
9589         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
9591         * math/test-nan-overflow.c: Include stdlib.h for malloc.
9593 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
9595         [BZ #20019]
9596         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
9597         definition in unrelocated shared library.
9598         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9600 2016-10-28  Florian Weimer  <fweimer@redhat.com>
9602         [BZ #20729]
9603         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
9604         * sysdeps/unix/sysv/linux/i386/Makefile
9605         (uses-6-syscall-arguments): Define.
9606         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
9607         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
9608         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
9609         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
9610         Likewise.
9611         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
9612         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
9613         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
9614         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
9615         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
9616         (CFLAGS-fallocate64.os): Likewise.
9617         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
9618         (CFLAGS-pthread_rwlock_timedrdlock.os)
9619         (CFLAGS-pthread_rwlock_timedwrlock.o)
9620         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
9621         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
9622         (CFLAGS-sem_timedwait.os): Likewise.
9624 2016-10-28  Florian Weimer  <fweimer@redhat.com>
9626         * elf/tst-linkall-static.c: New file.
9627         * elf/Makefile (tests-static): Add tst-linkall-static.
9628         (tst-linkall-static): Link against static libraries.
9630 2016-10-27  Florian Weimer  <fweimer@redhat.com>
9632         * malloc/malloc.c (sysmalloc): Initialize previous size field of
9633         mmaped chunks.
9635 2016-10-28  Florian Weimer  <fweimer@redhat.com>
9637         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
9638         members to mchunk_prev_size, mchunk_size.
9639         (chunk_main_arena): Reverse sense and rename from
9640         chunk_non_main_arena.
9641         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
9642         mchunk_size instead of size.
9643         (set_non_main_arena): Define.
9644         (chunksize): Use chunksize_nomask instead of direct member access.
9645         (chunksize_nomask): Define.
9646         (next_chunk): Use chunksize instead of direct member access.
9647         (prev_size, set_prev_size): Define.
9648         (prev_chunk): Use prev_size instead of direct member access.
9649         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
9650         (inuse_bit_at_offset, set_inuse_bit_at_offset)
9651         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
9652         (mchunk_prev_size, mchunk_size): Poison tokens.
9653         (unlink): Use chunksize_nomask, prev_size accessors.
9654         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
9655         (do_check_free_chunk): Use prev_size accessor.
9656         (sysmalloc): Use set_prev_size, set_head accessors.
9657         (munmap_chunk, mremap_chunk): Use prev_size accessor.
9658         (__libc_free): Use chunksize_nomask accessor.
9659         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
9660         chunk_main_arena accessors.
9661         (_int_free): Use chunksize_nomask, prev_size accessors.
9662         (malloc_consolidate): Use chunksize, prev_size accessors.
9663         (_int_realloc): Use chunksize_nomask accessor.
9664         (_int_memalign): Use set_prev_size accessor.
9665         (__malloc_info): Use chunksize_nomask accessor.
9666         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
9667         accessors.
9668         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
9669         (heap_trim): Use chunksize_nomask, prev_size accessors.
9671 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
9673         [BZ #19380]
9674         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
9675         for inexact results.
9676         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
9677         of inexact result where mpfr_subnormalize is the only inexact
9678         step.
9679         * stdlib/tst-strtod-round-data.h: Regenerated.
9680         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
9681         Define to 0.
9682         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
9684 2016-10-27  David S. Miller  <davem@davemloft.net>
9686         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
9688 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9690         * malloc/malloc.c (do_set_mallopt_check): New function.
9691         (do_set_mmap_threshold): Likewise.
9692         (do_set_mmaps_max): Likewise.
9693         (do_set_top_pad): Likewise.
9694         (do_set_perturb_byte): Likewise.
9695         (do_set_trim_threshold): Likewise.
9696         (do_set_arena_max): Likewise.
9697         (do_set_arena_test): Likewise.
9698         (__libc_mallopt): Use them.
9700 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
9702         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9703         (canonicalize): New declaration.
9704         * math/Versions (canonicalize): New libm symbol at version
9705         GLIBC_2.25.
9706         (canonicalizef): Likewise.
9707         (canonicalizel): Likewise.
9708         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
9709         * math/s_canonicalize_template.c: New file.
9710         * math/libm-test.inc: Update comment on functions tested and
9711         testing of NaN payloads.
9712         (TEST_NAN_PAYLOAD): New macro.
9713         (NO_TEST_INLINE): Update value.
9714         (XFAIL_TEST): Likewise.
9715         (ERRNO_UNCHANGED): Likewise.
9716         (ERRNO_EDOM): Likewise.
9717         (ERRNO_ERANGE): Likewise.
9718         (IGNORE_RESULT): Likewise.
9719         (NON_FINITE): Likewise.
9720         (TEST_SNAN): Likewise.
9721         (NO_TEST_MATHVEC): Likewise.
9722         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
9723         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
9724         (struct test_Ffp_b1_data): New type.
9725         (RUN_TEST_Ffp_b1): New macro.
9726         (RUN_TEST_LOOP_Ffp_b1): Likewise.
9727         (canonicalize_test_data): New array.
9728         (canonicalize_test): New function.
9729         (main): Call canonicalize_test.
9730         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
9731         canonicalizef and canonicalizel.
9732         * manual/libm-err-tab.pl: Update comment on interfaces without
9733         ulps tabulated.
9734         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
9735         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
9736         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9737         canonicalize.
9738         (CFLAGS-nldbl-canonicalize.c): New variable.
9739         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
9740         to ...
9741         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
9742         ... here.
9743         (do_test): Also test canonicalizel.
9744         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
9745         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
9746         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
9747         file.
9748         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
9749         Use libm_hidden_def.
9750         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
9751         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
9752         (do_test): Also test canonicalizel.
9753         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
9754         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
9755         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
9756         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
9757         libm_hidden_def.
9758         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
9759         macro.
9760         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
9761         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
9762         * sysdeps/nacl/libm.abilist: Update.
9763         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9764         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9765         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9766         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9767         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9768         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9769         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9770         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9771         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9772         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9773         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9774         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9776         Likewise.
9777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9778         Likewise.
9779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9780         Likewise.
9781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9782         Likewise.
9783         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9784         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9785         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9786         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9787         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9788         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9789         Likewise.
9790         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9791         Likewise.
9792         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9793         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9794         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9796         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
9797         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9798         getpayload.
9799         (CFLAGS-nldbl-getpayload.c): New variable.
9801 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9803         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
9804         integer from the format string.
9806 2016-10-26  Florian Weimer  <fweimer@redhat.com>
9808         [BZ #19473]
9809         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
9810         declarations.
9811         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
9812         weak aliases.
9813         * malloc/hooks.c (__malloc_get_state): Remove definition.
9814         (malloc_get_state): New stub implementation as
9815         compatibility symbol.
9816         (malloc_set_state): Rename from __malloc_set_state.  Turn into
9817         compat symbol.
9818         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
9819         malloc_set_state.
9820         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
9822 2016-10-26  Florian Weimer  <fweimer@redhat.com>
9824         * iconvdata/iso646.c (enum variant): Drop illegal_var.
9825         (names): Turn into concatenation of strings.
9826         (gconv_init): Adapt iteration over names.
9828 2016-10-26  Florian Weimer  <fweimer@redhat.com>
9830         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
9831         make const.
9832         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
9833         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
9834         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
9835         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
9836         character in sbconv.
9837         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
9838         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
9839         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
9841 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9843         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
9845         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
9846         (M_TRIM_THRESHOLD): Likewise.
9848         * manual/memory.texi (M_ARENA_TEST): Add documentation.
9849         (M_ARENA_MAX): Likewise.
9850         * malloc/malloc.c: Remove obsolete comment.
9852         * manual/memory.texi: Add environment variable alternatives to
9853         setting mallopt parameters.
9855 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
9857         * include/atomic.h
9858         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
9859         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
9861 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9863         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
9864         * stdlib/tst-strfrom.h: New file.
9865         * stdlib/tst-strfrom.c: New file.
9866         * stdlib/tst-strfrom-locale.c: New file.
9868         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
9869         * stdlib/bug-strtod2.c: Likewise.
9870         * stdlib/tst-strtod-round-skeleton.c: Likewise.
9871         * stdlib/tst-strtod6.c: Likewise.
9872         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
9874 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9876         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
9877         * manual/arith.texi: Document strfromd, strfromf, strfroml.
9878         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
9879         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
9880         * stdlib/stdlib.h (strfromd): New declaration.
9881         (strfromf): Likewise.
9882         (strfroml): Likewise.
9883         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
9884         strfrom.
9885         * stdlib/strfromd.c: New file.
9886         * stdlib/strfromf.c: Likewise.
9887         * stdlib/strfroml.c: Likewise.
9888         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
9889         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
9890         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
9891         * sysdeps/arm/nacl/libc.abilist: Update.
9892         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
9893         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9894         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9895         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9896         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9897         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9898         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9899         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9900         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9901         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9902         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9903         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9904         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9905         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
9907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
9908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9910         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9911         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9912         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9913         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9914         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9915         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9916         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9917         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9918         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9919         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9921 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
9923         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
9924         instead of cmpli.
9925         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
9926         instead of cmpli.
9928 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
9930         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
9931         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
9932         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
9933         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9934         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9935         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9937 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9939         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
9940         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
9941         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
9942         SYSCALL_LL64_PRW.
9943         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
9944         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
9945         __ASSUME_PRW_DUMMY_ARG.
9946         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
9947         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9948         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9949         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9950         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
9951         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
9953 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
9955         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
9957 2016-10-22  Florian Weimer  <fweimer@redhat.com>
9959         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
9960         "C++", to override a potential extern "C" directive around the
9961         header file inclusion.
9963 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
9965         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
9967 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9969         * sysdeps/powerpc/fpu/fenv_private.h:
9970         (_FPU_MASK_ALL): Rename to...
9971         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
9972         XE FPSCR bits.
9974         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
9976         (_FPU_MASK_ROUNDING): Rename to...
9977         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
9978         NI bits.
9980         (_FPU_MASK_EXCEPT_ROUND): Rename to...
9981         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
9982         bits and rounding bits.
9984         (__libc_feholdbits_ppc): New inline function to mask, set,
9985         and pontentially clear FSPCR bits, and change MSR[FE] bits.
9986         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
9987         (libc_feholdexcept_setround_ppc): Likewise.
9989         (__libc_femergeenv_ppc): New function to dynamically mask both
9990         old and new FP environments and merge.
9991         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
9992         (libc_feresetround_ppc): Likewise.
9993         (libc_feupdateenv_test_ppc): Likewise.
9994         (libc_feupdateenv_ppc): Likewise.
9996         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
9997         of ISA RN bits, and update macro names.
9998         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
9999         effectively the same as the previously mentioned function.
10001         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
10002         usage with fe_resetround_ppc.
10004         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
10005         to be used.
10006         (libc_feholdexcept_setround_ctxf): Likewise.
10007         (libc_feholdexcept_setround_ctxl): Likewise.
10009 2016-10-21  Florian Weimer  <fweimer@redhat.com>
10011         [BZ #20715]
10012         * math/math.h [__cplusplus] (iszero): Define as function template.
10013         * math/Makefile [CXX] (tests): Add test-math-iszero.
10014         (CFLAGS-test-math-iszero.cc): Set.
10015         * math/test-math-iszero.cc: New file.
10017 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
10019         [BZ #20660]
10020         * sysdeps/arm/e_sqrt.c: New file.
10021         * sysdeps/arm/e_sqrtf.c: Likewise.
10023 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
10025         [BZ #20718]
10026         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
10027         not use floating-point comparisons to test sign.
10028         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
10029         Likewise.
10031         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10032         (getpayload): New declaration.
10033         * math/Versions (getpayload): New libm symbol at version
10034         GLIBC_2.25.
10035         (getpayloadf): Likewise.
10036         (getpayloadl): Likewise.
10037         * math/Makefile (libm-calls): Add s_getpayloadF.
10038         * math/libm-test.inc: Include <nan-high-order-bit.h>.
10039         (struct test_f_f_data): Add comment.
10040         (RUN_TEST_fp_f): New macro.
10041         (RUN_TEST_LOOP_fp_f): Likewise.
10042         (getpayload_test_data): New array.
10043         (getpayload_test): New function.
10044         (main): Call getpayload_test.
10045         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
10046         descriptor.
10047         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
10048         getpayloadf and getpayloadl.
10049         * manual/libm-err-tab.pl: Update comment on interfaces without
10050         ulps tabulated.
10051         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
10052         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
10053         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
10054         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
10055         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
10056         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
10057         * sysdeps/nacl/libm.abilist: Update.
10058         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10059         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10060         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10061         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10062         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10063         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10064         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10065         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10066         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10067         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10068         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10069         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10071         Likewise.
10072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10073         Likewise.
10074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10075         Likewise.
10076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10077         Likewise.
10078         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10079         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10080         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10081         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10082         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10083         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10084         Likewise.
10085         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10086         Likewise.
10087         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10088         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10089         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10091 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10093         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
10094         tst-fallocate{64}.
10095         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
10096         on syscall return.
10098 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
10100         [BZ #20689]
10101         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
10102         usable.
10104 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
10106         * sysdeps/generic/nan-high-order-bit.h: New file.
10107         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
10108         * sysdeps/mips/nan-high-order-bit.h: Likewise.
10109         * sysdeps/hppa/math_private.h: Remove file.
10110         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
10111         not define here.
10112         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
10113         <nan-high-order-bit.h>.
10114         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10115         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
10116         <nan-high-order-bit.h>.
10117         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10118         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
10119         <nan-high-order-bit.h>.
10120         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10121         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
10122         <nan-high-order-bit.h>.
10123         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10124         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
10125         <nan-high-order-bit.h>.
10126         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10127         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
10128         <nan-high-order-bit.h>.
10129         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10130         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
10131         <nan-high-order-bit.h>.
10132         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10133         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
10134         <nan-high-order-bit.h>.
10135         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10136         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
10137         <nan-high-order-bit.h>.
10138         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10139         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
10140         <nan-high-order-bit.h>.
10141         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10142         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
10143         <nan-high-order-bit.h>.
10144         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10145         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
10146         <nan-high-order-bit.h>.
10147         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10148         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
10149         <nan-high-order-bit.h>.
10150         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10151         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
10152         <nan-high-order-bit.h>.
10153         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10154         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
10155         <nan-high-order-bit.h>.
10156         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10157         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
10158         <nan-high-order-bit.h>.
10159         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10160         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
10161         <nan-high-order-bit.h>.
10162         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10163         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
10164         <nan-high-order-bit.h>.
10165         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10167 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
10169         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
10171 2016-09-22  John David Anglin  <dave.anglin@bell.net>
10173         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
10174         abort-instr.h.
10175         (EFAULT): Remove conditional define.
10176         (ENOSYS): Likewise.
10177         (atomic_compare_and_exchange_val_acq): Use instruction nullification
10178         instead of conditional branch instructions.
10180 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
10182         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10183         (totalordermag): New declaration.
10184         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
10185         New macro.
10186         * math/Versions (totalordermag): New libm symbol at version
10187         GLIBC_2.25.
10188         (totalordermagf): Likewise.
10189         (totalordermagl): Likewise.
10190         * math/Makefile (libm-calls): Add s_totalordermagF.
10191         * math/libm-test.inc (totalordermag_test_data): New array.
10192         (totalordermag_test): New function.
10193         (main): Call totalordermag_test.
10194         * math/test-tgmath.c (NCALLS): Increase to 125.
10195         (F(compile_test)): Call totalordermag.
10196         (F(totalordermag)): New function.
10197         * manual/arith.texi (FP Comparison Functions): Document
10198         totalordermag, totalordermagf and totalordermagl.
10199         * manual/libm-err-tab.pl: Update comment on interfaces without
10200         ulps tabulated.
10201         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
10202         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
10203         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
10204         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
10205         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
10206         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
10207         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
10208         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10209         totalordermag.
10210         (CFLAGS-nldbl-totalordermag.c): New variable.
10211         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
10212         (do_test): Also test totalordermagl.
10213         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
10214         Likewise.
10215         * sysdeps/nacl/libm.abilist: Update.
10216         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10217         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10218         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10219         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10220         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10221         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10222         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10223         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10224         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10225         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10226         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10227         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10229         Likewise.
10230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10231         Likewise.
10232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10233         Likewise.
10234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10235         Likewise.
10236         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10237         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10238         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10239         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10240         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10241         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10242         Likewise.
10243         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10244         Likewise.
10245         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10246         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10247         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10249 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
10251         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
10252         boolean.
10254 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
10256         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
10257         raising FE_INVALID with feraisexcept in case where part of
10258         argument is infinite, subtract that part of argument from itself.
10259         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
10260         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
10261         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
10263 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
10265         * math/libm-test.inc (totalorder_test_data): Add more tests.
10267 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
10269         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
10270         Undefine weak_alias and add a comment why mips64 require
10271         versioning.
10273 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
10275         [BZ #20647]
10276         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
10277         maximum CPUID level is less than 2.
10279 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
10281         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10282         (totalorder): New declaration.
10283         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
10284         New macro.
10285         * math/Versions (totalorder): New libm symbol at version
10286         GLIBC_2.25.
10287         (totalorderf): Likewise.
10288         (totalorderl): Likewise.
10289         * math/Makefile (libm-calls): Add s_totalorderF.
10290         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
10291         string.
10292         * math/libm-test.inc (PAYLOAD_DIG): New macro.
10293         (qnan_value_pl): Likewise.
10294         (snan_value_pl): Likewise.
10295         (qnan_value): Define using qnan_value_pl.
10296         (snan_value): Define using snan_value_pl.
10297         (struct test_ff_i_data): Add comment about which tests use this
10298         structure.
10299         (RUN_TEST_ff_b): New macro.
10300         (RUN_TEST_LOOP_ff_b): Likewise.
10301         (totalorder_test_data): New array.
10302         (totalorder_test): New function.
10303         (main): Call totalorder_test.
10304         * math/test-tgmath.c (NCALLS): Increase to 122.
10305         (F(compile_test)): Call totalorder.
10306         (F(totalorder)): New function.
10307         * manual/arith.texi (FP Comparison Functions): Document
10308         totalorder, totalorderf and totalorderl.
10309         * manual/libm-err-tab.pl: Update comment on interfaces without
10310         ulps tabulated.
10311         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
10312         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
10313         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
10314         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
10315         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
10316         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
10317         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
10318         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10319         totalorder.
10320         (CFLAGS-nldbl-totalorder.c): New variable.
10321         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
10322         file.
10323         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
10324         Add test-totalorderl-ldbl-128ibm.
10325         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
10326         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
10327         test-totalorderl-ldbl-96.
10328         * sysdeps/nacl/libm.abilist: Update.
10329         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10330         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10331         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10332         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10333         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10334         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10335         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10336         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10337         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10338         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10339         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10340         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10342         Likewise.
10343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10344         Likewise.
10345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10346         Likewise.
10347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10348         Likewise.
10349         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10350         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10351         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10352         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10353         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10354         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10355         Likewise.
10356         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10357         Likewise.
10358         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10359         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10360         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10362 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10364         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
10365         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
10366         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
10367         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
10368         remove ENOSYS implementation.
10369         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
10370         Consolidate all Linux implementations.
10372 2016-10-11  Florian Weimer  <fweimer@redhat.com>
10374         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
10375         * resolv/herror.c (herror): Cast away const-ness.
10376         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
10377         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
10379 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
10381         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
10382         instead of M_NAN + M_NAN.
10383         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
10385 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10387         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
10388         unused variable 'p'.
10390 2016-10-09  Alan Modra  <amodra@gmail.com>
10391             Andreas Schwab  <schwab@linux-m68k.org>
10393         [BZ #20554]
10394         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
10395         [PIC && !SHARED]: Set up PIC register for PLT call.
10397 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
10399         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
10400         conditional on value of [__FLT_EVAL_METHOD__].
10401         * math/test-iseqsig-excess-precision.c: New file.
10402         * math/Makefile (tests): Add test-iseqsig-excess-precision.
10404 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10406         * math/s_iseqsig_template.c: Include math-private.h.
10408         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
10409         * posix/tst-posix_fadvise.c: New file.
10410         * posix/tst-posix_fadvise64.c: Likewise.
10411         * posix/tst-posix_fadvise-common.c: Likewise.
10412         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10413         (__ASSUME_FADVISE64_64_6ARG): Define.
10414         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10415         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
10416         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10417         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
10418         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
10419         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
10420         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
10421         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
10422         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
10423         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
10424         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
10425         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
10426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
10427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
10428         Likewise.
10429         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
10430         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
10431         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
10432         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
10433         Alias to __posix_fadvise64_l32.
10434         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
10435         Add compat definition to posix_fadvise64.
10436         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
10437         Add versioned definition to posix_fadvise64.
10438         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
10439         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
10440         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
10441         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
10442         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
10444         * io/Makefile (tests): Add tst-posix_fallocate and
10445         tst-posix_fallocate64.
10446         * io/tst-posix_fallocate-common.c: New file.
10447         * io/tst-posix_fallocate.c: Likewise.
10448         * io/tst-posix_fallocate64.c: Likewise.
10449         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
10450         file.
10451         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
10452         Likewise.
10453         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
10454         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
10455         Likewise.
10456         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
10457         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
10458         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
10459         SYSCALL_LL to pass both offset and len arguments.
10460         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
10461         Likewise.
10462         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
10463         __libc_pwrite64 alias used by posix_fallocate64.
10465         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
10466         tst-fallocate64.
10467         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
10468         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
10469         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
10470         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
10471         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
10472         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
10473         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
10474         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10475         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
10476         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
10477         macro on offset argument.
10478         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
10479         SYSCALL_LL64 on offset argument.
10481         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
10482         tst-fallocate64.
10483         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
10484         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
10485         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
10486         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
10487         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
10488         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
10489         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
10490         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10491         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
10492         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
10493         macro on offset argument.
10494         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
10495         SYSCALL_LL64 on offset argument.
10496         * test-skeleton.c (FAIL_RET): Add macro.
10497         (FAIL_EXIT): Likewise.
10498         (FAIL_EXIT1): Likewise.
10499         (_FAIL): Likewise.
10501 2016-10-07  Florian Weimer  <fweimer@redhat.com>
10503         [BZ #20629]
10504         resolv: Remove RES_USEBSTRING and its implementation.
10505         * resolv/resolv.h (RES_USEBSTRING): Remove.
10506         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
10507         (digitvalue, encode_bitstring, decode_bitstring): Remove.
10508         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
10509         (labellen): Remove extended label types support.
10510         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
10511         * resolv/res_init.c (res_setoptions): Likewise.
10512         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
10514 2016-10-07  Florian Weimer  <fweimer@redhat.com>
10516         resolv: Remove RES_NOIP6DOTINT and its implementation.
10517         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
10518         (RES_NOIP6DOTINT): Remove.
10519         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
10520         handling.
10521         * resolv/res_debug.c (p_option): Likewise.
10522         * resolv/res_init.c (res_setoptions): Likewise.
10523         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
10525 2016-10-07  Florian Weimer  <fweimer@redhat.com>
10527         resolv: Deprecate unimplemented flags.
10528         * misc/sys/cdefs.h (__glibc_macro_warning1)
10529         (__glibc_macro_warning): Define.
10530         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
10531         (RES_KEEPTSIG): Mark as deprecated.
10532         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
10533         RES_NOCHECKNAME, RES_KEEPTSIG.
10534         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
10536 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10538         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
10539         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
10540         Use strong_alias to create symbols for glibc verison 2.19.
10542 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10544         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
10546 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10548         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
10550 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10552         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
10554 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10556         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10557         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
10558         in header for using it as type for ifunc function because __GI_* symbols
10559         for ppc32 do not target the ifunc symbols.
10560         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10562 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10564         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
10565         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
10566         libc_ifunc_hidden_def.
10567         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
10568         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
10569         Redirect ifunced function in header for using it as type of ifunc'ed
10570         function. Redefine libc_hidden_def to use fallback non ifunc'ed
10571         function for __GI_* symbol.
10572         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
10573         * include/libc-symbols.h
10574         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
10576 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10578         [BZ #20478]
10579         * sysdeps/s390/multiarch/ifunc-resolve.h
10580         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
10581         to create ifunc symbols.
10582         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
10583         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
10584         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
10585         for using it as type for ifunc function.
10586         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
10587         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
10588         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
10589         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
10590         * sysdeps/s390/multiarch/strcat.c: Likewise.
10591         * sysdeps/s390/multiarch/strchr.c: Likewise.
10592         * sysdeps/s390/multiarch/strcmp.c: Likewise.
10593         * sysdeps/s390/multiarch/strcpy.c: Likewise.
10594         * sysdeps/s390/multiarch/strcspn.c: Likewise.
10595         * sysdeps/s390/multiarch/strlen.c: Likewise.
10596         * sysdeps/s390/multiarch/strncmp.c: Likewise.
10597         * sysdeps/s390/multiarch/strncpy.c: Likewise.
10598         * sysdeps/s390/multiarch/strnlen.c: Likewise.
10599         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
10600         * sysdeps/s390/multiarch/strrchr.c: Likewise.
10601         * sysdeps/s390/multiarch/strspn.c: Likewise.
10602         * sysdeps/s390/multiarch/wcschr.c: Likewise.
10603         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
10604         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
10605         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
10606         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
10607         * sysdeps/s390/multiarch/wmemset.c: Likewise.
10608         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
10609         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
10610         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
10611         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
10612         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
10613         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
10615 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10617         * include/libc-symbols.h (__ifunc_resolver):
10618         New macro is used by __ifunc* macros.
10619         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
10620         depending on HAVE_GCC_IFUNC.
10621         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
10622         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
10623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
10624         Redirect ifunced function in header for using as type for ifunc function.
10625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
10626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
10627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
10628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
10629         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
10630         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
10631         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
10632         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
10633         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
10634         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
10635         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
10636         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
10637         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
10638         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
10639         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
10640         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
10641         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
10642         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
10643         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
10644         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
10645         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
10646         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
10647         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
10648         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
10649         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
10650         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
10651         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
10652         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
10653         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
10654         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
10655         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
10656         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
10657         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
10658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
10659         Add libc_hidden_def() and use libc_ifunc_hidden() macro
10660         instead of libc_ifunc() macro.
10661         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
10662         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
10664 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10666         * config.h.in (HAVE_GCC_IFUNC): New undef.
10667         * configure.ac: Add check if gcc supports attribute ifunc feature.
10668         * configure: Regenerated.
10669         * manual/install.texi: Add recommendation for gcc with
10670         indirect-function support.
10671         * INSTALL: Regenerated.
10673 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
10675         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
10676         macro.
10677         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10678         (__iseqsig): New declaration.
10679         * math/s_iseqsig_template.c: New file.
10680         * math/Versions (__iseqsigf): New libm symbol at version
10681         GLIBC_2.25.
10682         (__iseqsig): Likewise.
10683         (__iseqsigl): Likewise.
10684         * math/libm-test.inc (iseqsig_test_data): New array.
10685         (iseqsig_test): New function.
10686         (main): Call iseqsig_test.
10687         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
10688         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
10689         * manual/libm-err-tab.pl: Update comment on interfaces without
10690         ulps tabulated.
10691         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
10692         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
10693         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
10694         * sysdeps/nacl/libm.abilist: Update.
10695         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10696         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10697         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10698         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10699         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10700         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10701         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10702         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10703         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10704         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10705         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10706         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10708         Likewise.
10709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10710         Likewise.
10711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10712         Likewise.
10713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10714         Likewise.
10715         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10716         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10717         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10718         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10719         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10721         Likewise.
10722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10723         Likewise.
10724         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10725         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10726         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10728 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10730         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
10731         do_sincos_2, sloww, sloww1): Update comments.
10733         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
10734         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
10736         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
10737         K boolean and rename it.
10738         (__sin): Adjust.
10739         (__cos): Adjust.
10741 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
10742             Siddhesh Poyarekar  <siddhesh@sourceware.org>
10744         * manual/nss.texi: Fix typos in the manual.
10746 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
10748         * manual/contrib.texi: Fix typos in the manual.
10750         * manual/maint.texi: Fix typos in the manual.
10752         * manual/install.texi: Fix typos in the manual.
10753         * INSTALL: Regenerated.
10755         * manual/lang.texi: Fix typos in the manual.
10757         * manual/probes.texi: Fix typos in the manual.
10759         * manual/threads.texi: Fix typos in the manual.
10761         * manual/debug.texi: Fix typos in the manual.
10763         * manual/crypt.texi: Fix typos in the manual.
10765         * manual/conf.texi: Fix typos in the manual.
10767         * manual/sysinfo.texi: Fix typos in the manual.
10769         * manual/users.texi: Fix typos in the manual.
10771         * manual/job.texi: Fix typos in the manual.
10773         * manual/process.texi: Fix typos in the manual.
10775         * manual/argp.texi: Fix typos in the manual.
10776         * manual/getopt.texi: Likewise.
10777         * manual/startup.texi: Likewise.
10779         * manual/signal.texi: Fix typos in the manual.
10781         * manual/setjmp.texi: Fix typos in the manual.
10783         * manual/resource.texi: Fix typos in the manual.
10785         * manual/time.texi: Fix typos in the manual.
10787         * manual/arith.texi: Fix typos in the manual.
10789         * manual/math.texi: Fix typos in the manual.
10791         * manual/syslog.texi: Fix typos in the manual.
10793         * manual/terminal.texi: Fix typos in the manual.
10795         * manual/socket.texi: Fix typos in the manual.
10797         * manual/filesys.texi: Fix typos in the manual.
10799         * manual/llio.texi: Fix typos in the manual.
10801         * manual/stdio.text: Fix typos in the manual.
10803 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10805         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
10806         instead of K1.
10808         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
10809         SHIFT_QUADRANT and make it bool.
10810         (do_sincos_2): Likewise.
10811         (sloww): Likewise.
10812         (sloww1): Likewise.
10813         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
10814         (__cos): Likewise.
10816 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10818         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10820 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
10822         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
10823         Define to __WORDSIZE, not conditional on [LONG_MAX ==
10824         0x7fffffffL].
10825         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
10827 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10829         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
10830         inline by __inline__.
10831         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
10832         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
10833         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
10834         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
10835         sigset_t from signal.h.
10836         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
10837         which is already required.
10839 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
10841         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10843 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
10845         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
10846         (struct tcp_repair_window): New type.
10848 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10850         * libio/tst-memstream3.c: Include string.h.
10852 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10854         [BZ #18241]
10855         [BZ #20181]
10856         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
10857         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
10858         write position is at the end the buffer.
10859         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
10860         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
10861         (_IO_str_seekoff): Set correct offset from negative displacement and
10862         set EINVAL for invalid ones.
10863         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
10864         buffer length.
10865         (_IO_wstr_switch_to_get_mode): New function.
10866         (_IO_wstr_seekoff): Set correct offset from negative displacement and
10867         set EINVAL for invalid ones.
10868         * libio/tst-memstream3.c: New file.
10869         * libio/tst-wmemstream3.c: Likewise.
10870         * manual/examples/memstrm.c: Remove warning when priting size_t.
10872 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
10874         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
10875         macro to use __builtin_fma.
10876         * sysdeps/x86_64/fpu/dla.h: Remove file.
10878         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
10879         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
10880         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
10882 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
10884         [BZ #20292]
10885         * elf/Makefile (routines): Add dl-addr-obj.
10886         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
10887         tst-_dl_addr_inside_object.
10888         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
10889         [ifeq (yesyes,$(have-fpie)$(build-shared))]
10890         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
10891         [ifeq (yesyes,$(have-fpie)$(build-shared))]
10892         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
10893         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
10894         * elf/dl-open.c: Likewise.
10895         * elf/dl-addr-obj.c: New file.
10896         * elf/tst-_dl_addr_inside_object.c: New file.
10898 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
10900         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
10901         <bits/iscanonical.h>.
10902         * bits/iscanonical.h: New file.
10903         * math/s_iscanonicall.c: Likewise.
10904         * math/Versions (__iscanonicall): New libm symbol at version
10905         GLIBC_2.25.
10906         * math/libm-test.inc (iscanonical_test_data): New array.
10907         (iscanonical_test): New function.
10908         (main): Call iscanonical_test.
10909         * math/Makefile (headers): Add bits/iscanonical.h.
10910         (type-ldouble-routines): Add s_iscanonicall.
10911         * manual/arith.texi (Floating Point Classes): Document
10912         iscanonical.
10913         * manual/libm-err-tab.pl: Update comment on interfaces without
10914         ulps tabulated.
10915         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
10916         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
10917         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
10918         Likewise.
10919         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
10920         test-iscanonical-ldbl-128ibm.
10921         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
10922         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
10923         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
10924         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
10925         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10926         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10927         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10929         Likewise.
10930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10931         Likewise.
10932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10933         Likewise.
10934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10935         Likewise.
10936         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10937         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10939 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10941         * string/bits/string3.h: Remove C++ style comments.
10943 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10945         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
10946         instead of ternary condition.
10947         (do_sincos_2): Likewise.
10948         (__sin): Likewise.
10949         (__cos): Likewise.
10950         (slow): Likewise.
10951         (sloww): Likewise.
10952         (sloww1): Likewise.
10953         (bsloww): Likewise.
10954         (bsloww1): Likewise.
10956         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
10957         instead of ternary condition.
10958         (do_sin_slow): Likewise.
10959         (do_sincos_1): Likewise.
10960         (do_sincos_2): Likewise.
10961         (__cos): Likewise.
10962         (sloww): Likewise.
10963         (sloww1): Likewise.
10964         (sloww2): Likewise.
10965         (bsloww): Likewise.
10966         (bsloww1): Likewise.
10967         (bsloww2): Likewise.
10969         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
10970         check from here...
10971         (slow2): ... and here...
10972         (__sin): ... to here.
10974 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
10976         * math/math.h
10977         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
10978         Cast argument to its own type.
10979         * math/test-iszero-excess-precision.c: New file.
10980         * math/Makefile (tests): Add test-iszero-excess-precision.
10981         (CFLAGS-test-iszero-excess-precision.c): New variable.
10983 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
10985         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
10986         field, add err field.
10987         (__spawni_child): Report error through err member instead of pipe.
10988         (__spawnix): Likewise.
10990 2016-09-28  Zack Weinberg  <zackw@panix.com>
10992         * scripts/check-installed-headers.sh: Generalize treatment of
10993         sys/elf.h to all target architectures.
10995         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
10996         deleted typedef ucontext_t.
10998 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11000         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
11001         (__INTERNAL_SYSCALL1): Likewise.
11002         (__INTERNAL_SYSCALL2): Likewise.
11003         (__INTERNAL_SYSCALL3): Likewise.
11004         (__INTERNAL_SYSCALL4): Likewise.
11005         (__INTERNAL_SYSCALL5): Likewise.
11006         (__INTERNAL_SYSCALL6): Likewise.
11007         (__INTERNAL_SYSCALL7): Likewise.
11008         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
11009         (__INTERNAL_SYSCALL_NARGS): Likewise.
11010         (__INTERNAL_SYSCALL_DISP): Likewise.
11011         (INTERNAL_SYSCALL_CALL): Likewise.
11012         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
11013         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
11014         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
11015         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
11016         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
11017         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
11018         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
11019         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
11020         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
11021         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
11022         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
11023         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
11024         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
11026 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
11028         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
11029         macro.
11030         * math/libm-test.inc (iszero_test_data): New array.
11031         (iszero_test): New function.
11032         (main): Call iszero_test.
11033         * manual/arith.texi (Floating Point Classes): Document iszero.
11034         * manual/libm-err-tab.pl: Update comment on interfaces without
11035         ulps tabulated.
11037 2016-09-23  Zack Weinberg  <zackw@panix.com>
11039         * scripts/check-installed-headers.sh: New script.
11040         * Rules: In each directory that defines header files to be installed,
11041         run check-installed-headers.sh on them as a special test.
11042         * Makefile: Likewise for the headers installed at top level.
11044         * include/aliases.h, include/alloca.h, include/argz.h
11045         * include/arpa/nameser.h, include/arpa/nameser_compat.h
11046         * include/elf.h, include/envz.h, include/err.h
11047         * include/execinfo.h, include/fpu_control.h, include/getopt.h
11048         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
11049         * include/link.h, include/malloc.h, include/mcheck.h
11050         * include/mntent.h, include/netinet/ether.h
11051         * include/nss.h, include/obstack.h, include/printf.h
11052         * include/pty.h, include/resolv.h, include/rpc/auth.h
11053         * include/rpc/auth_des.h, include/rpc/auth_unix.h
11054         * include/rpc/clnt.h, include/rpc/des_crypt.h
11055         * include/rpc/key_prot.h, include/rpc/netdb.h
11056         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
11057         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
11058         * include/rpc/rpc_msg.h, include/rpc/svc.h
11059         * include/rpc/svc_auth.h, include/rpc/xdr.h
11060         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
11061         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
11062         * include/rpcsvc/ypupd.h, include/shadow.h
11063         * include/stdio_ext.h, include/sys/epoll.h
11064         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
11065         * include/sys/prctl.h, include/sys/profil.h
11066         * include/sys/statfs.h, include/sys/sysctl.h
11067         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
11068         * sysdeps/arm/nacl/include/bits/setjmp.h
11069         * sysdeps/mips/include/sys/asm.h
11070         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
11071         * sysdeps/unix/sysv/linux/include/sys/timex.h
11072         * sysdeps/x86/fpu/include/bits/fenv.h:
11073         Add #ifndef _ISOMAC guard around internal declarations.
11074         Add multiple-inclusion guard if not already present.
11076 2016-09-23  Zack Weinberg  <zackw@panix.com>
11078         * sysdeps/generic/sys/ucontext.h
11079         * sysdeps/arm/sys/ucontext.h
11080         * sysdeps/i386/sys/ucontext.h
11081         * sysdeps/m68k/sys/ucontext.h
11082         * sysdeps/mips/sys/ucontext.h
11083         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
11084         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
11085         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
11086         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
11087         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
11088         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
11089         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
11090         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
11091         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
11092         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
11093         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
11094         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
11095         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
11096         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
11097         Include both bits/sigcontext.h and bits/sigstack.h.
11098         Fix grammar error in comment, if present.
11100         * bits/sigstack.h
11101         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
11102         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
11103         * sysdeps/unix/sysv/linux/bits/sigstack.h
11104         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
11105         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
11106         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
11107         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
11108         * bits/sigcontext.h
11109         * sysdeps/mach/hurd/i386/bits/sigcontext.h
11110         * sysdeps/unix/sysv/linux/bits/sigcontext.h
11111         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
11112         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
11113         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
11114         as well as signal.h, if this was not already allowed.  Request
11115         definition of size_t if necessary.  Minimize semantically-null
11116         differences across files.
11118 2016-09-23  Zack Weinberg  <zackw@panix.com>
11120         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
11121         Remove all logic conditional on __need macros.  Move all the
11122         conditionally defined types to their own headers...
11123         * time/bits/types/clock_t.h: Define clock_t here.
11124         * time/bits/types/clockid_t.h: Define clockid_t here.
11125         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
11126         * time/bits/types/struct_timespec.h: Define struct timespec here.
11127         * time/bits/types/struct_timeval.h: Define struct timeval here.
11128         * time/bits/types/struct_tm.h: Define struct tm here.
11129         * time/bits/types/time_t.h: Define time_t here.
11130         * time/bits/types/timer_t.h: Define timer_t here.
11131         * time/Makefile: Install the new headers.
11133         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
11134         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
11135         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
11136         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
11137         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
11138         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
11139         * sysdeps/unix/sysv/linux/bits/resource.h
11140         * sysdeps/unix/sysv/linux/bits/timex.h
11141         * sysdeps/unix/sysv/linux/mips/bits/resource.h
11142         * sysdeps/unix/sysv/linux/net/ppp_defs.h
11143         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
11144         * sysdeps/unix/sysv/linux/sys/acct.h
11145         * sysdeps/unix/sysv/linux/sys/timerfd.h
11146         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
11147         * time/sys/time.h, time/sys/timeb.h
11148         Use the new bits/types headers.
11150         * include/time.h: Remove __need logic.
11151         * include/bits/time.h
11152         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
11153         * include/bits/types/time_t.h, include/bits/types/timer_t.h
11154         * include/bits/types/struct_itimerspec.h
11155         * include/bits/types/struct_timespec.h
11156         * include/bits/types/struct_timeval.h
11157         * include/bits/types/struct_tm.h:
11158         New wrapper headers.
11160 2016-09-23  Zack Weinberg  <zackw@panix.com>
11162         * sysdeps/mach/hurd/net/if_ppp.h
11163         * sysdeps/unix/sysv/linux/net/if_ppp.h:
11164         Only define struct ifpppstatsreq and struct ifpppcstatsreq
11165         if __USE_MISC is defined, to ensure struct ifreq is declared.
11167         * inet/netinet/ether.h: Condition all function prototypes
11168         on __USE_MISC, to ensure struct ether_addr is declared.
11170         * socket/bits/types/struct_osockaddr.h: New header.
11171         * include/bits/types/struct_osockaddr.h: New wrapper.
11172         * socket/Makefile: Install the new header.
11173         * socket/sys/socket.h, inet/protocols/talkd.h:
11174         Refer to bits/types/struct_osockaddr.h for the definition of
11175         struct osockaddr.
11177 2016-09-23  Zack Weinberg  <zackw@panix.com>
11179         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
11180         * inet/protocols/routed.h, inet/protocols/talkd.h
11181         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
11182         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
11183         * sysdeps/generic/netinet/if_ether.h
11184         * sysdeps/generic/netinet/in_systm.h
11185         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
11186         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
11187         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
11188         * sysdeps/mach/hurd/net/if_arp.h
11189         * sysdeps/mach/hurd/net/if_ppp.h
11190         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
11191         * sysdeps/unix/sysv/linux/bits/in.h
11192         * sysdeps/unix/sysv/linux/net/ethernet.h
11193         * sysdeps/unix/sysv/linux/net/if_arp.h
11194         * sysdeps/unix/sysv/linux/net/if_ppp.h
11195         * sysdeps/unix/sysv/linux/net/if_shaper.h
11196         * sysdeps/unix/sysv/linux/net/route.h
11197         * sysdeps/unix/sysv/linux/netinet/if_ether.h
11198         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
11199         * sysdeps/unix/sysv/linux/netinet/if_tr.h
11200         * sysdeps/unix/sysv/linux/netipx/ipx.h
11201         * sysdeps/unix/sysv/linux/sys/acct.h
11202         * include/arpa/nameser.h, include/resolv.h:
11203         Change all uses of u_char to unsigned char,
11204         u_short and ushort to unsigned short, u_int and uint to unsigned int,
11205         u_long and ulong to unsigned long, u_int8_t to uint8_t,
11206         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
11207         and u_int64_t and u_quad_t to uint64_t.
11209         * mach/sys/reboot.h: Remove two casts of integer literals
11210         to the types they already have.
11212         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
11213         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
11214         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
11215         from referring to 'unsigned char' to 'uint8_t' for consistency with
11216         the macro definition below.
11218         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
11219         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
11220         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
11221         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
11222         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
11223         * sysdeps/unix/sysv/linux/sys/acct.h
11224         * include/arpa/nameser.h, include/resolv.h:
11225         Fix indentation disrupted by mechanical edits.
11227         * inet/protocols/talkd.h, resolv/arpa/nameser.h
11228         * sysdeps/generic/netinet/in_systm.h
11229         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
11230         * sysdeps/gnu/netinet/udp.h
11231         * sysdeps/unix/sysv/linux/net/ethernet.h
11232         * sysdeps/unix/sysv/linux/net/if_arp.h
11233         * sysdeps/unix/sysv/linux/net/if_ppp.h
11234         * sysdeps/unix/sysv/linux/net/if_shaper.h
11235         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
11236         * sysdeps/unix/sysv/linux/netinet/if_tr.h
11237         * sysdeps/unix/sysv/linux/netipx/ipx.h
11238         * sysdeps/unix/sysv/linux/sys/acct.h
11239         Include stdint.h for uintNN_t definitions.
11240         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
11242 2016-09-23  Zack Weinberg  <zackw@panix.com>
11244         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
11245         * sysdeps/unix/sysv/linux/netrose/rose.h:
11246         Include sys/socket.h and netax25/ax25.h.
11248         * inet/netinet/icmp6.h, inet/netinet/ip6.h
11249         * resolv/arpa/nameser_compat.h:
11250         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
11252         * sysdeps/unix/sysv/linux/sys/quota.h:
11253         Use __caddr_t instead of caddr_t.
11254         * sysdeps/unix/sysv/linux/sys/timerfd.h:
11255         Use __clockid_t instead of clockid_t.
11257         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
11259         * argp/argp.h: Check whether _LIBC is defined before expanding it.
11260         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
11261         expanding it.
11263         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
11264         Define __glibc_c99_flexarr_available to 1 when the compiler
11265         supports C99-compatible flexible array members, 0 otherwise.
11266         * sysdeps/unix/sysv/linux/bits/socket.h
11267         * sysdeps/mach/hurd/bits/socket.h
11268         * bits/socket.h: Use __glibc_c99_flexarr_available in
11269         definitions of struct cmsghdr and CMSG_DATA.
11271 2016-09-23  Florian Weimer  <fweimer@redhat.com>
11273         * manual/nss.texi (NSS Modules Interface): Adjust function return
11274         type to enum nss_status.  Document errnop argument.  Clarify
11275         h_errnop semantics.  Fix cross-reference formatting.
11276         (NSS Module Function Internals): Mention that *errnop needs to be
11277         set on failure, but not to zero.
11279 2016-09-23  Florian Weimer  <fweimer@redhat.com>
11281         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
11282         (get_random_name): New functions.
11283         (check_wrapper_flags_mode): Use linkat to give the new file a name
11284         determined by get_random_name.
11285         (do_test): Add calls to test open64 and openat64.
11287 2016-09-23  Florian Weimer  <fweimer@redhat.com>
11289         * test-skeleton.c: Remove #include <stdarg.h>.
11291 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
11293         [BZ #19826]
11294         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
11295         initialization of static TLS entries.
11296         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
11297         * nptl/allocatestack.c (init_one_static_tls): Likewise.
11299 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11301         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
11302         _hurd_malloc_fork_prepare.
11303         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
11304         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
11305         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
11306         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
11307         (_hurd_fork_child_hook): Drop malloc_fork_child.
11308         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
11309         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
11310         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
11311         after locking locks (notably hurd_dtable_lock). Call
11312         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
11313         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
11314         __malloc_fork_unlock_child.
11315         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
11317 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
11319         * soft-fp/extendhftf2.c: New.
11320         * soft-fp/fixhfti.c: Likewise.
11321         * soft-fp/fixunshfti.c: Likewise.
11322         * soft-fp/floattihf.c: Likewise.
11323         * soft-fp/floatuntihf.c: Likewise.
11324         * soft-fp/half.h: Likewise.
11325         * soft-fp/trunctfhf2.c: Likewise.
11327 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
11329         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
11330         macro.
11331         * math/libm-test.inc (issubnormal_test_data): New array.
11332         (issubnormal_test): New function.
11333         * manual/arith.texi (Floating Point Classes): Document
11334         issubnormal.
11335         * manual/libm-err-tab.pl: Update comment on interfaces without
11336         ulps tabulated.
11338         * sysdeps/generic/stdint.h: Define
11339         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11340         <bits/libc-header-start.h> instead of including <features.h>.
11341         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
11342         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
11343         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
11344         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
11345         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
11346         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
11347         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
11348         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
11349         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
11350         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
11351         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
11352         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
11353         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
11354         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
11355         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
11356         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
11357         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
11358         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
11359         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
11360         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
11361         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
11362         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
11363         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
11364         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
11365         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
11366         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
11367         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
11368         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
11369         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
11370         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
11371         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
11372         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
11373         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
11374         * manual/arith.texi (Integers): Document these macros for types
11375         specified by width properties.
11376         * manual/lang.texi (Width of Type): Document these macros for
11377         other standard typedefs.
11378         * stdlib/tst-width-stdint.c: New file.
11379         * stdlib/Makefile (tests): Add tst-width-stdint.
11381 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11383         [BZ #20016]
11384         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
11385         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
11386         Move ...
11387         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
11388         ... here, as compatibility symbols in a new file.
11389         * resolv/Makefile (libresolv-routines): Add compat-hooks.
11390         * resolv/res_init.c (__res_vinit): Adjust member names.
11391         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
11392         * resolv/resolv.h (res_sendhookact, res_send_qhook)
11393         (res_send_rhook): Remove.
11394         (struct __res_state): Rename qhook, rhook members.
11396 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11398         malloc: Use __libc_lock wrappers.
11399         * malloc/arena.c (list_lock, free_list_lock): Define using
11400         __libc_lock_define_initialized.
11401         (arena_lock): Adjust formatting.
11402         * malloc/malloc.c (struct malloc_state): Define mutex using
11403         __libc_lock_define.
11404         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
11405         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
11406         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
11407         (mutex_unlock, mutex_trylock): Remove.
11408         (__pthread_initialize): Remove unused macro.
11409         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
11410         (mutex_unlock, mutex_trylock): Remove.
11412 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11414         [BZ #20592]
11415         Remove RR type classification macros.
11416         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
11417         (ns_t_udp_p, ns_t_xfr_p): Remove.
11419 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11421         Remove misleading version information.
11422         * resolv/arpa/nameser.h (__NAMESER): Remove.
11423         * resolv/arpa/nameser_compat.h (__BIND): Remove.
11425 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11427         Remove the always-defined BIND_4_COMPAT macro.
11428         * resolv/arpa/nameser.h: Unconditionally include
11429         <arpa/nameser_compat.h>.
11430         (BIND_4_COMPAT): Remove.
11431         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
11433 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11435         [BZ #20591]
11436         Remove obsolete DNSSEC support.
11437         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
11438         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
11439         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
11440         (ns_verify_tcp, ns_verify_tcp_init): Remove.
11441         (ns_cert_types): Add comment.
11442         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
11443         separately.
11444         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
11445         (dst_s_dns_key_id): Remove.
11446         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
11447         variables.
11449 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11451         [BZ #20524]
11452         * manual/string.texi (String/Array Comparison): Clarify the
11453         strverscmp behavior.
11455 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11457         * test-skeleton.c (xasprintf): Add function.
11458         * io/tst-open-tmpfile.c: New test.
11459         * io/Makefile (tests): Add it.
11461 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11463         Avoid running $(CXX) during build to obtain header file paths.
11464         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
11465         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
11466         * Makerules (cstdlib, cmath): Remove variables.  Use
11467         $(c++-cstdlib-header), $(c++-cmath-header) instead.
11468         * configure: Regenerate.
11470 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11472         * Makeconfig (all-object-suffixes): Include .op only if
11473         $(build-profile).
11475 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11477         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
11478         conditionals.  Do not define PATH_MAX.
11480 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11482         * posix/Makefile (tests): Add tst-spawn3.
11483         * posix/tst-spawn3.c: New file.
11484         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
11485         if it is already opened for open action.
11487         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
11488         all signals when executing the clone vfork child.
11489         (SIGALL_SET): Remove macro.
11491         * nptl/Makefile (tests): Add tst-exec5.
11492         * nptl/tst-exec5.c: New file.
11493         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
11494         asynchronous cancellation.
11496 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11498         * hurd/exc2signal.c: #include <hurd/signal.h>
11499         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
11500         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
11501         accordingly.
11502         * mach/mach_error.c (mach_error): Fix old-style function definition.
11503         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
11505 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11507         * math/Makefile (libm-calls): Remove s_nanF.
11508         (gen-libm-calls): Add s_nanF.
11510         * math/s_nan.c: Refactor into ...
11511         * math/s_nan_template.c: New file.
11513         * math/s_nanf.c: Removed.
11514         * math/s_nanl.c: Removed.
11515         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
11516         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
11518         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
11519         (LDOUBLE_nanl_libm_version): New macro.
11521         * sysdeps/generic/math-type-macros-double.h:
11522         (M_STRTO_NAN): New macro.
11523         * sysdeps/generic/math-type-macros-float.h: Likewise.
11524         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
11526         * sysdeps/generic/math-type-macros.h: Document
11527         M_STRTO_NAN.
11529 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11531         * math/s_nanf.c: Remove __nanf undef.
11532         * math/s_nan.c: Remove __nan undef.
11533         * math/s_nanl.c: Remove __nanl undef.
11535         * sysdeps/generic/math_private.h (__nan): Remove macro
11536         override.
11537         (__nanf): Likewise.
11538         (__nanl): Likewise.
11540 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11542         * math/Makefile (gen-all-calls): New variable.
11543         (generated): Replace gen-libm-calls with gen-all-calls.
11544         (gen-libm-templates.stmp): Likewise.  Also, ensure
11545         the output directory exists or is created and add
11546         dependency on the Makefile.
11547         (calls): Move s_ldexpF into gen-calls.
11548         (gen-calls): New variable.
11550         * math/s_ldexpf.c: Removed.
11551         * math/s_ldexpl.c: Removed.
11552         * math/s_ldexp.c: Refactored into ...
11553         * math/s_ldexp_template.c: New file.
11555         * sysdeps/generic/math-type-macros-double.h: Remove
11556         redundant fall-through definition of declare_mgen_alias.
11557         (declare_mgen_alias_2): New macro.
11559         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
11560         New macro for function aliased to two exported symbols.
11562         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
11563         new template file.
11564         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
11566 2016-09-20  Florian Weimer  <fweimer@redhat.com>
11568         * Makeconfig (all-object-suffixes): Remove .og.
11569         * Makerules (elide-routines.og): Remove.
11570         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
11571         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
11572         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
11574 2016-09-20  Florian Weimer  <fweimer@redhat.com>
11576         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
11577         .os objects.
11579 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11581         [BZ #20615]
11582         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
11583         fpu directory by non-fpu.
11584         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
11585         on non-fpu directory from a fpu directory.
11587 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
11589         * include/limits.h: Define
11590         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11591         <bits/libc-header-start.h> instead of including <features.h>.
11592         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
11593         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
11594         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
11595         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
11596         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
11597         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
11598         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
11599         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
11600         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
11601         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
11602         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
11603         * manual/lang.texi (Width of Type): Document these macros.
11604         * stdlib/tst-width.c: New file.
11605         * stdlib/Makefile (tests): Add tst-width.
11607 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11609         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
11610         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
11612 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11614         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
11615         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
11616         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
11618 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11620         [BZ #18243]
11621         * rt/Makefile (test): Add tst-shm-cancel.
11622         * rt/tst-shm-cancel.c: New file.
11623         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
11625         [BZ #18243]
11626         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
11627         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
11628         definition.
11629         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
11630         uncontended case.
11631         * nptl/sem_wait.c (__new_sem_wait): Likewise.
11632         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
11633         (tf): Fix check for uncontended case.
11634         (do_test): Likewise.
11635         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
11636         (tf): Fix check for uncontended case.
11637         (do_test): Likewise.
11638         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
11639         (tf): Fix check for uncontended case.
11640         (do_test): Likewise.
11641         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
11642         (tf): Fix check for uncontended case.
11643         (do_test): Likewise.
11645         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
11646         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
11648         [BZ #15765]
11649         * nptl/Makefile (tests): Add tst-sem16.
11650         * nptl/tst-sem16.c: New file.
11651         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
11653         * nptl/sem_open.c (sem_open): Init pad value to 0.
11654         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
11655         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
11657 2016-09-15  Florian Weimer  <fweimer@redhat.com>
11659         [BZ #20611]
11660         * inet/Makefile (routines): Add inet6_scopeid_pton.
11661         (tests): Add tst-inet6_scopeid_pton.
11662         * inet/inet6_scopeid_pton.c: New file.
11663         * inet/net-internal.h: Likewise.
11664         * inet/tst-inet6_scopeid_pton.c: New test.
11665         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
11666         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
11667         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11669 2016-09-14  Florian Weimer  <fweimer@redhat.com>
11671         Remove support for compiling wrappers with PTW.
11672         * sysdeps/nptl/Makeconfig: Drop ptw- support.
11673         * nptl/Makefile (pthread-compat-wrappers): Define.
11674         (libpthread-routines): Use pthread-compat-wrappers.
11675         * sysdeps/unix/sysv/linux/alpha/Makefile
11676         (libpthread-routines, libpthread-shared-only-routines): Remove
11677         ptw- prefix.
11678         * sysdeps/s390/nptl/Makefile
11679         (libpthread-routines, libpthread-shared-only-routines): Likewise.
11680         * sysdeps/ia64/nptl/Makefile
11681         (libpthread-routines, libpthread-shared-only-routines): Likewise.
11682         * sysdeps/nacl/Makefile (libpthread-routines): Use
11683         pthread-compat-wrappers to filter the routines list instead of the
11684         ptw- prefix.
11686 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11688         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
11689         with L() and remove explicit suffix, convert real literals
11690         which can be equivalentally substituted with integers, and
11691         transform -L(x) to L(-x).
11693         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11694         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11695         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11696         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11697         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11698         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11699         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11700         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11701         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11702         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11703         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11704         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11705         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11706         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11707         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11708         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11709         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11710         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11711         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11712         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11713         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11714         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11715         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11716         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11717         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11718         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11719         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11720         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11721         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11722         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11723         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11724         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11725         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11726         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11727         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11728         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11729         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11730         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11731         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11732         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11733         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11734         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11735         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11736         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11737         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11738         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11739         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11740         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
11741         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11742         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11744 2016-09-13  Florian Weimer  <fweimer@redhat.com>
11746         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
11748 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11750         * malloc/Makefile (tests): Remove individual static test names
11751         and just add all of tests-static.
11753         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
11755 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
11757         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
11758         file.
11760         * sysdeps/sparc/fpu/fegetmode.c: New file.
11761         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
11763         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
11764         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
11766         * sysdeps/s390/fpu/fegetmode.c: New file.
11767         * sysdeps/s390/fpu/fesetmode.c: Likewise.
11769         * sysdeps/powerpc/fpu/fegetmode.c: New file.
11770         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
11771         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
11772         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
11773         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
11774         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
11776         * sysdeps/mips/fpu/fegetmode.c: New file.
11777         * sysdeps/mips/fpu/fesetmode.c: Likewise.
11779         * sysdeps/m68k/fpu/fegetmode.c: New file.
11780         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
11782         * sysdeps/ia64/fpu/fegetmode.c: New file.
11783         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
11785         * sysdeps/hppa/fpu/fegetmode.c: New file.
11786         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
11788         * sysdeps/arm/fegetmode.c: New file.
11789         * sysdeps/arm/fesetmode.c: Likewise.
11791         * sysdeps/alpha/fpu/fegetmode.c: New file.
11792         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
11794         * sysdeps/aarch64/fpu/fegetmode.c: New file.
11795         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
11797         * math/fegetmode.c: New file.
11798         * math/fesetmode.c: Likewise.
11799         * sysdeps/i386/fpu/fegetmode.c: Likewise.
11800         * sysdeps/i386/fpu/fesetmode.c: Likewise.
11801         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
11802         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
11803         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
11804         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
11805         declaration.
11806         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
11807         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
11808         typedef.
11809         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11810         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11811         (femode_t): New typedef.
11812         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11813         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11814         (femode_t): New typedef.
11815         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11816         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11817         (femode_t): New typedef.
11818         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11819         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11820         (femode_t): New typedef.
11821         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11822         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11823         (femode_t): New typedef.
11824         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11825         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11826         (femode_t): New typedef.
11827         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11828         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11829         (femode_t): New typedef.
11830         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11831         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11832         (femode_t): New typedef.
11833         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11834         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11835         (femode_t): New typedef.
11836         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11837         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11838         (femode_t): New typedef.
11839         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
11840         declaration.
11841         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11842         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11843         (femode_t): New typedef.
11844         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11845         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11846         (femode_t): New typedef.
11847         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11848         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11849         (femode_t): New typedef.
11850         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11851         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11852         (femode_t): New typedef.
11853         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11854         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11855         (femode_t): New typedef.
11856         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11857         * manual/arith.texi (FE_DFL_MODE): Document macro.
11858         (fegetmode): Document function.
11859         (fesetmode): Likewise.
11860         * math/Versions (fegetmode): New libm symbol at version
11861         GLIBC_2.25.
11862         (fesetmode): Likewise.
11863         * math/Makefile (libm-support): Add fegetmode and fesetmode.
11864         (tests): Add test-femode and test-femode-traps.
11865         * math/test-femode-traps.c: New file.
11866         * math/test-femode.c: Likewise.
11867         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
11868         alias for __fe_dfl_env.
11869         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
11870         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
11871         (__fe_dfl_mode): Likewise.
11872         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
11873         version GLIBC_2.25.
11874         * sysdeps/nacl/libm.abilist: Update.
11875         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11876         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11877         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11878         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11879         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11880         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11881         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11882         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11883         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11884         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11885         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11886         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11888         Likewise.
11889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11890         Likewise.
11891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11892         Likewise.
11893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11894         Likewise.
11895         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11896         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11897         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11898         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11899         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11901         Likewise.
11902         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11903         Likewise.
11904         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11905         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11906         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11908 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
11910         [BZ #20495]
11911         [BZ #20508]
11912         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
11913         processors, set Use_dl_runtime_resolve_slow and set
11914         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
11915         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
11916         New.
11917         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
11918         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
11919         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
11920         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
11921         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
11922         if Use_dl_runtime_resolve_opt is set.  Use
11923         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
11924         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
11925         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
11926         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
11927         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
11928         New.
11929         (_dl_runtime_resolve_opt): Likewise.
11930         (_dl_runtime_profile): Define only if _dl_runtime_profile is
11931         defined.
11933 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
11935         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
11936         __libc_memalign with "+ RELA R_390_GLOB_DAT".
11938 2016-09-06  Florian Weimer  <fweimer@redhat.com>
11940         Convert malloc to __libc_lock.  Automated part, using this Perl
11941         s/// command:
11942           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
11943             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
11944         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
11945         conversion.
11947 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
11949         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
11950         (linknamespace-symlists-tests): Likewise.
11951         (linknamespace-header-tests): Likewise.
11953 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
11955         [BZ #19810]
11956         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
11957         * elf/tst-noload.c: New test case.
11958         * elf/Makefile (tests): Add tst-noload.
11960 2016-09-02  Roland McGrath  <roland@hack.frob.com>
11962         * sysdeps/nacl/dup.c: Add libc_hidden_def.
11964         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
11965         not any more.
11967         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
11969 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11971         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
11972         (do_cos_slow): Likewise.
11973         (do_sin): Likewise.
11974         (do_sin_slow): Likewise.
11975         (slow): Likewise.
11976         (slow1): Likewise.
11977         (slow2): Likewise.
11978         (sloww): Likewise.
11979         (sloww1): Likewise.
11980         (sloww2): Likewise.
11981         (bsloww): Likewise.
11982         (bsloww1): Likewise.
11983         (bsloww2): Likewise.
11984         (cslow2): Likewise.
11986         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
11988         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
11989         arguments.  Consolidate input partitioning from callers here.
11990         (do_cos_slow): Likewise.
11991         (do_sin): Likewise.
11992         (do_sin_slow): Likewise.
11993         (do_sincos_1): Remove the no longer necessary input partitioning.
11994         (do_sincos_2): Likewise.
11995         (__sin): Likewise.
11996         (__cos): Likewise.
11997         (slow1): Likewise.
11998         (slow2): Likewise.
11999         (sloww1): Likewise.
12000         (sloww2): Likewise.
12001         (bsloww1): Likewise.
12002         (bsloww2): Likewise.
12003         (cslow2): Likewise.
12005 2016-09-02  Florian Weimer  <fweimer@redhat.com>
12007         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
12008         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
12009         outside of allocated array.
12011 2016-09-02  Florian Weimer  <fweimer@redhat.com>
12013         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
12014         instead of MB_CUR_MAX to avoid variable-length array.
12016 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12018         * math/Makefile (libm-calls): Remove k_rem_pio2F.
12019         (type-double-routines): Add k_rem_pio2.
12020         (type-float-routines): Add k_rem_pio2f.
12022         * sysdeps/generic/math_private.h:
12023         (__kernel_rem_pio2l): Removed.
12025         * math/k_rem_pio2l.c: Removed.
12026         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
12027         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
12028         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
12029         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
12031 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12033         * math/Makefile (gen-libm-calls): Add s_fmin
12034         (libm-calls): Remove above.
12036         * math/s_fmin.c: Refactor into ...
12037         * math/s_fmin_template.c: New file.
12039         * math/s_fminf.c: Removed.
12040         * math/s_fminl.c: Removed.
12041         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
12042         (LDOUBLE_fmin_libm_version): New macro.
12044         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
12045         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
12047 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12049         * math/Makefile: (gen-libm-calls): Add s_fmax.
12050         (libm-calls): Remove above.
12052         * math/s_fmax.c: Refactor into ...
12053         * math/s_fmax_template.c: New file.
12054         * math/s_fmaxf.c: Removed.
12055         * math/s_fmaxl.c: Removed.
12057         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
12058         (LDOUBLE_fmaxl_libm_version): New macro.
12060         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
12061         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
12063         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
12064         s_fmin.c to pick the aarch64 version of the file.
12065         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
12066         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
12068 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12070         * math/Makefile: (gen-libm-calls): Add s_nextdown.
12071         (libm-calls): Remove above.
12073         * math/s_nextdown.c: Refactor into ...
12074         * math/s_nextdown_template.c: New file.
12075         * math/s_nextdownf.c: Removed.
12076         * math/s_nextdownl.c: Removed.
12078         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
12080 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12082         * math/Makefile (gen-libm-calls): Add s_fdim.
12083         (libm-calls): Move to above.
12085         * math/s_fdim.c: Renamed and refactored into to ...
12086         * math/s_fdim_template.c: New file.
12087         * math/s_fdiml.c: Removed.
12088         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
12089         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
12091         * sysdeps/generic/math-type-macros-double.h:
12092         (declare_mgen_alias): Don't declare if already declared.
12093         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
12094         Likewise.
12096         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
12097         (declare_mgen_alias): Don't declare if already declared.
12098         (M_LIBM_NEED_COMPAT): Likewise.
12099         (declare_mgen_libm_compat): Likewise.
12100         (LDOUBLE_fdiml_libm_version): New macro.
12102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
12103         Include math/s_fdim.c now that ldbl-opt version is not needed.
12104         (declare_mgen_alias): New macro to disable aliasing.
12106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
12107         (declare_mgen_alias): Likewise.
12108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
12109         (declare_mgen_alias): Likewise.
12110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
12111         (declare_mgen_alias): Likewise.
12112         (M_LIBM_NEED_COMPAT): Likewise.
12114 2016-09-01  Florian Weimer  <fweimer@redhat.com>
12116         [BZ #20525]
12117         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
12118         Include <linux/quota.h>.
12119         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
12120         and btodb.
12121         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
12122         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
12123         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
12124         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
12125         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
12126         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
12127         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
12128         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
12129         types.
12130         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
12131         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
12133 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12135         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
12136         (gammal_positive): Fix spacing.
12137         (__ieee754_gammal_r): Likewise.
12139 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12141         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
12142         (_Float128): Define as long double, always.
12143         (L): Apply long double type suffix, always.
12145         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
12146         _Float128, excepting comments.
12148         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12149         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12150         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12151         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12152         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12153         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12154         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12155         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12156         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12157         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
12158         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12159         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12160         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12161         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12162         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12163         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12164         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12165         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12166         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12167         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12168         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12169         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
12170         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
12171         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12172         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12173         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12174         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
12175         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
12176         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12177         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12178         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12179         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12180         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12181         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12182         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12183         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12184         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12185         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12186         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12187         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12188         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12189         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12190         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
12191         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12192         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
12193         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12194         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12195         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12196         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12197         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12198         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12199         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12200         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12201         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12202         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
12203         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12204         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12205         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12206         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12207         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12208         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
12209         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12210         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12211         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12212         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12213         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
12214         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12215         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12217         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
12218         _Float128, and include math_private.h.
12219         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12221         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
12222         long double semantics.
12223         (_Float128): Likewise.
12224         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
12225         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
12226         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
12227         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
12229 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12231         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
12232         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
12233         * sysdeps/s390/configure: Regenerated.
12234         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
12235         instruction for raising over-/underflow if z196 zarch is supported
12236         by default.
12237         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
12239 2016-08-30  Svante Signell  <svante.signell@gmail.com>
12241         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
12242         it point to a dumb buffer for RPC to fill it.
12244 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12246         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
12247         instead of if/else.
12248         (do_sin_slow): Likewise.
12249         (do_sincos_1): Use fabs instead of if/else.
12250         (do_sincos_2): Likewise.
12251         (__sin): Likewise.
12252         (__cos): Likewise.
12253         (slow2): Likewise.
12254         (sloww): Likewise.
12255         (sloww1): Likewise.  Drop argument M.
12256         (sloww2): Use fabs instead of if/else.
12257         (bsloww): Likewise.
12258         (bsloww1): Likewise.
12259         (bsloww2): Likewise.
12261         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
12262         fall through comment.
12263         (do_sincos_1): Likewise.
12265         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
12266         Consolidate switch cases 0 and 2.
12268 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12270         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
12271         (libm-calls): Remove the above.
12273         * math/s_cexp_template.c: Update using type-generic macros.
12274         * math/s_clog10_template.c: Likewise.
12275         * math/s_cpow_template.c: Likewise.
12276         * math/s_clog_template.c: Likewise.
12277         * math/s_cproj_template.c: Likewise.
12278         * math/s_csqrt_template.c: Likewise.
12280         * math/s_cexp.c: Removed.
12281         * math/s_cexpf.c: Removed.
12282         * math/s_cexpl.c: Removed.
12283         * math/s_clog10.c: Removed.
12284         * math/s_clog10f.c: Removed.
12285         * math/s_clog10l.c: Removed.
12286         * math/s_cpow.c: Removed.
12287         * math/s_cpowf.c: Removed.
12288         * math/s_cpowl.c: Removed.
12289         * math/s_clog.c: Removed.
12290         * math/s_clogf.c: Removed.
12291         * math/s_clogl.c: Removed.
12292         * math/s_cproj.c: Removed.
12293         * math/s_cprojf.c: Removed.
12294         * math/s_cprojl.c: Removed.
12295         * math/s_csqrt.c: Removed.
12296         * math/s_csqrtf.c: Removed.
12297         * math/s_csqrtl.c: Removed.
12299         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
12300         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
12301         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
12302         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
12303         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
12304         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
12306         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
12307         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
12308         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
12309         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
12310         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
12311         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
12312         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
12313         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
12314         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
12315         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
12316         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
12318         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
12319         version.
12321         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
12322         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
12323         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
12324         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
12326 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12328         * s_cexp_template.c: Copy of s_cexp.c.
12329         * s_clog_template.c: Copy of s_clog.c.
12330         * s_clog10_template.c: Copy of s_clog10.c.
12331         * s_cpow_template.c: Copy of s_cpow.c.
12332         * s_cproj_template.c: Copy of s_cproj.c.
12333         * s_csqrt_template.c: Copy of s_csqrt.c.
12335 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12337         [BZ #20517]
12338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
12339         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
12340         exported.
12342 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
12344         * math/fetestexceptflag.c: New file.
12345         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
12346         Stefan Liebler.
12347         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12348         (fetestexceptflag): New function declaration.
12349         * manual/arith.texi (fetestexceptflag): Document function.
12350         * math/Versions (fetestexceptflag): New libm symbol at version
12351         GLIBC_2.25.
12352         * math/Makefile (libm-support): Add fetestexceptflag.
12353         (tests): Add test-fetestexceptflag.
12354         * math/test-fetestexceptflag.c: New file.
12355         * sysdeps/nacl/libm.abilist: Update.
12356         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12357         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12358         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12359         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12360         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12361         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12362         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12363         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12364         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12365         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12366         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12367         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12369         Likewise.
12370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12371         Likewise.
12372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12373         Likewise.
12374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12375         Likewise.
12376         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12377         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12378         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12379         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12380         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12381         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12382         Likewise.
12383         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12384         Likewise.
12385         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12386         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12387         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12389 2016-08-26  Florian Weimer  <fweimer@redhat.com>
12391         [BZ #20432]
12392         Avoid strong references to malloc-internal symbols when linking
12393         statically, to support statically interposed mallocs.
12394         * include/libc-symbols.h (call_function_static_weak): New macro.
12395         * malloc/Makefile (tests): Add tst-interpose-nothread,
12396         tst-interpose-thread, tst-interpose-static-nothread,
12397         tst-interpose-static-thread.
12398         (tests-static): Add tst-interpose-static-nothread,
12399         tst-interpose-static-thread.
12400         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
12401         tst-interpose-aux-thread.o.
12402         (test-extras): Add tst-interpose-aux-nothread,
12403         tst-interpose-aux-thread.
12404         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
12405         tst-interpose-aux-nothread.o.
12406         (tst-interpose-thread, tst-interpose-static-thread): Link with
12407         tst-interpose-aux-thread.o and libthread.
12408         * malloc/tst-interpose-aux-nothread.c: New file.
12409         * malloc/tst-interpose-aux-thread.c: Likewise.
12410         * malloc/tst-interpose-aux.c: Likewise.
12411         * malloc/tst-interpose-aux.h: Likewise.
12412         * malloc/tst-interpose-nothread.c: Likewise.
12413         * malloc/tst-interpose-skeleton.c: Likewise.
12414         * malloc/tst-interpose-static-nothread.c: Likewise.
12415         * malloc/tst-interpose-static-thread.c: Likewise.
12416         * malloc/tst-interpose-thread.c: Likewise.
12417         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
12418         * sysdeps/mach/hurd/fork.c (__fork): Only call
12419         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
12420         __malloc_fork_unlock_child if defined.
12421         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
12423 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12425         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
12426         timespec C99 designated initialization.
12428 2016-08-26  Florian Weimer  <fweimer@redhat.com>
12430         [BZ #19946]
12431         Avoid expected SIGALRM signals.
12432         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
12433         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
12434         (xpthread_create, xpthread_detach, xpthread_join)
12435         (delayed_exit_thread, delayed_exit): New functions.
12436         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
12437         (tf): Use xpthread_cond_wait.
12438         (do_test): Likewise.  Replace alarm with delayed_exit.
12439         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
12440         (do_test): Call delayed_exit.  Report failure.
12441         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
12442         (do_test): Call delayed_exit.
12443         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
12444         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
12445         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
12446         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
12447         error.
12448         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
12449         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
12450         error.
12451         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
12452         (do_test): Call delayed_exit.
12453         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
12454         (do_test): Call delayed_exit.
12455         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
12456         (do_test): Call delayed_exit instead of alarm.  Use
12457         xpthread_mutex_lock.
12458         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
12459         (do_test): Call delayed_exit instead of alarm.  Use
12460         xpthread_mutex_lock.
12461         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
12462         (do_test): Call delayed_exit instead of alarm.
12463         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
12464         (do_test): Call delayed_exit instead of alarm.  Use
12465         xpthread_spin_lock.
12466         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
12467         (do_test): Call delayed_exit instead of alarm.  Use
12468         xpthread_join.
12470 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
12472         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
12473         adjust CFA when allocating register save area on re-aligned
12474         stack.
12476 2016-08-26  Florian Weimer  <fweimer@redhat.com>
12478         * string/tst-cmp.c: New test.
12479         * string/Makefile (tests): Add it.
12481 2016-08-25  Mark Wielaard  <mark@klomp.org>
12483         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
12484         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
12485         (check_tree_recurse): Use newly defined accessors.
12486         (check_tree): Likewise.
12487         (maybe_split_for_insert): Likewise.
12488         (__tfind): Likewise.
12489         (__tdelete): Likewise.
12490         (trecurse): Likewise.
12491         (tdestroy_recurse): Likewise.
12492         (__tsearch): Likewise. And add asserts for malloc alignment.
12493         (__twalk): Cast root to node in case CHECK_TREE is defined.
12495 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12497         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
12499 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12501         * math/Makefile (libm-gen-calls): Add
12502         catan, catanh, ctan, ctanh.
12503         (libm-calls): Remove the above.
12505         * math/s_catan_template.c: Update using type-generic macros.
12506         * math/s_catanh_template.c: Likewise.
12507         * math/s_ctan_template.c: Likewise.
12508         * math/s_ctanh_template.c: Likewise.
12510         * math/s_catanf.c: Removed.
12511         * math/s_catan.c: Removed.
12512         * math/s_catanl.c: Removed.
12513         * math/s_catanhf.c: Removed.
12514         * math/s_catanh.c: Removed.
12515         * math/s_catanhl.c: Removed.
12516         * math/s_ctanf.c: Removed.
12517         * math/s_ctan.c: Removed.
12518         * math/s_ctanl.c: Removed.
12519         * math/s_ctanhf.c: Removed.
12520         * math/s_ctanh.c: Removed.
12521         * math/s_ctanhl.c: Removed.
12523         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
12524         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
12525         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
12526         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
12527         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
12528         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
12530         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
12531         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
12532         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
12533         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
12535 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12537         * s_catan_template.c: Copy of s_catan.c.
12538         * s_catanh_template.c: Copy of s_catanh.c.
12539         * s_ctan_template.c: Copy of s_ctan.c.
12540         * s_ctanh_template.c: Copy of s_ctanh.c.
12542 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12544         * math/Makefile (gen-libm-calls): Move
12545         casin, casinh, csin, csinh here.
12546         (libm-calls): Remove the above.
12548         * math/s_casin_template.c: Update using type-generic macros.
12549         * math/s_casinh_template.c: Likewise.
12550         * math/s_csin_template.c: Likewise.
12551         * math/s_csinh_template.c: Likewise.
12552         * math/k_casinh_template.c: Likewise.
12554         * math/s_casinf.c: Removed.
12555         * math/s_casin.c: Removed.
12556         * math/s_casinl.c: Removed.
12557         * math/s_casinh.c: Removed.
12558         * math/s_casinhf.c: Removed.
12559         * math/s_casinhl.c: Removed.
12560         * math/s_csin.c: Removed.
12561         * math/s_csinf.c: Removed.
12562         * math/s_csinl.c: Removed.
12563         * math/s_csinh.c: Removed.
12564         * math/s_csinhf.c: Removed.
12565         * math/s_csinhl.c: Removed.
12566         * math/k_casinh.c: Removed.
12567         * math/k_casinhf.c: Removed.
12568         * math/k_casinhl.c: Removed.
12570         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
12571         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
12572         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
12573         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
12575         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
12576         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
12577         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
12578         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
12579         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
12580         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
12581         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
12582         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
12584         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
12585         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
12586         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
12587         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
12589         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
12590         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
12591         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
12592         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
12594 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12596         * s_casin_template.c: Copy of s_casin.c.
12597         * s_casinh_template.c: Copy of s_casinh.c.
12598         * s_csin_template.c: Copy of s_csin.c.
12599         * s_csinh_template.c: Copy of s_csinh.c.
12600         * k_casinh_template.c: Copy of k_casinh.c.
12602 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12604         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
12606 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12608         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
12609         (mul_split) Remove, rename as mul_splitl, remove
12610         redundant float.h include, and include via mul_splitl.h
12612         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
12613         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12614         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
12615         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
12616         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12618         * math/mul_splitl.h: New file.
12620         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
12621         Move into mul_split.h, and remove redundant float.h include.
12623         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
12624         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
12625         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12626         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
12628         * math/mul_split.h: New file.
12630 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12632         * math/Makefile (libm-gen-calls): Move
12633         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
12634         (libm-calls): Remove above.
12636         * math/s_cacos_template.c: Update using type-generic macros.
12637         * math/s_cacosh_template.c: Likewise.
12638         * math/s_ccos_template.c: Likewise.
12639         * math/s_ccosh_template.c: Likewise.
12641         * math/s_cacosf.c: Removed.
12642         * math/s_cacos.c: Removed.
12643         * math/s_cacosl.c: Removed.
12644         * math/s_cacoshf.c: Removed.
12645         * math/s_cacosh.c: Removed.
12646         * math/s_cacoshl.c: Removed.
12647         * math/s_ccosf.c: Removed.
12648         * math/s_ccos.c: Removed.
12649         * math/s_ccosl.c: Removed.
12650         * math/s_ccoshf.c: Removed.
12651         * math/s_ccosh.c: Removed.
12652         * math/s_ccoshl.c: Removed.
12654         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
12655         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
12656         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
12657         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
12658         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
12659         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
12661         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
12662         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
12663         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
12664         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
12666         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
12667         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
12668         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
12669         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
12671 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12673         * s_cacos_template.c: Copy of s_cacos.c.
12674         * s_cacosh_template.c: Copy of s_cacosh.c.
12675         * s_ccos_template.c: Copy of s_ccos.c.
12676         * s_ccosh_template.c: Copy of s_ccosh.c.
12678 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12680         * stdlib/tst-strtod-round-skeleton.c:
12681         Refactored from tst-strtod-round.c.
12683         (L_): New macro to apply literal modifier.
12684         (FNPFX): New macro to select str or wcs prefix.
12685         (CHAR): New macro to choose wchar_t or char.
12686         (STRM): New macro to choose printf for tested character type.
12688         (STRTO): New macro to choose appropriate string -> real function.
12689         (FNPFXS): Stringitized version of FNPFX.
12690         (STR): Support for above macro.
12691         (STRX): Likewise.
12693         (TEST): Update with above macros.
12694         (test): Likewise.
12695         (GEN_ONE_TEST): Likewise.
12696         (test_in_one_mode): Likewise.
12698         * stdlib/tst-strtod-round.c: New file.
12699         * wcsmbs/tst-wcstod-round.c: New file.
12701         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
12702         (tst-wcstod-round): Add libm depencency for fesetround.
12704 2016-08-19  Zack Weinberg  <zackw@panix.com>
12706         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
12708 2016-08-18  Torvald Riegel  <triegel@redhat.com>
12710         [BZ #20477]
12711         * resolv/res_hconf.c (do_init): Use atomic access.
12712         * resolv/res_hconf.h: Add comments.
12713         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
12714         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
12715         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12717 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
12719         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12720         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
12721         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12722         Likewise.
12724 2016-08-18  Florian Weimer  <fweimer@redhat.com>
12726         [BZ #16907]
12727         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
12728         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
12729         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
12730         (__attribute__): Remove definition.
12732 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12734         * sysdeps/ieee754/ldbl-128/e_asinl.c:
12735         Remove unused sqrtl declaration.
12737 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12739         * math/Makefile: (gen-libm-templates.stmp): New rule.
12740         (libm-calls): Move carg conj cimag and cabs into ...
12741         (gen-libm-calls): New variable.
12742         (generated): Inform Make objects from gen-libm-calls
12743         may be generated.
12745         * sysdeps/generic/math-type-macros.h: New file.
12746         * sysdeps/generic/math-type-macros-float.h: Likewise.
12747         * sysdeps/generic/math-type-macros-double.h: Likewise.
12748         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
12749         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
12750         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
12752         * math/cabs.c: Refactor into
12753         * math/cabs_template.c: new file.
12754         * math/cabsf.c: Removed.
12755         * math/cabsl.c: Removed.
12756         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
12757         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
12759         * math/carg.c: Refactor into
12760         * math/carg_template.c: new file.
12761         * math/cargf.c: Removed.
12762         * math/cargl.c: Removed.
12763         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
12764         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
12766         * math/conj.c: Refactor into
12767         * math/conj_template.c: new file.
12768         * math/conjf.c: Removed.
12769         * math/conjl.c: Removed.
12770         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
12771         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
12773         * math/cimag.c: Refactor into
12774         * math/cimag_template.c: new file.
12775         * math/cimagf.c: Removed.
12776         * math/cimagl.c: Removed.
12777         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
12778         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
12780         * math/cimag.c: Refactor into
12781         * math/cimag_template.c: new file.
12782         * math/cimagf.c: Removed.
12783         * math/cimagl.c: Removed.
12784         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
12785         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
12787 2016-08-17  Florian Weimer  <fweimer@redhat.com>
12789         Reduce time to expected nptl/tst-once5 failure.
12790         * nptl/tst-once5.cc (TIMEOUT): Define.
12792 2016-08-17  Florian Weimer  <fweimer@redhat.com>
12794         [BZ #20452]
12795         Avoid additional copies of objects in libc.a in static libraries.
12796         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
12797         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
12798         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
12799         rt-sysdep.
12800         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
12801         Add nptl-sysdep.
12802         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
12803         Add ptw-sysdep.
12804         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
12805         rt-sysdep.
12806         * sysdeps/unix/sysv/linux/alpha/Makefile
12807         (libpthread-shared-only-routines): Add ptw-sysdep,
12808         ptw-sigprocmask, ptw-rt_sigaction.
12809         * sysdeps/unix/sysv/linux/ia64/Makefile
12810         (librt-shared-only-routines): Add rt-sysdep.
12811         * sysdeps/unix/sysv/linux/i386/Makefile
12812         (libpthread-shared-only-routines): Add libc-do-syscall.
12813         * sysdeps/unix/sysv/linux/microblaze/Makefile
12814         (libpthread-shared-only-routines): Add sysdep.
12815         * sysdeps/unix/sysv/linux/powerpc/Makefile
12816         (librt-shared-only-routines): Add rt-sysdep.
12817         (libpthread-shared-only-routines): Add sysdep.
12818         * sysdeps/unix/sysv/linux/s390/Makefile
12819         (librt-shared-only-routines): Add rt-sysdep.
12820         * sysdeps/unix/sysv/linux/sparc/Makefile
12821         (librt-shared-only-routines): Add rt-sysdep.
12822         (libpthread-shared-only-routines): Add sysdep.
12823         * sysdeps/unix/sysv/linux/tile/Makefile
12824         (libpthread-shared-only-routines): Likewise.
12826 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
12828         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
12829         Mask implicit bit out of unpacked value.
12830         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
12831         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
12832         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
12834         * sysdeps/sparc/fpu/fesetexcept.c: New file.
12836         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
12838         * sysdeps/s390/fpu/fesetexcept.c: New file.
12840         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
12841         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
12842         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
12844         * sysdeps/mips/fpu/fesetexcept.c: New file.
12846         * sysdeps/m68k/fpu/fesetexcept.c: New file.
12848         * sysdeps/ia64/fpu/fesetexcept.c: New file.
12850         * sysdeps/hppa/fpu/fesetexcept.c: New file.
12852         * sysdeps/arm/fesetexcept.c: New file.
12854         * sysdeps/alpha/fpu/fesetexcept.c: New file.
12856         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
12858         * math/fesetexcept.c: New file.
12859         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
12860         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
12861         * math/fenv.h: Define
12862         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12863         <bits/libc-header-start.h> instead of including <features.h>.
12864         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
12865         declaration.
12866         * manual/arith.texi (fesetexcept): Document function.
12867         * math/Versions (fesetexcept): New libm symbol at version
12868         GLIBC_2.25.
12869         * math/Makefile (libm-support): Add fesetexcept.
12870         (tests): Add test-fesetexcept and test-fesetexcept-traps.
12871         * math/test-fesetexcept.c: New file.
12872         * math/test-fesetexcept-traps.c: Likewise.
12873         * sysdeps/nacl/libm.abilist: Update.
12874         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12875         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12876         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12877         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12878         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12879         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12880         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12881         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12882         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12883         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12884         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12885         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12887         Likewise.
12888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12889         Likewise.
12890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12891         Likewise.
12892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12893         Likewise.
12894         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12895         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12896         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12897         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12898         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12899         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12900         Likewise.
12901         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12902         Likewise.
12903         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12904         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12905         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12907 2016-08-16  Florian Weimer  <fweimer@redhat.com>
12909         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
12910         New.
12911         (do_test): Apply default_stack_size_in_mb if not set.
12912         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
12914 2016-08-15  Andreas Schwab  <schwab@suse.de>
12916         [BZ #20435]
12917         CVE-2016-6323
12918         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
12919         as .cantunwind.
12921 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
12923         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
12924         comment from fraiseexcpt.c.
12926         * math/test-fexcept.c (feraiseexcept_exact): New function.
12927         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
12928         (test_except): Likewise.
12930 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
12932         [BZ #20455]
12933         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
12934         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
12935         to be restored.
12937         * math/test-fexcept-traps.c: New file.
12938         * math/test-fexcept.c: Likewise.
12939         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
12940         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
12941         macro.
12942         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
12943         (EXCEPTION_SET_FORCES_TRAP): Likewise.
12945 2016-08-09  Torvald Riegel  <triegel@redhat.com>
12947         * include/atomic.h (atomic_fetch_and_relaxed,
12948         atomic_fetch_and_release, atomic_fetch_or_release,
12949         atomic_fetch_xor_release): New.
12951 2016-08-06  Christian Seiler  <christian@iwakd.de>
12953         [BZ #20444]
12954         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
12955         MACH_PORT_NULL.
12957 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
12959         * math/s_fdim.c: Avoid alias renamed.
12960         * math/s_fdimf.c: Likewise.
12961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
12962         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12963         Add s_fdimf-vis3, s_fdim-vis3.
12964         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
12965         (CFLAGS-s_fdim-vis3.c): Likewise.
12966         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
12967         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
12969 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
12971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
12972         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12973         Remove s_fdimf-vis3, s_fdim-vis3.
12974         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
12975         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
12976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
12977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
12978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
12979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
12980         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
12981         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
12982         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
12983         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
12985 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
12987         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
12988         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
12989         -Wa,-Av9a -mvis.
12991 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12993         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
12994         LIT() to individual constants in simple expressions
12995         after splitting on spaces.
12996         (_apply_lit): Rename replaced version, and use it to
12997         apply to what appears to be a token.
12999         * math/libm-test.inc: Fix many, many issues with
13000         spacing.
13002 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
13004         * math/math.h: Move comment about <bits/mathdef.h> definitions
13005         above inclusion of <bits/mathdef.h>.  Do not mention
13006         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
13008 2016-08-05  Torvald Riegel  <triegel@redhat.com>
13010         * include/atomic.h (atomic_exchange_relaxed): New.
13012 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
13014         * math/e_scalb.c: Do not include <fenv.h>.
13015         (invalid_fn): Do calculation resulting in NaN instead of raising
13016         FE_INVALID and returning a NaN explicitly.
13017         * math/e_scalbf.c: Do not include <fenv.h>.
13018         (invalid_fn): Do calculation resulting in NaN instead of raising
13019         FE_INVALID and returning a NaN explicitly.
13020         * math/e_scalbl.c: Do not include <fenv.h>.
13021         (invalid_fn): Do calculation resulting in NaN instead of raising
13022         FE_INVALID and returning a NaN explicitly.
13024 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
13026         * po/de.po: Updated from Translation Project.
13027         * po/fi.po: Likewise.
13028         * po/sv.po: Likewise.
13030 2016-08-04  Florian Weimer  <fweimer@redhat.com>
13032         [BZ #20452]
13033         Use sysdep.o from libc.a in static libraries.
13034         * sysdeps/unix/sysv/linux/i386/Makefile
13035         (libpthread-shared-only-routines): Add sysdep.
13036         (librt-shared-only-routines): Likewise.
13038 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
13040         * math/tgmath.h (nextdown): Define if
13041         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
13042         (nextup): Likewise.
13044         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
13045         macro.
13046         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
13047         Document.
13048         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
13049         Document macro.
13050         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
13051         (exp10f): Likewise.
13052         (exp10l): Likewise.
13053         * math/bits/mathcalls.h (exp10): Declare if
13054         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
13056         * manual/arith.texi (nextup): Fix typo in last change.
13058 2016-08-03  Zack Weinberg  <zackw@panix.com>
13060         [BZ #19239]
13061         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
13062         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
13063         define major, minor, and makedev to issue deprecation warnings on use.
13064         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
13065         previously-activated deprecation warnings for these macros and prevent
13066         subsequent inclusions of this header from having any effect.
13067         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
13068         including <sys/sysmacros.h>, and undefine it again afterward.
13070 2016-08-03  Zack Weinberg  <zackw@panix.com>
13072         * sysdeps/generic/sys/sysmacros.h: Delete file.
13073         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
13074         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
13075         * bits/sysmacros.h: ... here; this encoding is now the generic
13076         encoding.  Now defines only the following macros:
13077         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
13078         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
13079         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
13081         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
13082         bits/sysmacros.h and the above new macros to generate the
13083         public implementations of major, minor, and makedev.
13084         * misc/tst-makedev.c: New test.
13085         * include/sys/sysmacros.h: New wrapper.
13087         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
13088         (routines): Add makedev.
13089         (tests): Add tst-makedev.
13090         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
13091         gnu_dev_makedev.
13092         * posix/Makefile (headers): Remove sys/sysmacros.h.
13093         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
13095         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
13096         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
13097         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
13098         * sysdeps/unix/sysv/linux/alpha/libc.abilist
13099         * sysdeps/unix/sysv/linux/arm/libc.abilist
13100         * sysdeps/unix/sysv/linux/hppa/libc.abilist
13101         * sysdeps/unix/sysv/linux/i386/libc.abilist
13102         * sysdeps/unix/sysv/linux/ia64/libc.abilist
13103         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
13104         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
13105         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
13106         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
13107         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
13108         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
13109         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
13110         * sysdeps/unix/sysv/linux/nios2/libc.abilist
13111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
13112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
13113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
13114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
13115         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
13116         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
13117         * sysdeps/unix/sysv/linux/sh/libc.abilist
13118         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
13119         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
13120         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
13121         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
13122         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
13123         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
13124         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
13125         Add GLIBC_2.25.
13127         * include/features.h (__glibc_clang_prereq): New macro.
13128         * misc/sys/cdefs.h (__glibc_clang_has_extension)
13129         (__attribute_deprecated_msg__): New macros.
13131 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
13133         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
13134         macro.
13135         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
13136         * manual/arith.texi (issignaling): Document as ISO from TS
13137         18661-1:2014.
13138         (nextup): Likewise.
13139         (nextupf): Likewise.
13140         (nextupl): Likewise.
13141         (nextdown): Likewise.
13142         (nextdownf): Likewise.
13143         (nextdownl): Likewise.
13144         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
13145         macro.
13146         * math/math.h: Define
13147         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13148         <bits/libc-header-start.h> instead of including <features.h>.
13149         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
13150         [__USE_GNU].
13151         * math/bits/mathcalls.h (nextdown): Declare if
13152         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
13153         (nextup): Likewise.
13154         (__issignaling): Likewise.
13156 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13158         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
13159         check, and remove __glibc_likely hint
13160         from FP_INFINITE check.
13161         * s_csinhf.c (__csinhf): Likewise.
13163         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
13164         hint from FP_INFINITE check.
13165         * s_csinhl.c (__csinhl): Likewise.
13167 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13169         * math/Makefile (libm-calls): Insert F placeholder into
13170         object names.  Move w_lgamma_compat* routines into
13171         (libm-compat-calls): New variable.
13172         (libm-compat-calls-ldouble-yes): New variable.
13173         (calls): Insert F placeholder.
13174         (generated): Redefine using new type-foreach macro call.
13175         (routines): Likewise.
13177         (types): New variable to hold a list of symbolic names
13178         for each type supported by the target machine.
13179         (libm-routines): Redefine using new types variable.
13180         (type-foreach): macro to replace fooF with the
13181         appropriately suffixed foo for each types.
13183         (type-ldouble-suffix): New variable.
13184         (type-ldouble-routines): Likewise.
13185         (type-ldouble-yes): Likewise.
13186         (type-double-suffix): Likewise.
13187         (type-double-routines): Likewise.
13188         (type-float-suffix): Likewise.
13189         (type-float-routines): Likewise.
13191         (dbl-only-routines): Remove.
13192         (long-c-yes): Likewise.
13193         (long-m-routines): Likewise.
13194         (long-m-support): Likewise.
13195         (long-m-yes): Likewise.
13196         (test-longdouble-yes): Likewise.
13198         (test-float.o): Simplify by increasing the scope of the
13199         recipe which adds libm-test.stmp to the vector types.
13200         (test-ifloat.o): Likewise.
13201         (test-float-finite.o): Likewise.
13202         (test-double.o): Likewise
13203         (test-idouble.o): Likewise.
13204         (test-double-finite.o): Likewise.
13205         (test-ldouble.o): Likewise
13206         (test-ildoubl.o): Likewise.
13207         (test-ldouble-finite.o): Likewise.
13209         (libm-tests): Redefine type tests using foreach and the
13210         list of types in types.
13212         (CPPFLAGS-test-ildoubl.c): Rename to
13213         (CPPFLAGS-test-ildouble.c): New variable
13215         * math/test-ildoubl.c: Rename to
13216         * math/test-ildouble.c: New file.
13218 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13220         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
13221         Use fabsl instead of fabs.
13222         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
13223         Likewise.
13224         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
13225         Add long double suffix to constant to ensure proper
13226         promotion to long double.
13228 2016-08-03  Tom Tromey  <tom@tromey.com>
13230         [BZ #20311]
13231         * nptl_db/Makefile (headers): Add proc_service.h.
13232         * nptl_db/proc_service.h: Add include guard.  Use
13233         __BEGIN/__END_DECLS.
13234         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
13235         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
13236         arguments.
13239 2016-08-03  Florian Weimer  <fweimer@redhat.com>
13241         [BZ #17730]
13242         Avoid using memalign for TCB allocations.
13243         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
13244         (_dl_allocate_tls_storage): Use malloc and manual alignment.
13245         Avoid alignment gap in the TLS_DTV_AT_TP case.
13246         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
13247         determine the pointer to free.
13248         * nptl/tst-tls3-malloc.c: New test.
13249         * nptl/Makefile (tests): Add it.
13250         (tst-tls3-malloc): Link with libdl, libpthread.
13251         (LDFLAGS-tst-tls3-malloc): Set.
13252         (tst-tls3-malloc.out): Depend on DSO used in test.
13254 2016-08-03  Florian Weimer  <fweimer@redhat.com>
13256         [BZ #17730]
13257         Avoid using memalign for TLS allocations.
13258         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
13259         is_static member with to_free member.
13260         (union dtv): Use struct dtv_pointer.
13261         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
13262         dtv_pointer instead of is_static.
13263         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
13264         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
13265         instead of val.
13266         (allocate_dtv_entry): New function.
13267         (allocate_and_init): Return struct dtv_pointer.  Call
13268         allocate_dtv_entry instead of __libc_memalign.
13269         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
13270         instead of val.
13271         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
13272         instead of is_static.  Adjust call to allocate_and_init.
13273         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
13274         struct dtv_pointer instead of val.
13276 2016-08-03  Florian Weimer  <fweimer@redhat.com>
13278         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
13279         (MALLOC_ALIGN_MASK): Move ...
13280         * malloc/malloc-internal.h: ... to here.
13281         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
13283 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
13285         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
13286         (UDP_ENCAP_GTP1U): Likewise.
13288         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
13289         (PF_MAX): Update value.
13290         (AF_QIPCRTR): New macro.
13292 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
13294         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
13295         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13296         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13297         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
13298         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
13299         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
13300         s_truncf-vis3, s_trunc-vis3.
13301         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
13302         (CFLAGS-s_ceil-vis3.c): Likewise.
13303         (CFLAGS-s_floorf-vis3.c): Likewise.
13304         (CFLAGS-s_floor-vis3.c): Likewise.
13305         (CFLAGS-s_truncf-vis3.c): Likewise.
13306         (CFLAGS-s_trunc-vis3.c): Likewise.
13307         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
13308         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
13309         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
13310         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
13311         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
13312         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
13313         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
13314         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
13315         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
13316         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
13317         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
13318         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
13320 2016-08-02  David S. Miller  <davem@davemloft.net>
13322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
13323         (__nearbyint_vis3): Don't check for sNaN before float register is
13324         loaded with the incoming argument.
13325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
13326         (__nearbyintf_vis3): Likewise.
13327         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
13328         Likewise.
13329         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
13330         Likewise.
13332         * string/test-strncmp.c (do_test_limit): Make sure the test data
13333         stream is aligned as required for the type "CHAR".
13334         (do_test): Likewise.
13336 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
13338         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
13339         by beq instructions jumping to the end of the function.
13340         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
13341         clobber list. Use "i" constraint instead of "X".
13342         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
13343         of "X".
13345 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
13347         * bits/libc-header-start.h: New file.
13348         * Makefile (headers): Add bits/libc-header-start.h.
13349         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
13350         (__GLIBC_USE): New macro.
13351         * libio/stdio.h: Define
13352         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13353         <bits/libc-header-start.h> instead of including <features.h>.
13354         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
13355         (open_memstream): Likewise.
13356         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
13357         (__asprintf): Likewise.
13358         (asprintf): Likewise.
13359         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
13360         (getdelim): Likewise.
13361         (getline): Likewise.
13362         * string/string.h: Define
13363         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13364         <bits/libc-header-start.h> instead of including <features.h>.
13365         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
13366         (strndup): Likewise.
13367         * wcsmbs/wchar.h: Define
13368         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13369         <bits/libc-header-start.h> instead of including <features.h>.
13370         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
13371         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
13373 2016-08-02  Florian Weimer  <fweimer@redhat.com>
13375         Support linking against compatibility symbols, for use in tests.
13376         * include/libc-symbols.h (symbol_version_reference): New macro.
13377         (symbol_version): Use it.
13378         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
13379         (compat_symbol): Use compat_symbol_reference.
13380         (compat_symbol_1, compat_symbol_2): Remove.
13381         (compat_symbol_reference, compat_symbol_reference_1)
13382         (compat_symbol_reference_2): New macro.  Use
13383         symbol_version_reference.
13385 2016-08-02  Florian Weimer  <fweimer@redhat.com>
13387         [BZ #19469]
13388         * malloc/Makefile (CPPFLAGS): Compile tests with
13389         -DTEST_NO_MALLOPT.
13390         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
13392 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
13394         [BZ #20033]
13395         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
13396         finite version.
13397         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
13398         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
13399         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
13400         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
13401         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
13402         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
13403         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
13404         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
13405         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
13406         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
13407         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
13408         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
13409         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
13410         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
13411         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
13412         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
13413         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
13414         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
13415         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
13416         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
13417         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
13418         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
13419         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
13420         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
13421         in zero power.
13423 2016-08-02  Florian Weimer  <fweimer@redhat.com>
13425         [BZ #20370]
13426         * malloc/arena.c (get_free_list): Update comment.  Assert that
13427         arenas on the free list have no attached threads.
13428         (remove_from_free_list): New function.
13429         (reused_arena): Call it.
13431 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
13433         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
13434         when it is a NaN.
13435         [_IEEE_FP_INEXACT] Remove.
13436         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
13437         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
13438         when it is a NaN.
13439         [_IEEE_FP_INEXACT] Remove.
13440         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
13441         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
13442         when it is a NaN.
13443         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
13444         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
13445         when its absolute value is greater than 0x1.0p52.
13446         [_IEEE_FP_INEXACT] Remove.
13447         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
13448         when its absolute value is greater than 0x1.0p23.
13449         [_IEEE_FP_INEXACT] Remove.
13451 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
13453         * version.h (RELEASE): Set to "development"
13454         (VERSION): Set to 2.24.90.
13455         * NEWS: Add 2.25 section.
13457         * version.h (RELEASE): Set to "stable"
13458         (VERSION): Set to 2.24.
13459         * include/features.h (__GLIBC_MINOR__): Set to 24.
13461         * NEWS: Add 2.24 fixed bugs.
13462         * po/libc.pot: Regenerate.
13464 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
13466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
13467         [$(subdir) = math] (libm-sysdep_routines): Remove.
13468         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
13469         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
13470         s_truncf-vis3, s_trunc-vis3.
13471         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
13473         file.
13474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
13475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
13476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
13477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
13480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
13481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
13483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
13484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
13485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
13486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
13487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
13488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
13489         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
13490         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13491         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
13492         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
13493         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
13494         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
13495         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
13496         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13497         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13498         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
13499         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13500         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13501         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
13502         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13503         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13504         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
13505         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13506         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13507         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
13508         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
13509         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
13510         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
13511         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13512         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13513         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
13514         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
13515         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
13516         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
13518 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
13520         [BZ #20384]
13521         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
13522         test-double-libmvec-sincos-avx-main.o,
13523         test-double-libmvec-sincos-avx2-main.o,
13524         test-double-libmvec-sincos-main.o,
13525         test-float-libmvec-sincosf-avx-main.o,
13526         test-float-libmvec-sincosf-avx2-main.o and
13527         test-float-libmvec-sincosf-main.o.
13528         test-float-libmvec-sincosf-avx512-main.o.
13529         ($(objpfx)test-double-libmvec-sincos): Also link with
13530         $(objpfx)test-double-libmvec-sincos-main.o.
13531         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
13532         $(objpfx)test-double-libmvec-sincos-avx-main.o.
13533         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
13534         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
13535         ($(objpfx)test-float-libmvec-sincosf): Also link with
13536         $(objpfx)test-float-libmvec-sincosf-main.o.
13537         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
13538         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
13539         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
13540         test-double-libmvec-sincos-avx512-main.o and
13541         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
13542         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
13543         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
13544         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
13545         (CFLAGS-test-double-libmvec-sincos.c): Removed.
13546         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
13547         (CFLAGS-test-double-libmvec-sincos-main.c): New.
13548         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
13549         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
13550         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
13551         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
13552         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
13553         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
13554         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
13555         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
13556         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
13557         -DREQUIRE_AVX2.
13558         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
13559         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
13560         -DREQUIRE_AVX512F.
13561         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
13562         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
13563         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
13564         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
13565         file.
13566         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
13567         Likewise.
13568         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
13569         Likewise.
13570         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
13571         Likewise.
13572         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
13573         Likewise.
13574         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
13575         Likewise.
13576         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
13577         Likewise.
13578         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
13579         Likewise.
13581 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
13583         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
13585 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
13587         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
13588         and typo in a comment about AT_HWCAP entry.
13590 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13592         * sysdeps/aarch64/libm-test-ulps: Updated.
13594 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
13596         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
13597         of r13 as it is not restored in mvcle case.
13599 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
13601         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
13602         Rename "ret" to "__ret".
13603         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
13604         inline_syscall5, inline_syscall6): Likewise.
13606 2016-07-19   Will Newton  <will.newton@gmail.com>
13608         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
13609         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
13610         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
13611         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
13612         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
13614 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
13616         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
13617         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
13618         -mfpmath=387 with $(rtld-CFLAGS).
13619         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
13620         $(rtld-CFLAGS).
13622 2016-07-18   Ross Burton  <ross.burton@intel.com>
13623              Khem Raj  <raj.khem@gmail.com>
13625         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
13626         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
13627         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
13628         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
13629         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
13630         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
13631         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
13632         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
13633         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
13634         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
13635         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
13636         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
13637         R_METAG_TLS_DTPOFF): New.
13639 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13640             Matt Clay  <mclay@lycos.com>
13642         [BZ #20357]
13643         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
13644         to call __mpsin/__mpcos and to negate values.
13645         * math/auto-libm-test-in: Add test.
13646         * math/auto-libm-test-out: Regenerate.
13648 2016-07-18  Zack Weinberg  <zackw@panix.com>
13650         * grp/Makefile: Don't install the internal header grp-merge.h.
13652 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13654         * sysdeps/aarch64/libm-test-ulps: Regenerated.
13656 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13658         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
13660 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13662         [BZ #15368]
13663         * sysdeps/unix/sysv/linux/nptl-signals.h
13664         (__nptl_clear_internal_signals): New function.
13665         (__libc_signal_block_all): Likewise.
13666         (__libc_signal_block_app): Likewise.
13667         (__libc_signal_restore_set): Likewise.
13668         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
13669         implementation.
13670         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
13671         the cached pid/tid value in pthread structure.
13673 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
13675         [BZ #20347]
13676         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
13678 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
13680         [BZ #20348]
13681         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
13682         preadv64, pwrite64 and pwritev64.
13684 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
13686         [BZ #20350]
13687         * posix/tst-preadwrite.c: Renamed to ...
13688         * posix/tst-preadwrite-common.c: This.
13689         (PREAD): Removed.
13690         (PWRITE): Likewise.
13691         (STRINGIFY): Likewise.
13692         (STRINGIFY2): Likewise.
13693         (do_prepare): Make it static and remove function arguments.
13694         (do_test): Likewise.
13695         (PREPARE): Updated.
13696         (TEST_FUNCTION): New.
13697         (name): Make it static.
13698         (fd): Likewise.
13699         (do_prepare): Use create_temp_file.
13700         (do_test): Renamed to ...
13701         (do_test_with_offset): This.  Make it static and accept offset.
13702         Properly check return value of PWRITE and PREAD.  Return bytes
13703         read.  Don't close fd nor unlink name.
13704         * posix/tst-preadwrite.c: Rewrite.
13705         * posix/tst-preadwrite64.c: Likewise.
13707 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
13709         [BZ #20309]
13710         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
13711         -mtls-dialect=gnu2 works.
13712         * configure: Regenerated.
13713         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
13714         (tests): Add tst-gnu2-tls1.
13715         (modules-names): Add tst-gnu2-tls1mod.
13716         ($(objpfx)tst-gnu2-tls1): New.
13717         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
13718         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
13719         * elf/tst-gnu2-tls1.c: New file.
13720         * elf/tst-gnu2-tls1mod.c: Likewise.
13721         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
13722         bytes for push in the PLT entry to align the stack.
13724 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
13726         [BZ #20349]
13727         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
13729 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13731         [BZ #18707]
13732         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
13733         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
13735 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13737         * sysdeps/unix/sysv/linux/sysdep.h
13738         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
13739         guards.
13740         * misc/tst-preadvwritev-common.c: New file.
13741         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
13742         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
13743         a check for files larger than 2GB.
13745         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13746         (__ASSUME_OFF_DIFF_OFF64): Remove define.
13747         * sysdeps/unix/sysv/linux/pread.c
13748         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
13749         __OFF_T_MATCHES_OFF64_T.
13750         * sysdeps/unix/sysv/linux/pread64.c
13751         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
13752         * sysdeps/unix/sysv/linux/preadv.c
13753         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
13754         * sysdeps/unix/sysv/linux/preadv64.c
13755         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
13756         * sysdeps/unix/sysv/linux/pwrite.c
13757         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
13758         * sysdeps/unix/sysv/linux/pwrite64.c
13759         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
13760         * sysdeps/unix/sysv/linux/pwritev.c
13761         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
13762         * sysdeps/unix/sysv/linux/pwritev64.c
13763         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
13765 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
13767         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13768         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
13770 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
13772         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
13774 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
13776         [BZ #20240]
13777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
13778         (CFLAGS-s_modf-ppc32.c): New variable.
13779         (CFLAGS-s_modff-ppc32.c): Likewise.
13780         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13781         (CFLAGS-s_modf-ppc64.c): Likewise.
13782         (CFLAGS-s_modff-ppc64.c): Likewise.
13784 2016-07-07  Andreas Schwab  <schwab@suse.de>
13786         [BZ #20263]
13787         * nptl/tst-robust10.c: New test.
13788         * nptl/Makefile (tests): Add tst-robust10.
13790 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
13792         [BZ #20263]
13793         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
13795 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
13797         * sysdeps/s390/linkmap.h (struct link_map_machine):
13798         Remove member gotplt and add member jmprel.
13799         * sysdeps/s390/s390-32/dl-machine.h
13800         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
13801         instead of gotplt with &got[3].
13802         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
13803         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13805 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
13807         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
13809 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13811         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
13812         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
13813         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
13814         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
13815         * libio/vtables.c (_IO_vtable_check)
13816         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
13817         * libio/libioP.h (IO_set_accept_foreign_vtables)
13818         [!PTR_MANGLE]: Do not call PTR_MANGLE.
13820 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
13822         [BZ #20314]
13823         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
13824         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
13825         $(common-objpfx)cmath.
13826         ($(common-objpfx)cstdlib): New target.
13827         ($(common-objpfx)cmath): Likewise.
13829 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
13831         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
13833 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13835         [BZ #20327]
13836         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
13837         are not part of the string.
13839 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13841         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
13842         * nptl/tst-cancel4-common.h (fifoname): New variable.
13843         (fifofd): Likewise.
13844         (cl_fifo): New function.
13845         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
13846         SIGINT.
13847         (tf_open): Add early cancel test.
13849 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
13851         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
13853 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
13855         * sysdeps/generic/ldsodefs.h
13856         (dl_symbol_visibility_binds_local_p): New inline function.
13857         * elf/dl-addr.c (determine_info): Treat hidden and internal
13858         symbols as local.
13859         * elf/dl-lookup.c (do_lookup_x): Likewise.
13860         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
13862 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
13864         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
13865         invalid exception for a sNaN input.
13866         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
13867         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
13868         (__nearbyint_vis3): Likewise
13869         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
13870         (__nearbyintf_vis3): Likewise
13871         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
13872         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
13873         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
13874         Likewise.
13875         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
13876         Likewise.
13878 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
13880         [BZ #20139]
13881         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
13882         (HAVE_AVX512DQ_ASM_SUPPORT): This.
13883         * sysdeps/x86_64/configure.ac: Require assembler from binutils
13884         2.24 or above.
13885         (HAVE_AVX512_ASM_SUPPORT): Removed.
13886         (HAVE_AVX512DQ_ASM_SUPPORT): New.
13887         * sysdeps/x86_64/configure: Regenerated.
13888         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
13889         check unconditional.
13890         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
13891         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13892         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13893         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
13894         Likewise.
13895         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
13896         Likewise.
13897         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
13898         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
13899         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13900         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13901         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
13902         Likewise.
13903         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
13904         Likewise.
13905         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13906         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13907         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
13908         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
13909         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
13910         Likewise.
13911         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
13912         Likewise.
13913         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
13914         Likewise.
13915         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
13916         Likewise.
13917         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
13918         Likewise.
13919         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
13920         Likewise.
13921         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
13922         Likewise.
13923         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
13924         Likewise.
13925         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
13926         Likewise.
13927         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
13928         Likewise.
13929         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
13930         Likewise.
13932 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
13934         [BZ #20024]
13935         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
13936         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
13937         of this implementation of vector function.
13938         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
13939         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
13940         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
13941         Likewise.
13942         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
13943         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
13944         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
13945         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
13946         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
13947         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
13948         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
13949         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
13950         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
13951         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
13952         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
13953         for testing vector sincos with fixed ABI.
13954         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13955         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13956         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13957         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
13958         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13959         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13960         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13961         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
13962         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
13963         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
13964         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
13965         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
13966         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
13967         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
13968         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
13969         * sysdeps/x86_64/fpu/Makefile: Added new tests.
13971 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
13973         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
13975 2016-06-30  Anton Blanchard  <anton@samba.org>
13977         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13978         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
13979         s_sinf-ppc64.
13980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
13981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
13982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
13983         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
13985 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13987         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13988         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13989         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
13990         e_expf-ppc64.
13991         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
13992         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
13993         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
13994         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
13996 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
13998         [BZ #20277]
13999         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
14000         when SHARED is defined.
14002 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
14004         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
14005         (index_arch_Prefer_ERMS): Likewise.
14006         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
14007         __memcpy_erms for Prefer_ERMS.
14008         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14009         (__memmove_erms): Enabled for libc.a.
14010         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
14011         __memmove_erms or Prefer_ERMS.
14012         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
14013         __mempcpy_erms for Prefer_ERMS.
14014         * sysdeps/x86_64/multiarch/memset.S (memset): Return
14015         __memset_erms for Prefer_ERMS.
14017 2016-06-30  Andreas Schwab  <schwab@suse.de>
14019         [BZ #20262]
14020         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
14021         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
14022         of memory.
14024 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
14026         [BZ #18645]
14027         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
14028         (test-extras): Add tst-cleanupx4aux.
14029         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
14030         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
14031         tst-cleanupx4aux.o.
14032         * nptl/tst-cleanupx4aux.c: New file.
14034 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
14036         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
14038 2016-06-29  Andreas Schwab  <schwab@suse.de>
14040         [BZ #20260]
14041         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
14042         address before the beginning of the string as an integer to avoid
14043         array-bounds warning.
14045 2016-06-28  Richard Henderson  <rth@redhat.com>
14047         * elf/elf.h (EM_BPF): New.
14048         (EM_NUM): Update.
14049         (R_BPF_NONE, R_BPF_MAP_FD): New.
14051         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
14052         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
14053         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
14054         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
14055         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
14056         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
14057         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
14058         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
14059         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
14060         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
14061         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
14062         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
14063         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
14064         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
14065         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
14066         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
14067         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
14068         (EM_NUM): Update.
14070 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
14072         [BZ #18960]
14073         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
14074         Set _nl_current_LC_CATEGORY_used to two instead of one.
14076 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
14078         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
14079         (do_test): ... this.
14080         (TEST_FUNCTION): New macro.
14081          Include test-skeleton.c.
14082         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
14083         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
14085 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
14087         [BZ #15479]
14088         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
14089         floating-point environment rather than just control word.
14090         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
14091         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
14092         floating-point environment, with "invalid" exceptions merged in,
14093         rather than just control word.
14094         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
14095         * math/libm-test.inc (trunc_test_data): Do not allow spurious
14096         "inexact" exceptions.
14098         [BZ #15479]
14099         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
14100         floating-point environment rather than just control word.
14101         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
14102         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
14103         floating-point environment, with "invalid" exceptions merged in,
14104         rather than just control word.
14105         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
14106         * math/libm-test.inc (floor_test_data): Do not allow spurious
14107         "inexact" exceptions.
14109         [BZ #15479]
14110         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
14111         floating-point environment rather than just control word.
14112         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
14113         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
14114         floating-point environment, with "invalid" exceptions merged in,
14115         rather than just control word.
14116         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
14117         * math/libm-test.inc (ceil_test_data): Do not allow spurious
14118         "inexact" exceptions.
14120 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
14122         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
14123         __libc_vfork.
14124         (__vfork) [IS_IN (libc)]: Remove alias.
14125         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
14126         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
14127         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
14129 2016-06-24  Torvald Riegel  <triegel@redhat.com>
14131         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
14132         of atomic_compare_and_exchange_bool_rel.
14133         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
14134         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
14135         catomic_compare_and_exchange_bool_rel): Remove.
14136         * sysdeps/aarch64/atomic-machine.h
14137         (atomic_compare_and_exchange_bool_rel): Likewise.
14138         * sysdeps/alpha/atomic-machine.h
14139         (atomic_compare_and_exchange_bool_rel): Likewise.
14140         * sysdeps/arm/atomic-machine.h
14141         (atomic_compare_and_exchange_bool_rel): Likewise.
14142         * sysdeps/mips/atomic-machine.h
14143         (atomic_compare_and_exchange_bool_rel): Likewise.
14144         * sysdeps/microblaze/atomic-machine.h
14145         ( __arch_compare_and_exchange_bool_8_rel,
14146         __arch_compare_and_exchange_bool_16_rel): Likewise.
14147         * sysdeps/powerpc/atomic-machine.h
14148         ( __arch_compare_and_exchange_bool_8_rel,
14149         __arch_compare_and_exchange_bool_16_rel): Likewise.
14150         * sysdeps/powerpc/powerpc32/atomic-machine.h
14151         ( __arch_compare_and_exchange_bool_32_rel,
14152         __arch_compare_and_exchange_bool_64_rel): Likewise.
14153         * sysdeps/powerpc/powerpc64/atomic-machine.h
14154         ( __arch_compare_and_exchange_bool_32_rel,
14155         __arch_compare_and_exchange_bool_64_rel): Likewise.
14156         * sysdeps/tile/atomic-machine.h
14157         (atomic_compare_and_exchange_bool_rel): Likewise.
14159 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
14161         [BZ #20296]
14162         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
14163         when either argument is a NaN.
14164         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
14165         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
14167         * math/libm-test.inc (snan_value_ld): New macro.
14168         (isgreater_test_data): Add sNaN tests.
14169         (isgreaterequal_test_data): Likewise.
14170         (isless_test_data): Likewise.
14171         (islessequal_test_data): Likewise.
14172         (islessgreater_test_data): Likewise.
14173         (isunordered_test_data): Likewise.
14174         (nextafter_test_data): Likewise.
14175         (nexttoward_test_data): Likewise.
14176         (remainder_test_data): Likewise.
14177         (remquo_test_data): Likewise.
14178         (significand_test_data): Likewise.
14179         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
14181 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14183         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
14184         environment macros are defined.
14185         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
14187 2016-06-23  Florian Weimer  <fweimer@redhat.com>
14189         [BZ #20191]
14190         Implement vtable verification in libio.
14191         * Makerules (shlib.lds): Place __libc_IO_vtables section.
14192         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
14193         * debug/vdprintf_chk.c (__vdprintf_chk): Call
14194         _IO_new_file_init_internal instead of _IO_file_init.
14195         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
14196         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
14197         * libio/Makefile (routines): Add vtables.
14198         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
14199         (_IO_init): Remove, not for internal use.
14200         (_IO_init_internal): Declare, internal replacement for _IO_init.
14201         (_IO_file_init): Remove, not for internal use.
14202         (_IO_new_file_init): Remove, not for internal use.
14203         (_IO_new_file_init_internal): Declare, internal replacement for
14204         _IO_new_file_init.
14205         (_IO_old_file_init): Remove, not for internal use.
14206         (_IO_old_file_init_internal): Declare, internal replacement for
14207         _IO_old_file_init.
14208         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
14209         internal use.
14210         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
14211         Declare.
14212         (libio_vtable): New macro.
14213         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
14214         functions.
14215         * libio/fileops.c (_IO_new_file_init_internal): Rename from
14216         _IO_new_file_init.
14217         (_IO_new_file_init): New externally visible wrapper which disables
14218         vtable verification.
14219         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
14220         Define as vtables.
14221         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
14222         (_IO_init): New externally visible wrapper which disables
14223         vtable verification.
14224         * libio/iofdopen.c (_IO_new_fdopen): Call
14225         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
14226         comment.
14227         * libio/iofopen.c (__fopen_internal): Call
14228         _IO_new_file_init_internal instead of _IO_file_init.
14229         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
14230         Define as vtables.
14231         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
14232         _IO_new_file_init_internal instead of _IO_file_init.
14233         * libio/iopopen.c (_IO_new_popen): Likewise.
14234         (_IO_proc_jumps): Define as vtable.
14235         * libio/iovdprintf.c (_IO_vdprintf): Call
14236         _IO_new_file_init_internal instead of _IO_file_init.
14237         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
14238         (__open_memstream): Call _IO_init_internal instead of _IO_init.
14239         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
14240         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
14241         _IO_old_file_init.
14242         (_IO_old_file_init): New externally visible wrapper which disables
14243         vtable verification.
14244         (_IO_old_file_jumps): Define as vtable.
14245         * libio/oldiofdopen.c (_IO_old_fdopen): Call
14246         _IO_old_file_init_internal instead of _IO_old_file_init.
14247         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
14248         * libio/oldiopopen.c (_IO_old_popen): Likewise.
14249         (_IO_old_proc_jumps): Define as vtable.
14250         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
14251         Define as vtables.
14252         * libio/vtables.c: New file.
14253         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
14254         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
14255         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
14256         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
14257         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
14258         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
14259         instead of _IO_init.
14261 2016-06-23  Florian Weimer  <fweimer@redhat.com>
14263         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
14265 2016-06-23  Florian Weimer  <fweimer@redhat.com>
14267         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
14268         potentially unused.
14270 2016-06-22  Florian Weimer  <fweimer@redhat.com>
14272         * test-skeleton.c (write_message): New function.
14273         * malloc/tst-mallocfork2.c (write_message): Remove.
14274         * debug/tst-longjmp_chk2.c (write_indented): New function.
14275         (write_message): Remove.
14276         (stackoverflow_handler): Call write_indented.
14278 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
14280         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
14281         "inexact" exceptions after fnstenv.
14282         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
14283         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
14284         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
14286 2015-06-22  Zack Weinberg  <zackw@panix.com>
14288         * sysdeps/generic/bits/hwcap.h: Moved to ...
14289         * bits/hwcap.h: Here.
14291 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
14293         * sysdeps/aarch64/memcpy.S (memcpy):
14294         Further tuning for performance.
14296 2016-06-21  Florian Weimer  <fweimer@redhat.com>
14298         [BZ #20284]
14299         * malloc/arena.c (reused_arena): Do not return NULL if we start
14300         out with a non-corrupted arena.
14302 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14304         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
14305         * misc/tst-preadvwritev.c: New file.
14306         * misc/tst-preadvwritev64.c: Likewise.
14307         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
14308         usage.
14309         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
14310         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
14311         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
14312         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
14314 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
14316         [BZ #19654]
14317         * sysdeps/x86_64/fpu/Makefile: Added new tests.
14318         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
14319         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
14320         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
14321         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
14322         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
14323         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
14324         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
14325         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
14326         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
14327         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
14328         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
14329         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
14330         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
14331         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
14332         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
14333         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
14334         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
14335         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
14336         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
14337         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
14338         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
14339         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
14340         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
14341         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
14342         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
14344 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
14346         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
14347         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
14349 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
14351         * sysdeps/aarch64/memcpy.S (memcpy):
14352         Rewrite of optimized memcpy and memmove.
14353         * sysdeps/aarch64/memmove.S (memmove): Remove
14354         memmove code (merged into memcpy.S).
14356 2016-06-20  Florian Weimer  <fweimer@redhat.com>
14358         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
14359         * sysdeps/generic/dl-dtv.h: New file.
14360         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14361         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
14362         (dtv_t): Remove.
14363         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14364         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
14365         (dtv_t): Remove.
14366         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14367         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
14368         (dtv_t): Remove.
14369         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14370         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
14371         (dtv_t): Remove.
14372         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14373         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
14374         (dtv_t): Remove.
14375         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14376         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
14377         (dtv_t): Remove.
14378         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14379         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
14380         (dtv_t): Remove.
14381         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
14382         (dtv_t): Remove.
14383         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14384         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
14385         (dtv_t): Remove.
14386         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14387         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
14388         (dtv_t): Remove.
14389         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14390         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
14391         (dtv_t): Remove.
14392         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14393         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
14394         (dtv_t): Remove.
14395         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14396         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
14397         (dtv_t): Remove.
14398         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14399         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
14400         (dtv_t): Remove.
14401         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14402         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
14403         (dtv_t): Remove.
14404         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14405         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
14406         (dtv_t): Remove.
14408 2016-06-20  Florian Weimer  <fweimer@redhat.com>
14410         Revert symbol poisoning of  __malloc_initialize_hook.
14411         * include/stdc-predef.h (__malloc_initialize_hook): Remove
14412         poisoning.
14413         * malloc/Makefile: Remove un-poisoning.
14414         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
14415         instead of old__malloc_initialize_hook.
14416         * malloc/malloc-hooks.h: Likewise.
14417         * malloc/malloc.c: Likewise.
14418         * malloc/mcheck-init.c: Likewise.
14420 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
14422         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
14424 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
14426         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
14427         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
14428         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
14429         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
14431 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14433         * NEWS: Mention addition of nextup and nextdown.
14434         * manual/arith.texi: Document nextup and nextdown.
14435         * manual/libm-err-tab.pl: Add nextup and nextdown.
14436         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
14437         * math/Versions (libm): Add GLIBC_2.24.
14438         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
14439         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
14440         Add new test.
14441         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
14442         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
14443         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
14444         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
14445         (nextup_test_data): Likewise.
14446         (nextdown_test_data): Likewise.
14447         * math/s_nextdown.c: New file.
14448         * math/s_nextdownf.c: Likewise.
14449         * math/s_nextdownl.c: Likewise.
14450         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
14451         F(nextup): New function.
14452         F(nextdown): Likewise.
14453         * math/tgmath.h: Add nextup and nextdown.
14454         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
14455         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
14456         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
14457         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
14458         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
14459         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
14460         Add nextup and nextdown.
14461         (CFLAGS-nldbl-nextup.c): New variable.
14462         (CFLAGS-nldbl-nextdown.c): Likewise.
14463         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
14464         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
14465         * sysdeps/nacl/libm.abilist: Update.
14466         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14467         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14468         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14469         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14470         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14471         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14472         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14473         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14474         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14475         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14476         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14477         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14480         Likewise.
14481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14483         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14484         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14485         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14486         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14487         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
14489         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
14490         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14491         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14492         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
14493         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14495 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14497         * manual/pattern.texi: Fix typos & grammar errors.
14499 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14501         * manual/search.texi: Fix typos & grammar errors.
14503 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14505         * manual/message.texi: Fix typos & grammar errors.
14507 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
14509         * manual/contrib.texi: Fix spelling typos.
14510         * manual/crypt.texi: Likewise.
14511         * manual/filesys.texi: Likewise.
14512         * manual/locale.texi: Likewise.
14513         * manual/message.texi: Likewise.
14514         * manual/nss.texi: Likewise.
14515         * manual/string.texi: Likewise.
14517 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14519         * manual/locale.texi: Fix typos & grammar errors.
14521 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14523         * manual/charset.texi: Fix typos & grammar errors.
14525 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14527         * manual/string.texi: Fix typos.
14529 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14531         * manual/ctype.texi: Fix typos.
14533 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14535         * manual/memory.texi: Fix various typos & grammar errors.
14537 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
14539         [BZ #20255]
14540         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
14541         * math/libm-test.inc (fdim_test_data): Add another test.
14543         [BZ #6796]
14544         [BZ #20255]
14545         [BZ #20256]
14546         * math/s_fdim.c: Include <math_private.h>.
14547         (__fdim): Use math_narrow_eval on result.
14548         * math/s_fdimf.c: Include <math_private.h>.
14549         (__fdimf): Use math_narrow_eval on result.
14550         * sysdeps/i386/fpu/s_fdim.S: Remove file.
14551         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
14552         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
14553         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
14554         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
14555         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
14556         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
14557         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
14558         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
14559         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
14560         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
14561         * math/libm-test.inc (fdim_test_data): Expect errno setting on
14562         overflow.  Add sNaN tests.
14564         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
14565         fpclassify.
14566         * math/s_fdimf.c (__fdimf): Likewise.
14567         * math/s_fdiml.c (__fdiml): Likewise.
14569 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14571         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
14572         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
14573         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14574         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
14575         ifunc'ed strcasecmp/strncasecmp.
14576         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
14577         [EALIGN]: Removed.
14578         [END]: Likewise.
14579         [__strcasecmp]: Define instead of the above to control symbol name.
14580         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
14581         for __strcasecmp_power8.
14582         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
14583         for __strncasecmp_power8.
14584         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
14585         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
14586         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
14587         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
14588         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
14589         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
14591 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
14593         [BZ #20252]
14594         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
14595         arguments when second argument is a NaN.
14596         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
14597         qNaN tests.
14599         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
14600         (conj_test_data): Likewise.
14601         (copysign_test_data): Likewise.
14602         (creal_test_data): Likewise.
14603         (fma_test_data): Likewise.
14604         (fmod_test_data): Likewise.
14606         [BZ #20250]
14607         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
14608         itself.
14609         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
14610         zero input to itself.
14611         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
14612         Likewise.
14613         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
14614         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
14615         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14616         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
14617         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
14619 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14621         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
14622         * nptl/tst-cancel4-common.c: New file.
14623         * nptl/tst-cancel4-common.h: Likewise.
14624         * nptl/tst-cancel4.c: Move common definitions to
14625         tst-cancel4-common.{c,h} file.
14626         * nptl/tst-cancel4_1.c: New test.
14627         * nptl/tst-cancel4_2.c: New test.
14629 2016-06-13  Florian Weimer  <fweimer@redhat.com>
14631         [BZ #20248]
14632         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
14633         (write_message): New function.
14634         (stackoverflow_handler): Call it instead of printf, to avoid
14635         excessive stack usage by printf.
14636         (do_test): Restore SIGSEGV, SIGBUS default handlers.
14638 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14640         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
14641         (prio_inherit_missing): Remove define.
14642         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14643         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14644         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
14645         Likewise.
14646         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14647         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14648         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14649         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14650         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14651         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14653 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
14655         [BZ #19670]
14656         [BZ #19672]
14658         * io/test-lfs.c (do_prepare): Use xmalloc.
14659         * io/tst-fcntl.c (do_prepare): Likewise.
14660         * libio/tst-fopenloc.c (do_bz17916): Likewise.
14661         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
14662         * login/tst-utmp.c (do_prepare): Likewise.
14663         * posix/tst-exec.c (do_prepare): Likewise.
14664         * posix/tst-pathconf.c (prepare): Likewise.
14665         * posix/tst-spawn.c (do_prepare): Likewise.
14666         * posix/tst-truncate.c (do_prepare): Likewise.
14667         * rt/tst-aio.c (do_prepare): Likewise.
14668         * rt/tst-aio64.c (do_prepare): Likewise.
14670 2016-06-11  Florian Weimer  <fweimer@redhat.com>
14672         [BZ #20237]
14673         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
14674         (get*ent): Set entidx to NULL during initialization.  If entidx is
14675         NULL, start iteration from the beginning.
14677 2016-06-11  Florian Weimer  <fweimer@redhat.com>
14679         * malloc/malloc.c (musable): Return correct size for dumped fake
14680         mmapped chunk.
14682 2016-06-11  Florian Weimer  <fweimer@redhat.com>
14684         [BZ #20222]
14685         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
14686         (_IO_cookie_write): Likewise.
14687         (_IO_cookie_seek): Likewise.
14688         (_IO_cookie_close): Likewise.
14689         (_IO_old_cookie_seek): Likewise.
14690         (set_callbacks): New function.
14691         (_IO_cookie_init): Call set_callbacks to copy callbacks.
14693 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
14695         * locale/programs/localedef.c (oldstyle_tables): Remove.
14696         * locale/programs/localedef.h (oldstyle_tables): Likewise.
14698 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
14700         [BZ #20240]
14701         * math/Makefile (CFLAGS-s_modf.c): New variable.
14702         (CFLAGS-s_modff.c): Likewise.
14703         (CFLAGS-s_modfl.c): Likewise.
14704         * math/libm-test.inc (modf_test_data): Add sNaN tests.
14706 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
14708         [BZ #20215]
14709         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
14710         [!__GNUC_PREREQ (3,2)]: Likewise.
14712 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
14714         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
14715         (msghdr.msg_controllen): Likewise.
14716         (cmsghdr.cmsg_len): Likewise.
14717         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
14718         ptw-oldsendmsg.
14719         (CFLAGS-oldrecvmsg.c): Remove rule.
14720         (CFLAGS-oldsendmsg.c): Likewise.
14721         (CFLAGS-recvmsg.c): Add rule.
14722         (CFLAGS-sendmsg.c): Likewise.
14723         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
14724         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
14725         (CFLAGS-recvmsg.c): Remove rule.
14726         (CFLAGS-sendmsg.c): Likewise.
14727         (CFLAGS-oldrecvmsg.c): Likewise.
14728         (CFLAGS-oldsendmsg.c): Likewise.
14729         (CFLAGS-recvmmsg.c): Likewise.
14730         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
14731         to kernel defined interfaces.
14732         (msghdr.msg_controllen): Likewise.
14733         (cmsghdr.cmsg_len): Likewise.
14734         (msghdr.__glibc_reserved1): Remove member.
14735         (msghdr.__glibc_reserved2): Likewise.
14736         (cmsghdr.__glibc_reserved1): Likewise.
14737         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
14738         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
14739         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
14740         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
14741         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
14742         version.
14743         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
14744         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
14745         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
14746         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
14747         Remove recvmsg and sendmsg.
14748         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
14749         Likewise.
14750         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
14751         Likewise.
14752         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
14753         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
14754         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
14755         Likewise.
14756         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
14757         Likewise.
14758         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
14759         [libc] (GLIBC_2.24): Likewise.
14760         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
14761         Likewise.
14762         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
14763         Likewise.
14764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14765         [libc] (GLIBC_2.24): Likewise.
14766         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
14767         Likewise.
14768         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
14769         Likewise.
14770         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
14771         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
14772         Likewise.
14773         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
14774         Likewise.
14775         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
14776         Likewise.
14777         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
14778         Likewise.
14779         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
14780         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
14781         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
14782         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
14783         version for {recv,send,recm,sendm}msg.
14784         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14785         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14786         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14787         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14788         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14789         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14790         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14791         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14792         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14793         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14794         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14795         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14797         Likewise.
14798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14799         Likewise.
14800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14802         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14803         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14804         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14805         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14806         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14807         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
14809         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
14810         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14811         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14812         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14814 2016-06-10  Florian Weimer  <fweimer@redhat.com>
14816         [BZ #19564]
14817         Remove __malloc_initialize_hook from the API.
14818         * malloc/malloc.h (__malloc_initialize_hook): Remove.
14819         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
14820         #pragma GCC poison.
14821         * malloc/malloc-hooks.h: New file.
14822         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
14823         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
14824         (old__malloc_initialize_hook): Rename from
14825         __malloc_initialize_hook to evade poisoning.  Turn into compat
14826         symbol.
14827         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
14828         __malloc_initialize_hook.
14829         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
14830         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
14831         * manual/memory.texi (Hooks for Malloc): Remove
14832         __malloc_initialize_hook.  Adjust hook example.
14834 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
14836         [BZ #20235]
14837         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
14838         itself.
14839         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
14840         * math/libm-test.inc (log2_test_data): Add sNaN tests.
14842         [BZ #20234]
14843         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
14844         infinity or NaN input to itself.
14846         [BZ #20233]
14847         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
14848         to itself.
14850         [BZ #20232]
14851         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
14852         itself.
14854 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
14856         * sysdeps/x86_64/start.S (_start): Always indirect branch to
14857         __libc_start_main via GOT.
14859 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
14861         * sysdeps/x86_64/memcopy.h: New file.
14862         * sysdeps/x86_64/wordcopy.c: Likewise.
14864 2016-06-09  Florian Weimer  <fweimer@redhat.com>
14866         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
14867         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
14868         <cstdlib>.
14869         (optimization_barrier): New.
14870         (do_test): Use it.  Call quick_exit in the global namespace.
14871         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
14872         instead of <cstdlib>, <thread>.
14873         (optimization_barrier): New.
14874         (non_main_thread): Adjust declaration.  Call optimization_barrier.
14875         Call quick_exit in the global namespace.
14876         (do_test): Call optimization_barrier.  Use pthread_create,
14877         pthread_join instead of std::thread.
14879 2016-06-09  Andreas Schwab  <schwab@suse.de>
14881         [BZ #19755]
14882         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
14883         new entries in auto-propagate mode.
14884         * nscd/grpcache.c (cache_addgr): Likewise.
14886 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14888         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
14889         New functions.
14890         (add_temp_file): Use them.
14892 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
14894         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
14896 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
14898         [BZ #20229]
14899         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
14900         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
14901         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
14903         [BZ #20228]
14904         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
14905         itself.
14906         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
14907         * math/libm-test.inc (log10_test_data): Add sNaN tests.
14909         [BZ #20227]
14910         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
14911         itself.
14912         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14913         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
14914         * math/libm-test.inc (log_test_data): Add sNaN tests.
14916         [BZ #20226]
14917         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
14918         itself.
14919         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14920         * math/libm-test.inc (exp_test_data): Add sNaN tests.
14921         (exp10_test_data): Likewise.
14922         (expm1_test_data): Likewise.
14924         [BZ #20225]
14925         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
14926         itself.
14927         * math/s_ldexpf.c (__ldexpf): Likewise.
14928         * math/s_ldexpl.c (__ldexpl): Likewise.
14929         * math/w_scalbln.c (__w_scalbln): Likewise.
14930         * math/w_scalblnf.c (__w_scalblnf): Likewise.
14931         * math/w_scalblnl.c (__w_scalblnl): Likewise.
14932         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
14933         (scalbln_test_data): Likewise.
14935         [BZ #20224]
14936         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
14937         argument to itself.
14938         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
14940 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
14942         [BZ #19776]
14943         * sysdeps/x86_64/memcpy.S: Make it dummy.
14944         * sysdeps/x86_64/mempcpy.S: Likewise.
14945         * sysdeps/x86_64/memmove.S: New file.
14946         * sysdeps/x86_64/memmove_chk.S: Likewise.
14947         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
14948         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
14949         * sysdeps/x86_64/memmove.c: Removed.
14950         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
14951         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14952         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
14953         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
14954         Likewise.
14955         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14956         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14957         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14958         memcpy-sse2-unaligned, memmove-avx-unaligned,
14959         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
14960         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14961         (__libc_ifunc_impl_list): Replace
14962         __memmove_chk_avx512_unaligned_2 with
14963         __memmove_chk_avx512_unaligned.  Remove
14964         __memmove_chk_avx_unaligned_2.  Replace
14965         __memmove_chk_sse2_unaligned_2 with
14966         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
14967         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
14968         with __memmove_avx512_unaligned.  Replace
14969         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
14970         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
14971         with __memcpy_chk_avx512_unaligned.  Remove
14972         __memcpy_chk_avx_unaligned_2.  Replace
14973         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
14974         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
14975         Replace __memcpy_avx512_unaligned_2 with
14976         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
14977         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
14978         with __mempcpy_chk_avx512_unaligned.  Remove
14979         __mempcpy_chk_avx_unaligned_2.  Replace
14980         __mempcpy_chk_sse2_unaligned_2 with
14981         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
14982         Replace __mempcpy_avx512_unaligned_2 with
14983         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
14984         Replace __mempcpy_sse2_unaligned_2 with
14985         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
14986         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
14987         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
14988         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
14989         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
14990         (ENTRY): Removed.
14991         (END): Likewise.
14992         (ENTRY_CHK): Likewise.
14993         (libc_hidden_builtin_def): Likewise.
14994         Don't include ../memcpy.S.
14995         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
14996         __memcpy_chk_avx512_unaligned_erms and
14997         __memcpy_chk_avx512_unaligned.  Use
14998         __memcpy_chk_avx_unaligned_erms and
14999         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
15000         Default to __memcpy_chk_sse2_unaligned.
15001         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15002         Change function suffix from unaligned_2 to unaligned.
15003         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
15004         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
15005         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
15006         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
15007         (ENTRY): Removed.
15008         (END): Likewise.
15009         (ENTRY_CHK): Likewise.
15010         (libc_hidden_builtin_def): Likewise.
15011         Don't include ../mempcpy.S.
15012         (mempcpy): New.  Add a weak alias.
15013         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
15014         __mempcpy_chk_avx512_unaligned_erms and
15015         __mempcpy_chk_avx512_unaligned.  Use
15016         __mempcpy_chk_avx_unaligned_erms and
15017         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
15018         Default to __mempcpy_chk_sse2_unaligned.
15020 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
15022         [BZ #19881]
15023         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
15024         into ...
15025         * sysdeps/x86_64/memset.S: This.
15026         (__bzero): Removed.
15027         (__memset_tail): Likewise.
15028         (__memset_chk): Likewise.
15029         (memset): Likewise.
15030         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
15031         defined.
15032         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
15033         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
15034         (__memset_zero_constant_len_parameter): Check SHARED instead of
15035         PIC.
15036         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15037         memset-avx2 and memset-sse2-unaligned-erms.
15038         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15039         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
15040         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
15041         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
15042         (__bzero): Enabled.
15043         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
15044         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
15045         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
15046         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
15047         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
15048         (memset): Removed.
15049         (__memset_chk): Likewise.
15050         (MEMSET_SYMBOL): New.
15051         (libc_hidden_builtin_def): Replace __memset_sse2 with
15052         __memset_sse2_unaligned.
15053         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
15054         __memset_chk_sse2 and __memset_chk_avx2 with
15055         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
15056         Use __memset_chk_sse2_unaligned_erms or
15057         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
15058         __memset_chk_avx512_unaligned_erms and
15059         __memset_chk_avx512_unaligned.
15061 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15063         * math/gen-auto-libm-test.c (fp_format_desc): remove
15064         suffix member.
15065         (output_generic_value): Remove usage of suffix member,
15066         and the resulting unuse of the fp_format argument.
15067         (output_for_one_input_case): Remove unused fp_format
15068         parameter.
15070         * math/auto-libm-test-out: Regenerate.
15072         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
15073         usage with TEST_COND_ibm128.
15074         (TEST_COND_flt_32): Remove.
15075         (TEST_COND_dbl_64): Remove.
15076         (TEST_COND_ldbl_96_intel): Remove.
15077         (TEST_COND_ldbl_96_m68k): Remove.
15078         (TEST_COND_ldbl_128): Remove.
15080 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15082         * auto-libm-test-in:
15083         Replace flt-32 usage with binary32.
15084         Replace dbl-64 usage with binary64.
15085         Replace ldbl-intel-96 usage with intel96.
15086         Replace ldbl-m68k-96 usage with m68k96.
15087         Replace ldbl-128ibm usage with ibm128.
15088         Replace ldbl-128 usage with binary128.
15090         * auto-libm-test-out: Regenerate.
15092 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15094         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
15095         (parse_ulps): Dynamically generate type name matching
15096         string from all_floats.
15097         (get_ulps): Generate the ulps as an array instead.
15098         (output_ulps): Dynamically compose the type based
15099         on the number of supported formats, and print
15100         the indices as type specific helper macros.
15102         * math/libm-test.inc: Remove comment about CHOOSE.
15103         (ulp_data): Generate the type in libm-test-ulps.h.
15104         (ULP_IDX): New macro.
15105         (find_ulps): Update usage of max_ulp.
15107         * math/test-double-vlen2.h (CHOOSE): Remove.
15108         * math/test-double-vlen4.h (CHOOSE): Likewise.
15109         * math/test-double-vlen8.h (CHOOSE): Likewise.
15110         * math/test-float.c (CHOOSE): Likewise.
15111         * math/test-float-finite.c (CHOOSE): Likewise.
15112         * math/test-double.c (CHOOSE): Likewise.
15113         * math/test-double-finite.c (CHOOSE): Likewise.
15114         * math/test-idouble.c (CHOOSE): Likewise.
15115         * math/test-ifloat.c (CHOOSE): Likewise.
15116         * math/test-ildoubl.c (CHOOSE): Likewise.
15117         * math/test-ldouble-finite.c (CHOOSE): Likewise.
15118         * math/test-ldouble.c (CHOOSE): Likewise.
15120         * math/test-float.h (TEST_FLOAT): Remove.
15121         * math/test-double.h (TEST_DOUBLE): Likewise.
15122         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
15124 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15126         * math/gen-libm-test.pl: (apply_lit): New subroutine.
15127         (parse_args): Strip C suffix from floating point literals
15128         typed with 'f' and wrap them with LIT().
15130         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
15131         (test_ff_f_data_nexttoward): Rename to
15132         (test_fj_f_data): New struct.
15133         (nexttoward_test_data): Relabel tests as
15134         TEST_fj_f instead of TEST_ff_f.
15136 2016-06-08  Florian Weimer  <fweimer@redhat.com>
15138         Emacs bug 23726.
15139         * malloc/malloc.c (dumped_main_arena_start): Update comment.
15140         (__libc_realloc): Correct size computation for dumped fake mmapped
15141         chunks.
15143 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
15145         [BZ #20219]
15146         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
15147         to itself.
15148         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
15150         [BZ #20218]
15151         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
15152         to itself.
15153         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
15155 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
15157         [BZ #20195]
15158         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
15159         check to ...
15160         (init_cpu_features): Here.
15162 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
15164         [BZ #20214]
15165         * sysdeps/unix/sysv/linux/bits/in.h
15166         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
15167          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
15168         Define to 1.
15169         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
15170          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
15171         Define to 0.
15172         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
15173         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
15175 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
15177         [BZ #20198]
15178         * stdlib/Makefile (tests): Add tst-quick_exit, and
15179         tst-thread-quick_exit.
15180         [ifeq ($(have-cxx-thread_local),yes)]
15181         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
15182         (CFLAGS-tst-thread-quick_exit.o): Likewise.
15183         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
15184         (LDLIBS-tst-thread-quick_exit): Likewise.
15185         [ifneq ($(have-cxx-thread_local),yes)]
15186         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
15187         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
15188         If run_dtors is true call __call_tls_dtors.
15189         (exit): Call __run_exit_handlers with run_dtors set to true.
15190         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
15191         definition.
15192         * stdlib/quick_exit.c (quick_exit): Remove function.
15193         (__new_quick_exit): New function.
15194         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
15195         function.
15196         * stdlib/tst-quick_exit.cc: New file.
15197         * stdlib/tst-thread-quick_exit.cc: New file.
15198         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
15199         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
15200         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
15201         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
15202         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
15203         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
15204         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
15205         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
15206         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
15207         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
15208         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
15209         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
15210         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
15211         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
15212         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
15213         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
15214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
15215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
15216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
15217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
15218         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
15219         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
15220         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
15221         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
15222         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
15223         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
15224         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
15225         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
15226         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
15227         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
15229 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
15231         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
15232         a typo in comments.
15234 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
15236         [BZ #20213]
15237         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
15238         argument to itself.
15239         * math/libm-test.inc (asin_test_data): Add sNaN tests.
15241 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15243         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
15244         required flags.
15245         (CFLAGS-pwritev64.c): Likewise.
15246         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
15247         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
15248         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
15249         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
15250         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
15251         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
15252         syscall from auto-generation.
15253         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
15254         [WORDSIZE == 64] (pwritev64): Remove macro.
15255         [!PWRITEV] (PWRITEV): Likewise.
15256         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
15257         [!PWRITEV] (PWRITE): Likewise.
15258         [!PWRITEV] (OFF_T): Likewise.
15259         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
15260         (LO_HI_LONG): Remove macro.
15261         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
15262         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
15263         (PWRITEV): Remove macro.
15264         (PWRITEV_REPLACEMENTE): Likewise.
15265         (PWRITE): Likewise.
15266         (OFF_T): Likewise.
15267         (pwritev64): New function.
15268         * nptl/tst-cancel4.c (tf_writev): Add test.
15270         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
15271         required flags.
15272         (CFLAGS-preadv64.c): Likewise.
15273         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
15274         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
15275         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
15276         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
15277         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
15278         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
15279         syscall from auto-generation.
15280         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
15281         [WORDSIZE == 64] (preadv64): Remove macro.
15282         [!PREADV] (PREADV): Likewise.
15283         [!PREADV] (PREADV_REPLACEMENT): Likewise.
15284         [!PREADV] (PREAD): Likewise.
15285         [!PREADV] (OFF_T): Likewise.
15286         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
15287         (LO_HI_LONG): Remove macro.
15288         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
15289         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
15290         (PREADV): Remove macro.
15291         (PREADV_REPLACEMENTE): Likewise.
15292         (PREAD): Likewise.
15293         (OFF_T): Likewise.
15294         (preadv64): New function.
15295         * nptl/tst-cancel4.c (tf_preadv): Add test.
15297 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
15299         [BZ #20212]
15300         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
15301         argument to itself.
15302         * math/libm-test.inc (acos_test_data): Add sNaN tests.
15304 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15306         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
15307         New symbol defined as libc_hidden_def.
15308         (strcasestr): Became a weak alias to __strcasestr.
15309         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
15310         according to multi-arch support.  Move __stpncpy hidden
15311         definition from here to...
15312         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
15313         symbol stpncpy.
15314         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
15315         libc_hidden_builtin_def.
15316         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
15317         memset symbol to use when multi-arch support is available.
15319 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
15321         * dlfcn/tst-rec-dlopen.c: Include string.h.
15323 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
15325         * manual/install.texi: Remove mention of --without-tls
15326         * INSTALL: Regenerate.
15328 2016-06-05  Florian Weimer  <fweimer@redhat.com>
15330         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
15331         Remove.
15332         (call_function, interposed_malloc_called): New variables.
15333         (malloc): New function.
15334         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
15335         and clear call_function as needed.
15337 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
15339         * include/wchar.h (__wmemset): Use __typeof.
15341 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
15343         * include/wchar.h (__wmemset): Declare function without typeof.
15345 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
15347         [BZ #20205]
15348         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
15349         exponent when incrementing negative subnormal with low mantissa
15350         word zero.
15351         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
15352         Add another test.
15354 2016-06-03  Florian Weimer  <fweimer@redhat.com>
15356         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
15357         __wmemset instead of wmemset.
15359 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
15361         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
15362         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
15363         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
15364         __USE_KERNEL_IPV6_DEFS to 0.
15365         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
15366         Update comment.
15368 2016-06-01  Florian Weimer  <fweimer@redhat.com>
15370         [BZ #19861]
15371         Do not use IFUNC resolver with potentially unrelocated symbol.
15372         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
15373         (DEFINE_FORK): Remove macro and inline definition.
15374         (fork_alias): Renamed from fork_ifunc.
15375         (__fork_alias): Renamed from __fork_ifunc.
15377 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
15379         [BZ 19653]
15380         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
15381         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
15383 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15385         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
15386         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
15387         i386-linux-gnu).
15388         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
15389         Set to no.
15390         * sysdeps/mach/hurd/configure: Refresh.
15392 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15394         [BZ #20178]
15395         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
15396         on failure instead of exit.
15398 2016-05-30  Roland McGrath  <roland@hack.frob.com>
15400         [BZ #3629]
15401         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
15402         of POSIX.1-2008.
15404 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15406         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
15407           Use PLT entry for calling _hurd_self_sigstate.
15409 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
15411         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
15412         available logical processors with SMT level type sharing L2
15413         cache for Intel processors.
15415 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
15417         [BZ #20160]
15418         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
15419         argument to itself before returning the result.
15420         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
15421         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
15422         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
15423         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
15424         Likewise.
15425         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
15426         Likewise.
15427         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
15428         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
15429         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
15430         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
15431         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
15432         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
15434         [BZ #20160]
15435         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
15436         argument to itself before returning the result.
15437         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
15438         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
15439         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
15440         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
15441         Likewise.
15442         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15443         Likewise.
15444         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
15445         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
15446         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
15447         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
15448         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
15449         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
15451 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15453         * libm-test.inc: Replace usage of M_El with
15454         (lit_e): New macro.
15456 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15458         * libm-test.inc: Replace usage of M_PI_4l with
15459         (lit_pi_4_d): New macro.
15461 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15463         * libm-test.inc: Replace usage of M_PIl with
15464         (lit_pi): New macro.
15466 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15468         * libm-test.inc: Replace usage of M_PI2l with
15469         (lit_pi_2_d): New macro.
15471         * math/test-double.h (LITM): New macro.
15472         * math/test-float.h (LITM): Likewise.
15473         * math/test-ldouble.h (LITM): Likewise.
15475 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15477         * libm-test.inc (M_PI_34l): Rename to
15478         (lit_pi_3_m_4_d): New Macro.
15479         (M_PI_34_LOG10El): Rename to
15480         (lit_pi_3_m_4_ln10_m_d): New Macro.
15481         (M_PI2_LOG10El): Rename to
15482         (lit_pi_2_ln10_m_d):  New Macro.
15483         (M_PI4_LOG10El): Rename to
15484         (lit_pi_4_ln10_m_d):  New Macro.
15485         (M_PI_LOG10El): Rename to
15486         (lit_pi_ln10_d):  New Macro.
15488 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
15490         [BZ #20157]
15491         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
15492         determine whether to negate low half if [_ARCH_PPCGR], and integer
15493         comparison otherwise.
15494         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
15495         determine whether to negate low half.
15497         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
15498         (NO_TEST_INLINE_DOUBLE): Likewise.
15499         (TEST_COND_x86_64): Likewise.
15500         (TEST_COND_x86): Likewise.
15501         (M_PI_6l): Likewise.
15503 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15505         * math/libm-test.inc:
15506         (TEST_FLOAT): Change usage to TEST_COND_binary32.
15507         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
15508         (TEST_LDOUBLE): Update usage to evaluate as true if
15509         the guarded tests match the property being tested.
15510         (LDBL_MAX_EXP): Change to MAX_EXP.
15511         (LDBL_MIN_EXP): Change to MIN_EXP.
15512         (LDBL_MANT_DIG): Change to MANT_DIG, except for
15513         nexttoward tests.
15515 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15517         * math/libm-test.inc:
15518         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
15519         (TYPE_MIN): Likewise.
15520         (TYPE_TRUE_MIN): Likewise.
15521         (TYPE_MAX): Likewise.
15522         (MIN_EXP): Likewise.
15523         (MAX_EXP): Likewise.
15524         (MANT_DIG): Likewise.
15526         (FSTR_MAX): New macro.
15527         (__CONCATX): Likewise.
15528         (QTYPE_STR): Likewise.
15529         (TEST_COND_binary32): Likewise.
15530         (TEST_COND_binary64): Likewise.
15531         (TEST_COND_binary128): Likewise.
15532         (TEST_COND_ibm128): Likewise.
15533         (TEST_COND_intel96): Likewise.
15534         (TEST_COND_m68k96): Likewise.
15536         (TEST_COND_flt_32): Redefine as equivalent format test macro.
15537         (TEST_COND_dbl_64): Likewise.
15538         (TEST_COND_ldbl_96_intel): Likewise.
15539         (TEST_COND_ldbl_96_m68k): Likewise.
15540         (TEST_COND_ldbl_128): Likewise.
15541         (TEST_COND_ldbl_128ibm): Likewise.
15543         (plus_zero): Redefine using LIT macro.
15544         (minus_zero): Likewise.
15545         (plus_infty): Redefine as (INF).
15546         (minux_infty): Redefine as (-INF).
15547         (max_value): Redefine as TYPE_MAX.
15548         (min_value): Redefine as TYPE_MIN.
15549         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
15551         (print_float): Refactor to use snprintf to convert FLOAT values
15552         to string. This brings it closer to dropin replacement of strtof
15553         for the TS 18661 defined types.
15554         (update_stats): Likewise.
15555         (print_complex_function_ulps): Likewise.
15556         (print_max_error): Likewise.
15557         (print_complex_max_error): Likewise.
15558         (check_float_internal): Likewise.
15560         * math/test-float.h (PREFIX): New macro.
15561         (LIT): Likewise.
15562         (TYPE_STR): Likewise.
15563         (FTOSTR): Likewise.
15565         * math/test-double.h (PREFIX): New macro.
15566         (LIT): Likewise.
15567         (TYPE_STR): Likewise.
15568         (FTOSTR): Likewise.
15570         * math/test-ldouble.h (PREFIX): New macro.
15571         (LIT): Likewise.
15572         (TYPE_STR): Likewise.
15573         (FTOSTR): Likewise.
15575 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
15577         [BZ #20156]
15578         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
15579         to itself when zero or not finite.
15580         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
15581         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
15582         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
15583         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
15585 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
15587         [BZ #20153]
15588         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
15589         x * x + x for infinities and NaNs.
15591         [BZ #20151]
15592         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
15593         argument to itself before returning result.
15594         (__ieee754_y0l): Likewise.
15595         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15596         (__ieee754_y1l).
15598         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
15599         (atan_test_data): Likewise.
15600         (ceil_test_data): Likewise.
15601         (cos_test_data): Likewise.
15602         (cosh_test_data): Likewise.
15603         (erf_test_data): Likewise.
15604         (exp2_test_data): Likewise.
15605         (fabs_test_data): Likewise.
15606         (floor_test_data): Likewise.
15607         (ilogb_test_data): Likewise.
15608         (j0_test_data): Likewise.
15609         (j1_test_data): Likewise.
15610         (jn_test_data): Likewise.
15611         (lgamma_test_data): Likewise.
15612         (lrint_test_data): Likewise.
15613         (llrint_test_data): Likewise.
15614         (logb_test_data): Likewise.
15615         (lround_test_data): Likewise.
15616         (llround_test_data): Likewise.
15617         (nearbyint_test_data): Likewise.
15618         (rint_test_data): Likewise.
15619         (round_test_data): Likewise.
15620         (sin_test_data): Likewise.
15621         (sincos_test_data): Likewise.
15622         (sinh_test_data): Likewise.
15623         (sqrt_test_data): Likewise.
15624         (tan_test_data): Likewise.
15625         (tanh_test_data): Likewise.
15626         (tgamma_test_data): Likewise.
15627         (trunc_test_data): Likewise.
15628         (y0_test_data): Likewise.
15629         (y1_test_data): Likewise.
15630         (yn_test_data): Likewise.
15632         * math/libm-test.inc: Update comment about NaN testing.
15633         (TEST_SNAN): New macro.
15634         (snan_value): Likewise.
15635         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
15636         (fpclassify_test_data): Add sNaN tests.
15637         (isfinite_test_data): Likewise.
15638         (isinf_test_data): Likewise.
15639         (isnan_test_data): Likewise.
15640         (isnormal_test_data): Likewise.
15641         (issignaling_test_data): Likewise.
15642         (signbit_test_data): Likewise.
15643         * math/gen-libm-test.pl (%beautify): Add snan_value.
15644         (show_exceptions): Add argument $test_snan.
15645         (parse_args): Handle snan_value as non-finite.  Update call to
15646         show_exceptions.
15647         * math/Makefile (libm-test-no-inline-cflags): Add
15648         -fsignaling-nans.
15650 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15652         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
15653         (CFLAGS-oldsendmsg.c): Add rule.
15654         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
15655         Correct recvmsg symbol name.
15656         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
15657         Likewise.
15659 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15661         * sysdeps/unix/sysv/linux/Makefile
15662         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
15663         oldsendmmsg.
15664         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
15665         sendmmsg.
15666         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15667         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15668         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15669         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15671         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15672         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15673         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15674         Likewise.
15675         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15676         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
15677         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
15678         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
15679         iovlen and controllen fields to adjust to POSIX specification.
15680         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
15682         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
15683         and change to correct expected type.
15684         (msghdr.msg_controllen): Likewise.
15685         (cmsghdr.cmsg_len): Likewise.
15686         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
15687         expected POSIX assumption about the size.
15688         (msghdr.msg_controllen): Likewise.
15689         (msghdr.__glibc_reserved1): Likewise.
15690         (msghdr.__glibc_reserved2): Likewise.
15691         (cmsghdr.cmsg_len): Likewise.
15692         (cmsghdr.__glibc_reserved1): Likewise.
15693         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
15694         Add ptw-oldrecvmsg and ptw-oldsendmsg.
15695         (CFLAGS-sendmsg.c): Remove rule.
15696         (CFLAGS-recvmsg.c): Likewise.
15697         (CFLAGS-oldsendmsg.c): Add rule.
15698         (CFLAGS-oldrecvmsg.c): Likewise.
15699         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
15700         recvmsg and sendmsg.
15701         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
15702         Likewise.
15703         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
15704         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
15705         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
15706         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
15707         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
15708         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
15709         Likewise.
15710         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
15711         Likewise.
15712         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
15713         Likewise.
15714         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
15715         Likewise.
15716         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
15717         Likewise.
15718         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
15719         Likewise.
15720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
15721         (GLIBC_2.24): Likewise.
15722         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
15723         Likewise.
15724         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
15725         Likewise.
15726         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
15727         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
15728         Likewise.
15729         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
15730         Likewise.
15731         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
15732         Likewise.
15733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
15734         (GLIBC_2.24): Likewise.
15735         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
15736         Likewise.
15737         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
15738         Likewise.
15739         * sysdeps/unix/sysv/linux/Makefile
15740         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
15741         (CFLAGS-sendmsg.c): Add rule.
15742         (CFLAGS-recvmsg.c): Likewise.
15743         (CFLAGS-oldsendmsg.c): Likewise.
15744         (CFLAGS-oldrecvmsg.c): Likewise.
15745         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
15746         initialization.
15747         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
15748         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
15749         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
15750         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
15751         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
15752         iovlen and controllen fields to adjust to POSIX specification.
15753         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
15754         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
15755         added recvmsg and sendmsg.
15756         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15757         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15758         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15759         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15760         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15761         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15762         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15763         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15764         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15765         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15766         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15767         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
15768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15769         Likewise.
15770         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
15771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15772         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15773         Likewise.
15774         Likewise.
15775         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15776         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15777         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15778         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15779         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15780         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15781         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15782         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15783         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15784         Likewise.
15785         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15786         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15788         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
15789         from auto-generation.
15790         (sendmsg): Likewise.
15791         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
15792         (sendmsg): Likewise.
15793         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
15794         (sendmsg): Likewise.
15795         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
15796         (sendmsg): Likewise.
15797         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
15798         (sendmsg): Likewise.
15799         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
15800         (sendmsg): Likewise.
15801         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
15802         Likewise.
15803         (sendmsg): Likewise.
15804         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
15805         (sendmsg): Likewise.
15806         * sysdeps/unix/sysv/linux/i386/kernel-features.h
15807         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15808         Remove.
15809         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15810         Likewise.
15811         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15812         Undefine.
15813         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15814         Likewise.
15815         * sysdeps/unix/sysv/linux/kernel-features.h
15816         (__ASSUME_SENDMSG_SYSCALL): Define.
15817         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15818         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15819         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15820         Remove.
15821         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15822         Likewise.
15823         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15824         Undefine.
15825         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15826         Likewise.
15827         * sysdeps/unix/sysv/linux/s390/kernel-features.h
15828         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15829         Remove.
15830         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15831         Likewise.
15832         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15833         Undefine.
15834         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15835         Likewise.
15836         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15837         (__ASSUME_SENDMSG_SYSCALL): Undefine.
15838         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15839         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15840         (__ASSUME_SENDMSG_SYSCALL): Likewise.
15841         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15842         * sysdeps/unix/sysv/linux/sh/kernel-features.h
15843         (__ASSUME_SENDMSG_SYSCALL): Likewise.
15844         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15846 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15848         * stdlib/gen-tst-strtod-round.c: Add backslash to
15849         compile command in comment.
15850         (printfp): Remove the literal suffix, and define an infinite
15851         value as INF to avoid expansion clash with INFINITY.
15852         (round_str): Remove the literal suffix.
15853         (round_for_all): Likewise, remove the now duplicate ldbl-64
15854         entry, and remove some magic constants.
15856         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
15857         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
15858         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
15859         (_CONCAT): New macro.
15860         (CONCAT): Likewise.
15861         (CHOOSE_ld): Likewise.
15862         (CHOOSE_f): Likewise.
15863         (CHOOSE_d): Likewise.
15864         (FTYPE_MEMBER): Likewise.
15865         (BOOL_MEMBER): Likewise.
15866         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
15867         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
15868         (_XNTRY): Likewise.
15869         (XNTRY): Likewise.
15870         (_ENTRY): Likewise.
15871         (ENTRY): Likewise.
15872         (test_exactness): Generate members via macro.
15873         (test_results): Likewise.
15874         (test): Update members.
15875         (TEST): Redefine using new macros.
15876         (INF): New macro.
15877         (fetestmodes): New structure.
15878         (do_test): Refactor to be type generic.
15879         (test_in_one_mode): Refactor duplicate code into
15880         (GEN_ONE_TEST): New macro.
15882         * stdlib/tst-strtod-round-data.h: Regenerate.
15884         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
15885         Extend to pass additional arbitrary parameters to
15886         generators.
15888 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
15890         [BZ #15479]
15891         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
15892         floating-point state after first floating-point operation on
15893         input.  Restore full floating-point state instead of just rounding
15894         mode.
15895         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
15896         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
15897         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
15898         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
15899         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
15901         [BZ #15479]
15902         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
15903         floating-point state after first floating-point operation on
15904         input.  Restore full floating-point state instead of just rounding
15905         mode.
15906         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
15907         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
15908         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
15909         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
15910         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
15912 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15914         [BZ #19727]
15915         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
15916         valid high surrogate.
15917         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
15918         of an utf16 surrogate.
15919         * iconv/gconv_simple.c (BODY): Likewise.
15920         * iconvdata/bug-iconv12.c: New file.
15921         * iconvdata/Makefile (tests): Add bug-iconv12.
15923 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15925         [BZ #19726]
15926         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
15927         outptrp in case of an illegal input.
15928         * iconv/tst-iconv6.c: New file.
15929         * iconv/Makefile (tests): Add tst-iconv6.
15931 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15933         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
15934         an error in case of a value in range of an utf16 low surrogate.
15936 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15938         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
15939         an error in case of a value in range of an utf16 low surrogate.
15941 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15943         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
15944         Move to ...
15945         * sysdeps/s390/Makefile: ... here.
15946         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
15947         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
15948         (BRANCH_ON_COUNT): New define.
15949         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
15950         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
15951         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
15952         run on s390-32, too.
15953         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
15954         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
15955         run on s390-32, too.
15956         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
15957         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
15958         run on s390-32, too.
15960 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15962         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
15963         etf3eh or new vector loop-variant.
15965 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15967         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
15968         etf3eh or new vector loop-variant.
15970 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15972         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
15973         or new vector loop-variant.
15975 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15977         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
15978         Rename to TR_LOOP and usage of tr instead of troo instruction.
15980 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15982         * sysdeps/s390/multiarch/gconv_simple.c: New File.
15983         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
15985 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15987         * sysdeps/s390/multiarch/8bit-generic.c: New File.
15988         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
15989         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
15990         New override define.
15991         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
15993 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15995         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
15996         * sysdeps/s390/configure.ac: Add test for S390 vector register
15997         support in gcc.
15998         * sysdeps/s390/configure: Regenerated.
16000 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
16002         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
16003         Install file from $(objpfx)gconv-modules.
16004         ($(objpfx)gconv-modules): Concatenate architecture specific file
16005         in variable sysdeps-gconv-modules and gconv-modules in src dir.
16006         * sysdeps/s390/gconv-modules: New file.
16007         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
16008         Deleted.
16009         ($(objpfx)gconv-modules-s390): Deleted.
16010         (sysdeps-gconv-modules): New variable.
16012 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
16014         [BZ #15479]
16015         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
16016         of immediate operand to rounding instruction.
16017         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
16018         Likewise.
16019         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
16020         Likewise.
16021         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
16022         Likewise.
16024 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16026         * math/libm-test.inc (MIN_EXP): Directly define as
16027         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
16029 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16031         * math/libm-test.inc (MANT_DIG): Directly define as
16032         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
16034 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16036         * stdlib/gen-tst-strtod-round.c (main):
16037           Change usage to more closely match the generated
16038           output.  Add usage and compilation instructions.
16039           (string_to_fp): Add and use FILE* parameter as
16040           output target.
16041           (print_fp): Likewise.
16042           (round_str): Likewise.
16043           (round_for_all): Likewise.
16044         * stdlib/tst-strtod-round.c (tests): Move into
16045         * stdlib/tst-strtod-round-data.h: New file.
16047 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
16049         [BZ #15479]
16050         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
16051         (__round): Do not force "inexact" exception.
16052         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
16053         variable.
16054         (__round): Do not force "inexact" exception.
16055         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
16056         (__roundf): Do not force "inexact" exception.
16057         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
16058         (__roundl): Do not force "inexact" exception.
16059         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
16060         (__roundl): Do not force "inexact" exception.
16061         * math/libm-test.inc (round_test_data): Do not allow spurious
16062         "inexact" exceptions.
16064         [BZ #15479]
16065         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
16066         exception in comment.
16067         (huge): Remove variable.
16068         (__floor): Do not force "inexact" exception.
16069         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
16070         "inexact" exception in comment.
16071         (huge): Remove variable.
16072         (__floor): Do not force "inexact" exception.
16073         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
16074         exception in comment.
16075         (huge): Remove variable.
16076         (__floorf): Do not force "inexact" exception.
16077         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
16078         exception in comment.
16079         (huge): Remove variable.
16080         (__floorl): Do not force "inexact" exception.
16082         [BZ #15479]
16083         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
16084         exception in comment.
16085         (huge): Remove variable.
16086         (__ceil): Do not force "inexact" exception.
16087         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
16088         "inexact" exception in comment.
16089         (huge): Remove variable.
16090         (__ceil): Do not force "inexact" exception.
16091         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
16092         (__ceilf): Do not force "inexact" exception.
16093         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
16094         exception in comment.
16095         (huge): Remove variable.
16096         (__ceill): Do not force "inexact" exception.
16098 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
16100         * config.h.in (BIND_NOW): New.
16101         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
16102         * configure: Regenerated.
16103         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
16104         indirect branch via the GOT slot.
16106 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16108         [BZ #19765]
16109         * sysdeps/s390/mempcpy.S: New File.
16110         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
16111         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
16112         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16113         Add mempcpy variants.
16114         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
16115         (memcpy): Adjust to be usable from mempcpy entry point.
16116         (__memcpy_mvcle): Likewise.
16117         * sysdeps/s390/s390-64/memcpy.S: Likewise.
16118         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
16119         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
16120         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
16121         (__memcpy_z10): Likewise.
16122         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
16124 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16126         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
16127         Remove __GI_ symbol.
16128         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
16129         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
16130         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
16131         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
16132         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
16133         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
16135 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16137         * sysdeps/s390/s390-64/memcpy.S (memcpy):
16138         Use cghi instead of chi to compare 64bit value.
16140 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16142         * sysdeps/s390/s390-32/memcpy.S (memcpy):
16143         Jump to 1MB check before executing mvc-loop.
16145 2016-05-24  Florian Weimer  <fweimer@redhat.com>
16147         [BZ #6527]
16148         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
16149         unconditionally.
16150         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
16152 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16154         * stdlib/tst-strtod6.c (do_test): Use new type generic
16155         invocation of the test function.
16156         (test): Refactor into ...
16157         (TEST_STRTOD): New macro base function.
16159 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16161         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
16162         (TEST_STRTOD): New macro.
16163         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
16165 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16167         * stdlib/tst-strtod6.c (do_test): Use new type generic
16168         invocation of the test function.
16169         (test): Refactor into ...
16170         (TEST_STRTOD): New macro base function.
16172 2016-05-23  Florian Weimer  <fweimer@redhat.com>
16174         CVE-2016-4429
16175         [BZ #20112]
16176         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
16177         payload.
16179 2016-05-23  Florian Weimer  <fweimer@redhat.com>
16181         [BZ #20111]
16182         * bits/sockaddr.h (_SS_SIZE): Define.
16183         * bits/socket.h (_SS_SIZE): Remove.
16184         (_SS_PADSIZE): Adjust to account for all padding.
16185         (struct sockaddr_storage): Update comment.  Avoid implicit
16186         padding.
16187         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
16188         (_SS_PADSIZE): Adjust to account for all padding.
16189         (struct sockaddr_storage): Update comment.  Avoid implicit
16190         padding.
16191         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
16192         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
16193         (_SS_PADSIZE): Adjust to account for all padding.
16194         (struct sockaddr_storage): Update comment.  Avoid implicit
16195         padding.
16196         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
16197         __SS_SIZE is 126 in this version.
16198         * inet/tst-sockaddr.c: New file.
16199         * inet/Makefile (tests): Add tst-sockaddr.c
16200         (tst-sockaddr.c): Compile with non-strict aliasing.
16202 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
16204         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
16205         [XPG3 || XPG4].
16206         (NL_ARGMAX): Also expect for [XPG3].
16207         (NL_LANGMAX): Likewise.
16208         (NL_MSGMAX): Likewise.
16209         (NL_NMAX): Likewise.
16210         (NL_SETMAX): Likewise.
16211         (NL_TEXTMAX): Likewise.
16212         (NZERO): Likewise.
16213         (TMP_MAX): Likewise.
16214         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
16215         variable.
16217         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
16218         (PF_MAX): Update value.
16219         (AF_KCM): New macro.
16220         (SOL_NETBEUI): Likewise.
16221         (SOL_LLC): Likewise.
16222         (SOL_DCCP): Likewise.
16223         (SOL_NETLINK): Likewise.
16224         (SOL_TIPC): Likewise.
16225         (SOL_RXRPC): Likewise.
16226         (SOL_PPPOL2TP): Likewise.
16227         (SOL_BLUETOOTH): Likewise.
16228         (SOL_PNPIPE): Likewise.
16229         (SOL_RDS): Likewise.
16230         (SOL_IUCV): Likewise.
16231         (SOL_CAIF): Likewise.
16232         (SOL_ALG): Likewise.
16233         (SOL_NFC): Likewise.
16234         (SOL_KCM): Likewise.
16235         (MSG_BATCH): New enum value and macro.
16237 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
16239         [BZ #18185]
16240         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
16241         sharing L2 cache to 2 for Knights Landing.
16243 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
16245         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
16246         (FTW_DP): Do not expect for [XPG3 || XPG4].
16247         (FTW_SL): Do not expect for [XPG3].
16248         (FTW_SLN): Likewise.
16249         (FTW_PHYS): Likewise.
16250         (FTW_MOUNT): Likewise.
16251         (FTW_DEPTH): Likewise.
16252         (FTW_CHDIR): Likewise.
16253         (nftw): Likewise.
16254         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
16255         variable.
16257 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
16259         * manual/errno.texi: Fix various typos & grammar errors.
16261 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
16263         * manual/intro.texi: Fix duplicated typo.
16265 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
16267         [BZ #13304]
16268         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
16269         <float.h>, <math_private.h> and <stdlib.h>.
16270         (add_split): New function.
16271         (mul_split): Likewise.
16272         (ext_val): New typedef.
16273         (store_ext_val): New function.
16274         (mul_ext_val): New function.
16275         (compare): New function.
16276         (add_split_ext): New function.
16277         (__fmal): After checking for Inf, NaN and zero, compute result as
16278         an exact sum of scaled double values in round-to-nearest before
16279         adding those up and adjusting for other rounding modes.
16280         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
16281         tests of fma.
16282         * math/auto-libm-test-out: Regenerated.
16284 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
16286         [BZ #20119]
16287         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
16288         processor level type mask for CPUID with EAX == 11.
16290 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
16292         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
16293         logical threads if the HTT bit is 0.
16294         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
16295         (index_cpu_HTT): Likewise.
16296         (reg_HTT): Likewise.
16298 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
16300         [BZ #20115]
16301         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
16302         Remove alignments on jump targets.
16304 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
16306         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
16307         (getpwent): Likewise.
16308         (setpwent): Likewise.
16309         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
16310         variable.
16312         * conform/data/search.h-data (insque): Do not expect for [XPG3].
16313         (remque): Likewise.
16314         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
16315         variable.
16317 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
16319         * math/libm-test.inc: Update comment not to refer to signs of NaNs
16320         not being tested.
16322 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
16324         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
16325         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
16326         call.
16327         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
16328         (__condvar_cleanup1): Likewise.
16330 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
16332         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
16333         New
16334         (__pthread_unwind): Renamed to ...
16335         (PTHREAD_UNWIND): This.
16336         (__pthread_enable_asynccancel): Replace
16337         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
16339 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
16341         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
16342         (CLONE_NEWCGROUP): New macro.
16344         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
16345         (Q_GETNEXTQUOTA): New macro.
16347 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
16349         [BZ #19907]
16350         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
16351         buffer updated by the previous run.
16352         * string/test-memcpy.c (do_one_test): Likewise.
16353         * benchtests/bench-memmove.c (do_one_test): Add a comment.
16354         * string/test-memmove.c (do_one_test): Likewise.
16356 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
16358         [BZ #20094]
16359         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
16360         not [__USE_XOPEN].
16361         (unlockpt): Likewise.
16362         (ptsname): Likewise.
16363         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
16364         variable.
16366         [BZ #20076]
16367         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
16368         instead of [__USE_UNIX98].
16369         (S_ISSOCK): Likewise.
16370         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
16371         variable.
16373         [BZ #20074]
16374         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
16375         [__USE_POSIX].
16376         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
16377         variable.
16379         [BZ #20051]
16380         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
16381         (ttyslot): Do not declare.
16382         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
16383         (ttyslot): New prototype.
16384         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
16385         variable.
16386         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
16388 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
16390         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
16392 2016-05-13  Florian Weimer  <fweimer@redhat.com>
16394         Fix race condition in tst-mallocfork2, use fewer resources.
16395         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
16396         to current process group.
16397         (signal_sender): Yield in the non-sleeping case.
16399 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
16401         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
16402         (ecvt): Likewise.
16403         (fcvt): Likewise.
16404         (gcvt): Likewise.
16405         (getsubopt): Likewise.
16406         (grantpt): Likewise.
16407         (initstate): Likewise.
16408         (l64a): Likewise.
16409         (mktemp): Likewise.
16410         (mkstemp): Likewise.
16411         (ptsname): Likewise.
16412         (random): Likewise.
16413         (realpath): Likewise.
16414         (setstate): Likewise.
16415         (srandom): Likewise.
16416         (ttyslot): Likewise.
16417         (unlockpt): Likewise.
16418         (valloc): Likewise.
16420         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
16421         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
16422         variable.
16424 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
16426         [BZ #20072]
16427         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
16428         init_cpu_features only if SHARED is defined.
16429         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
16431 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
16433         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
16434         non-inclusive caches on Intel processors.
16436 2016-05-13  Florian Weimer  <fweimer@redhat.com>
16438         * malloc/malloc.c (dumped_main_arena_start)
16439         (dumped_main_arena_end): New variables.
16440         (DUMPED_MAIN_ARENA_CHUNK): New macro.
16441         (do_check_chunk): Skip dumped fake mmapped chunks.
16442         (munmap_chunk): Likewise.
16443         (__libc_free): Do not adjust statistics for fake mmapped chunks.
16444         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
16445         mmapped chunks.
16446         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
16447         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
16448         and dumped_main_arena_end to cover the dumped heap.
16450 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
16452         * conform/data/time.h-data (getdate_err): Do not expect for
16453         [XPG3].
16454         (getdate): Likewise.
16455         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
16456         variable.
16458         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
16459         (F_ULOCK): Likewise.
16460         (F_TEST): Likewise.
16461         (F_TLOCK): Likewise.
16462         (useconds_t): Likewise.
16463         (intptr_t): Do not expect for [XPG3] or [XPG4].
16464         (brk): Do not expect for [XPG3]
16465         (fchown): Likewise.
16466         (fchdir): Likewise.
16467         (ftruncate): Likewise.
16468         (getdtablesize): Likewise.
16469         (gethostid): Likewise.
16470         (getpagesize): Likewise.
16471         (getpgid): Likewise.
16472         (getsid): Likewise.
16473         (getwd): Likewise.
16474         (lchown): Likewise.
16475         (lockf): Likewise.
16476         (readlink): Likewise.
16477         (sbrk): Likewise.
16478         (setpgrp): Likewise.
16479         (setregid): Likewise.
16480         (setreuid): Likewise.
16481         (symlink): Likewise.
16482         (sync): Likewise.
16483         (truncate): Likewise.
16484         (ualarm): Likewise.
16485         (usleep): Likewise.
16486         (vfork): Likewise.
16487         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
16488         variable.
16490         [BZ #20054]
16491         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
16492         not [__USE_UNIX98].
16493         * conform/data/unistd.h-data (gethostname): Do not expect for
16494         [XPG3].
16496         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
16497         [!POSIX] (S_IFBLK): Likewise.
16498         [!POSIX] (S_IFCHR): Likewise.
16499         [!POSIX] (S_IFIFO): Likewise.
16500         [!POSIX] (S_IFREG): Likewise.
16501         [!POSIX] (S_IFDIR): Likewise.
16502         [!POSIX] (S_IFLNK): Likewise.
16503         [!POSIX] (S_IFSOCK): Likewise.
16504         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
16505         variable.
16506         (test-xfail-XPG4/fcntl.h/conform): Likewise.
16508 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
16510         * sysdeps/aarch64/memset.S (__memset):
16511         Rewrite of optimized memset.
16513 2016-05-12  Florian Weimer  <fweimer@redhat.com>
16515         [BZ #19703]
16516         Partially async-signal-safe fork for single-threaded processes.
16517         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
16518         variable.  Do not acquire and reset/release malloc and libio locks
16519         in single-threaded processes.
16520         * malloc/tst-mallocfork2.c: New file.
16521         * malloc/Makefile (tests): Add it.
16523 2016-05-12  Florian Weimer  <fweimer@redhat.com>
16525         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
16526         argument.  Use scratch buffer instead of extend_alloca.
16527         (gethosts): Use scratch buffer instead of extend_alloca.
16528         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
16529         extend_alloca.
16530         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
16532 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
16534         [BZ #20055]
16535         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
16536         instead of [__USE_UNIX98].
16537         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
16538         [__USE_UNIX98].
16539         * conform/data/termios.h-data (tcgetsid): Do not expect for
16540         [XPG3].
16541         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
16542         variable.
16543         (test-xfail-XPG4/termios.h/conform): Likewise.
16545 2016-05-11  Florian Weimer  <fweimer@redhat.com>
16547         Do not use mcheck in localedef.
16548         * locale/programs/localedef.c (turn_on_mcheck)
16549         (__malloc_initialize_hook): Remove.
16551 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16553         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
16554         * sysdeps/s390/s390-64/Makefile: Likewise.
16556 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
16558         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
16559         Remove ifunc-defines.sym.
16560         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
16561         Likewise.
16562         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
16563         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
16564         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
16565         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
16566         rtld-global-offsets.sym.
16567         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
16568         * sysdeps/x86/cpu-features-offsets.sym: This.
16569         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
16570         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
16572 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
16574         [BZ #20073]
16575         * io/sys/stat.h (fchmod): Declare for
16576         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
16577         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
16578         variable.
16580         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
16581         [XPG3] (S_IFSOCK): Likewise.
16582         [XPG3] (S_ISVTX): Likewise.
16583         [XPG3] (S_ISLNK): Likewise.
16584         [XPG3] (S_ISSOCK): Likewise.
16585         [XPG3] (fchmod): Likewise.
16586         [XPG3] (lstat): Likewise.
16587         [XPG3] (mknod): Likewise.
16589         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
16590         [XPG3].  Expect type long and XFAIL for [XPG4].
16591         (st_blocks): Likewise.
16593         [BZ #20044]
16594         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
16595         (pthread_atfork): New prototype.
16596         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
16597         variable.
16599         [BZ #20043]
16600         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
16601         prototype.
16603 2016-05-10  Florian Weimer  <fweimer@redhat.com>
16605         [BZ #20017]
16606         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
16607         gmtime.
16609 2016-05-10  Florian Weimer  <fweimer@redhat.com>
16611         [BZ #19994]
16612         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
16613         flag in _res.options.
16615 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
16617         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
16618         [XPG3 || XPG4].
16619         (blksize_t): Likewise.
16620         (clockid_t): Likewise.
16621         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
16622         variable.
16623         (test-xfail-XPG4/sys/types.h/conform): Likewise.
16625 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
16627         * sysdeps/unix/sysv/linux/s390/init-first.c:
16628         Add VDSO_SYMBOL(getcpu).
16629         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
16630         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
16631         Add VDSO_SYMBOL(getcpu).
16632         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
16633         New define HAVE_GETCPU_VSYSCALL.
16634         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16636 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
16638         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
16639         instead of <sysdeps/x86_64/cacheinfo.c>.
16640         * sysdeps/x86_64/cacheinfo.c: Moved to ...
16641         * sysdeps/x86/cacheinfo.c: Here.
16643 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16645         * malloc/malloc-internal.h: Adjust header file guard.
16647 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16649         [BZ #19787]
16650         * inet/getnameinfo.c (check_sprintf_result): New function.
16651         (CHECKED_SNPRINTF): New macro.
16652         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
16653         to the host buffer.
16654         (gni_host_local): Use checked_copy to copy the host name.
16655         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
16656         (gni_serv_local): Use checked_copy to copy the service name.
16657         (getnameinfo): Remove unnecessary truncation of result buffers.
16659 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16661         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
16662         in case of inet_ntop failure.
16664 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16666         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
16667         avoid long lines.
16668         (gni_host_inet_numeric): Likewise.  Reduce scope of local
16669         variables.
16670         (gni_host_inet, gni_host_local): Add comment.
16671         (gni_host): Add comment.  Use temporary to avoid long lines.
16673 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16675         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
16676         registers specifiers where general purpose registers specifiers should
16677         have been used.
16679 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16681         [BZ #19779]
16682         CVE-2016-1234
16683         Avoid copying names of directory entries.
16684         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
16685         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
16686         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
16687         (struct readdir_result): New type.
16688         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
16689         (GL_READDIR): New macros.
16690         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
16691         (convert_dirent, convert_dirent64): New functions.
16692         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
16693         convert_dirent64.  Adjust references to the readdir result.
16694         * sysdeps/unix/sysv/linux/i386/glob64.c:
16695         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
16696         * posix/bug-glob2.c (LONG_NAME): Define.
16697         (filesystem): Add LONG_NAME.
16698         (my_DIR): Increase the size of room_for_dirent.
16700 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
16702         [BZ #20041]
16703         * misc/sys/select.h (__need_timespec): Only define if
16704         [__USE_XOPEN2K].
16705         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
16706         variable.
16707         (test-xfail-XPG4/utmpx.h/conform): Likewise.
16708         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
16709         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
16711 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16712             Segher Boessenkool  <segher@gcc.gnu.org>
16714         [BZ #20004]
16715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
16716         (__novec_swapcontext): Add missing load.
16718 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
16720         [BZ #20023]
16721         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
16722         <time.h>.
16723         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
16724         variable.
16725         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
16727 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
16730         flags CLONE_VM compare.
16732 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16734         [BZ #20031]
16735         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
16736         completely empty.
16738 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16740         [BZ #19573]
16741         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
16742         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
16743         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
16744         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
16745         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
16746         (hesiod_free_list): Mark as hidden.
16747         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
16748         res_set, res_get.
16749         * hesiod/hesiod.c: Remove unnecessary forward declarations.
16750         (init, __hesiod_res_get, __hesiod_res_set): Remove.
16751         (hesiod_init): Remove obsolete res_ninit call.
16752         (hesiod_end): Do not free resolver state.  Do not invoke callback.
16753         (hesiod_bind): Do not call init.
16754         (get_txt_records): Use res_mkquery, res_send instead of
16755         res_nmkquery, res_nsend.
16756         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
16757         instead of _nss_hesiod_init.
16758         (_nss_hesiod_initgroups_dyn): Likewise.
16759         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
16760         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
16761         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
16763 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16765         * hesiod/hesiod_p.h (DEF_RHS): Remove.
16766         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
16768 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16770         * hesiod/hesiod.h: Remove RCS keyword.
16771         * hesiod/hesiod_p.h: Likewise.
16773         * hesiod/hesiod.c: Likewise.
16775 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
16777         [BZ #12450]
16778         * locale/iso-639.def: Add Samogitian/sgs.
16780 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
16782         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
16784         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
16786 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
16787             Carlos O'Donell  <carlos@redhat.com>
16789         [BZ #19072]
16790         * grp/Makefile (headers): Add grp-merge.h
16791         (routines): Add grp-merge.
16792         * grp/getgrgid_r.c: Include grp-merge.h.
16793         (DEEPCOPY_FN): Define.
16794         (MERGE_FN): Define.
16795         * grp/getgrname_r.c: Include grp-merge.h.
16796         (DEEPCOPY_FN): Define.
16797         (MERGE_FN): Define.
16798         * grp/grp-merge.c: New file.
16799         * grp/grp-merge.h: New file.
16800         * include/grp-merge.h: New file.
16801         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
16802         __copy_grp@GLIBC_PRIVATE.
16803         * manual/nss.texi (Actions in the NSS configuration): Describe
16804         return, continue, and merge.
16805         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
16806         (DEEPCOPY_FN): Define.
16807         (MERGE_FN): Define.
16808         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
16809         (DEEPCOPY_FN): Define.
16810         (MERGE_FN): Define.
16811         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
16812         [!MERGE_FN]: Define __merge_einval.
16813         (CHECK_MERGE): Define.
16814         (REENTRANT_NAME): Process merge if do_merge is true.
16815         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
16816         (__nss_getent_r): Likewise.
16817         * nss/nsswitch.c (nss_parse_service_list): Likewise.
16818         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
16820 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16822         [BZ #20012]
16823         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
16824         length to calculate the buffer to read.
16825         (fmemopen_write): Set the buffer position based on bytes written.
16826         (fmemopen_seek): Return EINVAL for invalid whence modes.
16828         [BZ #19957]
16829         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
16830         tst-getpid2.
16831         (test): Add tst-clone2.
16832         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
16833         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
16834         pid/tid fields for CLONE_VM.
16835         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
16836         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
16837         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
16838         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
16839         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
16840         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
16841         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
16842         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
16843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
16844         Likewise.
16845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16846         Likewise.
16847         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
16848         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
16849         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
16850         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
16851         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
16852         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
16853         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
16854         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
16856 2016-04-29  Florian Weimer  <fweimer@redhat.com>
16858         [BZ #19642]
16859         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
16860         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
16861         (gni_serv_local, gni_serv): New functions extracted from
16862         getnameinfo.
16863         (getnameinfo): Call gni_host and gni_serv to perform the
16864         processing.  Always free scratch buffer.
16866 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16868         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
16869         remaining bytes in the dest string, with zeros.
16871 2016-04-29  Florian Weimer  <fweimer@redhat.com>
16873         [BZ #20010]
16874         CVE-2016-3706
16875         * sysdeps/posix/getaddrinfo.c
16876         (convert_hostent_to_gaih_addrtuple): New function.
16877         (gethosts): Call convert_hostent_to_gaih_addrtuple.
16878         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
16879         AF_INET data.
16881 2016-04-29  Florian Weimer  <fweimer@redhat.com>
16883         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
16884         callback function gl_readdir.
16885         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
16886         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
16887         (glob_in_dir): Remove len.  Use strdup instead of malloc and
16888         memcpy to copy the name.
16889         * manual/pattern.texi (Calling Glob): Document requirements for
16890         implementations of the gl_readdir callback function.
16891         * manual/examples/mkdirent.c: New example.
16892         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
16893         per the manual guidance.
16894         * posix/tst-gnuglob.c (my_readdir): Likewise.
16896 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
16898         [BZ #20014]
16899         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
16900         not [__USE_POSIX].
16901         (getchar_unlocked): Likewise.
16902         (putc_unlocked): Likewise.
16903         (putchar_unlocked): Likewise.
16904         (flockfile): Likewise.
16905         (ftrylockfile): Likewise.
16906         (funlockfile): Likewise.
16907         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
16908         variable.
16909         (test-xfail-XPG4/stdio.h/conform): Likewise.
16911         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
16912         Expect constant.
16913         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
16914         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
16915         variable.
16916         (test-xfail-XPG4/langinfo.h/conform): Likewise.
16917         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
16919         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
16920         [__USE_LARGEFILE64] (off64_t): Likewise.
16921         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
16922         variable.
16924 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16926         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
16928 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16930         * resolv/inet_addr.c: Reindent preprocessor conditionals.
16931         * resolv/res_init.c: Likewise.
16932         * resolv/res_mkquery.c: Likewise.
16934 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16936         * resolv/res_init.c (isascii): Do not define.  Use definition in
16937         <ctype.h>.
16938         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
16939         (LOG_AUTH): Remove.
16940         (SPRINTF): Remove, adjust caller.
16941         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
16943 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16945         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
16946         SUNSECURITY conditional.
16947         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
16949 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16951         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
16952         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
16953         Remove BSD-related preprocessor conditionals.
16954         * conf/portability.h: Remove.
16956 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16958         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
16959         * resolv/res_data.c: Likewise.
16961 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16963         * resolv/res_comp.c: Remove code conditional on __ultrix__.
16964         * resolv/res_data.c: Remove code conditional on ultrix.
16966 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16968         * resolv/res_init.c (RFC1535): Do not define.  Remove
16969         RFC1535 preprocessor conditionals.
16970         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
16971         because there configuration options which make the resolver
16972         behavior different.
16974 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16976         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
16977         RESOLVSORT preprocessor conditionals.
16978         * resolv/nss_dns/dns-host.c: Likewise.
16979         * resolv/res_init.c: Likewise.
16981 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16983         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
16984         is never defined.
16986 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16988         * inet/inet_lnaof.c: Remove SCSS keyword.
16989         * inet/inet_mkadr.c: Likewise.
16990         * inet/inet_net.c: Likewise.
16991         * inet/inet_netof.c: Likewise.
16992         * inet/rcmd.c: Likewise.
16993         * inet/rexec.c: Likewise.
16994         * inet/ruserpass.c: Likewise.
16996 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16998         * resolv/inet_addr.c: Remove _LIBC conditionals.
16999         * resolv/res_data.c: Likewise.
17000         * resolv/res_init.c: Likewise.
17001         * resolv/res_mkquery.c: Likewise.
17002         * resolv/res_libc.c: Update comment.
17003         * resolv/README: Update.
17005 2016-04-28  Florian Weimer  <fweimer@redhat.com>
17007         * resolv/gethnamaddr.c: Remove SCSS keyword.
17008         * resolv/herror.c: Likewise.
17009         * resolv/inet_addr.c: Likewise.
17010         * resolv/inet_net_ntop.c: Likewise.
17011         * resolv/inet_net_pton.c: Likewise.
17012         * resolv/inet_neta.c: Likewise.
17013         * resolv/inet_ntop.c: Likewise.
17014         * resolv/inet_pton.c: Likewise.
17015         * resolv/ns_date.c: Remove RCS keyword.
17016         * resolv/ns_name.c: Likewise.
17017         * resolv/ns_netint.c: Likewise.
17018         * resolv/ns_parse.c: Likewise.
17019         * resolv/ns_print.c: Likewise.
17020         * resolv/ns_samedomain.c: Likewise.
17021         * resolv/ns_ttl.c: Likewise.
17022         * resolv/nsap_addr.c: Likewise.
17023         * resolv/res_comp.c: Remove SCSS and RCS keyword.
17024         * resolv/res_data.c: Remove RCS keyword.
17025         * resolv/res_debug.c: Remove SCSS and RCS keyword.
17026         * resolv/res_init.c: Likewise.
17027         * resolv/res_mkquery.c: Likewise.
17028         * resolv/res_query.c: Likewise.
17029         * resolv/res_send.c: Likewise.
17031 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
17033         * conform/data/stdio.h-data (fdopen): Expect also for
17034         [XPG3 || XPG4].
17036         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
17037         (fseeko): Likewise.
17038         (ftello): Likewise.
17039         (ftrylockfile): Likewise.
17040         (funlockfile): Likewise.
17041         (getc_unlocked): Likewise.
17042         (getchar_unlocked): Likewise.
17043         (putc_unlocked): Likewise.
17044         (putchar_unlocked): Likewise.
17046 2016-04-27  Florian Weimer  <fweimer@redhat.com>
17048         [BZ #19868]
17049         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
17050         DNS packet syntax checks (which were not needed before).  Skip
17051         over non-PTR records.
17053 2016-04-27  Florian Weimer  <fweimer@redhat.com>
17055         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
17056         definition.  Include <stddef.h> instead.
17058 2016-04-27  Florian Weimer  <fweimer@redhat.com>
17060         [BZ #19831]
17061         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
17062         function.
17063         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
17064         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
17066 2016-04-27  Florian Weimer  <fweimer@redhat.com>
17068         [BZ #19862]
17069         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
17070         (getanswer_r): Do not call syslog.
17071         (gaih_getanswer_slice): Likewise.
17072         * resolv/gethnamaddr.c (AskedForGot): Remove.
17073         (getanswer): Do not call syslog.
17074         (gethostbyaddr): Likewise.
17076 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
17078         * conform/data/signal.h-data (union sigval): Expect also if
17079         [XOPEN2K].
17080         (struct sigevent): Likewise.
17081         (SIGEV_NONE): Likewise.
17082         (SIGEV_SIGNAL): Likewise.
17083         (SIGEV_THREAD): Likewise.
17084         (SIGRTMIN): Likewise.
17085         (SIGRTMAX): Likewise.
17086         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
17087         variable.
17088         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
17090 2016-04-27  Florian Weimer  <fweimer@redhat.com>
17092         [BZ #19830]
17093         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
17094         (gaih_getanswer_slice): Likewise.
17095         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
17096         Also check for availability of RR metadata.
17098 2016-04-27  Florian Weimer  <fweimer@redhat.com>
17100         [BZ #19825]
17101         * resolv/res_send.c (send_vc): Remove early *resplen2
17102         initialization.  Set *resplen2 on socket error.  Call
17103         close_and_return_error for other errors.
17105 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
17107         * sysdeps/unix/sysv/linux/netiucv/iucv.h
17108         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
17109         (SCM_IUCV_TRGCLS): New define.
17111 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17113         [BZ #20005]
17114         * libio/fmemopen.c (fmemopen_write): Update internal position after
17115         write.
17116         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
17117         * stdio-common/tst-fmemopen4.c: New file..
17119 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
17121         [BZ #19996]
17122         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
17123         not [__USE_XOPEN2K].
17124         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
17125         variable.
17127         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
17128         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
17129         variable.
17131         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
17132         [__USE_XOPEN2K8].
17133         [__USE_LARGEFILE64] (off64_t): Likewise.
17134         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
17135         variable.
17137 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
17139         [BZ #19989]
17140         * libio/stdio.h (cuserid): Do not declare if
17141         [__USE_XOPEN2K && !__USE_GNU].
17142         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
17143         variable.
17145 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17147         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
17148         (sysdep_routines): Add P8 and PPC64 strcspn targets.
17149         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17150         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
17151         ifunc'ed strcspn.
17152         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
17153         [EALIGN]: Removed.
17154         [END]: Likewise
17155         [STRSPN]: Define instead of the above to control symbol name.
17156         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
17157         New file.
17158         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
17159         Likewise.
17160         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
17161         Likewise.
17162         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
17163         Likewise.
17164         * sysdeps/powerpc/powerpc64/power8/strspn.S:
17165         [INITIAL_MASK]: New macro.
17166         [STRCSPN]: Likewise.
17167         [UPDATE_MASK]: Likewise.
17168         [USE_AS_STRCSPN]: Likewise.
17170 2016-04-25  Florian Weimer  <fweimer@redhat.com>
17172         [BZ #19931]
17173         * stdio-common/tst-vfprintf-width-prec.c: New file.
17174         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
17175         (tests-special): Add tst-vfprintf-width-prec-mem.out.
17176         (generated): Add mtrace-related files.
17177         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
17178         (tst-%-mem.out): New pattern rule, replaces
17179         tst-printf-bz18872-mem.out.
17180         * stdio-common/vfprintf.c (vfprintf): When handling a precision
17181         specifier, deallocate any previously allocated work buffer.
17183 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
17185         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
17186         Add nop before __startcontext, add explaining comments.
17188 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
17190         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
17191         any more. Notably since IPV6_PKTINFO has been reintroduced with a
17192         completely different API.
17194         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
17195         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
17196         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
17197         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
17198         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
17199         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
17200         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
17201         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
17202         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
17203         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
17205 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
17207         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
17209 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
17211         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
17212         when it is the default of 0.
17214 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17216         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
17217         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
17218         (sysdep_routines): Add new strcasestr targets.
17219         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17220         (__libc_ifunc_impl_list): Likewise.
17221         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
17222         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
17223         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
17224         * sysdeps/powerpc/powerpc64/power8/Makefile:
17225         New file to add strcasestr-ppc64 to sysdep_routines.
17226         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
17227         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
17229 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
17231         * benchtests/Makefile (wcsmbs-benchset): Include only for
17232         native builds and runs.
17233         (LOCALES): Likewise.
17234         (bench-build): Build timing-type here instead of the bench
17235         target.  Generate locale only for native builds.
17236         * benchtests/README: Add note for cross-building.
17238         * benchtests/Makefile (bench-clean): Clean up extra-objs.
17240         * benchtests/README: Update README to include instructions on
17241         using bench-build.
17243         * Makefile.in (bench-build): New target.
17244         * Rules (PHONY): Add bench-build target.
17245         * benchtests/Makefile (bench): Depend on bench-build.
17246         (bench-build): New target.
17248 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17250         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
17251         profil_reply_port.
17252         (profile_waiter): Do not initialize profil_reply_port.
17253         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
17254         frequency instead of tick length in us.
17256 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
17258         [BZ #18712]
17259         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
17260         (__old_mempcpy_small): Likewise.
17261         (__old_strcpy_small): Likewise.
17262         (__old_stpcpy_small): Likewise.
17263         (__old_strpbrk_c2): Fix compat symbol name.
17264         (__old_strpbrk_c3): Likewise.
17265         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
17266         (__mempcpy_small): Remove.
17267         (__strcpy_small): Remove.
17268         (__stpcpy_small): Remove.
17270 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
17272         [BZ #19400]
17273         * locale/iso-639.def: Add the Talossan/tzl language.
17275 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
17277         [BZ #16983]
17278         * locale/programs/ld-address.c (address_finish): Update postal_fmt
17279         comment.  Add "ln" to strchr check on postal_fmt.
17281 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
17283         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
17284         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
17285         tel_dom_fmt.
17287 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17289         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
17290         (sysdep_routines): Added __strlen_power8.
17291         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
17292         __strlen_power8 entry.
17293         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
17294         Implementation for POWER8.
17295         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
17296         for __strlen_power8.
17297         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
17298         Implementation for POWER8.
17300 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
17302         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
17304 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
17306         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
17307         Goldmont and Airmont processors.
17309 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
17311         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
17312         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
17313         (__STRING2_SMALL_GET32): Remove.
17314         (memset): Remove.
17315         (__memset_1): Remove.
17316         (__memset_gc): Remove.
17317         (__mempcpy): Remove.
17318         (mempcpy): Remove.
17319         (__mempcpy_args): Remove.
17320         (strchr): Remove.
17321         (strcpy): Remove.
17322         (strcpy_args): Remove.
17323         (__stpcpy_args): Remove.
17324         (__strcmp_cc): Remove.
17325         (__strcmp_gc): Remove.
17326         (strstr): Remove.
17328 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
17330         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
17331         * nis/nis_call.c (nis_server_cache_add): Likewise.
17333 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17335         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
17337 2016-04-14  Florian Weimer  <fweimer@redhat.com>
17339         * malloc/arena.c (__malloc_fork_lock_parent)
17340         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
17341         internal_function attribute.
17343 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
17345         * stdio-common/printf_fp.c (__printf_fp_l):
17346         Rename ___printf_fp_l to __printf_fp_l and
17347         remove strong alias. Use libc_hidden_def instead
17348         of ldbl_hidden_def macro.
17350 2016-04-14  Florian Weimer  <fweimer@redhat.com>
17352         Remove malloc hooks from fork handler.  They are no longer needed
17353         because malloc runs right before fork, and no malloc calls from
17354         other fork handlers are not possible anymore.
17355         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
17356         declarations.
17357         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
17358         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
17359         (atfork_recursive_cntr): Remove.
17360         (__malloc_fork_lock_parent): Do not override malloc hooks and
17361         thread_arena.
17362         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
17363         thread_arena.
17364         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
17365         thread_arena instead of save_arena.
17367 2016-04-14  Florian Weimer  <fweimer@redhat.com>
17369         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
17370         (thread_atfork, thread_atfork_static): Remove.
17371         * sysdeps/mach/hurd/malloc-machine.h:
17372         (thread_atfork, thread_atfork_static): Remove.
17374 2016-04-14  Florian Weimer  <fweimer@redhat.com>
17376         [BZ #19431]
17377         Run the malloc fork handler as late as possible to avoid deadlocks.
17378         * malloc/malloc-internal.h: New file.
17379         * malloc/malloc.c: Include it.
17380         * malloc/arena.c (ATFORK_MEM): Remove.
17381         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
17382         Update comment.
17383         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
17384         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
17385         Remove outdated comment.
17386         (ptmalloc_init): Do not call thread_atfork.  Remove
17387         thread_atfork_static.
17388         * malloc/tst-malloc-fork-deadlock.c: New file.
17389         * Makefile (tests): Add tst-malloc-fork-deadlock.
17390         (tst-malloc-fork-deadlock): Link against libpthread.
17391         * manual/memory.texi (Aligned Memory Blocks): Update safety
17392         annotation comments.
17393         * sysdeps/nptl/fork.c (__libc_fork): Call
17394         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
17395         __malloc_fork_unlock_child.
17396         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
17398 2016-04-14  Florian Weimer  <fweimer@redhat.com>
17400         [BZ #19613]
17401         Remove union wait.
17402         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
17403         (w_stopsig, w_stopval): Remove.
17404         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
17405         stat_loc argument.
17406         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
17407         (__WAIT_STATUS_DEFN): Remove.
17408         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
17409         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
17410         (wait, wait3, wait4): Use int * for the stat_loc argument.
17411         * posix/wait.c (__wait): Likewise.
17412         * posix/wait3.c (__wait3): Likewise.
17413         * posix/wait4.c (__wait4): Likewise.
17414         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
17415         (__WAIT_STATUS_DEFN): Remove.
17416         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
17417         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
17418         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
17419         argument.
17420         * sysdeps/posix/wait.c (__libc_wait): Likewise.
17421         * sysdeps/posix/wait3.c (__wait3): Likewise.
17422         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
17423         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
17424         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
17425         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
17426         stat_loc argument.
17427         * manual/process.texi (BSD Wait Functions): Remove union wait.
17429 2016-04-13  Andreas Schwab  <schwab@suse.de>
17431         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
17432         (test-extras): Add tst-tlsalign-vars.
17433         * math/Makefile: Wrap long lines.
17434         (libm-vec-test-wrappers): Define.
17435         (test-extras): Add $(libm-vec-test-wrappers).
17436         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
17437         * nss/Makefile (extra-test-objs): Add nss_test1.os.
17438         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
17439         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
17440         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
17441         (extra-test-objs): Add corresponding objects.
17443 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
17445         [BZ #19928]
17446         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
17447         New.
17448         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
17449         times of shared cache size.
17450         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
17451         (VMOVNT): New.
17452         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
17453         (VMOVNT): Likewise.
17454         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
17455         (VMOVNT): Likewise.
17456         (VMOVU): Changed to movups for smaller code sizes.
17457         (VMOVA): Changed to movaps for smaller code sizes.
17458         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
17459         comments.
17460         (PREFETCH): New.
17461         (PREFETCH_SIZE): Likewise.
17462         (PREFETCHED_LOAD_SIZE): Likewise.
17463         (PREFETCH_ONE_SET): Likewise.
17464         Rewrite to use forward and backward loops, which move 4 vector
17465         registers at a time, to support overlapping addresses and use
17466         non temporal store if size is above the threshold and there is
17467         no overlap between destination and source.
17469 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
17471         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
17472         Include dl-vdso.
17473         * sysdeps/unix/sysv/linux/mips/Versions: Add
17474         __vdso_clock_gettime.
17475         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
17476         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
17477         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
17478         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
17479         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
17480         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
17481         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
17482         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
17483         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
17485 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17487         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
17488         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
17489         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
17490         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
17491         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
17492         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
17493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
17494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
17495         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
17496         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
17497         syscalls generation.
17498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17499         [__NR_pwrite64] (__NR_write): Remove define.
17500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17501         [__NR_pwrite64] (__NR_write): Remove define.
17502         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
17503         Remove define.
17504         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
17505         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
17506         Remove define.
17507         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
17508         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
17509         Linux implementation as base.
17510         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
17512         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
17513         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
17514         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
17515         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
17516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
17517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
17518         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
17519         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
17520         syscall generation.
17521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17522         [__NR_pread64] (__NR_pread): Remove define.
17523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17524         [__NR_pread64] (__NR_pread): Likewise.
17525         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
17526         define.
17527         (__libc_pread): Use SYSCALL_LL macro on offset argument.
17528         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
17529         Remove define.
17530         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
17531         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
17532         Linux implementation as base.
17533         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
17534         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
17535         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
17537         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
17538         definition.
17539         (__ALIGNMENT_COUNT): Likewise.
17540         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
17541         (__ALIGNMENT_COUNT): Likewise.
17542         (SYSCALL_LL): New define.
17543         (SYSCALL_LL64): Likewise.
17544         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
17545         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
17546         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
17547         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
17549         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17550         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
17551         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17552         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
17553         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17554         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
17556 2016-04-11  Florian Weimer  <fweimer@redhat.com>
17558         [BZ #19865]
17559         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
17560         original buffer before retry.
17562 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17564         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
17565         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
17566         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
17567         GLRO(dl_auxv) list.
17568         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
17569         including <ldsodefs.h>.
17570         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
17572 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
17574         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
17575         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
17576         $(CPPFLAGS).
17578 2016-04-09  Khem Raj  <raj.khem@gmail.com>
17580         [BZ #17950]
17581         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
17582         Add -mfpmath=387.
17584 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
17586         * sysdeps/i386/configure.ac: Change == to = when calling test.
17587         * sysdeps/x86_64/configure.ac: Likewise.
17588         * sysdeps/i386/configure: Regenerated.
17589         * sysdeps/x86_64/configure: Likewise.
17591 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
17593         [BZ #16137]
17594         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
17595         * benchtests/bench-strcoll.c (input_files): Likewise.
17596         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
17597         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
17598         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
17600 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
17602         [BZ #19929]
17603         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
17604         [__USE_XOPEN2K8 && !__USE_GNU].
17605         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
17606         variable.
17608         [BZ #19925]
17609         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
17610         define if [!__USE_MISC && __USE_XOPEN2K].
17611         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
17612         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
17613         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
17614         Likewise.
17615         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
17616         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
17617         variable.
17618         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
17620 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17622         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
17623         (sysdep_routines): Add new strspn targets.
17624         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17625         (__libc_ifunc_impl_list): Add strspn.
17626         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
17627         New file.
17628         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
17629         Likewise.
17630         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
17631         Likewise.
17632         * sysdeps/powerpc/powerpc64/power8/strspn.S:
17633         Likewise.
17635 2016-04-07  Florian Weimer  <fweimer@redhat.com>
17637         * misc/hsearch_r.c: Include <limits.h>.
17639 2016-04-07  Florian Weimer  <fweimer@redhat.com>
17641         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
17643 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
17645         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17646         (MEMCPY_SYMBOL): New.
17647         (MEMPCPY_SYMBOL): Likewise.
17648         (MEMMOVE_CHK_SYMBOL): Likewise.
17649         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
17650         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
17651         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
17652         Provide alias for memcpy in libc.a and ld.so.
17654 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
17656         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17657         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
17658         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
17659         Disabled fro now.
17660         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
17661         symbols.  Properly check USE_MULTIARCH on __memset symbols.
17663 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
17665         * benchtests/Makefile (string-benchset): Add memcpy-large,
17666         memmove-large and memset-large.
17667         * benchtests/bench-memcpy-large.c: New file.
17668         * benchtests/bench-memmove-large.c: Likewise.
17669         * benchtests/bench-memmove-large.c: Likewise.
17670         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
17672 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
17674         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
17675         32-bit displacement to avoid long nop between instructions.
17677 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
17679         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
17680         a comment on VMOVU and VMOVA.
17682 2016-04-04  Florian Weimer  <fweimer@redhat.com>
17684         [BZ #19633]
17685         Use specified locale for number formatting in strfmon_l.
17686         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
17687         (__nl_lookup_word): New inline functions.
17688         * include/printf.h (__print_fp_l): Declare.
17689         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
17690         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
17691         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
17692         (___printf_fp): New function.
17693         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
17694         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
17695         * stdlib/tst-strfmon_l.c (do_test): New test.
17696         * stdlib/Makefile (tests): Add kt.
17697         (LOCALES): Build additional locales.
17698         (tst-strfmon_l.out): Require locales.
17700 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
17702         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
17703         if not in libc.
17704         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
17705         Likewise.
17706         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
17707         Likewise.
17708         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
17709         Likewise.
17711 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
17713         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
17714         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
17715         with unaligned_erms.
17716         (__memmove_erms): Skip if source == destination.
17717         (__memmove_unaligned_erms): Don't check source == destination
17718         first.
17720 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17722         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
17723         bit_arch_Fast_Copy_Backward for Intel Core proessors.
17725 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17727         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
17728         * string/strspn.c (strspn): Likewise.
17730 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17732         * benchtests/bench-memset.c (do_test): Support 64-byte
17733         alignment.
17734         (test_main): Test 64-byte alignment.
17736 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17738         * benchtests/bench-memmove.c (test_main): Test 64-byte
17739         alignment.
17741 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17743         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
17745 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17747         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
17748         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
17749         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
17751         * string/strpbrk.c (strpbrk): Rewrite function.
17752         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
17753         (__strpbrk_c2): Likewise.
17754         (__strpbrk_c3): Likewise.
17755         * string/string-inlines.c
17756         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
17757         Likewise.
17758         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
17759         Likewise.
17761         * string/strspn.c (strcspn): Rewrite function.
17762         * string/bits/string2.h (strspn): Use __builtin_strcspn.
17763         (__strspn_c1): Remove inline function.
17764         (__strspn_c2): Likewise.
17765         (__strspn_c3): Likewise.
17766         * string/string-inlines.c
17767         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
17768         compatibility symbol.
17769         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
17770         Likewise.
17771         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
17772         Likewise.
17773         * string/string-inlines.c: Include generic version.
17775 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
17776             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17778         * string/Version (libc): Add GLIBC_2.24.
17779         * string/strcspn.c (strcspn): Rewrite function.
17780         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
17781         (__strcspn_c1): Remove inline function.
17782         (__strcspn_c2): Likewise.
17783         (__strcspn_c3): Likewise.
17784         * string/string-inline.c
17785         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
17786         compatibility symbol.
17787         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
17788         Likewise.
17789         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
17790         Likewise.
17791         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
17793 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
17795         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
17796         Use ahi instead of aghi to adjust stack pointer.
17798 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17800         [BZ #19853]
17801         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
17802         TEST to take significant digits as second parameter.
17803         [TEST]: Redefine in terms of TEST_N taking 30
17804         significant digits.
17805         (do_test): Add test case to demonstrate precision
17806         failure in the ldbl-128ibm printf.
17807         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
17808         (__mpn_extract_long_double): Carry 7 extra intermediate
17809         bits of precision to aide computing difference when
17810         signs differ.
17812 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
17814         [BZ #19881]
17815         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17816         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
17817         memset-avx512-unaligned-erms.
17818         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17819         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
17820         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
17821         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
17822         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
17823         __memset_sse2_unaligned_erms, __memset_erms,
17824         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
17825         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
17826         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
17827         file.
17828         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
17829         Likewise.
17830         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
17831         Likewise.
17832         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
17833         Likewise.
17835 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
17837         [BZ #19776]
17838         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17839         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
17840         memmove-avx512-unaligned-erms.
17841         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17842         (__libc_ifunc_impl_list): Test
17843         __memmove_chk_avx512_unaligned_2,
17844         __memmove_chk_avx512_unaligned_erms,
17845         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
17846         __memmove_chk_sse2_unaligned_2,
17847         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
17848         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
17849         __memmove_avx512_unaligned_erms, __memmove_erms,
17850         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
17851         __memcpy_chk_avx512_unaligned_2,
17852         __memcpy_chk_avx512_unaligned_erms,
17853         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
17854         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
17855         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
17856         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
17857         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
17858         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
17859         __mempcpy_chk_avx512_unaligned_erms,
17860         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
17861         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
17862         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
17863         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
17864         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
17865         __mempcpy_erms.
17866         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
17867         file.
17868         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
17869         Likewise.
17870         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
17871         Likewise.
17872         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
17873         Likewise.
17875 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17877         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
17878         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
17879         (La_s390_64_regs): Likewise.
17880         (La_s390_32_retval): Append vector register lrv_v24.
17881         (La_s390_64_retval): Likeweise.
17882         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
17883         Handle extended structs La_s390_32_regs and La_s390_32_retval.
17884         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
17885         Handle extended structs La_s390_64_regs and La_s390_64_retval.
17887 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17889         [BZ #19916]
17890         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
17891         to create a non-vector/vector version for _dl_runtime_resolve and
17892         _dl_runtime_profile. Move implementation to ...
17893         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
17894         (_dl_runtime_resolve) Save and restore fpr/vrs.
17895         (_dl_runtime_profile) Save and restore vrs and fix some issues
17896         if _dl_call_pltexit is called.
17897         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
17898         Choose the correct resolver function if running on a machine with vx.
17899         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
17900         to create a non-vector/vector version for _dl_runtime_resolve and
17901         _dl_runtime_profile. Move implementation to ...
17902         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
17903         (_dl_runtime_resolve) Save and restore fpr/vrs.
17904         (_dl_runtime_profile) Save and restore vrs and fix some issues
17905         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
17906         Choose the correct resolver function if running on a machine with vx.
17908 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17910         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
17912 2016-03-31  Florian Weimer  <fweimer@redhat.com>
17914         [BZ #19509]
17915         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
17916         skip_map != NULL.
17917         * elf/tst-dlsym-error.c: New file.
17918         * elf/Makefile (tests): Add tst-dlsym-error.
17919         (tst-dlsym-error): Link against libdl.
17921 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
17923         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17924         (__ASSUME_FUTIMESAT): Remove macro.
17925         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
17927 2016-03-29  Florian Weimer  <fweimer@redhat.com>
17929         [BZ #19879]
17930         CVE-2016-3075
17931         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
17932         copy name.
17934 2016-03-29  Florian Weimer  <fweimer@redhat.com>
17936         [BZ #19837]
17937         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
17938         error if parse_line fails.
17940 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17942         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
17943         (index_cpu_ERMS): Likewise.
17944         (reg_ERMS): Likewise.
17946 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
17948         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
17949         PER_LINUX_FDPIC): Add.
17951 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17953         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17954         memcpy-avx512-no-vzeroupper.
17955         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
17956         to ...
17957         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
17958         (MEMCPY): Don't define.
17959         (MEMCPY_CHK): Likewise.
17960         (MEMPCPY): Likewise.
17961         (MEMPCPY_CHK): Likewise.
17962         (MEMPCPY_CHK): Renamed to ...
17963         (__mempcpy_chk_avx512_no_vzeroupper): This.
17964         (MEMPCPY_CHK): Renamed to ...
17965         (__mempcpy_chk_avx512_no_vzeroupper): This.
17966         (MEMCPY_CHK): Renamed to ...
17967         (__memmove_chk_avx512_no_vzeroupper): This.
17968         (MEMCPY): Renamed to ...
17969         (__memmove_avx512_no_vzeroupper): This.
17970         (__memcpy_avx512_no_vzeroupper): New alias.
17971         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
17973 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17975         [BZ #18858]
17976         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17977         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
17978         and mempcpy-avx512-no-vzeroupper.
17979         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
17980         New.
17981         (MEMPCPY): Likewise.
17982         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
17983         (MEMPCPY_CHK): New.
17984         (MEMPCPY): Likewise.
17985         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
17986         (MEMPCPY): Likewise.
17987         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
17988         (MEMPCPY): Likewise.
17989         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
17990         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
17991         Likewise.
17992         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
17993         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
17995 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17996              Amit Pawar  <Amit.Pawar@amd.com>
17998         [BZ #19583]
17999         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
18000         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
18001         processors.  Set Fast_Copy_Backward for AMD Excavator
18002         processors.
18003         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
18004         New.
18005         (index_arch_Fast_Unaligned_Copy): Likewise.
18006         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
18007         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
18009 2016-03-25  Florian Weimer  <fweimer@redhat.com>
18011         [BZ #19791]
18012         * resolv/res_send.c (close_and_return_error): New function.
18013         (send_dg): Initialize *resplen2 after reopen failure.  Call
18014         close_and_return_error for error returns.  On error paths without
18015         __res_iclose, initialze *resplen2 explicitly.  Update comment for
18016         successful return.
18018 2016-03-25  Florian Weimer  <fweimer@redhat.com>
18020         [BZ #19860]
18021         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
18022         zero if the compiler does not provide the AVX512F bit.
18024 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
18026         [BZ #19848]
18027         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
18028         from 8 to 4.
18029         (__ieee754_powl): Compare integer exponent against 4 not 8.
18030         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
18031         from 8 to 4.
18032         (__ieee754_powl): Compare integer exponent against 4 not 8.
18033         * math/auto-libm-test-in: Add more tests of pow.
18034         * math/auto-libm-test-out: Regenerated.
18035         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
18036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18038 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
18040         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
18041         Make code unconditional.
18042         [!__NR_utimensat]: Remove conditional code.
18043         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
18044         Make code unconditional.
18045         [!__NR_utimensat]: Remove conditional code.
18046         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
18047         Make code unconditional.
18048         [!__NR_utimensat]: Remove conditional code.
18050 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
18052         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
18053         Make code unconditional.
18055 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
18057         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
18058         call-clobbered %eax on retry path.
18059         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
18061 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
18063         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
18064         Don't set %rcx twice before "rep movsb".
18066 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
18068         [BZ #19583]
18069         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
18070         inline.  Check family before setting family, model and
18071         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
18072         bits here.
18073         (init_cpu_features): Replace HAS_CPU_FEATURE and
18074         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
18075         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
18076         for Intel processors with usable AVX2.  Call get_common_indeces
18077         for other processors with family == NULL.
18078         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
18079         (CPU_FEATURES_ARCH_P): Likewise.
18080         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
18081         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
18083 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18085         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
18086         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
18087         $(shared-thread-library) instead of hardcoding the path to libpthread.
18089 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
18091         * sysdeps/unix/sysv/linux/kernel-features.h
18092         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
18093         * sysdeps/unix/sysv/linux/getdents.c
18094         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
18095         [!have_no_getdents64_defined]: Likewise.
18096         (__GETDENTS): Remove __have_no_getdents64 conditional.
18098 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
18100         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
18101         Remove macro.
18102         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
18103         <kernel-features.h>.
18104         (signalfd) [__NR_signalfd4]: Make code unconditional.
18105         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
18107 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18109         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
18110         style.
18112 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
18114         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
18115         (__pthread_enable_asynccancel): Use JUMPTARGET to call
18116         __pthread_unwind.
18117         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
18118         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
18119         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
18120         (__condvar_cleanup1): Likewise.
18122 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
18124         [BZ #19822]
18125         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
18126         move it to the final $@ location.
18128 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18130         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
18131         access where posix_spawn success and pid argument is null.
18132         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
18133         success case.
18135 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
18137         * sysdeps/mach/hurd/i386/c++-types.data: New file.
18139         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
18141         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
18142         and __fcntl.
18143         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
18144         __fcntl only.
18145         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
18146         adding attribute_hidden to __open and __fcntl.
18148         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
18149         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
18150         depend on libc-modules.h,
18151         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
18153 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
18155         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
18156         Remove macro.
18157         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
18158         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
18159         entry.
18161         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
18162         Remove macro.
18163         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
18164         include <kernel-features.h>.
18165         [!__ASSUME_FALLOCATE]: Remove conditional code.
18166         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
18168 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
18170         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
18171         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
18172         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
18173         (_ZGVdN4v_cos_avx2): Likewise.
18174         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
18175         (_ZGVdN4v_cos): Likewise.
18176         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
18177         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
18178         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
18179         (_ZGVdN4v_exp_avx2): Likewise.
18180         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
18181         (_ZGVdN4v_exp): Likewise.
18182         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
18183         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
18184         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
18185         (_ZGVdN4v_log_avx2): Likewise.
18186         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
18187         (_ZGVdN4v_log): Likewise.
18188         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
18189         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
18190         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
18191         (_ZGVdN4vv_pow_avx2): Likewise.
18192         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
18193         (_ZGVdN4vv_pow): Likewise.
18194         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
18195         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
18196         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
18197         (_ZGVdN4v_sin_avx2): Likewise.
18198         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
18199         (_ZGVdN4v_sin): Likewise.
18200         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
18201         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
18202         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
18203         (_ZGVdN4vvv_sincos_avx2): Likewise.
18204         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
18205         (_ZGVdN4vvv_sincos): Likewise.
18206         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
18207         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
18208         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
18209         (_ZGVbN4v_cosf_sse4): Likewise.
18210         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
18211         (_ZGVdN8v_cosf_avx2): Likewise.
18212         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
18213         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
18214         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
18215         (_ZGVbN4v_expf_sse4): Likewise.
18216         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
18217         (_ZGVdN8v_expf_avx2): Likewise.
18218         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
18219         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
18220         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
18221         (_ZGVbN4v_logf_sse4): Likewise.
18222         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
18223         (_ZGVdN8v_logf_avx2): Likewise.
18224         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
18225         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
18226         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
18227         (_ZGVbN4vv_powf_sse4): Likewise.
18228         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
18229         (_ZGVdN8vv_powf_avx2): Likewise.
18230         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
18231         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
18232         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
18233         (_ZGVbN4vvv_sincosf_sse4): Likewise.
18234         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
18235         (_ZGVdN8vvv_sincosf_avx2): Likewise.
18236         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
18237         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
18238         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
18239         (_ZGVbN4v_sinf_sse4): Likewise.
18240         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
18241         (_ZGVdN8v_sinf_avx2): Likewise.
18242         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
18243         Use JUMPTARGET to call callee.
18244         (WRAPPER_IMPL_SSE2_ff): Likewise.
18245         (WRAPPER_IMPL_SSE2_fFF): Likewise.
18246         (WRAPPER_IMPL_AVX): Likewise.
18247         (WRAPPER_IMPL_AVX_ff): Likewise.
18248         (WRAPPER_IMPL_AVX_fFF): Likewise.
18249         (WRAPPER_IMPL_AVX512): Likewise.
18250         (WRAPPER_IMPL_AVX512_ff): Likewise.
18251         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
18252         Likewise.
18253         (WRAPPER_IMPL_SSE2_ff): Likewise.
18254         (WRAPPER_IMPL_SSE2_fFF): Likewise.
18255         (WRAPPER_IMPL_AVX): Likewise.
18256         (WRAPPER_IMPL_AVX_ff): Likewise.
18257         (WRAPPER_IMPL_AVX_fFF): Likewise.
18258         (WRAPPER_IMPL_AVX512): Likewise.
18259         (WRAPPER_IMPL_AVX512_ff): Likewise.
18260         (WRAPPER_IMPL_AVX512_fFF): Likewise.
18262 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18264         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
18265         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
18266         qualifier.
18267         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
18268         internal_function qualifiers.
18270 2016-03-15  Carlos O'Donell <carlos@redhat.com>
18272         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
18273         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
18274         * math/atest-exp.c (exp_mpn): Mark chk unused.
18275         * math/atest-exp2.c (exp_mpn): Likewise.
18276         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
18277         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
18279 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
18281         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
18282         Remove macro.
18283         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
18284         <kernel-features.h>.
18285         [__NR_ppoll]: Make code unconditional.
18286         [!__ASSUME_PPOLL]: Remove conditional code.
18288         * sysdeps/unix/sysv/linux/kernel-features.h
18289         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
18290         (__ASSUME_ACCEPT4): Likewise.
18291         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18292         Define.
18293         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
18294         Likewise.
18295         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18296         Likewise.
18297         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
18298         Likewise.
18299         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
18300         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
18301         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18302         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
18303         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18304         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18305         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18306         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18307         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18308         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18309         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18310         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18311         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18312         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18313         * sysdeps/unix/sysv/linux/i386/kernel-features.h
18314         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18315         Likewise.
18316         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18317         Likewise.
18318         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
18319         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
18320         0x040300].
18321         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18322         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
18323         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18324         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
18325         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
18326         0x030300].
18327         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
18328         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18329         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
18330         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
18331         0x040300].
18332         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18333         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18334         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18335         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
18336         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18337         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
18338         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
18339         0x030300].
18340         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18341         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
18342         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18343         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18344         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18345         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18346         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18347         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18348         * sysdeps/unix/sysv/linux/s390/kernel-features.h
18349         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
18350         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
18351         0x040300].
18352         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18353         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18354         * sysdeps/unix/sysv/linux/sh/kernel-features.h
18355         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
18356         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18357         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18358         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
18359         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18360         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18361         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18362         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18363         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18364         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18365         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18366         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
18367         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18368         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18369         Likewise.
18370         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18371         Likewise.
18373 2016-03-15  Andreas Schwab  <schwab@suse.de>
18375         [BZ #19257]
18376         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
18377         statp->_u._ext.nscount as loop count.
18379 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
18381         * math/test-signgam-finite-c99.c: Also #undef
18382         __LIBC_INTERNAL_MATH_INLINES.
18383         * math/test-signgam-main.c: Likewise.
18385 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
18387         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
18388         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
18389         (MADV_FREE): Likewise.
18390         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
18391         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
18392         EPOLLEXCLUSIVE.
18394 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
18396         * timezone/README: Remove mention of checktab.awk. Mention wiki
18397         SharedSourceFiles.
18399 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
18401         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
18402         WUNTRACED.
18404 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18406         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
18407         order to match the type of p when calling atomic_exchange_acq().
18409 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18411         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
18412         cfi_offset calls.
18413         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
18414         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
18415         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
18416         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
18417         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
18419 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
18421         * timezone/checktab.awk: Removed.
18423 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
18425         * manual/math.texi (Errors in Math Functions): Document relaxed
18426         accuracy goals for IBM long double.
18427         * math/libm-test.inc (test_exceptions): Always allow spurious
18428         "underflow" and "inexact" exceptions for IBM long double.
18430 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
18432         [BZ #19762]
18433         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
18434         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
18435         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
18436         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
18437         (bit_arch_*): This for feature array.
18438         (bit_*): Renamed to ...
18439         (bit_cpu_*): This for cpu array.
18440         (index_*): Renamed to ...
18441         (index_arch_*): This for feature array.
18442         (index_*): Renamed to ...
18443         (index_cpu_*): This for cpu array.
18444         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
18445         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
18446         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
18447         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
18448         bit_##name with index_cpu_##name and bit_cpu_##name.
18449         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
18450         bit_##name with index_arch_##name and bit_arch_##name.
18452 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
18454         [BZ #19792]
18455         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
18456         Terminate FDE before return label.
18458 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
18460         [BZ #19790]
18461         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
18462         (rintl): Define as macro.
18463         [USE_AS_NEARBYINTL] (__rintl): Likewise.
18464         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
18465         of fesetround.  Ensure results are evaluated before end of scope.
18466         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
18467         USE_AS_NEARBYINTL and include s_rintl.c.
18468         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
18469         Disable exception traps in new environment.
18470         (libc_feholdsetround_ppc_ctx): Likewise.
18472 2016-03-08  Roland McGrath  <roland@hack.frob.com>
18474         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
18475         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
18476         (tst_audit10_aux) [__AVX512F__]: ... here.
18478 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
18480         * include/sys/auxv.h: New file.
18482 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
18484         [BZ #19759]
18485         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
18487 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
18489         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
18490         operand modifier.
18491         (feclearexcept): Likewise.
18493 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18495         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
18496         to reflect the entire 32-bit HWCAP.
18497         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
18498         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
18500 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
18502         [BZ #19783]
18503         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
18504         $(test-via-rtld-prefix).
18505         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
18507 2016-03-08  Florian Weimer  <fweimer@redhat.com>
18509         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
18510         union wait.  Report any non-zero exit status as error.
18512 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18514         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
18515         configured with --enable-hardcoded-path-in-tests.
18517 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
18519         [BZ #19677]
18520         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
18521         (__ieee754_remainderl): Put zero low parts in canonical form.
18522         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
18523         file.  Based on
18524         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
18525         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
18526         with wrapper round test-fmodrem-ldbl-128ibm.c.
18527         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
18528         file.
18529         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
18530         Likewise.
18531         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
18532         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
18534 2016-03-07  Florian Weimer  <fweimer@redhat.com>
18536         [BZ #19610]
18537         * elf/ldconfig.c (opt_link): Update comment.
18538         (options): Update help string for option -X.
18539         (search_dir): Unlink stale symbolic link only if updating symbolic
18540         links.
18541         * elf/tst-ldconfig-X.sh: New file.
18542         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
18543         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
18545 2016-03-07  Andreas Schwab  <schwab@suse.de>
18547         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
18548         needed arguments.
18550 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
18552         [BZ #15333]
18553         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
18554         to lstat64.
18556 2016-03-07  Florian Weimer  <fweimer@redhat.com>
18558         * libio/filedoalloc.c (isatty): Remove.
18559         (local_isatty): Add comment.  Call __isatty directly.
18560         (_IO_file_doallocate): Update comment.  Assume _LIBC.
18561         * libio/wfiledoalloc.c (isatty): Remove.
18562         (_IO_wfile_doallocate): Update comment.
18564 2016-03-07  Florian Weimer  <fweimer@redhat.com>
18566         [BZ #19269]
18567         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
18568         tst-audit4-aux.o.
18569         (tst-audit10): Depend on tst-audit10-aux.o.
18570         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
18571         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
18572         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
18573         instead of inline AVX code.
18574         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
18575         instead of inline AVX512 code.
18576         * sysdeps/x86_64/tst-audit4-aux.c: New file
18577         * sysdeps/x86_64/tst-audit10-aux.c: New file
18579         [BZ #19648]
18580         * test-skeleton.c (main): Do not set RLIMIT_DATA.
18582 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18584         [BZ #14750]
18585         [BZ #10354]
18586         [BZ #18433]
18587         * include/sched.h (__clone): Add hidden prototype.
18588         (__clone2): Likewise.
18589         * include/unistd.h (__dup): Likewise.
18590         * posix/Makefile (tests): Add tst-spawn2.
18591         * posix/tst-spawn2.c: New file.
18592         * sysdeps/posix/dup.c (__dup): Add hidden definition.
18593         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
18594         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
18595         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
18596         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
18597         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
18598         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
18599         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
18600         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
18601         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
18602         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
18603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
18604         Likewise.
18605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18606         Likewise.
18607         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
18608         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
18609         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
18610         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
18611         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
18612         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
18613         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
18614         * sysdeps/unix/sysv/linux/nptl-signals.h
18615         (____nptl_is_internal_signal): New function.
18616         * sysdeps/unix/sysv/linux/spawni.c: New file.
18618         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
18619         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
18620         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
18621         * posix/tst-execvp2.c (do_test): Likewise.
18622         * posix/tst-execvp3.c (do_test): Likewise.
18623         * posix/tst-execvp4.c (do_test): Likewise.
18624         * posix/tst-execvpe1.c: New file.
18625         * posix/tst-execvpe2.c: Likewise.
18626         * posix/tst-execvpe3.c: Likewise.
18627         * posix/tst-execvpe4.c: Likewise.
18628         * posix/tst-execvpe5.c: Likewise.
18629         * posix/tst-execvpe6.c: Likewise.
18631         [BZ #19534]
18632         * posix/execl.c (execl): Remove dynamic memory allocation.
18633         * posix/execle.c (execle): Likewise.
18634         * posix/execlp.c (execlp): Likewise.
18636 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
18638         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
18639         Replace .text with .text.avx512.
18640         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
18641         Likewise.
18643 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
18645         * sysdeps/generic/libnsl.abilist: New file.
18646         * sysdeps/generic/libutil.abilist: New file.
18648 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
18650         [BZ #19762]
18651         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
18652         HAS_ARCH_FEATURE with Fast_Rep_String.
18653         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
18654         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
18655         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
18656         Likewise.
18657         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
18658         Likewise.
18659         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
18660         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
18661         Likewise.
18662         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
18663         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
18664         Likewise.
18666 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
18668         [BZ #19745]
18669         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
18670         with *%rax in call.
18672 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
18674         [BZ #19745]
18675         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
18676         with *__libc_start_main@GOTPCREL(%rip) in call.
18678 2016-03-04  Roland McGrath  <roland@hack.frob.com>
18680         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
18681         inside conditional for nonempty $(CXX).
18683         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
18684         nonempty.
18686         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
18687         to test for empty $(CXX) rather than $(CXX) of "no".
18689 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
18691         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
18693 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
18694             H.J. Lu  <hongjiu.lu@intel.com>
18696         [BZ #18880]
18697         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
18698         instead of Slow_BSF, and also check for Fast_Copy_Backward to
18699         enable __memcpy_ssse3_back.
18701 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
18703         [BZ #19758]
18704         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
18705         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
18707 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
18709         [BZ #19490]
18710         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
18711         (__fentry__): Likewise.
18713 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
18715         * gmon/Makefile (noprof): Add $(sysdep_noprof).
18716         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
18718 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
18720         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
18721         __mcount_internal directly.
18722         (C_LABEL(__fentry__)): Likewise.
18723         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
18724         directly.
18726 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
18728         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18729         (__start_context): Call __setcontext directly.
18731 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
18733         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18734         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18735         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
18736         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
18737         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18738         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18739         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
18740         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18741         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18742         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
18743         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
18744         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
18745         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18746         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18747         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18748         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18749         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
18750         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18751         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18752         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
18753         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
18754         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18755         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18756         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
18757         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
18758         Remove conditional code.
18759         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18760         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
18761         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18762         * sysdeps/unix/sysv/linux/sh/kernel-features.h
18763         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
18764         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18765         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
18766         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
18767         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18768         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18769         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18770         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18772 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
18774         * NEWS (2.23): Fix typo in bug 19048 text.
18776 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
18778         [BZ #14259]
18779         * Makeconfig: Rename msgcatdir to localedir.
18780         Rename inst_msgcatdir to inst_localedir.
18781         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
18782         * config.make.in: Add localedir.
18783         * elf/Makefile ($(objpfx)sotruss): Use localedir.
18784         (ldd-rewrite): Likewise.
18785         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
18786         (install-others): Use inst_localedir.
18787         (CPPFLAGS): Use localedir.
18788         * locale/Makefile (locale-CPPFLAGS): Likewise.
18789         * po/Makefile (mo-installed): Use inst_localedir.
18791         [BZ #19575]
18792         * localedata/charmaps/GB18030: Update comments regarding PAU to
18793         non-PUA mappings.
18795 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
18797         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
18798         test for header.
18799         * sysdeps/unix/sysv/linux/configure: Regenerated.
18800         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
18801         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
18802         Remove conditional code.
18803         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
18805         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
18806         Define to 3.2.0.
18807         (arch_minimum_kernel): Likewise.
18808         * sysdeps/unix/sysv/linux/configure: Regenerated.
18809         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
18810         Define to 2.6.32.
18811         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
18812         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
18813         (arch_minimum_kernel): Define to 2.6.32.
18814         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
18815         * README: Document Linux 3.2 requirement.
18816         * manual/install.texi (Linux): Document Linux 3.2 headers
18817         requirement.
18818         * INSTALL: Regenerated.
18820 2016-02-24  Andreas Schwab  <schwab@suse.de>
18822         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
18823         if !NO_LONG_DOUBLE.
18825 2016-02-22  Roland McGrath  <roland@hack.frob.com>
18827         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
18828         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
18830 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
18832         [BZ #19512]
18833         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
18835 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
18837         * posix/tst-dir.c: Include libc-internal.h.
18839 2016-02-20  Florian Weimer  <fweimer@redhat.com>
18841         [BZ #19056]
18842         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
18843         * manual/filesys.texi (Reading/Closing Directory): Mention
18844         deprecaion.
18845         * posix/tst-dir.c (main): Disable deprecation warning in test.
18847 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
18849         [BZ #19679]
18850         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
18851         Renamed to ...
18852         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
18853         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
18854         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
18855         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
18856         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
18857         * sysdeps/x86_64/dl-trampoline.h
18858         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
18859         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
18861 2016-02-19  Mark Wielaard  <mjw@redhat.com>
18863         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
18865 2016-02-19  Mark Wielaard  <mjw@redhat.com>
18867         * elf/elf.h (R_386_GOT32X): New.
18868         (R_386_NUM): Update.
18869         (R_X86_64_GOTPCRELX: New.
18870         (R_X86_64_REX_GOTPCRELX): New.
18871         (R_X86_64_NUM): Update.
18873 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
18875         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
18877 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
18879         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
18880         assign attr->stackaddr to it, and adjust it down when
18881         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
18882         [_STACK_GROWS_UP]: Delete assert.
18883         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
18884         Implement stack grows up logic.
18885         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
18886         stack grows up logic.
18888 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18890         * NEWS: Update with 2.24 template.
18892 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
18894         [BZ #19678]
18895         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
18896         Ensure +0.0 is returned when taking the next value below the least
18897         positive value.
18899 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18901         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
18902         available.  Do not define NO_THREADS.
18903         * malloc/malloc.c: Do not check NO_THREADS.
18904         * malloc/arena.c: Likewise.
18906 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18908         * malloc/malloc.c (__libc_mallinfo): Update comment.
18909         (struct malloc_par): Remove max_total_mem member, it was always 0.
18910         (int_mallinfo): Store 0 into usmblks (no functional change).
18911         * malloc/hooks.c (struct malloc_state): Document that
18912         max_total_mem is always 0.
18913         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
18914         always 0.
18915         * manual/memory.texi (Statistics of Malloc): Likewise.
18917 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18919         * malloc/malloc.c (sysmalloc): Do not update arena_max.
18920         * malloc/arena.c (arena_max): Remove.
18921         (heap_trim, _int_new_arena): Do not update arena_max.
18923 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18925         * resolv/res_init.c (res_ninit): Update comment.
18927 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18929         [BZ #19505]
18930         * posix/spawn_int.h: Add headers and include guard.
18931         (__spawn_valid_fd): New function.
18932         * posix/spawn_faction_addopen.c
18933         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
18934         * posix/spawn_faction_addclose.c
18935         (posix_spawn_file_actions_addclose): Likewise.
18936         * posix/spawn_faction_adddup2.c
18937         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
18938         second file descriptor.
18939         * posix/spawn_valid_fd.c: New file.
18940         * posix/tst-posix_spawn-fd.c: New file.
18941         * posix/Makefile (routines): Add spawn_valid_fd.
18942         (tests): Add tst-posix_spawn-fd.
18944 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18946         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
18947         (do_test): Limit the number of arenas, so that we can use fewer
18948         outer threads.  Limit timeout to 3 seconds, in preparation for a
18949         larger TIMEOUT value.
18951 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
18953         [BZ #19674]
18954         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
18955         sign in overflowing and underflowing results when overflow or
18956         underflow is detected early.  Include sign in result before rather
18957         than after scaling.
18959         [BZ #19603]
18960         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
18961         (__ieee754_remainderl): Adjust sign of integer version of low part
18962         when taking absolute value of high part.
18963         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18964         * math/libm-test.inc (remainder_test_data): Add another test.
18965         (remquo_test_data): Likewise.
18967 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
18969         [BZ #19602]
18970         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
18971         equal high parts and both low parts zero specially.
18972         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
18973         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
18974         Add test-fmodl-ldbl-128ibm.
18976         [BZ #19595]
18977         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
18978         common logic for all cases of shifting subnormal results.  Do not
18979         insert sign bit in shifted mantissa.  Always pass -1023 as biased
18980         exponent to ldbl_insert_mantissa in subnormal case.
18982         [BZ #19594]
18983         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
18984         on high and low parts then adjust result and use
18985         ldbl_canonicalize_int if needed.
18987         [BZ #19593]
18988         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
18989         on high part and __floor or __ceil on low part then use
18990         ldbl_canonicalize_int if needed.
18992         [BZ #19592]
18993         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
18994         high and low parts then use ldbl_canonicalize_int if needed.
18996         [BZ #17899]
18997         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
18998         New function.
18999         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
19000         on high and low parts then use ldbl_canonicalize_int if needed.
19002 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19004         * configure: Regenerated.
19006         * po/libc.pot: Regenerated.
19008         * po/be.po: Updated translation.
19009         * po/bg.po: Likewise.
19010         * po/ca.po: Likewise.
19011         * po/cs.po: Likewise.
19012         * po/da.po: Likewise.
19013         * po/el.po: Likewise.
19014         * po/eo.po: Likewise.
19015         * po/es.po: Likewise.
19016         * po/fi.po: Likewise.
19017         * po/fr.po: Likewise.
19018         * po/gl.po: Likewise.
19019         * po/hr.po: Likewise.
19020         * po/hu.po: Likewise.
19021         * po/ia.po: Likewise.
19022         * po/id.po: Likewise.
19023         * po/it.po: Likewise.
19024         * po/ja.po: Likewise.
19025         * po/lt.po: Likewise.
19026         * po/nb.po: Likewise.
19027         * po/nl.po: Likewise.
19028         * po/pt_BR.po: Likewise.
19029         * po/rw.po: Likewise.
19030         * po/sk.po: Likewise.
19031         * po/sl.po: Likewise.
19032         * po/sv.po: Likewise.
19033         * po/tr.po: Likewise.
19034         * po/zh_CN.po: Likewise.
19035         * po/zh_TW.po: Likewise.
19037         * version.h (RELEAES): Set to "development".
19038         (VERSION): Set to 2.23.90.
19040         * version.h (RELEASE): Set to "stable".
19041         (VERSION): Set to 2.23.
19042         * include/feature.h (__GLIBC_MINOR__): Set to 23.
19044         * NEWS: Updated fixed bugs.
19046 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
19047             Wilco Dijkstra  <wdijkstr@arm.com>
19049         [BZ #19462]
19050         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
19051         (_STRING_INLINE_unaligned): This.
19052         * include/string.h: Include <string_private.h>.
19053         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
19054         _STRING_INLINE_unaligned.
19055         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
19056         (_STRING_INLINE_unaligned): New.
19057         * sysdeps/aarch64/string_private.h: New file.
19058         * sysdeps/generic/string_private.h: Likewise.
19059         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
19060         * sysdeps/s390/string_private.h: Likewise.
19061         * sysdeps/x86/string_private.h: Likewise.
19062         * sysdeps/m68k/m680x0/m68020/bits/string.h
19063         (_STRING_ARCH_unaligned): Renamed to ...
19064         (_STRING_INLINE_unaligned): This.
19065         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
19066         to ...
19067         (_STRING_INLINE_unaligned): This.
19068         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
19069         to ...
19070         (_STRING_INLINE_unaligned): This.
19071         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
19072         to ...
19073         (_STRING_INLINE_unaligned): This.
19075 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
19076             H.J. Lu  <hongjiu.lu@intel.com>
19078         [BZ #19590]
19079         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
19080         relocation.
19082 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
19084         [BZ #18665]
19085         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
19086         *herrno_p.
19087         (gaih_getanswer): Document functional behviour. Return tryagain
19088         if any result is tryagain.
19089         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
19090         when freed.
19091         * resolv/res_send.c: Add copyright text.
19092         (__libc_res_nsend): Document that MAXPACKET is expected.
19093         (send_vc): Document. Remove buffer reuse.
19094         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
19095         size of the buffer. Add Dprint for truncated UDP buffer.
19097 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
19099         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
19100         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
19101         * INSTALL: Regenerate.
19103 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
19104             Jonathan Wakely  <jwakely@redhat.com>
19105             Carlos O'Donell  <carlos@redhat.com>
19107         [BZ 19439]
19108         * math/Makefile (tests): Add test-math-isinff.
19109         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
19110         * math/bits/mathcalls.h [__USE_MISC]: Use
19111         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
19112         functions not in C++11 and which don't conflict e.g. isinff,
19113         isinfl etc.
19114         * math/test-math-isinff.cc: New file.
19116 2016-02-12  Florian Weimer  <fweimer@redhat.com>
19118         * misc/bug18240.c (do_test): Set RLIMIT_AS.
19120 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19122         [BZ #19529]
19123         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
19125 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19127         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
19129 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
19131         [BZ #19550]
19132         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
19133         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
19134         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
19135         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
19136         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
19137         New syscall entry.
19138         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
19139         New syscall entry.
19140         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
19141         syscall entry.
19143 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
19145         [BZ #18240]
19146         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
19147         unsigned int wraparound.
19149 2016-01-27  Florian Weimer  <fweimer@redhat.com>
19151         [BZ #18240]
19152         * misc/bug18240.c: New test.
19153         * misc/Makefile (tests): Add it.
19155 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
19156             Joseph Myers  <joseph@codesourcery.com>
19158         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
19159         load in branch delay slot when less than a word of input left.
19161 2016-01-27  Andreas Schwab  <schwab@suse.de>
19163         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
19164         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
19165         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
19166         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
19168 2016-01-26  David S. Miller  <davem@davemloft.net>
19170         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
19172 2016-01-25  David S. Miller  <davem@davemloft.net>
19174         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
19175         __sqrtl_finite.
19176         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
19177         instead using versioned_symbol.
19178         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
19179         of entries.
19181         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
19182         __sqrtl_finite to GLIBC_2.23
19184 2016-01-25  Ricchard Henderson  <rth@redhat.com>
19186         * sysdeps/alpha/fpu/libm-test-ulps: Update.
19188 2016-01-25  Andreas Schwab  <schwab@suse.de>
19190         [BZ #17514]
19191         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
19192         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
19193         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
19194         * nptl/tst-mutex-errorcheck.c: New file.
19196 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19198         [BZ #18560]
19199         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
19200         (IPCOP_semop): Likewise.
19201         (IPCOP_semget): Likewise.
19202         (IPCOP_semctl): Likewise.
19203         (IPCOP_msgsnd): Likewise.
19204         (IPCOP_msgrcv): Likewise.
19205         (IPCOP_msgget): Likewise.
19206         (IPCOP_msgctl): Likewise.
19207         (IPCOP_shmat): Likewise.
19208         (IPCOP_shmdt): Likewise.
19209         (IPCOP_shmget): Likewise.
19210         (IPCOP_shmctl): Likewise.
19212 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
19214         * string/tst-endian.c: Include <libc-internal.h>.
19215         (do_test): Ignore tautological-compare warnings around
19216         "htobeXX (beXXtoh (i)) != i" and
19217         "htoleXX (leXXtoh (i)) != i" if-statements.
19219 2016-01-24  David S. Miller  <davem@davemloft.net>
19221         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
19222         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
19223         alias.
19224         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
19225         __sqrtl_finite.
19227         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19229 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
19231         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
19232         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
19233         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19235 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19237         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
19238         (thread_func): Use new function to simplify barrier check.
19239         (do_test): Use new function to simplify checking barrier exit
19240         code, and actually join the child thread.
19242 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19244         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
19245         semicolon.
19246         (__libc_tend): Likewise.
19247         (__libc_tabort): Likewise.
19249 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
19251         * sysdeps/nios2/libm-test-ulps: Update.
19252         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
19253         (__gtsf2): Likewise.
19254         (__unorddf2): Likewise.
19255         (__unordsf2): Likewise.
19256         (__ledf2): Likewise.
19258 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
19260         * nis/nis_table.c (__follow_path): Disable diagnostic for
19261         uninitialized variable that is a false positive for gcc 4.7.
19262         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
19264 2016-01-20  Roland McGrath  <roland@hack.frob.com>
19266         * sysdeps/nacl/lowlevellock-futex.h
19267         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
19268         Always evaluate PRIVATE argument.
19270 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
19272         [BZ #19490]
19273         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
19274         (pthread_cond_broadcast): Use ENTRY/END
19275         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
19276         (pthread_cond_signal): Likewise.
19277         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
19278         Likewise.
19279         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
19280         Likewise.
19281         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
19282         Likewise.
19284 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
19286         * sysdeps/ieee754/dbl-64/s_finite.c
19287         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
19288         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
19289         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
19290         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
19291         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
19293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
19294         (__gtsf2): Add as optional for libc.so.
19295         (__unordsf2): Likewise.
19296         (__signbit): Remove for libc.so.
19297         (__signbitl): Likewise.
19299 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19301         * iconvdata/bug-iconv11.c (test_ibm93x):
19302         Use %zu printf format specifier for size_t argument.
19304 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
19306         * math/gen-libm-test.pl (parse_ulps): Do not reduce
19307         already-recorded ulps.
19308         * sysdeps/arm/libm-test-ulps: Regenerated.
19309         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
19310         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19311         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
19313 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19314             Paul Pluzhnikov  <ppluzhnikov@google.com>
19316         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
19317         assembler not supporting AVX-512.
19319 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
19321         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19323 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
19325         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
19326         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19328         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19330         * sysdeps/arm/libm-test-ulps: Regenerated.
19332 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
19334         [BZ #19451]
19335         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
19337 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
19339         [BZ #19486]
19340         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
19341         * sysdeps/generic/fix-fp-int-convert-overflow.h
19342         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
19343         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
19344         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
19345         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
19346         Likewise.
19347         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
19348         Avoid conversions to long int where inexact exceptions
19349         could be raised.
19350         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
19351         Likewise.
19352         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
19353         Avoid conversions to long long int where inexact exceptions
19354         could be raised.
19355         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
19356         Likewise.
19358 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
19360         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
19361         * configure: Regenerated.
19363 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
19365         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
19367 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
19369         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
19370         outside of comment.
19372 2016-01-15  Torvald Riegel  <triegel@redhat.com>
19374         * nptl/tst-barrier1.c: Add description on first line.
19375         * nptl/tst-barrier2.c: Likewise.
19376         * nptl/tst-barrier3.c: Likewise.
19377         * nptl/tst-barrier4.c: Likewise.
19378         * nptl/tst-barrier5.c: Likewise.
19380 2016-01-15  Torvald Riegel  <triegel@redhat.com>
19382         [BZ #18868]
19383         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
19385 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
19387         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
19388         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
19389         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
19390         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
19391         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
19392         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
19393         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19394         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19395         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19396         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19397         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19399 2016-01-15  Torvald Riegel  <triegel@redhat.com>
19401         [BZ #13065]
19402         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
19403         new implementation.
19404         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
19405         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
19406         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
19407         (BARRIER_IN_THRESHOLD): New macro.
19408         * nptl/pthread_barrierattr_setpshared.c
19409         (pthread_barrierattr_setpshared): Clean up.
19410         * nptl/tst-barrier4.c: Correct comment.
19411         * nptl/tst-barrier5.c: New file.
19412         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
19413         (gen-as-const-headers): Remove lowlevelbarrier.sym.
19414         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
19415         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
19416         * nptl/lowlevelbarrier.sym: Remove.
19417         * nptl/DESIGN-barrier.txt: Remove.
19418         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
19419         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
19420         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
19421         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
19422         error.
19423         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
19424         implementation.
19426 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19428         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
19429         (do_child): Mask SIGRTMIN while thr is running.
19431 2016-01-15  Martin Sebor  <msebor@redhat.com>
19433         [BZ #19432]
19434         * iconvdata/Makefile: Add bug-iconv11.
19435         * iconvdata/bug-iconv11.c: New test.
19436         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
19437         * iconvdata/ibm933.c: Same.
19438         * iconvdata/ibm935.c: Same.
19439         * iconvdata/ibm937.c: Same.
19440         * iconvdata/ibm939.c: Same.
19442 2016-01-15  Martin Sebor  <msebor@redhat.com>
19444         [BZ #19443]
19445         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
19446         [DEBUG] (_ufc_set_bits): Declare used.
19447         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
19448         [DEBUG] (print_all): Declare used.
19449         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
19450         operands of the ternary ?: expression to target type.
19451         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
19452         calling the undeclared abort.
19453         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
19455 2016-01-15  Martin Sebor  <msebor@redhat.com>
19457         [BZ #18755]
19458         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
19459         warnings.
19460         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
19461         (__gai_create_helper_thread): Same.
19462         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
19463         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
19464         to suppress -Wmaybe-uninitialized warnings.
19466 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
19468         [BZ #19465]
19469         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
19470         inside if.
19471         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19472         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19473         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19475 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
19477         [BZ #19466]
19478         * time/tst-mktime2.c (time_t_max): Removed.
19479         (time_t_min): Likewise.
19480         (TYPE_SIGNED): New.
19481         (TYPE_MINIMUM): Likewise.
19482         (TYPE_MAXIMUM): Likewise.
19483         (TIME_T_MIN): Likewise.
19484         (TIME_T_MAX): Likewise.
19485         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
19486         and TIME_T_MIN.
19487         (do_test): Likewise.
19489 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
19491         [BZ #19467]
19492         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
19493         index_Fast_Unaligned_Load flag for Excavator family CPUs.
19495 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
19497         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
19499 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
19501         * benchtests/Makefile (PYTHON): Define.
19502         (bench-func): Use $(PYTHON) to run python scripts.
19503         ($(objpfx)bench-%.c): Likewise.
19505 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
19507         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
19508         leading slash when `file_name' is "/".
19510 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
19512         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
19513         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
19514         Likewise.
19515         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
19516         Likewise.
19517         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
19518         Likewise.
19519         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
19520         enum constant and macro.
19521         (PTRACE_SETSIGMASK): Likewise.
19522         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19523         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
19524         (PTRACE_GETSIGMASK): Likewise.
19525         (PTRACE_SETSIGMASK): Likewise.
19526         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19527         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
19528         Likewise.
19529         (PTRACE_SETSIGMASK): Likewise.
19530         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19531         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
19532         (PTRACE_GETSIGMASK): Likewise.
19533         (PTRACE_SETSIGMASK): Likewise.
19534         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19535         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
19536         Likewise.
19537         (PTRACE_SETSIGMASK): Likewise.
19538         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19539         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
19540         Likewise.
19541         (PTRACE_SETSIGMASK): Likewise.
19542         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19543         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
19544         Likewise.
19545         (PTRACE_SETSIGMASK): Likewise.
19546         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19548 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
19549             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19551         [BZ #19439]
19552         * math/bits/mathcalls.h
19553         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
19554         prototype.
19555         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
19557 2016-01-11  Andreas Schwab  <schwab@suse.de>
19559         [BZ #19253]
19560         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
19561         cache when TZDEFRULES was used.
19562         * time/tst-tzname.c: New file.
19563         * time/Makefile (test): Add tst-tzname.
19564         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
19565         * timezone/Makefile (test-zones): Add $(posixrules-file).
19566         ($(testdata)/$(posixrules-file)): New rule.
19568 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
19570         Fix doc quoting problems with Texinfo 5
19571         Without this change, in the info file output, Texinfo 5 quotes code
19572         in text with undirected single quotes 'like this' and generates
19573         code examples that with many PDF readers cannot be cut out of PDFs
19574         and pasted into code.
19575         * manual/libc.texinfo: Configure the libc manual like the GNU
19576         Emacs manual, by using @documentencoding and setting
19577         txicodequoteundirected and txicodequotebacktick.  This way,
19578         Texinfo 5 quotes code in text with directed single quotes ‘like
19579         this’ and produces examples that can be cut out of PDFs.  This
19580         change causes Texinfo 5 to generate info files that contain UTF-8
19581         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
19582         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
19584 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19586         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
19587         __libc_tabort, __libc_tend): New wrappers that enforce compiler
19588         barriers to their respective compiler built-ins.
19589         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
19590         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
19591         * sysdeps/powerpc/sysdep.h: Likewise.
19592         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
19593         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
19594         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
19596 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
19598         * scripts/config.guess: Revert previous shebang change.
19599         * scripts/config.sub: Likewise.
19600         * scripts/mkinstalldirs: Likewise.
19602 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19604         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
19605         PPC_FEATURE2_HAS_IEEE128.
19606         * sysdeps/powerpc/dl-procinfo.c:
19607         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
19609 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
19611         [BZ #19415]
19612         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
19613         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
19614         (_dl_lookup_address): Rewrite using function resolver trampoline.
19615         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
19616         two bits in address.
19618 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
19620         * longlong.h: Change !__SHMEDIA__ to
19621         (!defined (__SHMEDIA__) || !__SHMEDIA__).
19622         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
19624 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
19625             Joseph Myers  <joseph@codesourcery.com>
19626             Mark Shinwell  <shinwell@codesourcery.com>
19627             Andrew Stubbs  <ams@codesourcery.com>
19628             Rich Felker <dalias@libc.org>
19630         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
19632 2016-01-07  Richard Henderson  <rth@redhat.com>
19634         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
19636 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
19638         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
19639         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
19640         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19641         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
19642         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
19644 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
19645             Joseph Myers  <joseph@codesourcery.com>
19647         * timezone/private.h: Update from tzcode 2015g.
19648         * timezone/tzfile.h: Likewise.
19649         * timezone/tzselect.ksh: Likewise.
19650         * timezone/zdump.c: Likewise.
19651         * timezone/zic.c: Likewise.
19652         * timezone/ialloc.c: Remove file.
19653         * timezone/scheck.c: Likewise.
19654         * timezone/Makefile (extra-objs): Remove variable.
19655         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
19656         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
19657         -Wno-maybe-uninitialized.
19658         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
19659         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
19660         (CFLAGS-ialloc.c): Remove variable.
19661         (CFLAGS-scheck.c): Likewise.
19662         * timezone/README: Update list of files from tzcode.
19664 2016-01-07  Khem Raj  <raj.khem@gmail.com>
19666         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
19667         instead of __fxprintf when _LIBC is undefined.
19669 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
19671         * catgets/test-gencat.sh: Remove space after shebang.
19672         * conform/GlibcConform.pm: Likewise.
19673         * conform/check-header-lists.sh: Likewise.
19674         * conform/conformtest.pl: Likewise.
19675         * conform/linknamespace.pl: Likewise.
19676         * conform/list-header-symbols.pl: Likewise.
19677         * debug/catchsegv.sh: Likewise.
19678         * elf/genrtldtbl.awk: Likewise.
19679         * elf/tst-pathopt.sh: Likewise.
19680         * elf/tst-rtld-load-self.sh: Likewise.
19681         * grp/tst_fgetgrent.sh: Likewise.
19682         * iconvdata/gen-8bit-gap-1.sh: Likewise.
19683         * iconvdata/gen-8bit-gap.sh: Likewise.
19684         * iconvdata/gen-8bit.sh: Likewise.
19685         * iconvdata/run-iconv-test.sh: Likewise.
19686         * intl/tst-gettext.sh: Likewise.
19687         * intl/tst-gettext2.sh: Likewise.
19688         * intl/tst-gettext4.sh: Likewise.
19689         * intl/tst-gettext6.sh: Likewise.
19690         * intl/tst-translit.sh: Likewise.
19691         * io/ftwtest-sh: Likewise.
19692         * libio/test-freopen.sh: Likewise.
19693         * locale/gen-translit.pl: Likewise.
19694         * malloc/tst-mtrace.sh: Likewise.
19695         * manual/check-safety.sh: Likewise.
19696         * manual/libc-texinfo.sh: Likewise.
19697         * manual/tsort.awk: Likewise.
19698         * manual/xtract-typefun.awk: Likewise.
19699         * nptl/tst-cancel-wrappers.sh: Likewise.
19700         * nptl/tst-tls6.sh: Likewise.
19701         * posix/globtest.sh: Likewise.
19702         * posix/tst-getconf.sh: Likewise.
19703         * posix/wordexp-tst.sh: Likewise.
19704         * scripts/check-c++-types.sh: Likewise.
19705         * scripts/check-local-headers.sh: Likewise.
19706         * scripts/config.guess: Likewise.
19707         * scripts/config.sub: Likewise.
19708         * scripts/cpp: Likewise.
19709         * scripts/cross-test-ssh.sh: Likewise.
19710         * scripts/documented.sh: Likewise.
19711         * scripts/evaluate-test.sh: Likewise.
19712         * scripts/gen-libc-abis: Likewise.
19713         * scripts/gen-sorted.awk: Likewise.
19714         * scripts/list-fixed-bugs.py: Likewise.
19715         * scripts/merge-test-results.sh: Likewise.
19716         * scripts/mkinstalldirs: Likewise.
19717         * scripts/rellns-sh: Likewise.
19718         * scripts/test-installation.pl: Likewise.
19719         * scripts/update-copyrights: Likewise.
19720         * stdio-common/tst-printf.sh: Likewise.
19721         * stdio-common/tst-unbputc.sh: Likewise.
19722         * stdlib/tst-fmtmsg.sh: Likewise.
19723         * stdlib/tst-setcontext3.sh: Likewise.
19724         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
19725         * sysdeps/unix/make-syscalls.sh: Likewise.
19727 2016-01-06  John David Anglin  <dave.anglin@bell.net>
19729         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
19730         asm stw with atomic_exchange_rel.  Add explanatory comment.
19731         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
19732         Likewise.
19734 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
19736         [BZ #19122]
19737         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
19738         * sysdeps/generic/dl-unistd.h: New file.
19739         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
19741 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
19743          [BZ #19122]
19744          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
19745          * sysdeps/generic/dl-mman.h: New file.
19746          * sysdeps/mach/hurd/dl-mman.h: Likewise.
19748 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
19750         * manual/texinfo.tex: Update to version 2016-01-04.21 with
19751         trailing whitespace removed.
19752         * scripts/config.guess: Update to version 2016-01-01.
19753         * scripts/config.sub: Update to version 2016-01-01.
19754         * scripts/move-if-change: Update from gnulib.
19756 2016-01-04  Anton Blanchard  <anton@samba.org>
19758         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
19759         for array indices.
19760         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
19762 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
19764         * NEWS: Update copyright dates.
19765         * catgets/gencat.c (print_version): Likewise.
19766         * csu/version.c (banner): Likewise.
19767         * debug/catchsegv.sh: Likewise.
19768         * debug/pcprofiledump.c (print_version): Likewise.
19769         * debug/xtrace.sh (do_version): Likewise.
19770         * elf/ldconfig.c (print_version): Likewise.
19771         * elf/ldd.bash.in: Likewise.
19772         * elf/pldd.c (print_version): Likewise.
19773         * elf/sotruss.sh: Likewise.
19774         * elf/sprof.c (print_version): Likewise.
19775         * iconv/iconv_prog.c (print_version): Likewise.
19776         * iconv/iconvconfig.c (print_version): Likewise.
19777         * locale/programs/locale.c (print_version): Likewise.
19778         * locale/programs/localedef.c (print_version): Likewise.
19779         * login/programs/pt_chown.c (print_version): Likewise.
19780         * malloc/memusage.sh (do_version): Likewise.
19781         * malloc/memusagestat.c (print_version): Likewise.
19782         * malloc/mtrace.pl: Likewise.
19783         * manual/libc.texinfo: Likewise.
19784         * nptl/version.c (banner): Likewise.
19785         * nscd/nscd.c (print_version): Likewise.
19786         * nss/getent.c (print_version): Likewise.
19787         * nss/makedb.c (print_version): Likewise.
19788         * posix/getconf.c (main): Likewise.
19789         * scripts/test-installation.pl: Likewise.
19790         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
19792         * All files with FSF copyright notices: Update copyright dates
19793         using scripts/update-copyrights.
19794         * intl/plural.c: Regenerated.
19795         * locale/programs/charmap-kw.h: Likewise.
19796         * locale/programs/locfile-kw.h: Likewise.
19798 2016-01-02  Helge Deller  <deller@gmx.de>
19800         [BZ #19285]
19801         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
19802         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
19803         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
19804         (MADV_xxK_PAGES): Remove.
19806 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
19808         [BZ #15421]
19809         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
19810         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
19811         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
19812         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
19814 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
19816         [BZ #19408]
19817         * sysdeps/unix/sysv/linux/personality.c: New file.
19818         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
19819         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
19820         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
19821         (sysdep_routines): Add personality.
19822         (tests): Add tst-personality.
19823         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
19824         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
19825         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
19826         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
19827         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
19828         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
19829         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
19830         Likewise.
19831         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
19832         Likewise.
19833         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
19834         Likewise.
19835         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
19836         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
19837         Likewise.
19839 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
19841         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
19842         (PATH_ARM_SYSTYPE): Remove.
19843         (PATH_CPUINFO): Likewise.
19844         (IO_BASE_FOOTBRIDGE): Likewise.
19845         (IO_SHIFT_FOOTBRIDGE): Likewise.
19846         (struct platform): Likewise.
19847         (init_iosys): Remove compatibility code for 2.4 kernels.
19848         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
19850 2015-12-29  Florian Weimer  <fweimer@redhat.com>
19852         * malloc/tst-malloc-thread-fail.c: New file.
19853         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
19854         (tst-malloc-thread-fail): Link against libpthread.
19856 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
19858         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
19859         (get_parser): New function.
19860         (main): New function.
19862 2015-12-29  Rob Wu  <rob@robwu.nl>
19864         [BZ #19369]
19865         * resolv/res_init.c (__res_vinit): Reset defdname before use.
19867 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
19869         [BZ #19270]
19870         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
19872 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
19874         [BZ #15421]
19875         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
19877 2015-12-23  Torvald Riegel  <triegel@redhat.com>
19879         [BZ #13690]
19880         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
19881         after releasing it.
19882         (__lll_robust_unlock): Likewise.
19883         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
19884         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
19885         (lll_robust_unlock): Likewise.
19886         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
19887         Prevent warnings in callers.
19889 2015-12-23  Florian Weimer  <fweimer@redhat.com>
19891         * malloc/arena.c (list_lock): Update comment.
19893 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19895         * sysdeps/powerpc/hwcapinfo.c: Export symbol
19896         __parse_hwcap_and_convert_at_platform to libc.a.
19898 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19900         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
19901         platform and feature support for POWER9.
19902         * sysdeps/powerpc/dl-procinfo.h: Likewise.
19903         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
19904         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
19905         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
19906         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
19907         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
19908         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
19909         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
19911 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19913         Harmonize generic stdio-lock support with nptl
19915         This fixes build when _IO_funlockfile is a macro, fixes build where
19916         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
19917         stack unwind.
19919         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
19920         _IO_release_lock ): Use cleanup attribute on new
19921         _IO_acquire_lock_file variable instead of assuming that
19922         _IO_release_lock will be called.
19923         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
19924         _IO_acquire_lock_needs_exceptions_enabled.
19925         (_IO_acquire_lock_clear_flags2): New macro.
19927 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19929         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
19931 2015-12-21  Florian Weimer  <fweimer@redhat.com>
19933         [BZ #19182]
19934         * malloc/arena.c (list_lock): Document lock ordering requirements.
19935         (free_list_lock): New lock.
19936         (ptmalloc_lock_all): Comment on free_list_lock.
19937         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
19938         (detach_arena): Update comment.  free_list_lock is now needed.
19939         (_int_new_arena): Use free_list_lock around detach_arena call.
19940         Acquire arena lock after list_lock.  Add comment, including FIXME
19941         about incorrect synchronization.
19942         (get_free_list): Switch to free_list_lock.
19943         (reused_arena): Acquire free_list_lock around detach_arena call
19944         and attached threads counter update.  Add two FIXMEs about
19945         incorrect synchronization.
19946         (arena_thread_freeres): Switch to free_list_lock.
19947         * malloc/malloc.c (struct malloc_state): Update comments to
19948         mention free_list_lock.
19950 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
19952         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
19953         Remove functions.
19954         (sloww, sloww1): Accept argument to offset quadrant.
19955         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
19956         quadrant.
19957         (__sin, __cos): Consolidate common code into new functions.
19958         (reduce_sincos_1, do_sincos_1): New functions.
19959         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
19961         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
19962         code to new functions.
19963         (reduce_sincos_2, do_sincos_2): New functions.
19964         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
19966         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
19967         common code for sincos.
19968         (__cos) [!IN_SINCOS]: Likewise.
19969         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
19970         New function.
19971         (__sincos): Use it.
19973 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
19975         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
19976         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
19977         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19979 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19981         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
19982         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
19983         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
19984         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
19985         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19986         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
19987         index_Prefer_No_VZEROUPPER): New feature.
19988         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
19989         Prefer_No_VZEROUPPER for Knights Landing.
19991 015-12-18  Torvald Riegel  <triegel@redhat.com>
19993         * math/atest-exp2.c (mp_exp_m1): Remove.
19995 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19997         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
19998         syscalls.
19999         (__SYSCALL0): New macro.
20000         (__SYSCALL1): Likewise.
20001         (__SYSCALL2): Likewise.
20002         (__SYSCALL3): Likewise.
20003         (__SYSCALL4): Likewise.
20004         (__SYSCALL5): Likewise.
20005         (__SYSCALL6): Likewise.
20006         (__SYSCALL_CONCAT_X): Likewise.
20007         (__SYSCALL_CONCAT): Likewise.
20008         (__SYSCALL_DIST): Likewise.
20009         (__SYSCALL_CALL): Likewise.
20011 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
20013         [BZ #19363]
20014         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
20016 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20018         [BZ #19375]
20019         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
20020         negative subnormals.
20022 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
20024         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
20025         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
20026         (INTERNAL_SYSCALL_NCS): Use it.
20027         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
20029 2015-12-16  Florian Weimer  <fweimer@redhat.com>
20031         [BZ #19243]
20032         * malloc/arena.c (get_free_list): Remove assert and adjust
20033         reference count handling.  Add comment about reused_arena
20034         interaction.
20035         (reused_arena): Add comments abount get_free_list interaction.
20036         * malloc/tst-malloc-thread-exit.c: New file.
20037         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
20038         (tst-malloc-thread-exit): Link against libpthread.
20040 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
20042         [BZ #19367]
20043         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
20044         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
20045         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
20046         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
20047         (index_Prefer_MAP_32BIT_EXEC): Likewise.
20049 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
20051         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
20052         Silvermont optimizations for Knights Landing.
20054 2015-12-15  Andreas Schwab  <schwab@suse.de>
20056         [BZ #17197]
20057         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
20058         immediately after emitting SI.
20059         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
20060         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
20061         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
20062         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
20063         * iconvdata/bug-iconv10.c: New file.
20064         * iconvdata/Makefile (tests): Add bug-iconv10.
20065         ($(objpfx)bug-iconv10.out): New rule.
20067 2015-12-15  Florian Weimer  <fweimer@redhat.com>
20069         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
20070         aliasing violation.
20072 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
20074         [BZ #18472]
20075         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
20076         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
20077         conditionals for them.
20078         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
20079         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
20080         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
20081         sys/kdaemon.h.
20082         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
20083         compat-only syscall, obsoleted in glibc 2.23.
20084         (create_module): Likewise.
20085         (get_kernel_syms): Likewise.
20086         (query_module): Likewise.
20087         (uselib): Likewise.
20088         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
20090 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
20092         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
20093         <linux/version.h>.
20094         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
20095         conditional code.
20096         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
20097         and ioshift_name initialization.
20099 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
20101         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
20102         Fix indentation.
20104 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
20106         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
20108 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
20110         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
20112 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
20113             Jakub Wilk  <jwilk@debian.org>
20115         [BZ #19347]
20116         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
20117         to change the group of the device to the tty group.
20119 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
20121         Split large string section; add truncation advice
20122         * manual/examples/strncat.c: Remove.
20123         This example was misleading, as the code would have undefined
20124         behavior if "hello" was longer than SIZE.  Anyway, the manual
20125         shouldn't encourage strncpy+strncat for this sort of thing.
20126         * manual/string.texi (Copying Strings and Arrays): Split into
20127         three sections Copying Strings and Arrays, Concatenating Strings,
20128         and Truncating Strings, as this section was way too long.  All
20129         cross-referenced changed.  Add advice about string-truncation
20130         functions.  Remove misleading strncat example.
20132 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
20134         * manual/nss.texi (NSS Modules Interface): Document
20135         NSS_STATUS_NOTFOUND and SUCCESS.
20137 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
20139         [BZ 18568]
20140         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
20141         201505L, for Unicode 8.
20143 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
20145         * locale/C-translit.h: Regenerate.
20147 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
20149         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
20150         and U+0153.
20152 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
20154         [BZ #19351]
20155         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
20156         expanding log(1+z), compare z rather than its square with epsilon
20157         to determine when to avoid evaluating the expansion.
20159         [BZ #19350]
20160         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
20161         Increase overflow threshold.
20163         [BZ #19349]
20164         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
20165         when small.
20167         * sysdeps/unix/sysv/linux/i386/kernel-features.h
20168         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
20169         New macro.
20170         [__LINUX_KERNEL_VERSION >= 0x040300]
20171         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
20172         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
20173         Likewise.
20174         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
20175         Likewise.
20176         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
20177         Likewise.
20178         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
20179         Likewise.
20180         [__LINUX_KERNEL_VERSION >= 0x040300]
20181         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
20182         [__LINUX_KERNEL_VERSION >= 0x040300]
20183         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
20184         [__LINUX_KERNEL_VERSION >= 0x040300]
20185         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
20186         [__LINUX_KERNEL_VERSION >= 0x040300]
20187         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
20188         [__LINUX_KERNEL_VERSION >= 0x040300]
20189         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
20190         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
20191         Likewise.
20192         [__LINUX_KERNEL_VERSION >= 0x040300]
20193         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
20194         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20195         Likewise.
20196         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
20197         Likewise.
20198         [__LINUX_KERNEL_VERSION >= 0x040300]
20199         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
20200         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20201         Likewise.
20202         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
20203         Likewise.
20204         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20205         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
20206         Likewise.
20207         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
20208         Likewise.
20209         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
20210         Likewise.
20211         [__LINUX_KERNEL_VERSION >= 0x040300]
20212         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
20213         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
20214         Likewise.
20215         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
20216         Likewise.
20217         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
20218         Likewise.
20219         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
20220         Likewise.
20221         [__LINUX_KERNEL_VERSION >= 0x040300]
20222         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
20223         [__LINUX_KERNEL_VERSION >= 0x040300]
20224         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
20225         [__LINUX_KERNEL_VERSION >= 0x040300]
20226         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
20227         [__LINUX_KERNEL_VERSION >= 0x040300]
20228         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
20229         [__LINUX_KERNEL_VERSION >= 0x040300]
20230         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
20231         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
20232         Likewise.
20233         [__LINUX_KERNEL_VERSION >= 0x040300]
20234         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
20235         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20236         Likewise.
20237         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
20238         Likewise.
20239         [__LINUX_KERNEL_VERSION >= 0x040300]
20240         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
20241         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20242         Likewise.
20243         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
20244         Likewise.
20245         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20246         (__ASSUME_SOCKET_SYSCALL): Likewise.
20247         (__ASSUME_BIND_SYSCALL): Likewise.
20248         (__ASSUME_CONNECT_SYSCALL): Likewise.
20249         (__ASSUME_LISTEN_SYSCALL): Likewise.
20250         (__ASSUME_ACCEPT_SYSCALL): Likewise.
20251         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
20252         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
20253         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
20254         (__ASSUME_SEND_SYSCALL): Likewise.
20255         (__ASSUME_SENDTO_SYSCALL): Likewise.
20256         (__ASSUME_RECV_SYSCALL): Likewise.
20257         (__ASSUME_RECVFROM_SYSCALL): Likewise.
20258         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
20259         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
20260         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
20261         (__ASSUME_SENDMSG_SYSCALL): Likewise.
20262         (__ASSUME_RECVMSG_SYSCALL): Likewise.
20263         * sysdeps/unix/sysv/linux/sh/kernel-features.h
20264         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
20265         Likewise.
20266         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
20267         Likewise.
20268         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
20269         Likewise.
20270         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
20271         Likewise.
20272         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
20273         Likewise.
20274         [__LINUX_KERNEL_VERSION >= 0x020625]
20275         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
20276         [__LINUX_KERNEL_VERSION >= 0x020625]
20277         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
20278         [__LINUX_KERNEL_VERSION >= 0x020625]
20279         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
20280         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
20281         Likewise.
20282         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
20283         Likewise.
20284         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
20285         Likewise.
20286         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
20287         Likewise.
20288         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
20289         Likewise.
20290         [__LINUX_KERNEL_VERSION >= 0x020625]
20291         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
20292         [__LINUX_KERNEL_VERSION >= 0x020625]
20293         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
20294         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
20295         Likewise.
20296         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
20297         Likewise.
20299 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
20301         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
20302         record the current if the current ABI and CPU support the FP64
20303         extension.
20304         (has-modd-spreg): Define to record the current if the current ABI and
20305         CPU support 32-bit floating point values in odd FPU registers.
20306         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20307         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
20308         $(has-modd-spreg) equals yes.
20309         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
20310         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
20311         $(has-modd-spreg) equal yes.
20313 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
20315         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
20316         basename.
20318 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
20320         * benchtests/Makefile (bench-math): Move ffs and ffsll...
20321         (bench-string): ... here.
20322         (bench): Add bench-string.
20323         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
20324         to *-benchset to reflect what they are.
20325         (benchset): Adjust.
20327         * benchtests/sincos-inputs: Add inputs from sin-inputs and
20328         cos-inputs.
20330 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
20332         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
20333         __attribute__ ((__simd__)) for vector math function declarations.
20335 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
20337         Fix typo in strncat, wcsncat manual entries
20338         * manual/string.texi (Copying and Concatenation): Fix typos in
20339         sample implementations of strncat and wcsncat, by having them use
20340         the old value of the destination length, not the new one.
20342 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
20344         [BZ #16961]
20345         [BZ #16962]
20346         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
20347         string on the stack for strtod.
20348         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
20349         a string on the stack for strtof.
20350         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
20351         constructing a string on the stack for strtold.
20352         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
20353         __strtold_nan to GLIBC_PRIVATE.
20354         * math/test-nan-overflow.c: New file.
20355         * math/test-nan-payload.c: Likewise.
20356         * math/Makefile (tests): Add test-nan-overflow and
20357         test-nan-payload.
20359 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
20361         Consistency about byte vs character in string.texi
20362         * manual/string.texi (String and Array Utilities):
20363         Distinguish more carefully among bytes, multibyte characters,
20364         and wide characters.  Use "byte" when talking about C 'char',
20365         to distinguish it more clearly from multibyte characters.
20366         Say "wide character" or "multibyte character" instead of
20367         "character", when a wide or multibyte character is intended.
20368         Similarly for "multibyte string" versus "string".
20369         Define these terms more carefully.
20371 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
20373         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
20374         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
20375         Likewise.
20376         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
20377         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
20378         * sysdeps/sh/math_private.h: New file.
20379         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
20380         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
20381         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
20382         long double function name.
20383         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20384         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20385         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20386         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
20387         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20388         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
20389         Remove __finitel, __isinfl, and __isnanl.
20390         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20391         Likewise.
20392         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20393         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20394         Remove __finitel.
20395         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20396         Likewise.
20397         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20399 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
20401         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
20402         installed libmvec_nonshared.a.
20404 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20406         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
20407         (sysdep_routines): Likewise.
20408         (sysdep-rtld-routines): Likewise.
20409         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
20410         [$(subdir) = nptl](tests-static): test-get_hwcap-static
20411         * sysdeps/powerpc/Versions: Added new
20412         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
20413         * sysdeps/powerpc/hwcapinfo.c: New file.
20414         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
20415         and parse hwcap, hwcap2 and platform number information.
20416         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
20417         to store HWCAP+HWCAP2 and platform number.
20418         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
20419         for HWCAP+HWCAP2 and platform number in the TCB.
20420         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
20421         the HWCAP, HWCAP2 and platform number in the TCB.
20422         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
20423         (TLS_INIT_TP): Included calls to add the hwcap and
20424         at_platform values in the TCB in TP initialization.
20425         (TLS_DEFINE_INIT_TP): Likewise.
20426         (THREAD_GET_HWCAP): New macro.
20427         (THREAD_SET_HWCAP): Likewise.
20428         (THREAD_GET_AT_PLATFORM): Likewise.
20429         (THREAD_SET_AT_PLATFORM): Likewise.
20430         * sysdeps/powerpc/powerpc32/dl-machine.h:
20431         (dl_platform_init): New function that calls
20432         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
20433         powerpc32.
20434         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
20435         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
20436         this functionality, static linking case.
20437         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
20438         linking case.
20439         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
20440         __parse_hwcap_and_convert_at_platform for the static linking case.
20441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
20442         Included the new __parse_hwcap_and_convert_at_platform symbol in the
20443         ABI list for GLIBC 2.23.
20444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
20445         Likewise.
20446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
20447         Likewise.
20449 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
20451         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
20452         * configure: Regenerate.
20453         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
20454         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
20456 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
20458         * iconvdata/ibm930.c: Add comment explaining encoding uses.
20459         * iconvdata/ibm933.c: Likewise.
20460         * iconvdata/ibm935.c: Likewise.
20461         * iconvdata/ibm937.c: Likewise.
20462         * iconvdata/ibm939.c: Likewise.
20464 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20466         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
20467         pthread_join.
20468         * nptl/tst-cancel21.c (tf): Likewise.
20470 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
20472         [BZ #19313]
20473         * bits/typesizes.h (__CPU_MASK_TYPE): New.
20474         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
20475         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
20476         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
20477         Likewise.
20478         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
20479         Likewise.
20480         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
20481         Likewise.
20482         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
20483         Likewise.
20484         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
20485         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
20486         unsigned long int with __CPU_MASK_TYPE.
20488 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20490         * sysdeps/aarch64/libm-test-ulps: Regenerated.
20492 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
20494         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
20495         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
20496         t512.x.
20497         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
20499 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
20501         [BZ #19214]
20502         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
20503         argument to return extended model.  Update family and model
20504         with extended family and model when family == 0x0f.
20505         (init_cpu_features): Updated.
20507 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20509         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
20510         signed off_t, so 32bit bigger than 2GiB values are fine actually.
20512         * sysdeps/mach/hurd/mmap64.c: New file.
20514 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
20516         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
20517         rights for its main user thread in NEWTASK.
20519 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
20521         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
20522         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
20524 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
20526         [BZ #14259]
20527         * Makeconfig: Rename localedir to complocaledir.
20528         Rename inst_localedir to inst_complocaledir.
20529         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
20530         * config.make.in: Use complocaledir and libc_cv_complocaledir.
20531         * configure.ac: Use libc_cv_complocaledir.
20532         * configure: Regenerate.
20533         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
20534         -DCOMPLOCALEDIR.
20535         * locale/findlocale.c: Use COMPLOCALEDIR.
20536         * locale/loadarchive.c: Likewise.
20537         * locale/programs/locale.c: Likewise.
20538         * locale/programs/localedef.c: Likewise.
20539         * locale/programs/locarchive.c: Likewise.
20540         * localedata/Makefile: Use inst_complocaledir.
20541         * sysdeps/gnu/configure: Regenerate.
20542         * sysdeps/hppa/configure: Regenerate.
20543         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
20544         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
20546         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
20547         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
20548         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
20549         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
20551 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
20553         [BZ #19058]
20554         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
20555         AS_NEEDED.
20556         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
20557         workaround.
20558         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
20559         libmvec-static-only-routines): Added new file.
20560         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
20562 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20564         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
20565         of interrupted RPC instead of restoring it.
20567         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
20568         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
20569         libc_hidden_def.
20570         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
20571         into initialized data instead of common. Define rtld_hidden_data_def.
20572         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
20573         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
20574         libc_hidden_def.
20575         (if_freenameindex): Add libc_hidden_weak.
20576         (if_nameindex): Add libc_hidden_weak.
20577         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
20578         __open64.
20579         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
20580         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
20581         * sysdeps/mach/nanosleep.c: Include <time.h>
20582         (__nanosleep): Rename to __libc_nanosleep.
20583         (__nanosleep): Add weak_alias.
20584         (nanosleep): Update alias.
20586 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
20588         * stdlib/strtod_nan.c: New file.
20589         * stdlib/strtod_nan_double.h: Likewise.
20590         * stdlib/strtod_nan_float.h: Likewise.
20591         * stdlib/strtod_nan_main.c: Likewise.
20592         * stdlib/strtod_nan_narrow.h: Likewise.
20593         * stdlib/strtod_nan_wide.h: Likewise.
20594         * stdlib/strtof_nan.c: Likewise.
20595         * stdlib/strtold_nan.c: Likewise.
20596         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
20597         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
20598         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
20599         * wcsmbs/wcstod_nan.c: Likewise.
20600         * wcsmbs/wcstof_nan.c: Likewise.
20601         * wcsmbs/wcstold_nan.c: Likewise.
20602         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
20603         strtold_nan.
20604         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
20605         wcstof_nan.
20606         * include/stdlib.h (__strtof_nan): Declare and use
20607         libc_hidden_proto.
20608         (__strtod_nan): Likewise.
20609         (__strtold_nan): Likewise.
20610         (__wcstof_nan): Likewise.
20611         (__wcstod_nan): Likewise.
20612         (__wcstold_nan): Likewise.
20613         * include/wchar.h (____wcstoull_l_internal): Declare.
20614         * stdlib/strtod_l.c: Do not include <ieee754.h>.
20615         (____strtoull_l_internal): Remove declaration.
20616         (STRTOF_NAN): Define macro.
20617         (SET_MANTISSA): Remove macro.
20618         (STRTOULL): Likewise.
20619         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
20620         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
20621         (STRTOF_NAN): Define macro.
20622         (SET_MANTISSA): Remove macro.
20623         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
20624         (SET_MANTISSA): Remove macro.
20625         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
20626         macro.
20627         (SET_MANTISSA): Remove macro.
20628         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
20629         macro.
20630         (SET_MANTISSA): Remove macro.
20631         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
20632         (SET_MANTISSA): Remove macro.
20633         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
20634         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
20635         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
20637         [BZ #19266]
20638         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
20639         upper case and lower case letters inside NAN(), not using TOLOWER.
20640         * stdlib/tst-strtod-nan-locale-main.c: New file.
20641         * stdlib/tst-strtod-nan-locale.c: Likewise.
20642         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
20643         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
20644         Depend on $(gen-locales).
20645         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
20646         * wcsmbs/tst-wcstod-nan-locale.c: New file.
20647         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
20648         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
20649         Depend on $(gen-locales).
20650         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
20652 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
20654         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
20656         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
20657         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
20658         __finitel, __isinfl, and __isnanl.
20659         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20660         Likewise.
20661         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20662         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
20663         __finitel.
20664         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20665         Likewise.
20666         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20668 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
20670         * malloc/memusage.c (me): Remove redundant getenv call.
20672 2015-10-24  Florian Weimer  <fweimer@redhat.com>
20674         [BZ #19143]
20675         [BZ #19164]
20676         * nptl/check-cpuset.h: Remove.
20677         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
20678         Remove CPU set size check.
20679         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
20680         Likewise.
20681         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
20682         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
20683         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
20684         (__pthread_setaffinity_new): Remove CPU set size check.
20685         * sysdeps/unix/sysv/linux/sched_setaffinity.c
20686         (__kernel_cpumask_size): Remove.
20687         (__sched_setaffinity_new): Remove CPU set size check.
20688         * manual/threads.texi (Default Thread Attributes): Remove stale
20689         reference to check_cpuset_attr, determine_cpumask_size in comment.
20690         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
20691         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
20692         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
20693         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
20694         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
20695         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
20696         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
20697         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
20698         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
20699         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
20700         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
20701         skeleton test file.
20702         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
20703         tst-affinity-pid.
20705 2015-11-24  Florian Weimer  <fweimer@redhat.com>
20707         * scripts/update-abilist.sh: New file.
20708         * Makefile (+subdir_targets): Add subdir_update-all-abi.
20709         * Makerules (update-all-abi-%, update-all-abi)
20710         (subdir_update-all-abi): New targets.
20711         * elf/Makefile (update-all-abi): New target.
20713 2015-11-24  Florian Weimer  <fweimer@redhat.com>
20715         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
20716         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
20717         (__libc_lock_define_initialized): Use it.
20718         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
20719         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
20720         * malloc/malloc.c (main_arena): Likewise.
20721         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
20722         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
20724 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
20726         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
20727         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
20728         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
20729         (PTRACE_O_MASK): Update value.
20730         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
20731         New value in enum __ptrace_setoptions.
20732         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
20733         (PTRACE_O_MASK): Update value.
20734         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
20735         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
20736         (PTRACE_O_MASK): Update value.
20737         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
20738         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
20739         (PTRACE_O_MASK): Update value.
20740         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
20741         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
20742         (PTRACE_O_MASK): Update value.
20743         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
20744         New value in enum __ptrace_setoptions.
20745         (PTRACE_O_MASK): Update value.
20746         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
20747         New value in enum __ptrace_setoptions.
20748         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
20749         (PTRACE_O_MASK): Update value.
20751         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
20752         New macro.
20753         (PACKET_AUXDATA): Likewise.
20754         (PACKET_ORIGDEV): Likewise.
20755         (PACKET_VERSION): Likewise.
20756         (PACKET_HDRLEN): Likewise.
20757         (PACKET_RESERVE): Likewise.
20758         (PACKET_TX_RING): Likewise.
20759         (PACKET_LOSS): Likewise.
20760         (PACKET_VNET_HDR): Likewise.
20761         (PACKET_TX_TIMESTAMP): Likewise.
20762         (PACKET_TIMESTAMP): Likewise.
20763         (PACKET_FANOUT): Likewise.
20764         (PACKET_TX_HAS_OFF): Likewise.
20765         (PACKET_QDISC_BYPASS): Likewise.
20766         (PACKET_ROLLOVER_STATS): Likewise.
20767         (PACKET_FANOUT_DATA): Likewise.
20768         (PACKET_MR_UNICAST): Likewise.
20770         [BZ #19242]
20771         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
20772         (TOUPPER): Likewise.
20773         * stdlib/tst-strtol-locale-main.c: New file.
20774         * stdlib/tst-strtol-locale.c: Likewise.
20775         * stdlib/Makefile (tests): Add tst-strtol-locale.
20776         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
20777         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
20778         Depend on $(gen-locales).
20779         * wcsmbs/tst-wcstol-locale.c: New file.
20780         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
20781         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
20782         tr_TR.ISO-8859-9.
20783         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
20784         Depend on $(gen-locales).
20786 2015-11-20  Roland McGrath  <roland@hack.frob.com>
20788         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
20789         __glibc_likely instead of __builtin_expect.  After falling back to
20790         dyncode_create in a non-ET_DYN case, use the allocate_code_data
20791         system interface to register the code pages as occupied.
20793 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
20795         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20796         [!ARM_MATH_PRIVATE_H].
20797         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
20798         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20799         [!HPPA_MATH_PRIVATE_H].
20800         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
20801         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
20802         to [!I386_MATH_PRIVATE_H].
20803         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
20804         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
20805         Change guard to [!M68K_MATH_PRIVATE_H].
20806         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
20807         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
20808         guard to [!MICROBLAZE_MATH_PRIVATE_H].
20809         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
20810         macro.
20811         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20812         [!MIPS_MATH_PRIVATE_H].
20813         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
20814         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20815         [!NIO2_MATH_PRIVATE_H].
20816         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
20817         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20818         [!TILE_MATH_PRIVATE_H].
20819         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
20821         [BZ #15421]
20822         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
20823         initialize with 0 and define as weak alias of __signgam.
20824         * include/math.h [!_ISOMAC] (__signgam): Declare.
20825         * math/Makefile (libm-calls): Add w_lgamma_compat.
20826         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
20827         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
20828         test-signgam-ullong-init.
20829         (tests-static): Add test-signgam-uchar-static,
20830         test-signgam-uchar-init-static, test-signgam-uint-static,
20831         test-signgam-uint-init-static, test-signgam-ullong-static and
20832         test-signgam-ullong-init-static.
20833         (CFLAGS-test-signgam-uchar.c): New variable.
20834         (CFLAGS-test-signgam-uchar-init.c): Likewise.
20835         (CFLAGS-test-signgam-uchar-static.c): Likewise.
20836         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
20837         (CFLAGS-test-signgam-uint.c): Likewise.
20838         (CFLAGS-test-signgam-uint-init.c): Likewise.
20839         (CFLAGS-test-signgam-uint-static.c): Likewise.
20840         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
20841         (CFLAGS-test-signgam-ullong.c): Likewise.
20842         (CFLAGS-test-signgam-ullong-init.c): Likewise.
20843         (CFLAGS-test-signgam-ullong-static.c): Likewise.
20844         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
20845         * math/Versions (libm): Add GLIBC_2.23.
20846         * math/lgamma-compat.h: New file.
20847         * math/test-signgam-main.c: Likewise.
20848         * math/test-signgam-uchar-init-static.c: Likewise.
20849         * math/test-signgam-uchar-init.c: Likewise.
20850         * math/test-signgam-uchar-static.c: Likewise.
20851         * math/test-signgam-uchar.c: Likewise.
20852         * math/test-signgam-uint-init-static.c: Likewise.
20853         * math/test-signgam-uint-init.c: Likewise.
20854         * math/test-signgam-uint-static.c: Likewise.
20855         * math/test-signgam-uint.c: Likewise.
20856         * math/test-signgam-ullong-init-static.c: Likewise.
20857         * math/test-signgam-ullong-init.c: Likewise.
20858         * math/test-signgam-ullong-static.c: Likewise.
20859         * math/test-signgam-ullong.c: Likewise.
20860         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
20861         wrapper of w_lgamma_main.c.
20862         * math/w_lgamma_compat.c: New file.
20863         * math/w_lgamma_compatf.c: Likewise.
20864         * math/w_lgamma_compatl.c: Likewise.
20865         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
20866         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
20867         defining compatibility symbols.
20868         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
20869         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
20870         wrapper of w_lgammaf_main.c.
20871         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
20872         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
20873         defining compatibility symbols.
20874         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
20875         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
20876         wrapper of w_lgammal_main.c.
20877         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
20878         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
20879         defining compatibility symbols.
20880         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
20881         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
20882         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
20883         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
20884         <lgamma-compat.h>.
20885         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
20886         (__ieee754_gamma): Define as alias.
20887         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
20888         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
20889         <lgamma-compat.h>.
20890         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
20891         (__ieee754_gammaf): Define as alias.
20892         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
20893         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
20894         <lgamma-compat.h>.
20895         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
20896         (__ieee754_gammal): Define as alias.
20897         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
20898         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
20899         <math/w_lgamma_compat.c>.
20900         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
20901         Define as alias of __lgamma_compat and use in defining lgammal.
20902         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
20903         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
20904         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
20905         (USE_AS_COMPAT): New macro.
20906         (LGAMMA_OLD_VER): Undefine and redefine.
20907         (lgammal): Do not define here.
20908         (gammal): Only define here if [GAMMA_ALIAS].
20909         * conform/linknamespace.pl (@whitelist): Remove signgam.
20910         * sysdeps/nacl/libm.abilist: Update.
20911         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20912         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20913         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20914         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20915         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20916         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20917         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20918         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20919         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20920         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20921         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20922         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20924         Likewise.
20925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20926         Likewise.
20927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20928         Likewise.
20929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20930         Likewise.
20931         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20932         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20933         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20934         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20935         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20936         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20937         Likewise.
20938         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20939         Likewise.
20940         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20941         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20942         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20944 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20946         [BZ #16364]
20947         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
20948         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
20950 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
20952         * sysdeps/s390/fpu/bits/mathinline.h:
20953         Use __asm__ [__volatile__] instead of asm [volatile].
20954         * sysdeps/s390/abort-instr.h: Likewise.
20955         * sysdeps/s390/atomic-machine.h: Likewise.
20956         * sysdeps/s390/bits/string.h: Likewise.
20957         * sysdeps/s390/dl-tls.h: Likewise.
20958         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
20959         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
20960         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
20961         * sysdeps/s390/fpu/fesetround.c: Likewise.
20962         * sysdeps/s390/fpu/fpu_control.h: Likewise.
20963         * sysdeps/s390/fpu/s_fma.c: Likewise.
20964         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
20965         * sysdeps/s390/memusage.h: Likewise.
20966         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
20967         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
20968         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
20969         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
20970         * sysdeps/s390/nptl/tls.h: Likewise.
20971         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
20972         * sysdeps/s390/s390-32/backtrace.c: Likewise.
20973         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
20974         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
20975         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20976         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
20977         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
20978         * sysdeps/s390/s390-64/backtrace.c: Likewise.
20979         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20980         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
20981         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
20982         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20983         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
20984         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
20985         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20986         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20987         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
20988         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
20989         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
20990         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20991         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
20992         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20993         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
20995 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20996             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20998         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
20999         Add lwarx hint, and use macro for acquire instruction.
21000         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
21001         Likewise.
21002         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
21003         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
21004         update to use new atomic macros.
21006 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21008         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
21009         (__lll_trylock_elision): Fix setting of adapt_count.
21010         * sysdeps/unix/sysv/linux/powerpc/htm.h
21011         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
21012         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
21013         (_ABORT_SYSCALL): Renumber, and clarify definition.
21014         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
21016 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21018         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
21019         after system headers to prevent MIN/MAX redefinition.  Define
21020         HAVE_ALLOCA to preserve builtin alloca usage.
21022 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
21024         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
21025         static and don't set or restore rounding.
21026         (__cos)[IN_SINCOS]: Likewise.
21027         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
21028         (__sincos): Set and restore rounding mode.  Remove check for infinite
21029         or NaN input.
21031         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
21033         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
21034         as used.
21036 2015-11-16  Florian Weimer  <fweimer@redhat.com>
21038         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
21040 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
21042         * config.make.in (have-glob-dat-reloc): New.
21043         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
21044         target supports GLOB_DAT relocaton. AC_SUBST.
21045         * configure: Regenerated.
21046         * elf/Makefile (tests): Add tst-prelink.
21047         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
21048         (tst-prelink-ENV): New.
21049         ($(objpfx)tst-prelink-conflict.out): Likewise.
21050         ($(objpfx)tst-prelink-cmp.out): Likewise.
21051         * sysdeps/x86/tst-prelink.c: Moved to ...
21052         * elf/tst-prelink.c: Here.
21053         * sysdeps/x86/tst-prelink.exp: Moved to ...
21054         * elf/tst-prelink.exp: Here.
21055         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
21056         (tst-prelink-ENV): Removed.
21057         ($(objpfx)tst-prelink-conflict.out): Likewise.
21058         ($(objpfx)tst-prelink-cmp.out): Likewise.
21059         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
21061 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
21063         [BZ #14551]
21064         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
21065         (__mpn_construct_long_double): If high part overflows to infinity,
21066         set errno and recompute overflowed result of the correct sign.
21067         * sysdeps/ieee754/ldbl-128ibm/Makefile
21068         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
21069         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
21070         $(libm).
21071         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
21073 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
21075         [BZ #15479]
21076         [BZ #19238]
21077         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
21078         floating-point state after first operation on input.  Restore full
21079         state rather than just rounding mode.
21080         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
21081         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
21082         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
21084         [BZ #19235]
21085         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
21086         add 0.5 to integer arguments.
21087         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
21088         Likewise.
21089         (.LC2): New object.
21091 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
21093         * scripts/pylintrc (reports): Set to no.
21095 2015-11-10  Roland McGrath  <roland@hack.frob.com>
21097         * elf/dl-load.c (open_verify): Take new argument FD.
21098         Skip __open call if passed FD is not -1.
21099         (_dl_map_object, open_path): Update callers.
21100         * elf/dl-sysdep-open.h: New file.
21101         * elf/dl-load.c: Include it.
21102         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
21103         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
21104         * sysdeps/nacl/dl-sysdep-open.h: New file.
21105         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
21106         from libc to rtld.
21108 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
21110         [BZ #19228]
21111         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
21112         and restore full floating-point state.
21113         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
21114         Likewise.
21115         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
21116         Likewise.
21117         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
21118         Likewise.
21119         * math/test-nearbyint-except-2.c: New file.
21120         * math/Makefile (tests): Add test-nearbyint-except-2.
21122 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
21124         [BZ #19178]
21125         * sysdeps/x86/Makefile (tests): Add tst-prelink.
21126         (tst-prelink-ENV): New.
21127         ($(objpfx)tst-prelink-conflict.out): Likewise.
21128         ($(objpfx)tst-prelink-cmp.out): Likewise.
21129         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
21130         * sysdeps/x86/tst-prelink.c: New file.
21131         * sysdeps/x86/tst-prelink.exp: Likewise.
21133 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
21135         * math/auto-libm-test-in: Add another test of pow.
21136         * math/auto-libm-test-out: Regenerated.
21137         * math/libm-test.inc (pow_test_data): Add another test.
21139 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21141         [BZ #19219]
21142         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
21143         weak_alias to nearbyintl.
21145 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
21147         * sysdeps/aarch64/bits/string.h: New file.
21148         (_STRING_ARCH_unaligned): Define.
21150 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
21152         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
21153         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
21154         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
21155         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
21156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
21158 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
21160         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
21161         for original name of the DSO.  Add it to the name list of the DSO
21162         if it is actually given.
21163         (_dl_map_object): Keep track of whether an audit module rewrote
21164         the file name.  If yes, pass the original name to
21165         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
21166         debugging is enabled, log the change of the file name.
21167         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
21168         _dl_map_object_from_fd.
21169         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
21170         * elf/tst-audit11.c: New file
21171         * elf/tst-auditmod11.c: New file.
21172         * elf/tst-audit11mod1.c: New file.
21173         * elf/tst-audit11mod2.c: New file.
21174         * elf/tst-audit11mod2.map: New file.
21175         * elf/tst-audit12.c: New file
21176         * elf/tst-auditmod12.c: New file.
21177         * elf/tst-audit12mod1.c: New file.
21178         * elf/tst-audit12mod2.c: New file.
21179         * elf/tst-audit12mod2.map: New file.
21180         * elf/tst-audit12mod3.c: New file.
21182 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
21184         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
21185         Don't create weak aliases,
21186         because versioned symbols are created later.
21187         * sysdeps/s390/s390-32/setjmp.S
21188         (setjmp, _setjmp): Remove weak and rename to an unique name
21189         in SHARED case due to existing versioned symbols.
21190         * sysdeps/s390/s390-64/setjmp.S: Likewise.
21191         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
21192         (getcontext): Create weak alias only in non SHARED case.
21193         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21195 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
21197         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
21198         (__ASSUME_*_SYSCALL) Define new macros.
21199         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
21200         Remove socketcall syscalls.
21201         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
21202         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
21203         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
21204         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
21205         * sysdeps/unix/sysv/linux/send.c (__libc_send):
21206         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
21208 2015-11-09  Florian Weimer  <fweimer@redhat.com>
21210         [BZ #12926]
21211         Terminate process on invalid netlink response.
21212         * sysdeps/unix/sysv/linux/netlinkaccess.h
21213         (__netlink_assert_response): Declare.
21214         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
21215         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
21216         (sysdep_routines): Add netlink_assert_response.
21217         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
21218         __netlink_assert_response.
21219         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
21220         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
21221         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
21222         __netlink_assert_response.
21224 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
21226         [BZ #19178]
21227         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
21228         (RTYPE_CLASS_PLT): Likewise.
21229         (RTYPE_CLASS_COPY): Likewise.
21230         (RTYPE_CLASS_TLS): Likewise.
21231         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
21232         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
21233         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
21234         DL_DEBUG_PRELINK.
21236 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
21238         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
21239         calls with argument -0.5.
21240         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
21242         * configure.ac (libc_cv_z_nodelete): Remove configure test.
21243         (libc_cv_z_nodlopen): Likewise.
21244         (libc_cv_z_initfirst): Likewise.
21245         * configure: Regenerated.
21247 2015-11-06  Florian Weimer  <fweimer@redhat.com>
21249         Simplify abilist format to be line-based.
21250         * scripts/abilist.awk: Collect descriptors in the descs variable.
21251         (emit): Write descs variable and sort it
21252         externally, with sort.
21253         * sysdeps/**/*.abilist: Convert to new format.
21255 2015-11-06  Mark Wielaard  <mjw@redhat.com>
21257         [BZ #11460]
21258         * io/Makefile (routines): Add fts64.
21259         (tests): Add tst-fts and tst-fts-lfs.
21260         (CFLAGS-fts64.c): New.
21261         * io/Versions (GLIBC_2.23): New.
21262         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
21263         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
21264         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
21265         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
21266         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
21267         (FTSENT64): Likewise.
21268         (fts64_children): Likewise.
21269         (fts64_close): Likewise.
21270         (fts64_open): Likewise.
21271         (fts64_read): Likewise.
21272         (fts64_set): Likewise.
21273         * io/fts64.c: New file.
21274         * io/tst-fts.c: New test.
21275         * io/tst-fts-lfs.c: Likewise.
21276         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
21277         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
21278         fts64_set.
21279         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21280         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21281         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21282         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21283         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21284         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21285         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21286         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21287         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21288         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
21289         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21290         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21291         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21293         Likewise.
21294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21295         Likewise.
21296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
21297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
21298         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21299         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21300         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21301         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21302         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21303         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
21304         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
21305         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21306         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21307         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21308         * sysdeps/wordsize-64/fts.c: New file.
21309         * sysdeps/wordsize-64/fts64.c: Likewise.
21310         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
21311         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
21312         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
21313         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
21315 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
21317         * math/libm-test.inc (NON_FINITE): New macro.
21318         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
21319         * math/gen-libm-test.pl (show_exceptions): Add argument
21320         $non_finite.
21321         (parse_args): Update call to show_exceptions.
21322         * math/test-math-finite.h: New file.
21323         * math/test-math-no-finite.h: Likewise.
21324         * math/test-double-finite.c: Likewise.
21325         * math/test-float-finite.c: Likewise.
21326         * math/test-ldouble-finite.c: Likewise.
21327         * math/test-double.c: Include "test-math-no-finite.h".
21328         * math/test-float.c: Include "test-math-no-finite.h".
21329         * math/test-ldouble.c: Include "test-math-no-finite.h".
21330         * math/test-math-inline.h (TEST_FINITE): New macro.
21331         * math/test-math-vector.h (TEST_FINITE): Likewise.
21332         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
21333         (libm-tests): Add test-float-finite and test-double-finite.
21334         ($(objpfx)test-float-finite.o): New dependency on
21335         $(objpfx)libm-test.stmp.
21336         ($(objpfx)test-double-finite.o): Likewise.
21337         ($(objpfx)test-ldouble-finite.o): Likewise.
21338         (libm-test-no-inline-cflags): New variable.
21339         (libm-test-finite-cflags): Likewise.
21340         (CFLAGS-test-float-finite.c): Likewise.
21341         (CFLAGS-test-double-finite.c): Likewise.
21342         (CFLAGS-test-ldouble-finite.c): Likewise.
21343         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
21344         (CFLAGS-test-double.c): Likewise.
21345         (CFLAGS-test-ldouble.c): Likewise.
21347 2015-11-05  Roland McGrath  <roland@hack.frob.com>
21349         * io/fcntl.c (__fcntl): Add ... to prototype.
21350         * misc/ioctl.c (__ioctl): Likewise.
21351         * misc/syscall.c (syscall): Likewise.
21353 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
21355         * scripts/list-fixed-bugs.py: New file.
21357         [BZ #19213]
21358         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
21359         returned for argument 1.
21360         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
21361         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
21362         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
21363         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
21364         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
21365         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
21367         [BZ #19211]
21368         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
21369         __USE_XOPEN], not if [!__USE_ISOC99].
21370         (lgammaf): Likewise.
21371         (lgammal): Likewise.
21372         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
21373         (gammaf): Likewise.
21374         (gammal): Likewise.
21375         * math/test-signgam-finite-c11.c: New file.
21376         * math/test-signgam-finite-c99.c: Likewise.
21377         * math/test-signgam-finite.c: Likewise.
21378         * math/Makefile (tests): Add test-signgam-finite,
21379         test-signgam-finite-c99 and test-signgam-finite-c11.
21380         (CFLAGS-test-signgam-finite.c): New variable.
21381         (CFLAGS-test-signgam-finite-c99.c): Likewise.
21382         (CFLAGS-test-signgam-finite-c11.c): Likewise.
21384         [BZ #19212]
21385         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
21386         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
21387         500].
21388         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
21389         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
21390         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
21391         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
21392         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
21393         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
21394         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
21395         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
21396         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
21397         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
21399         [BZ #19209]
21400         * math/bits/math-finite.h (ldexp): Remove declaration.
21401         (ldexpf): Likewise.
21402         (ldexpl): Likewise.
21404         [BZ #19205]
21405         * math/bits/math-finite.h (acosf): Condition declaration on
21406         [__USE_ISOC99].
21407         (acosl): Likewise.
21408         (acoshf): Likewise.
21409         (acoshl): Likewise.
21410         (asinf): Likewise.
21411         (asinl): Likewise.
21412         (atan2f): Likewise.
21413         (atan2l): Likewise.
21414         (atanhf): Likewise.
21415         (atanhl): Likewise.
21416         (coshf): Likewise.
21417         (coshl): Likewise.
21418         (expf): Likewise.
21419         (expl): Likewise.
21420         (fmodf): Likewise.
21421         (fmodl): Likewise.
21422         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
21423         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
21424         (j0l): Likewise.
21425         (y0f): Likewise.
21426         (y0l): Likewise.
21427         (j1f): Likewise.
21428         (j1l): Likewise.
21429         (y1f): Likewise.
21430         (y1l): Likewise.
21431         (jnf): Likewise.
21432         (jnl): Likewise.
21433         (ynf): Likewise.
21434         (ynl): Likewise.
21435         (lgammaf_r): Condition declaration on [__USE_ISOC99].
21436         (lgammal_r): Likewise.
21437         (__lgamma_r_finite): New declaration.
21438         (__lgammaf_r_finite): Likewise.
21439         (__lgammal_r_finite): Likewise.
21440         (lgamma): Use __lgamma_r_finite.
21441         (lgammaf): Condition definition on [__USE_ISOC99].  Use
21442         __lgammaf_r_finite.
21443         (lgammal): Condition definition on [__USE_ISOC99].  Use
21444         __lgammal_r_finite.
21445         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
21446         __lgamma_r_finite.
21447         (gammaf): Condition definition on [__USE_ISOC99].  Use
21448         __lgammaf_r_finite.
21449         (gammal): Condition definition on [__USE_ISOC99].  Use
21450         __lgammal_r_finite.
21451         (logf): Condition declaration on [__USE_ISOC99].
21452         (logl): Likewise.
21453         (log10f): Likewise.
21454         (log10l): Likewise.
21455         (ldexpf): Likewise.
21456         (ldexpl): Likewise.
21457         (powf): Likewise.
21458         (powl): Likewise.
21459         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
21460         __USE_ISOC99].
21461         (remainderf): Condition declaration on [__USE_ISOC99].
21462         (remainderl): Likewise.
21463         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
21464         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
21465         (scalbl): Likewise.
21466         (sinhf): Condition declaration on [__USE_ISOC99].
21467         (sinhl): Likewise.
21468         (sqrtf): Likewise.
21469         (sqrtl): Likewise.
21471 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
21473         * sysdeps/arm/atomic-machine.h
21474         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
21475         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
21476         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
21477         Remove conditional code.
21478         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
21479         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
21480         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
21481         Change conditional to [__ASSEMBLER__].
21482         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
21483         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
21484         [!__ASSEMBLER__].
21485         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
21486         code.
21487         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
21488         conditional macro definitions.
21489         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
21490         (__arch_compare_and_exchange_val_16_acq): Likewise.
21491         (__arch_compare_and_exchange_val_32_acq): Likewise.
21492         (atomic_exchange_and_add): Likewise.
21493         (atomic_add): Likewise.
21494         (atomic_add_negative): Likewise.
21495         (atomic_add_zero): Likewise.
21496         (atomic_bit_set): Likewise.
21497         (atomic_bit_test_set): Likewise.
21498         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
21499         code unconditional.
21500         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21502         * math/test-math-errno.h: New file.
21503         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
21504         empty.
21505         (TEST_ERRNO): New macro.
21506         (TEST_EXCEPTIONS): Likewise.
21507         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
21508         (TEST_EXCEPTIONS): Likewise.
21509         * math/test-math-vector.h (TEST_ERRNO): Likewise.
21510         * math/test-double.c: Include "test-math-errno.h".
21511         * math/test-float.c: Likewise.
21512         * math/test-ldouble.c: Likewise.
21513         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
21514         code unconditional.
21515         (test_exceptions): Only run code if TEST_EXCEPTIONS.
21516         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
21517         unconditional.
21518         (test_errno): Only run code if TEST_ERRNO.
21519         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
21521 2015-11-04  Florian Weimer  <fweimer@redhat.com>
21523         * nptl/tst-once5.cc: Remove attribution.
21525 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
21527         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
21528         sqrt, tan, tanh, y0, y1 and yn.
21529         * math/auto-libm-test-out: Regenerated.
21530         * math/libm-test.inc (scalb_test_data): Add more tests.
21531         (scalbn_test_data): Likewise.
21532         (scalbln_test_data): Likewise.
21533         (signbit_test_data): Likewise.
21534         (sin_test_data): Likewise.
21535         (sincos_test_data): Likewise.
21536         (sinh_test_data): Likewise.
21537         (sqrt_test_data): Likewise.
21538         (tan_test_data): Likewise.
21539         (tanh_test_data): Likewise.
21540         (tgamma_test_data): Likewise.
21541         (y0_test_data): Likewise.
21542         (y1_test_data): Likewise.
21543         (yn_test_data): Likewise.
21544         (significand_test_data): Likewise.
21545         * sysdeps/i386/fpu/libm-test-ulps: Update.
21547 2015-11-03  David Kastrup  <dak@gnu.org>
21549         [BZ #18604]
21550         * assert/assert.h (assert): Don't macro-expand failed assertion
21551         expression in error message.
21552         * malloc/malloc.c (assert): Likewise.
21554 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
21556         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
21557         test.
21558         * configure: Regenerated.
21560 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
21562         * math/libm-test.inc (modf_test_data): Add more tests.
21563         (nearbyint_test_data): Likewise.
21564         (nextafter_test_data): Likewise.
21565         (nexttoward_test_data): Likewise.
21566         (pow_test_data): Likewise.
21567         (remainder_test_data): Likewise.
21568         (remquo_test_data): Likewise.
21569         (rint_test_data): Likewise.
21571         [BZ #19201]
21572         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21573         Check for zero remainder in case of large exponents and ensure
21574         correct sign of result in that case.
21575         * math/libm-test.inc (remainder_test_data): Add more tests.
21577         [BZ #6799]
21578         * math/s_nextafter.c: Include <errno.h>.
21579         (__nextafter): Set errno on overflow and underflow.
21580         * math/s_nexttowardf.c: Include <errno.h>.
21581         (__nexttowardf): Set errno on overflow and underflow.
21582         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
21583         (__nextafterl): Set errno on overflow and underflow.
21584         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
21585         (__nexttoward): Set errno on overflow and underflow.
21586         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
21587         (__nexttowardf): Set errno on overflow and underflow.
21588         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
21589         (__nextafterf): Set errno on overflow and underflow.
21590         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
21591         (__nextafterl): Set errno on overflow and underflow.
21592         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
21593         (__nexttoward): Set errno on overflow and underflow.
21594         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
21595         (__nexttowardf): Set errno on overflow and underflow.
21596         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
21597         (__nextafterl): Set errno on overflow and underflow.
21598         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
21599         (__nexttoward): Set errno on overflow and underflow.
21600         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
21601         (__nexttowardf): Set errno on overflow and underflow.
21602         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
21603         (__nexttoward): Set errno on overflow and underflow.
21604         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
21605         (__nexttowardf): Set errno on overflow and underflow.
21606         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
21607         (__nldbl_nexttowardf): Set errno on overflow and underflow.
21608         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
21609         (__nextafterl): Set errno on overflow and underflow.
21610         * math/libm-test.inc (nextafter_test_data): Do not allow errno
21611         setting to be missing on overflow.  Add more tests.
21612         (nexttoward_test_data): Likewise.
21614         * configure.ac (libc_cv_initfini_array): Remove configure test.
21615         * configure: Regenerated.
21617 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
21619         [BZ #19189]
21620         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
21621         non-finite argument handle arguments with negative sign.
21623         * math/libm-test.inc (j0_test_data): Do not test sign of zero
21624         result from infinite argument.
21625         (j1_test_data): Likewise.
21626         (jn_test_data): Likewise.
21627         (y0_test_data): Likewise.
21628         (y1_test_data): Likewise.
21629         (yn_test_data): Likewise.
21631         [BZ #16171]
21632         * math/w_remainder.c (drem): Define as weak alias of __remainder.
21633         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
21634         * math/w_remainderf.c (dremf): Define as weak alias of
21635         __remainderf.
21636         * math/w_remainderl.c (dreml): Define as weak alias of
21637         __remainderl.
21638         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
21639         __remainder.
21640         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
21641         __remainderf.
21642         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
21643         __remainderl.
21644         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
21645         weak alias of remainderl.
21646         * sysdeps/ieee754/ldbl-opt/w_remainder.c
21647         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
21648         alias of __remainder.
21649         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
21650         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
21651         strong alias of __remainderl.
21652         (dreml): Use long_double_symbol.
21653         * math/Makefile (libm-calls): Remove w_drem.
21654         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
21655         (CFLAGS-nldbl-drem.c): Remove variable.
21656         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
21657         * math/w_drem.c: Remove file.
21658         * math/w_dremf.c: Likewise.
21659         * math/w_dreml.c: Likewise.
21660         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
21661         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
21662         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
21664         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
21665         * sysdeps/i386/configure: Regenerated.
21666         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
21667         * sysdeps/x86_64/configure: Regenerated.
21669         * configure.ac (libc_cv_asm_protected_directive): Remove configure
21670         test.
21671         (libc_cv_visibility_attribute): Likewise.
21672         (libc_cv_protected_data): Test unconditionally.
21673         (libc_cv_broken_visibility_attribute): Remove configure test.
21674         (libc_cv_have_sdata_section): Test unconditionally.
21675         * configure: Regenerated.
21677         * include/libc-internal.h (libc_max_align_t): Remove typedef.
21678         * include/scratch_buffer.h: Include <stddef.h> instead of
21679         <libc-internal.h>.
21680         (struct scratch_buffer): Use max_align_t instead of
21681         libc_max_align_t.
21683 2015-10-29  Florian Weimer  <fweimer@redhat.com>
21685         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
21686         instead of extend_alloca.  Change control flow to avoid a goto.
21687         Remove assert which is trivially always true.
21689 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
21691         [BZ #16068]
21692         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
21693         (FE_ALL_EXCEPT_X86): New macro.
21694         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
21695         FE_ALL_EXCEPT.  Ensure precision control is included in
21696         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
21697         handle "denormal operand exception" and clear FZ and DAZ bits.
21698         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
21699         (FE_ALL_EXCEPT_X86): New macro.
21700         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
21701         FE_ALL_EXCEPT.  Ensure precision control is included in
21702         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
21703         handle "denormal operand exception" and clear FZ and DAZ bits.
21704         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
21705         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
21706         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
21707         test-fenv-x87 and test-fenv-sse-2.
21708         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
21710         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
21711         * math/test-double.h (BUILD_COMPLEX): New macro.
21712         * math/test-float.h (BUILD_COMPLEX): Likewise.
21713         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
21715         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
21716         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
21717         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
21718         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
21719         instead of DBL_DENORM_MIN in comment.
21720         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
21721         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
21722         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
21723         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
21724         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
21725         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
21727 2015-10-28  Florian Weimer  <fweimer@redhat.com>
21729         [BZ #19048]
21730         * malloc/malloc.c (struct malloc_state): Update comment.  Add
21731         attached_threads member.
21732         (main_arena): Initialize attached_threads.
21733         * malloc/arena.c (list_lock): Update comment.
21734         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
21735         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
21736         (deattach_arena): New function.
21737         (_int_new_arena): Initialize arena reference count and deattach
21738         replaced arena.
21739         (get_free_list, reused_arena): Update reference count and deattach
21740         replaced arena.
21741         (arena_thread_freeres): Update arena reference count and only put
21742         unreferenced arenas on the free list.
21744 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
21746         [BZ #19181]
21747         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
21748         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
21749         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
21750         * math/test-fenv-clear-main.c: New file.
21751         * math/test-fenv-clear.c: Likewise.
21752         * math/Makefile (tests): Add test-fenv-clear.
21753         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
21754         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
21755         test-fenv-clear-sse.
21756         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
21758         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
21759         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
21760         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
21762 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21764         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
21765         static libc.
21767 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
21769         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
21770         test.
21771         * sysdeps/i386/configure: Regenerated.
21772         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
21773         test.
21774         * sysdeps/x86_64/configure: Regenerated.
21775         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
21776         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21777         memset-avx2 unconditionally instead of conditionally on
21778         [$(config-cflags-avx2) = yes].
21779         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21780         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
21781         unconditional.
21782         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
21783         * sysdeps/x86_64/multiarch/memset_chk.S
21784         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
21785         to [IS_IN (libc) && SHARED].
21787 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
21789         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
21790         configure test.
21791         * sysdeps/arm/configure: Regenerated.
21792         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
21793         Define variable if not already defined.
21795         [BZ #17404]
21796         * sysdeps/mips/atomic-machine.h
21797         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
21798         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
21799         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
21801         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
21802         unconditional.
21803         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
21804         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21805         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
21806         unconditional.
21807         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21808         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
21809         unconditional.
21810         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21811         * stdlib/setenv.c
21812         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
21813         code unconditional.
21814         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
21815         Remove conditional code.
21816         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
21817         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
21818         unconditional.
21819         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
21820         code.
21821         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
21822         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
21823         unconditional.
21824         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
21825         code.
21826         * sysdeps/ieee754/ldbl-128/k_tanl.c
21827         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
21828         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21829         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
21830         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
21831         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21832         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
21833         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
21834         unconditional.
21835         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
21836         code.
21837         * sysdeps/ieee754/ldbl-96/k_tanl.c
21838         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
21839         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21841         * nptl/tst-initializers1-c11.c: New file.
21842         * nptl/tst-initializers1-gnu11.c: Likewise.
21843         * nptl/Makefile (tests): Add these new tests.
21844         (CFLAGS-tst-initializers1-c11.c): New variable.
21845         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
21847         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
21848         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
21849         instead of -std=gnu99.
21850         * configure.ac (systemtap): Test with -std=gnu11 instead of
21851         -std=gnu99.
21852         * configure: Regenerated.
21853         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
21854         in compilation command in comment.
21856         * sysdeps/nptl/configure.ac: Remove file.
21857         * sysdeps/nptl/configure: Remove generated file.
21858         * configure.ac (libc_cv_forced_unwind): Do not substitute.
21859         * configure: Regenerated.
21860         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
21861         * config.make.in (have-forced-unwind): Remove variable.
21862         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
21863         unconditional.
21864         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
21865         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
21866         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
21867         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
21868         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
21869         unconditional.
21871 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21873         [BZ #19174]
21874         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
21875         .skip_lock_out_of_tbegin_retries.
21876         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
21877         (__lll_lock_elision): Likewise, and respect a value of
21878         try_tbegin <= 0.
21880 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21882         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
21883         statement.
21885 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
21887         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
21888         variable.
21889         (test-xfail-ISO11/stdalign.h/conform): Likewise.
21890         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
21892         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
21893         of -std=c1x -D_ISOC11_SOURCE.
21895         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
21896         * configure: Regenerated.
21897         * manual/install.texi (Tools for Compilation): Document
21898         requirement for GCC 4.7 or later.
21899         * INSTALL: Regenerated.
21901 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
21903         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
21904         on CNT to a conditional jump to 'puntdata'.
21906 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
21908         * configure.ac (libc_cv_gcc___thread): Remove configure test.
21909         (libc_cv_gcc_tls_model_attr): Likewise.
21910         * configure: Regenerated.
21912         * configure.ac (libc_cv_need_minus_P): Remove configure test.
21913         * configure: Regenerated.
21914         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
21916 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
21918         * configure.ac (old_glibc_headers): Remove configure test.
21919         * configure: Regenerated.
21920         * config.make.in (old-glibc-headers): Remove variable.
21921         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
21922         (install): Remove dependency on remove-old-headers.
21923         (headers2_0): Remove variable.
21924         (remove-old-headers): Remove rule.
21926         * configure.ac (libc_cv_dot_text): Remove configure test.
21927         (libc_cv_asm_set_directive): Use .text instead of
21928         ${libc_cv_dot_text} in configure test.
21929         * configure: Regenerated.
21931 2015-10-26  Florian Weimer  <fweimer@redhat.com>
21933         [BZ #19168]
21934         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21936 2015-10-26  Florian Weimer  <fweimer@redhat.com>
21938         * configure.ac (CXX): Clear the variable if the C++ toolchain does
21939         not support static linking.
21940         * configure: Regenerate.
21942 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
21944         * math/libm-test.inc (check_float_internal): Do not special-case
21945         errors up to 0.5 ulp.
21947         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
21948         log2.
21949         * math/auto-libm-test-out: Regenerated.
21950         * math/libm-test.inc (MAX_EXP): New macro.
21951         (ilogb_test_data): Add more tests.
21952         (isfinite_test_data): Likewise.
21953         (isgreater_test_data): Likewise.
21954         (isgreaterequal_test_data): Likewise.
21955         (isinf_test_data): Likewise.
21956         (isless_test_data): Likewise.
21957         (islessequal_test_data): Likewise.
21958         (islessgreater_test_data): Likewise.
21959         (isnan_test_data): Likewise.
21960         (isnormal_test_data): Likewise.
21961         (issignaling_test_data): Likewise.
21962         (isunordered_test_data): Likewise.
21963         (j0_test_data): Likewise.
21964         (j1_test_data): Likewise.
21965         (jn_test_data): Likewise.
21966         (lgamma_test_data): Likewise.
21967         (log_test_data): Likewise.
21968         (log10_test_data): Likewise.
21969         (log1p_test_data): Likewise.
21970         (log2_test_data): Likewise.
21971         (logb_test_data): Likewise.
21972         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21974         [BZ #18611]
21975         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
21976         avoid excess range and precision on underflow.
21977         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
21978         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
21979         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
21980         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
21981         underflow.
21982         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
21983         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21984         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21985         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
21986         * math/auto-libm-test-in: Do not allow missing errno setting for
21987         tests of j1 and jn.
21988         * math/auto-libm-test-out: Regenerated.
21990 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
21992         [BZ #15491]
21993         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
21994         floating-point environment instead of clearing all exceptions.
21995         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
21996         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
21997         merging in "invalid" exceptions from frndint.
21998         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
21999         * math/test-nearbyint-except.c: New file.
22000         * math/Makefile (tests): Add test-nearbyint-except.
22002 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
22004         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
22006         * sysdeps/tile/libm-test-ulps: Regenerated.
22008 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
22011         (__NR_sync_file_range2): Assume it is always defined.
22012         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
22013         (__NR_sync_file_range): Assume it is always defined.
22015 2015-10-22  Andreas Schwab  <schwab@suse.de>
22017         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
22018         INTERNAL_SYSCALL_ERRNO.
22019         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22020         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
22021         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22022         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
22023         Likewise.
22024         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22026 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
22028         * io/tst-fcntl.c (fd): New static variable.
22029         (do_prepare): Open temporary file here....
22030         (do_test): ...not here.
22032         * io/ftwtest-sh: Also trap on exit to remove temporary files.
22034 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
22036         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
22037         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
22038         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
22039         Moved before "#ifdef __ASSEMBLER__".
22041 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
22043         [BZ #19156]
22044         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
22045         arguments very close to 0.
22047 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
22049         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
22050         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
22052 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
22054         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
22055         New.  Defined for GCC 5 and above when not compiling for
22056         profiling.
22057         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
22059         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
22060         Renamed to ...
22061         (CFLAGS-epoll_pwait.o): This.
22062         (CFLAGS-mmap.c): Renamed to ...
22063         (CFLAGS-mmap.o): This.
22064         (CFLAGS-mmap64.c): Renamed to ...
22065         (CFLAGS-mmap64.o): This.
22066         (CFLAGS-epoll_pwait.os): New.
22067         (CFLAGS-mmap.os): Likewise.
22068         (CFLAGS-mmap64.os): Likewise.
22069         (CFLAGS-semtimedop.os): Likewise.
22070         (CFLAGS-semtimedop.c): Renamed to ...
22071         (CFLAGS-semtimedop.o): This.
22073 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22075         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
22076         warning message.
22078 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
22080         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
22081         * Makefile ($(objpfx)c++-types-check.out): Filter out
22082         $(+gccwarn-c) instead of -Wstrict-prototypes.
22084         * io/fts.c (fts_open): Convert to prototype-style function
22085         definition.
22086         * malloc/mcheck.c (mcheck): Likewise.
22087         (mcheck_pedantic): Likewise.
22088         * posix/regexec.c (re_search_2_stub): Likewise.  Use
22089         internal_function.
22090         (re_search_internal): Likewise.
22091         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
22092         prototype-style function definition.
22093         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
22094         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
22095         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
22096         (xdr_utmpptr): Likewise.
22097         (xdr_utmparr): Likewise.
22098         (xdr_utmpidle): Likewise.
22099         (xdr_utmpidleptr): Likewise.
22100         (xdr_utmpidlearr): Likewise.
22102         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
22103         log, log10 and log2.
22104         * math/auto-libm-test-out: Regenerated.
22105         * math/libm-test.inc (fmod_test_data): Add more tests.
22106         (fpclassify_test_data): Likewise.
22107         (frexp_test_data): Likewise.
22108         (hypot_test_data): Likewise.
22109         (ilogb_test_data): Likewise.
22111 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
22113         * debug/fortify_fail.c (__fortify_fail): Convert to
22114         prototype-style function definition.  Use internal_function.
22115         * libio/genops.c (save_for_backup): Convert to prototype-style
22116         function definition.
22117         * libio/wgenops.c (save_for_wbackup): Likewise.
22118         * login/grantpt.c (grantpt): Likewise.
22119         * login/ptsname.c (ptsname): Likewise.
22120         (__ptsname_r): Likewise.
22121         * login/unlockpt.c (unlockpt): Likewise.
22122         * mach/msgserver.c (__mach_msg_server): Likewise.
22123         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
22124         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
22125         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
22126         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
22127         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
22128         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
22129         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
22130         Likewise.
22131         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
22132         internal_function.
22133         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
22134         prototype-style function definition.
22135         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
22136         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
22137         (__pthread_create_2_0): Likewise.
22138         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
22139         * nptl/register-atfork.c (__register_atfork): Likewise.
22140         * posix/glob.c (glob): Likewise.
22141         * posix/regcomp.c (re_comp): Likewise.
22142         * posix/regexec.c (re_exec): Likewise.
22143         * stdlib/add_n.c [__STDC__]: Make code unconditional.
22144         [!__STDC__]: Remove conditional code.
22145         * stdlib/cmp.c [__STDC__]: Make code unconditional.
22146         [!__STDC__]: Remove conditional code.
22147         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
22148         [!__STDC__]: Remove conditional code.
22149         * stdlib/divrem.c [__STDC__]: Make code unconditional.
22150         [!__STDC__]: Remove conditional code.
22151         * stdlib/lshift.c [__STDC__]: Make code unconditional.
22152         [!__STDC__]: Remove conditional code.
22153         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
22154         [!__STDC__]: Remove conditional code.
22155         * stdlib/mul.c [__STDC__]: Make code unconditional.
22156         [!__STDC__]: Remove conditional code.
22157         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
22158         [!__STDC__]: Remove conditional code.
22159         * stdlib/rshift.c [__STDC__]: Make code unconditional.
22160         [!__STDC__]: Remove conditional code.
22161         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
22162         function definition.
22163         (STRTOF): Likewise.
22164         * stdlib/strtod_l.c (__STRTOF): Likewise.
22165         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
22166         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
22167         (__strtol_l): Likewise.
22168         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
22169         [!__STDC__]: Remove conditional code.
22170         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
22171         definition.
22172         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
22173         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
22174         type.
22175         (__strcasecmp): Convert to prototype-style function definition.
22176         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
22177         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
22178         type.
22179         (__strncasecmp): Convert to prototype-style function definition.
22180         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
22181         * sunrpc/xdr.c (xdr_union): Likewise.
22182         * sunrpc/xdr_array.c (xdr_array): Likewise.
22183         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
22184         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
22185         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
22186         Likewise.
22187         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
22188         Likewise.
22189         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
22190         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
22191         Likewise.
22192         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
22193         (LOCALE_PARAM_PROTO): Likewise.
22194         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
22195         argument type.
22196         (ut_argument_spec): Remove macro.
22197         (ut_argument_spec_iso): Rename to ut_argument_spec.
22198         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
22199         prototype-style function definition.
22200         (memcpy_uppcase): Likewise.
22201         (__strftime_internal): Likewise.
22202         (my_strftime): Likewise.
22203         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
22204         (LOCALE_PARAM_DECL): Likewise.
22205         [_LIBC] (LOCALE_PARAM): Include argument type.
22206         (__strptime_internal): Convert to prototype-style function
22207         definition.
22208         (strptime): Likewise.
22209         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
22210         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
22211         type.
22212         (__wcscasecmp): Convert to prototype-style function definition.
22213         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
22214         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
22215         type.
22216         (__wcsncasecmp): Convert to prototype-style function definition.
22218         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
22219         function definition.
22220         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22221         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22222         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
22223         * elf/dl-minimal.c (_itoa): Likewise.
22224         * hurd/hurdmalloc.c (malloc): Likewise.
22225         (free): Likewise.
22226         (realloc): Likewise.
22227         * inet/inet6_option.c (inet6_option_space): Likewise.
22228         (inet6_option_init): Likewise.
22229         (inet6_option_append): Likewise.
22230         (inet6_option_alloc): Likewise.
22231         (inet6_option_next): Likewise.
22232         (inet6_option_find): Likewise.
22233         * io/ftw.c (FTW_NAME): Likewise.
22234         (NFTW_NAME): Likewise.
22235         (NFTW_NEW_NAME): Likewise.
22236         (NFTW_OLD_NAME): Likewise.
22237         * libio/iofwide.c (_IO_fwide): Likewise.
22238         * libio/strops.c (_IO_str_init_static_internal): Likewise.
22239         (_IO_str_init_static): Likewise.
22240         (_IO_str_init_readonly): Likewise.
22241         (_IO_str_overflow): Likewise.
22242         (_IO_str_underflow): Likewise.
22243         (_IO_str_count): Likewise.
22244         (_IO_str_seekoff): Likewise.
22245         (_IO_str_pbackfail): Likewise.
22246         (_IO_str_finish): Likewise.
22247         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
22248         (_IO_wstr_overflow): Likewise.
22249         (_IO_wstr_underflow): Likewise.
22250         (_IO_wstr_count): Likewise.
22251         (_IO_wstr_seekoff): Likewise.
22252         (_IO_wstr_pbackfail): Likewise.
22253         (_IO_wstr_finish): Likewise.
22254         * locale/programs/localedef.c (normalize_codeset): Likewise.
22255         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
22256         (add_locales_to_archive): Likewise.
22257         (delete_locales_from_archive): Likewise.
22258         * malloc/malloc.c (__libc_mallinfo): Likewise.
22259         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
22260         * misc/tsearch.c (__tfind): Likewise.
22261         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
22262         * nptl/pthread_attr_getdetachstate.c
22263         (__pthread_attr_getdetachstate): Likewise.
22264         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
22265         Likewise.
22266         * nptl/pthread_attr_getinheritsched.c
22267         (__pthread_attr_getinheritsched): Likewise.
22268         * nptl/pthread_attr_getschedparam.c
22269         (__pthread_attr_getschedparam): Likewise.
22270         * nptl/pthread_attr_getschedpolicy.c
22271         (__pthread_attr_getschedpolicy): Likewise.
22272         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
22273         Likewise.
22274         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
22275         Likewise.
22276         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
22277         Likewise.
22278         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
22279         Likewise.
22280         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
22281         (__pthread_attr_init_2_0): Likewise.
22282         * nptl/pthread_attr_setdetachstate.c
22283         (__pthread_attr_setdetachstate): Likewise.
22284         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
22285         Likewise.
22286         * nptl/pthread_attr_setinheritsched.c
22287         (__pthread_attr_setinheritsched): Likewise.
22288         * nptl/pthread_attr_setschedparam.c
22289         (__pthread_attr_setschedparam): Likewise.
22290         * nptl/pthread_attr_setschedpolicy.c
22291         (__pthread_attr_setschedpolicy): Likewise.
22292         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
22293         Likewise.
22294         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
22295         Likewise.
22296         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
22297         Likewise.
22298         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
22299         Likewise.
22300         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
22301         Likewise.
22302         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
22303         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
22304         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
22305         use internal_function.
22306         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
22307         prototype-style function definition.
22308         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
22309         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
22310         internal_function.
22311         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
22312         Convert to prototype-style function definition.
22313         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
22314         Likewise.
22315         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
22316         Likewise.
22317         (__pthread_mutex_unlock): Likewise.
22318         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
22319         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
22320         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
22321         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
22322         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
22323         * nss/makedb.c (process_input): Likewise.
22324         * posix/fnmatch.c (__strchrnul): Likewise.
22325         (__wcschrnul): Likewise.
22326         (fnmatch): Likewise.
22327         * posix/fnmatch_loop.c (FCT): Likewise.
22328         * posix/glob.c (globfree): Likewise.
22329         (__glob_pattern_type): Likewise.
22330         (__glob_pattern_p): Likewise.
22331         * posix/regcomp.c (re_compile_pattern): Likewise.
22332         (re_set_syntax): Likewise.
22333         (re_compile_fastmap): Likewise.
22334         (regcomp): Likewise.
22335         (regerror): Likewise.
22336         (regfree): Likewise.
22337         * posix/regexec.c (regexec): Likewise.
22338         (re_match): Likewise.
22339         (re_search): Likewise.
22340         (re_match_2): Likewise.
22341         (re_search_2): Likewise.
22342         (re_search_stub): Likewise.  Use internal_function
22343         (re_copy_regs): Likewise.
22344         (re_set_registers): Convert to prototype-style function
22345         definition.
22346         (prune_impossible_nodes): Likewise.  Use internal_function.
22347         * resolv/inet_net_pton.c (inet_net_pton): Convert to
22348         prototype-style function definition.
22349         (inet_net_pton_ipv4): Likewise.
22350         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22351         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
22352         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
22353         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
22354         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
22355         Make variadic.
22356         * time/strptime_l.c (localtime_r): Convert to prototype-style
22357         function definition.
22358         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
22359         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
22360         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
22361         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
22363         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
22364         definition.
22365         (_ufc_doit_r): Likewise.
22366         * crypt/crypt_util.c (_ufc_copymem): Likewise.
22367         (_ufc_output_conversion_r): Likewise.
22368         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
22369         * inet/rcmd.c (rcmd_af): Likewise.
22370         (rcmd): Likewise.
22371         (ruserok_af): Likewise.
22372         (ruserok): Likewise.
22373         (ruserok2_sa): Likewise.
22374         (ruserok_sa): Likewise.
22375         (iruserok_af): Likewise.
22376         (iruserok): Likewise.
22377         (__ivaliduser): Likewise.
22378         (__validuser2_sa): Likewise.
22379         * inet/rexec.c (rexec_af): Likewise.
22380         (rexec): Likewise.
22381         * inet/ruserpass.c (ruserpass): Likewise.
22382         * locale/programs/xmalloc.c (xcalloc): Likewise.
22383         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
22384         * math/w_drem.c (__drem): Likewise.
22385         * math/w_dremf.c (__dremf): Likewise.
22386         * math/w_dreml.c (__dreml): Likewise.
22387         * misc/daemon.c (daemon): Likewise.
22388         * resolv/res_debug.c (p_fqnname): Likewise.
22389         * stdlib/div.c (div): Likewise.
22390         * string/memcmp.c (memcmp_bytes): Likewise.
22391         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
22392         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
22394         * crypt/cert.c (main): Convert to prototype-style function
22395         definition.
22396         * io/pipe.c (__pipe): Likewise.
22397         * io/pipe2.c (__pipe2): Likewise.
22398         * misc/futimesat.c (futimesat): Likewise.
22399         * misc/utimes.c (__utimes): Likewise.
22400         * posix/execve.c (__execve): Likewise.
22401         * posix/execvp.c (execvp): Likewise.
22402         * posix/execvpe.c (__execvpe): Likewise.
22403         * posix/fexecve.c (fexecve): Likewise.
22404         * socket/socketpair.c (socketpair): Likewise.
22405         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
22406         * stdlib/erand48.c (erand48): Likewise.
22407         * stdlib/erand48_r.c (__erand48_r): Likewise.
22408         * stdlib/jrand48.c (jrand48): Likewise.
22409         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
22410         * stdlib/lcong48.c (lcong48): Likewise.
22411         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
22412         * stdlib/nrand48.c (nrand48): Likewise.
22413         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
22414         * stdlib/seed48.c (seed48): Likewise.
22415         * stdlib/seed48_r.c (__seed48_r): Likewise.
22416         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
22417         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
22418         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
22420 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
22422         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
22423         * configure: Regenerated.
22424         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
22425         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
22426         unconditional.
22427         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
22428         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
22429         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
22430         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
22431         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
22432         unconditional.
22433         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
22435         * posix/Makefile (CFLAGS-regex.c): Remove variable.
22436         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
22438         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
22439         function definition.
22440         * crypt/crypt_util.c (__encrypt_r): Likewise.
22441         * libio/genops.c (_IO_no_init): Likewise.
22442         * libio/iofopncook.c (_IO_fopencookie): Likewise.
22443         (_IO_old_fopencookie): Likewise.
22444         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
22445         * libio/iogetline.c (_IO_getline): Likewise.
22446         (_IO_getline_info): Likewise.
22447         * libio/iogetwline.c (_IO_getwline): Likewise.
22448         (_IO_getwline_info): Likewise.
22449         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
22450         * libio/vswprintf.c (_IO_vswprintf): Likewise.
22451         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
22452         (find_entry): Likewise.
22453         (iterate_table): Likewise.
22454         (lookup): Likewise.
22455         * login/forkpty.c (forkpty): Likewise.
22456         * misc/hsearch_r.c (__hsearch_r): Likewise.
22457         * misc/select.c (__select): Likewise.
22458         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
22459         Likewise.
22460         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
22461         Likewise.
22462         * nptl/old_pthread_cond_timedwait.c
22463         (__pthread_cond_timedwait_2_0): Likewise.
22464         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
22465         * nptl/pthread_barrierattr_getpshared.c
22466         (pthread_barrierattr_getpshared): Likewise.
22467         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
22468         Likewise.
22469         * nptl/pthread_mutex_setprioceiling.c
22470         (pthread_mutex_setprioceiling): Likewise.
22471         * nptl/pthread_mutexattr_getprioceiling.c
22472         (pthread_mutexattr_getprioceiling): Likewise.
22473         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
22474         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
22475         Likewise.
22476         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
22477         Likewise.
22478         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
22479         Likewise.
22480         * socket/recvfrom.c (__recvfrom): Likewise.
22481         * socket/sendto.c (__sendto): Likewise.
22482         * socket/setsockopt.c (__setsockopt): Likewise.
22483         * stdio-common/_itoa.c (_itoa): Likewise.
22484         * stdio-common/_itowa.c (_itowa): Likewise.
22485         * stdio-common/reg-printf.c (__register_printf_specifier):
22486         Likewise.
22487         (__register_printf_function): Likewise.
22488         * stdio-common/tempname.c (__path_search): Likewise.
22489         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
22490         * stdlib/mul_1.c (mpn_mul_1): Likewise.
22491         * stdlib/random_r.c (__initstate_r): Likewise.
22492         * stdlib/setenv.c (__add_to_environ): Likewise.
22493         * stdlib/submul_1.c (mpn_submul_1): Likewise.
22494         * streams/getpmsg.c (getpmsg): Likewise.
22495         * streams/putmsg.c (putmsg): Likewise.
22496         * streams/putpmsg.c (putpmsg): Likewise.
22497         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
22498         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
22499         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
22500         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
22501         * sunrpc/pm_getport.c (pmap_getport): Likewise.
22502         * sunrpc/svc_udp.c (cache_get): Likewise.
22503         * sunrpc/xdr_array.c (xdr_vector): Likewise.
22504         * sysdeps/mach/hurd/getcwd.c
22505         (__canonicalize_directory_name_internal): Likewise.
22506         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
22507         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
22508         * sysdeps/mach/hurd/select.c (__select): Likewise.
22509         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
22510         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
22511         * sysdeps/sparc/nptl/pthread_barrier_init.c
22512         (__pthread_barrier_init): Likewise.
22513         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
22514         (__pthread_cond_timedwait): Likewise.
22515         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
22516         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
22517         Likewise.
22518         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
22519         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
22520         Likewise.
22521         * sysvipc/semtimedop.c (semtimedop): Likewise.
22522         * time/setitimer.c (__setitimer): Likewise.
22523         * time/strftime_l.c (emacs_strftime): Likewise.
22525 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
22527         * config.make.in (have-ssp): Delete.
22528         (stack-protector): New variable.
22529         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
22530         cache test for -fstack-protector-strong.  Export stack_protector to
22531         the best ssp flag.
22532         * configure: Regenerated.
22533         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
22534         * nscd/Makefile (CFLAGS-nscd): Likewise.
22535         * resolv/Makefile (CFLAGS-libresolv): Likewise.
22537 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
22539         [BZ #19122]
22540         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
22541         attribute_hidden.
22543 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22545         [BZ #18743]
22546         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
22547         code to...
22548         (ELIDE_LOCK): ...here.
22549         (__get_new_count): New function with part of the code from
22550         __elide_lock that updates the value of adapt_count after a
22551         transaction abort.
22552         (__elided_trylock): Moved this code to...
22553         (ELIDE_TRYLOCK): ...here.
22555 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
22557         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
22558         * configure: Regenerate.
22559         * INSTALL: Regenerate.
22560         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
22561         and tweak grammar.
22563 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
22565         * login/programs/pt_chown.c: Include signal.h
22566         (main): Clear any signal mask from the parent process.
22568 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
22570         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
22571         * configure: Regenerated.
22572         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
22573         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
22574         $(gnu89-inline-CFLAGS).
22576         * configure.ac (libc_cv_asm_weak_directive): Remove configure
22577         test.
22578         (libc_cv_asm_weakext_directive): Likewise.
22579         * configure: Regenerated.
22580         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
22581         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
22582         * include/libc-symbols.h
22583         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
22584         #error.
22585         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
22586         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
22588         * sysdeps/arm/backtrace.c (__backtrace): Convert to
22589         prototype-style function definition.
22590         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
22591         * sysdeps/i386/ffs.c (__ffs): Likewise.
22592         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
22593         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
22594         Likewise.
22595         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
22596         Likewise.
22597         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
22598         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
22599         Likewise.
22600         * sysdeps/m68k/ffs.c (__ffs): Likewise.
22601         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
22602         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
22603         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
22604         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
22605         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
22606         * sysdeps/mach/hurd/access.c (__access): Likewise.
22607         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
22608         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
22609         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
22610         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
22611         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
22612         (cthread_getspecific): Likewise.
22613         (cthread_setspecific): Likewise.
22614         (__libc_getspecific): Likewise.
22615         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
22616         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
22617         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
22618         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
22619         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
22620         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
22621         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
22622         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
22623         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
22624         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
22625         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
22626         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
22627         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
22628         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
22629         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
22630         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
22631         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
22632         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
22633         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
22634         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
22635         * sysdeps/mach/hurd/link.c (__link): Likewise.
22636         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
22637         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
22638         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
22639         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
22640         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
22641         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
22642         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
22643         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
22644         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
22645         * sysdeps/mach/hurd/rename.c (rename): Likewise.
22646         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
22647         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
22648         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
22649         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
22650         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
22651         * sysdeps/mach/hurd/send.c (__send): Likewise.
22652         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
22653         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
22654         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
22655         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
22656         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
22657         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
22658         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
22659         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
22660         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
22661         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
22662         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
22663         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
22664         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
22665         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
22666         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
22667         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
22668         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
22669         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
22670         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
22671         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
22672         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
22673         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
22674         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
22675         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
22676         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
22677         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
22678         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
22679         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
22680         * sysdeps/posix/alarm.c (alarm): Likewise.
22681         * sysdeps/posix/cuserid.c (cuserid): Likewise.
22682         * sysdeps/posix/dirfd.c (dirfd): Likewise.
22683         * sysdeps/posix/dup.c (__dup): Likewise.
22684         * sysdeps/posix/dup2.c (__dup2): Likewise.
22685         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
22686         (main): Likewise.
22687         * sysdeps/posix/flock.c (__flock): Likewise.
22688         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
22689         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
22690         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
22691         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
22692         * sysdeps/posix/isatty.c (__isatty): Likewise.
22693         * sysdeps/posix/killpg.c (killpg): Likewise.
22694         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
22695         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
22696         * sysdeps/posix/raise.c (raise): Likewise.
22697         * sysdeps/posix/remove.c (remove): Likewise.
22698         * sysdeps/posix/rename.c (rename): Likewise.
22699         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
22700         * sysdeps/posix/seekdir.c (seekdir): Likewise.
22701         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
22702         * sysdeps/posix/sigignore.c (sigignore): Likewise.
22703         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
22704         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
22705         * sysdeps/posix/sigset.c (sigset): Likewise.
22706         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
22707         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
22708         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
22709         * sysdeps/posix/time.c (time): Likewise.
22710         * sysdeps/posix/ttyname.c (getttyname): Likewise.
22711         (ttyname): Likewise.
22712         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
22713         * sysdeps/posix/utime.c (utime): Likewise.
22714         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
22715         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
22716         Likewise.
22717         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
22718         (pthread_spin_trylock): Likewise.
22719         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
22720         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
22721         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
22722         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
22723         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
22724         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
22725         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
22726         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
22727         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
22728         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
22729         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
22730         * sysdeps/s390/ffs.c (__ffs): Likewise.
22731         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
22732         Likewise.
22733         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
22734         Likewise.
22735         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
22736         Likewise.
22737         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
22738         (pthread_barrier_destroy): Likewise.
22739         * sysdeps/sparc/nptl/pthread_barrier_wait.c
22740         (__pthread_barrier_wait): Likewise.
22741         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
22742         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
22743         (__pthread_barrier_wait): Likewise.
22744         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
22745         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
22746         (memcmp_not_common_alignment): Likewise.
22747         (MEMCMP): Likewise.
22748         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
22749         (_wordcopy_fwd_dest_aligned): Likewise.
22750         (_wordcopy_bwd_aligned): Likewise.
22751         (_wordcopy_bwd_dest_aligned): Likewise.
22752         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
22753         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
22754         * sysdeps/unix/bsd/stty.c (stty): Likewise.
22755         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
22756         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
22757         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
22758         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
22759         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
22760         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
22761         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
22762         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
22763         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
22764         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
22765         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
22766         * sysdeps/unix/stime.c (stime): Likewise.
22767         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
22768         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
22769         Likewise.  Use internal_function.
22770         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
22771         Convert to prototype-style function definition.
22772         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22773         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22774         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
22775         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22776         Likewise.  Use internal_function.
22777         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
22778         prototype-style function definition
22779         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22780         Likewise.
22781         (__getlogin_r): Likewise.
22782         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
22783         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
22784         (__pthread_cond_broadcast): Likewise.
22785         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
22786         (__pthread_cond_destroy): Likewise.
22787         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
22788         (__pthread_cond_init): Likewise.
22789         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
22790         (__pthread_cond_signal): Likewise.
22791         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
22792         (__pthread_cond_wait): Likewise.
22793         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
22794         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
22795         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
22796         Likewise.
22797         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
22798         Likewise.
22799         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
22800         Likewise.
22801         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
22802         Likewise.
22803         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
22804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
22805         (__ftruncate64): Likewise.
22806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
22807         (truncate64): Likewise.
22808         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
22809         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
22810         (pthread_getcpuclockid): Likewise.
22811         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
22812         Likewise.
22813         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
22814         Likewise.
22815         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
22816         Likewise.
22817         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
22818         Likewise.
22819         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
22820         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
22821         (__libc_sigaction): Likewise.
22822         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
22823         Likewise.
22824         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
22825         (__sigprocmask): Likewise.
22826         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
22827         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
22828         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
22829         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
22830         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22831         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
22832         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22833         Likewise.
22834         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
22835         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
22836         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22837         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
22838         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
22839         Likewise.
22840         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
22841         (__sigprocmask): Likewise.
22842         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
22843         (cfgetispeed): Likewise.
22844         (cfsetospeed): Likewise.
22845         (cfsetispeed): Likewise.
22846         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
22847         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
22848         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
22849         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
22850         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
22851         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
22852         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
22853         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
22854         Likewise.
22855         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
22856         Likewise.
22857         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
22858         Likewise.
22859         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
22860         Likewise.
22861         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
22863 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22865         sunrpc: Rewrite with explicit TLS access using __thread.
22866         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
22867         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
22868         directly.
22869         (__rpc_thread_variables): Access thread_rpc_vars directly.
22870         Eliminate redundant assignment of the tvp variable.
22872 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22874         malloc: Rewrite with explicit TLS access using __thread.
22875         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
22876         (tsd_setspecific, tsd_getspecific): Remove.
22877         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
22878         (tsd_setspecific, tsd_getspecific): Likewise.
22879         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
22880         (tsd_setspecific, tsd_getspecific): Likewise.
22881         * malloc/arena.c (thread_arena): New TLS variable.
22882         (arena_key): Remove variable.
22883         (arena_get): Use thread_arena.
22884         (arena_lookup): Remove macro.
22885         (malloc_atfork, free_atfork, ptmalloc_lock_all)
22886         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
22887         (_int_new_arena, get_free_list, reused_arena)
22888         (arena_thread_freeres): Use thread_arena.
22889         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
22890         tsd_getspecific, tsd_setspecific from safety annotations.
22891         (Allocating Cleared Space): Remove arena_lookup from safety
22892         annotations.
22894 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22896         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
22897         struct scratch_buffer instead of extend_alloca.
22899 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22901         * sysdeps/unix/sysv/linux/kernel-features.h
22902         (__ASSUME_SOCK_CLOEXEC): Remove.
22903         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
22904         (__have_paccept): Remove unused macro.
22905         * include/unistd.h (__have_sock_cloexec): Remove declaration.
22906         * misc/syslog.c (openlog_internal): Remove fallback code for
22907         !__ASSUME_SOCK_CLOEXEC.
22908         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
22909         missing SOCK_CLOEXEC.
22910         * nscd/connections.c (have_sock_cloexec): Remove definition.
22911         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
22912         * nscd/nscd_helper.c (open_socket): Remove fallback code for
22913         !__ASSUME_SOCK_CLOEXEC.
22914         * resolv/res_send.c (__have_o_nonblock): Remove definition.
22915         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
22916         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
22917         definition.
22918         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
22919         code for !__ASSUME_SOCK_CLOEXEC.
22921 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22923         [BZ #18982]
22924         * manual/stdio.texi (Variable Arguments Output): Add portability
22925         note, explaining that vfprintf clobbers the va_list pointer.
22927 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
22929         * math/libm-test.inc (fabs_test_data): Add more tests.
22930         (fdim_test_data): Likewise.
22931         (fma_test_data): Likewise.
22932         (fmax_test_data): Likewise.
22933         (fmin_test_data): Likewise.
22934         (fmod_test_data): Likewise.
22936 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
22938         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
22939         data.
22941 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
22943         * math/libm-test.inc (ceil_test_data): Add more tests and more
22944         expectations for "inexact".
22945         (floor_test_data): Add more tests.
22946         (round_test_data): Likewise.
22947         (trunc_test_data): Likewise.
22949         * crypt/cert.c (good_bye): Convert to prototype-style function
22950         definition.
22951         (get8): Likewise.
22952         (put8): Likewise.
22953         * crypt/crypt-entry.c (crypt): Likewise.
22954         (__fcrypt): Likewise.
22955         * crypt/crypt_util.c (_ufc_prbits): Likewise.
22956         (_ufc_set_bits): Likewise.
22957         (_ufc_clearmem): Likewise.
22958         (__init_des_r): Likewise.
22959         (shuffle_sb): Likewise.
22960         (shuffle_sb): Likewise.
22961         (_ufc_setup_salt_r): Likewise.
22962         (_ufc_mk_keytab_r): Likewise.
22963         (_ufc_dofinalperm_r): Likewise.
22964         (encrypt): Likewise.
22965         (__setkey_r): Likewise.
22966         (setkey): Likewise.
22967         * crypt/md5.c (md5_init_ctx): Likewise.
22968         (md5_read_ctx): Likewise.
22969         (md5_finish_ctx): Likewise.
22970         (md5_stream): Likewise.
22971         (md5_buffer): Likewise.
22972         (md5_process_bytes): Likewise.
22973         * crypt/sha256.c (__sha256_init_ctx): Likewise.
22974         (__sha256_finish_ctx): Likewise.
22975         (__sha256_process_bytes): Likewise.
22976         * crypt/sha512.c (__sha512_init_ctx): Likewise.
22977         (__sha512_finish_ctx): Likewise.
22978         (__sha512_process_bytes): Likewise.
22979         * ctype/isctype.c (__isctype): Likewise.
22980         * debug/backtrace.c (__backtrace): Likewise.
22981         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
22982         * debug/fgets_chk.c (__fgets_chk): Likewise.
22983         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
22984         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
22985         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
22986         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
22987         * debug/memset_chk.c (__memset_chk): Likewise.
22988         * debug/strcat_chk.c (__strcat_chk): Likewise.
22989         * debug/strncat_chk.c (__strncat_chk): Likewise.
22990         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
22991         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
22992         * dirent/dirfd.c (dirfd): Likewise.
22993         * dirent/getdents.c (__getdirentries): Likewise.
22994         * dirent/getdents64.c (getdirentries64): Likewise.
22995         * dirent/rewinddir.c (__rewinddir): Likewise.
22996         * dirent/seekdir.c (seekdir): Likewise.
22997         * dirent/telldir.c (telldir): Likewise.
22998         * elf/sln.c (makesymlinks): Likewise.
22999         (makesymlink): Likewise.
23000         * gmon/gmon.c (__moncontrol): Likewise.
23001         (__monstartup): Likewise.
23002         (write_hist): Likewise.
23003         (write_call_graph): Likewise.
23004         (write_bb_counts): Likewise.
23005         * grp/setgroups.c (setgroups): Likewise.
23006         * inet/inet_lnaof.c (inet_lnaof): Likewise.
23007         * inet/inet_net.c (inet_network): Likewise.
23008         * inet/inet_netof.c (inet_netof): Likewise.
23009         * inet/rcmd.c (rresvport_af): Likewise.
23010         (rresvport): Likewise.
23011         * io/access.c (__access): Likewise.
23012         * io/chdir.c (__chdir): Likewise.
23013         * io/chmod.c (__chmod): Likewise.
23014         * io/chown.c (__chown): Likewise.
23015         * io/close.c (__close): Likewise.
23016         * io/creat.c (creat): Likewise.
23017         * io/creat64.c (creat64): Likewise.
23018         * io/dup.c (__dup): Likewise.
23019         * io/dup2.c (__dup2): Likewise.
23020         * io/dup3.c (__dup3): Likewise.
23021         * io/euidaccess.c (__euidaccess): Likewise.
23022         * io/faccessat.c (faccessat): Likewise.
23023         * io/fchmod.c (__fchmod): Likewise.
23024         * io/fchmodat.c (fchmodat): Likewise.
23025         * io/fchown.c (__fchown): Likewise.
23026         * io/fchownat.c (fchownat): Likewise.
23027         * io/fcntl.c (__fcntl): Likewise.
23028         * io/flock.c (__flock): Likewise.
23029         * io/fts.c (fts_load): Likewise.
23030         (fts_close): Likewise.
23031         (fts_read): Likewise.
23032         (fts_set): Likewise.
23033         (fts_children): Likewise.
23034         (fts_build): Likewise.
23035         (fts_stat): Likewise.
23036         (fts_sort): Likewise.
23037         (fts_alloc): Likewise.
23038         (fts_lfree): Likewise.
23039         (fts_palloc): Likewise.
23040         (fts_padjust): Likewise.
23041         (fts_maxarglen): Likewise.
23042         (fts_safe_changedir): Likewise.
23043         * io/getwd.c (getwd): Likewise.
23044         * io/isatty.c (__isatty): Likewise.
23045         * io/lchown.c (__lchown): Likewise.
23046         * io/link.c (__link): Likewise.
23047         * io/linkat.c (linkat): Likewise.
23048         * io/lseek.c (__libc_lseek): Likewise.
23049         * io/mkdir.c (__mkdir): Likewise.
23050         * io/mkdirat.c (mkdirat): Likewise.
23051         * io/mkfifo.c (mkfifo): Likewise.
23052         * io/mkfifoat.c (mkfifoat): Likewise.
23053         * io/open.c (__libc_open): Likewise.
23054         * io/open64.c (__libc_open64): Likewise.
23055         * io/readlink.c (__readlink): Likewise.
23056         * io/readlinkat.c (readlinkat): Likewise.
23057         * io/rmdir.c (__rmdir): Likewise.
23058         * io/symlink.c (__symlink): Likewise.
23059         * io/symlinkat.c (symlinkat): Likewise.
23060         * io/ttyname.c (ttyname): Likewise.
23061         * io/ttyname_r.c (__ttyname_r): Likewise.
23062         * io/umask.c (__umask): Likewise.
23063         * io/unlink.c (__unlink): Likewise.
23064         * io/unlinkat.c (unlinkat): Likewise.
23065         * io/utime.c (utime): Likewise.
23066         * libio/clearerr.c (clearerr): Likewise.
23067         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
23068         * libio/feof.c (_IO_feof): Likewise.
23069         * libio/feof_u.c (feof_unlocked): Likewise.
23070         * libio/ferror.c (_IO_ferror): Likewise.
23071         * libio/ferror_u.c (ferror_unlocked): Likewise.
23072         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
23073         * libio/fileno.c (__fileno): Likewise.
23074         * libio/fputc.c (fputc): Likewise.
23075         * libio/fputc_u.c (fputc_unlocked): Likewise.
23076         * libio/fputwc.c (fputwc): Likewise.
23077         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
23078         * libio/freopen.c (freopen): Likewise.
23079         * libio/freopen64.c (freopen64): Likewise.
23080         * libio/fseek.c (fseek): Likewise.
23081         * libio/fseeko.c (fseeko): Likewise.
23082         * libio/fseeko64.c (fseeko64): Likewise.
23083         * libio/ftello.c (__ftello): Likewise.
23084         * libio/ftello64.c (ftello64): Likewise.
23085         * libio/fwide.c (fwide): Likewise.
23086         * libio/genops.c (_IO_un_link): Likewise.
23087         (_IO_link_in): Likewise.
23088         (_IO_least_marker): Likewise.
23089         (_IO_switch_to_main_get_area): Likewise.
23090         (_IO_switch_to_backup_area): Likewise.
23091         (_IO_switch_to_get_mode): Likewise.
23092         (_IO_free_backup_area): Likewise.
23093         (_IO_switch_to_put_mode): Likewise.
23094         (__overflow): Likewise.
23095         (__underflow): Likewise.
23096         (__uflow): Likewise.
23097         (_IO_setb): Likewise.
23098         (_IO_doallocbuf): Likewise.
23099         (_IO_default_underflow): Likewise.
23100         (_IO_default_uflow): Likewise.
23101         (_IO_default_xsputn): Likewise.
23102         (_IO_sgetn): Likewise.
23103         (_IO_default_xsgetn): Likewise.
23104         (_IO_sync): Likewise.
23105         (_IO_default_setbuf): Likewise.
23106         (_IO_default_seekpos): Likewise.
23107         (_IO_default_doallocate): Likewise.
23108         (_IO_init): Likewise.
23109         (_IO_old_init): Likewise.
23110         (_IO_default_sync): Likewise.
23111         (_IO_default_finish): Likewise.
23112         (_IO_default_seekoff): Likewise.
23113         (_IO_sputbackc): Likewise.
23114         (_IO_sungetc): Likewise.
23115         (_IO_set_column): Likewise.
23116         (_IO_set_column): Likewise.
23117         (_IO_adjust_column): Likewise.
23118         (_IO_get_column): Likewise.
23119         (_IO_init_marker): Likewise.
23120         (_IO_remove_marker): Likewise.
23121         (_IO_marker_difference): Likewise.
23122         (_IO_marker_delta): Likewise.
23123         (_IO_seekmark): Likewise.
23124         (_IO_unsave_markers): Likewise.
23125         (_IO_nobackup_pbackfail): Likewise.
23126         (_IO_default_pbackfail): Likewise.
23127         (_IO_default_seek): Likewise.
23128         (_IO_default_stat): Likewise.
23129         (_IO_default_read): Likewise.
23130         (_IO_default_write): Likewise.
23131         (_IO_default_showmanyc): Likewise.
23132         (_IO_default_imbue): Likewise.
23133         (_IO_iter_next): Likewise.
23134         (_IO_iter_file): Likewise.
23135         * libio/getc.c (_IO_getc): Likewise.
23136         * libio/getwc.c (_IO_getwc): Likewise.
23137         * libio/iofclose.c (_IO_new_fclose): Likewise.
23138         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
23139         * libio/iofflush.c (_IO_fflush): Likewise.
23140         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
23141         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
23142         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
23143         * libio/iofgets.c (_IO_fgets): Likewise.
23144         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
23145         * libio/iofgetws.c (fgetws): Likewise.
23146         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
23147         * libio/iofopen64.c (_IO_fopen64): Likewise.
23148         * libio/iofopncook.c (_IO_cookie_read): Likewise.
23149         (_IO_cookie_write): Likewise.
23150         (_IO_cookie_seek): Likewise.
23151         (_IO_cookie_close): Likewise.
23152         (_IO_cookie_seekoff): Likewise.
23153         (_IO_old_cookie_seek): Likewise.
23154         * libio/iofputs.c (_IO_fputs): Likewise.
23155         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
23156         * libio/iofputws.c (fputws): Likewise.
23157         * libio/iofputws_u.c (fputws_unlocked): Likewise.
23158         * libio/iofread.c (_IO_fread): Likewise.
23159         * libio/iofread_u.c (__fread_unlocked): Likewise.
23160         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
23161         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
23162         * libio/ioftell.c (_IO_ftell): Likewise.
23163         * libio/iofwrite.c (_IO_fwrite): Likewise.
23164         * libio/iogetdelim.c (_IO_getdelim): Likewise.
23165         * libio/iogets.c (_IO_gets): Likewise.
23166         * libio/iopadn.c (_IO_padn): Likewise.
23167         * libio/iopopen.c (_IO_new_proc_open): Likewise.
23168         (_IO_new_popen): Likewise.
23169         (_IO_new_proc_close): Likewise.
23170         * libio/ioputs.c (_IO_puts): Likewise.
23171         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
23172         (_IO_seekoff): Likewise.
23173         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
23174         (_IO_seekpos): Likewise.
23175         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
23176         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
23177         * libio/ioungetc.c (_IO_ungetc): Likewise.
23178         * libio/ioungetwc.c (ungetwc): Likewise.
23179         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
23180         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
23181         * libio/iowpadn.c (_IO_wpadn): Likewise.
23182         * libio/libc_fatal.c (__libc_fatal): Likewise.
23183         * libio/memstream.c (__open_memstream): Likewise.
23184         (_IO_mem_sync): Likewise.
23185         (_IO_mem_finish): Likewise.
23186         * libio/oldfileops.c (_IO_old_file_init): Likewise.
23187         (_IO_old_file_close_it): Likewise.
23188         (_IO_old_file_finish): Likewise.
23189         (_IO_old_file_fopen): Likewise.
23190         (_IO_old_file_attach): Likewise.
23191         (_IO_old_file_setbuf): Likewise.
23192         (_IO_old_do_write): Likewise.
23193         (old_do_write): Likewise.
23194         (_IO_old_file_underflow): Likewise.
23195         (_IO_old_file_overflow): Likewise.
23196         (_IO_old_file_sync): Likewise.
23197         (_IO_old_file_seekoff): Likewise.
23198         (_IO_old_file_write): Likewise.
23199         (_IO_old_file_xsputn): Likewise.
23200         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
23201         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
23202         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
23203         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
23204         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
23205         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
23206         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
23207         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
23208         (_IO_old_popen): Likewise.
23209         (_IO_old_proc_close): Likewise.
23210         * libio/oldpclose.c (__old_pclose): Likewise.
23211         * libio/pclose.c (__new_pclose): Likewise.
23212         * libio/peekc.c (_IO_peekc_locked): Likewise.
23213         * libio/putc.c (_IO_putc): Likewise.
23214         * libio/putc_u.c (putc_unlocked): Likewise.
23215         * libio/putchar.c (putchar): Likewise.
23216         * libio/putchar_u.c (putchar_unlocked): Likewise.
23217         * libio/putwc.c (putwc): Likewise.
23218         * libio/putwc_u.c (putwc_unlocked): Likewise.
23219         * libio/putwchar.c (putwchar): Likewise.
23220         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
23221         * libio/rewind.c (rewind): Likewise.
23222         * libio/setbuf.c (setbuf): Likewise.
23223         * libio/setlinebuf.c (setlinebuf): Likewise.
23224         * libio/vasprintf.c (_IO_vasprintf): Likewise.
23225         * libio/vscanf.c (_IO_vscanf): Likewise.
23226         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
23227         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
23228         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
23229         * libio/wgenops.c (_IO_least_wmarker): Likewise.
23230         (_IO_switch_to_main_wget_area): Likewise.
23231         (_IO_switch_to_wbackup_area): Likewise.
23232         (_IO_wsetb): Likewise.
23233         (_IO_wdefault_pbackfail): Likewise.
23234         (_IO_wdefault_finish): Likewise.
23235         (_IO_wdefault_uflow): Likewise.
23236         (__woverflow): Likewise.
23237         (__wuflow): Likewise.
23238         (__wunderflow): Likewise.
23239         (_IO_wdefault_xsputn): Likewise.
23240         (_IO_wdefault_xsgetn): Likewise.
23241         (_IO_wdoallocbuf): Likewise.
23242         (_IO_wdefault_doallocate): Likewise.
23243         (_IO_switch_to_wget_mode): Likewise.
23244         (_IO_free_wbackup_area): Likewise.
23245         (_IO_switch_to_wput_mode): Likewise.
23246         (_IO_sputbackwc): Likewise.
23247         (_IO_sungetwc): Likewise.
23248         (_IO_adjust_wcolumn): Likewise.
23249         (_IO_init_wmarker): Likewise.
23250         (_IO_wmarker_delta): Likewise.
23251         (_IO_seekwmark): Likewise.
23252         (_IO_unsave_wmarkers): Likewise.
23253         * libio/wmemstream.c (open_wmemstream): Likewise.
23254         (_IO_wmem_sync): Likewise.
23255         (_IO_wmem_finish): Likewise.
23256         * locale/nl_langinfo.c (nl_langinfo): Likewise.
23257         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
23258         * locale/programs/simple-hash.c (init_hash): Likewise.
23259         (delete_hash): Likewise.
23260         (insert_entry): Likewise.
23261         (set_entry): Likewise.
23262         (next_prime): Likewise.
23263         (is_prime): Likewise.
23264         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
23265         (xmalloc): Likewise.
23266         (xrealloc): Likewise.
23267         * locale/programs/xstrdup.c (xstrdup): Likewise.
23268         * localedata/collate-test.c (xstrcoll): Likewise.
23269         * localedata/xfrm-test.c (xstrcmp): Likewise.
23270         * login/getlogin_r.c (__getlogin_r): Likewise.
23271         * login/getpt.c (__posix_openpt): Likewise.
23272         * login/login_tty.c (login_tty): Likewise.
23273         * login/setlogin.c (setlogin): Likewise.
23274         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
23275         (mach_msg_destroy_port): Likewise.
23276         (mach_msg_destroy_memory): Likewise.
23277         * malloc/mcheck.c (flood): Likewise.
23278         * misc/acct.c (acct): Likewise.
23279         * misc/brk.c (__brk): Likewise.
23280         * misc/chflags.c (chflags): Likewise.
23281         * misc/chroot.c (chroot): Likewise.
23282         * misc/fchflags.c (fchflags): Likewise.
23283         * misc/fstab.c (getfsspec): Likewise.
23284         (getfsfile): Likewise.
23285         * misc/fsync.c (fsync): Likewise.
23286         * misc/ftruncate.c (__ftruncate): Likewise.
23287         * misc/ftruncate64.c (__ftruncate64): Likewise.
23288         * misc/getdomain.c (getdomainname): Likewise.
23289         (getdomainname): Likewise.
23290         * misc/gethostname.c (__gethostname): Likewise.
23291         * misc/getpass.c (getpass): Likewise.
23292         * misc/getttyent.c (skip): Likewise.
23293         (value): Likewise.
23294         * misc/gtty.c (gtty): Likewise.
23295         * misc/hsearch.c (hsearch): Likewise.
23296         (hcreate): Likewise.
23297         * misc/hsearch_r.c (__hcreate_r): Likewise.
23298         (__hdestroy_r): Likewise.
23299         * misc/ioctl.c (__ioctl): Likewise.
23300         * misc/mkdtemp.c (mkdtemp): Likewise.
23301         * misc/mkostemp.c (mkostemp): Likewise.
23302         * misc/mkostemp64.c (mkostemp64): Likewise.
23303         * misc/mkostemps.c (mkostemps): Likewise.
23304         * misc/mkostemps64.c (mkostemps64): Likewise.
23305         * misc/mkstemp.c (mkstemp): Likewise.
23306         * misc/mkstemp64.c (mkstemp64): Likewise.
23307         * misc/mkstemps.c (mkstemps): Likewise.
23308         * misc/mkstemps64.c (mkstemps64): Likewise.
23309         * misc/mktemp.c (__mktemp): Likewise.
23310         * misc/preadv.c (preadv): Likewise.
23311         * misc/preadv64.c (preadv64): Likewise.
23312         * misc/pwritev.c (pwritev): Likewise.
23313         * misc/pwritev64.c (pwritev64): Likewise.
23314         * misc/readv.c (__readv): Likewise.
23315         * misc/revoke.c (revoke): Likewise.
23316         * misc/setdomain.c (setdomainname): Likewise.
23317         * misc/setegid.c (setegid): Likewise.
23318         * misc/seteuid.c (seteuid): Likewise.
23319         * misc/sethostid.c (sethostid): Likewise.
23320         * misc/sethostname.c (sethostname): Likewise.
23321         * misc/setregid.c (__setregid): Likewise.
23322         * misc/setreuid.c (__setreuid): Likewise.
23323         * misc/sstk.c (sstk): Likewise.
23324         * misc/stty.c (stty): Likewise.
23325         * misc/syscall.c (syscall): Likewise.
23326         * misc/syslog.c (setlogmask): Likewise.
23327         * misc/truncate.c (__truncate): Likewise.
23328         * misc/truncate64.c (truncate64): Likewise.
23329         * misc/ualarm.c (ualarm): Likewise.
23330         * misc/usleep.c (usleep): Likewise.
23331         * misc/ustat.c (ustat): Likewise.
23332         * misc/writev.c (__writev): Likewise.
23333         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
23334         * nptl/old_pthread_cond_broadcast.c
23335         (__pthread_cond_broadcast_2_0): Likewise.
23336         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
23337         Likewise.
23338         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
23339         Likewise.
23340         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
23341         Likewise.
23342         * nptl/pt-raise.c (raise): Likewise.
23343         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
23344         Likewise.
23345         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
23346         * nptl/pthread_barrierattr_destroy.c
23347         (pthread_barrierattr_destroy): Likewise.
23348         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
23349         Likewise.
23350         * nptl/pthread_barrierattr_setpshared.c
23351         (pthread_barrierattr_setpshared): Likewise.
23352         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
23353         Likewise.
23354         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
23355         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
23356         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
23357         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
23358         Likewise.
23359         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
23360         Likewise.
23361         * nptl/pthread_condattr_getpshared.c
23362         (pthread_condattr_getpshared): Likewise.
23363         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
23364         Likewise.
23365         * nptl/pthread_condattr_setpshared.c
23366         (pthread_condattr_setpshared): Likewise.
23367         * nptl/pthread_detach.c (pthread_detach): Likewise.
23368         * nptl/pthread_equal.c (__pthread_equal): Likewise.
23369         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
23370         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
23371         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
23372         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
23373         Likewise.
23374         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
23375         Likewise.
23376         * nptl/pthread_mutex_getprioceiling.c
23377         (pthread_mutex_getprioceiling): Likewise.
23378         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
23379         Likewise.
23380         * nptl/pthread_mutexattr_getprotocol.c
23381         (pthread_mutexattr_getprotocol): Likewise.
23382         * nptl/pthread_mutexattr_getpshared.c
23383         (pthread_mutexattr_getpshared): Likewise.
23384         * nptl/pthread_mutexattr_getrobust.c
23385         (pthread_mutexattr_getrobust): Likewise.
23386         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
23387         Likewise.
23388         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
23389         Likewise.
23390         * nptl/pthread_mutexattr_setprioceiling.c
23391         (pthread_mutexattr_setprioceiling): Likewise.
23392         * nptl/pthread_mutexattr_setprotocol.c
23393         (pthread_mutexattr_setprotocol): Likewise.
23394         * nptl/pthread_mutexattr_setpshared.c
23395         (pthread_mutexattr_setpshared): Likewise.
23396         * nptl/pthread_mutexattr_setrobust.c
23397         (pthread_mutexattr_setrobust): Likewise.
23398         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
23399         Likewise.
23400         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
23401         Likewise.
23402         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
23403         Likewise.
23404         * nptl/pthread_rwlockattr_getkind_np.c
23405         (pthread_rwlockattr_getkind_np): Likewise.
23406         * nptl/pthread_rwlockattr_getpshared.c
23407         (pthread_rwlockattr_getpshared): Likewise.
23408         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
23409         Likewise.
23410         * nptl/pthread_rwlockattr_setkind_np.c
23411         (pthread_rwlockattr_setkind_np): Likewise.
23412         * nptl/pthread_rwlockattr_setpshared.c
23413         (pthread_rwlockattr_setpshared): Likewise.
23414         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
23415         Likewise.
23416         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
23417         Likewise.
23418         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
23419         Likewise.
23420         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
23421         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
23422         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
23423         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
23424         * nptl/sem_close.c (sem_close): Likewise.
23425         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
23426         * nptl/sem_init.c (__old_sem_init): Likewise.
23427         * nptl/sigaction.c (__sigaction): Likewise.
23428         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
23429         * posix/_exit.c (_exit): Likewise.
23430         * posix/alarm.c (alarm): Likewise.
23431         * posix/confstr.c (confstr): Likewise.
23432         * posix/fpathconf.c (__fpathconf): Likewise.
23433         * posix/getgroups.c (__getgroups): Likewise.
23434         * posix/getpgid.c (__getpgid): Likewise.
23435         * posix/group_member.c (__group_member): Likewise.
23436         * posix/pathconf.c (__pathconf): Likewise.
23437         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
23438         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
23439         * posix/setgid.c (__setgid): Likewise.
23440         * posix/setpgid.c (__setpgid): Likewise.
23441         * posix/setuid.c (__setuid): Likewise.
23442         * posix/sleep.c (__sleep): Likewise.
23443         * posix/sysconf.c (__sysconf): Likewise.
23444         * posix/times.c (__times): Likewise.
23445         * posix/uname.c (__uname): Likewise.
23446         * posix/waitid.c (__waitid): Likewise.
23447         * pwd/getpw.c (__getpw): Likewise.
23448         * resolv/base64.c (b64_pton): Likewise.
23449         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
23450         * resolv/gethnamaddr.c (Dprintf): Likewise.
23451         (gethostbyname): Likewise.
23452         (gethostbyname2): Likewise.
23453         (gethostbyaddr): Likewise.
23454         (_sethtent): Likewise.
23455         (_gethtbyname): Likewise.
23456         (_gethtbyname2): Likewise.
23457         (_gethtbyaddr): Likewise.
23458         (map_v4v6_address): Likewise.
23459         (map_v4v6_hostent): Likewise.
23460         (addrsort): Likewise.
23461         (ht_sethostent): Likewise.
23462         (ht_gethostbyname): Likewise.
23463         (ht_gethostbyaddr): Likewise.
23464         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
23465         (inet_net_ntop_ipv4): Likewise.
23466         * resolv/inet_neta.c (inet_neta): Likewise.
23467         * resolv/inet_ntop.c (inet_ntop): Likewise.
23468         (inet_ntop4): Likewise.
23469         (inet_ntop6): Likewise.
23470         * resolv/inet_pton.c (__inet_pton): Likewise.
23471         (inet_pton4): Likewise.
23472         (inet_pton6): Likewise.
23473         * resolv/res_debug.c (loc_aton): Likewise.
23474         (loc_ntoa): Likewise.
23475         * resource/getpriority.c (__getpriority): Likewise.
23476         * resource/getrusage.c (__getrusage): Likewise.
23477         * resource/nice.c (nice): Likewise.
23478         * resource/setpriority.c (__setpriority): Likewise.
23479         * resource/setrlimit64.c (setrlimit64): Likewise.
23480         * resource/vlimit.c (vlimit): Likewise.
23481         * resource/vtimes.c (vtimes): Likewise.
23482         * rt/aio_error.c (aio_error): Likewise.
23483         * rt/aio_return.c (aio_return): Likewise.
23484         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
23485         * signal/kill.c (__kill): Likewise.
23486         * signal/killpg.c (killpg): Likewise.
23487         * signal/raise.c (raise): Likewise.
23488         * signal/sigaction.c (__sigaction): Likewise.
23489         * signal/sigaddset.c (sigaddset): Likewise.
23490         * signal/sigaltstack.c (sigaltstack): Likewise.
23491         * signal/sigandset.c (sigandset): Likewise.
23492         * signal/sigblock.c (__sigblock): Likewise.
23493         * signal/sigdelset.c (sigdelset): Likewise.
23494         * signal/sigempty.c (sigemptyset): Likewise.
23495         * signal/sigfillset.c (sigfillset): Likewise.
23496         * signal/sighold.c (sighold): Likewise.
23497         * signal/sigignore.c (sigignore): Likewise.
23498         * signal/sigintr.c (siginterrupt): Likewise.
23499         * signal/sigisempty.c (sigisemptyset): Likewise.
23500         * signal/sigismem.c (sigismember): Likewise.
23501         * signal/signal.c (signal): Likewise.
23502         * signal/sigorset.c (sigorset): Likewise.
23503         * signal/sigpause.c (__sigpause): Likewise.
23504         * signal/sigpending.c (sigpending): Likewise.
23505         * signal/sigprocmask.c (__sigprocmask): Likewise.
23506         * signal/sigrelse.c (sigrelse): Likewise.
23507         * signal/sigreturn.c (__sigreturn): Likewise.
23508         * signal/sigset.c (sigset): Likewise.
23509         * signal/sigsetmask.c (__sigsetmask): Likewise.
23510         * signal/sigstack.c (sigstack): Likewise.
23511         * signal/sigsuspend.c (__sigsuspend): Likewise.
23512         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
23513         * signal/sysv_signal.c (__sysv_signal): Likewise.
23514         * socket/accept.c (accept): Likewise.
23515         * socket/accept4.c (__libc_accept4): Likewise.
23516         * socket/bind.c (__bind): Likewise.
23517         * socket/connect.c (__connect): Likewise.
23518         * socket/getpeername.c (getpeername): Likewise.
23519         * socket/getsockname.c (__getsockname): Likewise.
23520         * socket/getsockopt.c (getsockopt): Likewise.
23521         * socket/listen.c (__listen): Likewise.
23522         * socket/recv.c (__recv): Likewise.
23523         * socket/recvmsg.c (__recvmsg): Likewise.
23524         * socket/send.c (__send): Likewise.
23525         * socket/sendmsg.c (__sendmsg): Likewise.
23526         * socket/shutdown.c (shutdown): Likewise.
23527         * socket/sockatmark.c (sockatmark): Likewise.
23528         * socket/socket.c (__socket): Likewise.
23529         * stdio-common/ctermid.c (ctermid): Likewise.
23530         * stdio-common/cuserid.c (cuserid): Likewise.
23531         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
23532         * stdio-common/remove.c (remove): Likewise.
23533         * stdio-common/rename.c (rename): Likewise.
23534         * stdio-common/renameat.c (renameat): Likewise.
23535         * stdio-common/tempname.c (__gen_tempname): Likewise.
23536         * stdio-common/xbug.c (InitBuffer): Likewise.
23537         (AppendToBuffer): Likewise.
23538         (ReadFile): Likewise.
23539         * stdlib/a64l.c (a64l): Likewise.
23540         * stdlib/drand48_r.c (drand48_r): Likewise.
23541         * stdlib/getcontext.c (getcontext): Likewise.
23542         * stdlib/getenv.c (getenv): Likewise.
23543         * stdlib/l64a.c (l64a): Likewise.
23544         * stdlib/llabs.c (llabs): Likewise.
23545         * stdlib/lldiv.c (lldiv): Likewise.
23546         * stdlib/lrand48_r.c (lrand48_r): Likewise.
23547         * stdlib/mrand48_r.c (mrand48_r): Likewise.
23548         * stdlib/putenv.c (putenv): Likewise.
23549         * stdlib/random.c (__srandom): Likewise.
23550         (__initstate): Likewise.
23551         (__setstate): Likewise.
23552         * stdlib/random_r.c (__srandom_r): Likewise.
23553         (__setstate_r): Likewise.
23554         (__random_r): Likewise.
23555         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
23556         * stdlib/setcontext.c (setcontext): Likewise.
23557         * stdlib/setenv.c (setenv): Likewise.
23558         (unsetenv): Likewise.
23559         * stdlib/srand48.c (srand48): Likewise.
23560         * stdlib/srand48_r.c (__srand48_r): Likewise.
23561         * stdlib/swapcontext.c (swapcontext): Likewise.
23562         * stdlib/system.c (__libc_system): Likewise.
23563         * stdlib/tst-strtod.c (expand): Likewise.
23564         * stdlib/tst-strtol.c (expand): Likewise.
23565         * stdlib/tst-strtoll.c (expand): Likewise.
23566         * streams/fattach.c (fattach): Likewise.
23567         * streams/fdetach.c (fdetach): Likewise.
23568         * streams/getmsg.c (getmsg): Likewise.
23569         * streams/isastream.c (isastream): Likewise.
23570         * string/ffs.c (__ffs): Likewise.
23571         * string/ffsll.c (ffsll): Likewise.
23572         * string/memcmp.c (memcmp_common_alignment): Likewise.
23573         (memcmp_not_common_alignment): Likewise.
23574         (MEMCMP): Likewise.
23575         * string/memcpy.c (memcpy): Likewise.
23576         * string/memmove.c (MEMMOVE): Likewise.
23577         * string/memset.c (memset): Likewise.
23578         * string/rawmemchr.c (RAWMEMCHR): Likewise.
23579         * string/strchrnul.c (STRCHRNUL): Likewise.
23580         * string/strerror.c (strerror): Likewise.
23581         * string/strndup.c (__strndup): Likewise.
23582         * string/strverscmp.c (__strverscmp): Likewise.
23583         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
23584         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
23585         (clnttcp_freeres): Likewise.
23586         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
23587         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
23588         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
23589         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
23590         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
23591         (xdr_callhdr): Likewise.
23592         * sunrpc/rpcinfo.c (udpping): Likewise.
23593         (tcpping): Likewise.
23594         (pstatus): Likewise.
23595         (pmapdump): Likewise.
23596         (brdcst): Likewise.
23597         (deletereg): Likewise.
23598         (getprognum): Likewise.
23599         (getvers): Likewise.
23600         (get_inet_address): Likewise.
23601         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
23602         * sunrpc/svc_udp.c (svcudp_create): Likewise.
23603         (svcudp_stat): Likewise.
23604         (svcudp_recv): Likewise.
23605         (svcudp_reply): Likewise.
23606         (svcudp_getargs): Likewise.
23607         (svcudp_freeargs): Likewise.
23608         (svcudp_destroy): Likewise.
23609         * sunrpc/xdr.c (xdr_bytes): Likewise.
23610         (xdr_netobj): Likewise.
23611         (xdr_string): Likewise.
23612         (xdr_wrapstring): Likewise.
23613         * sunrpc/xdr_float.c (xdr_float): Likewise.
23614         (xdr_double): Likewise.
23615         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
23616         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
23617         * sysvipc/ftok.c (ftok): Likewise.
23618         * sysvipc/msgctl.c (msgctl): Likewise.
23619         * sysvipc/msgget.c (msgget): Likewise.
23620         * sysvipc/msgrcv.c (msgrcv): Likewise.
23621         * sysvipc/msgsnd.c (msgsnd): Likewise.
23622         * sysvipc/semget.c (semget): Likewise.
23623         * sysvipc/semop.c (semop): Likewise.
23624         * sysvipc/shmat.c (shmat): Likewise.
23625         * sysvipc/shmctl.c (shmctl): Likewise.
23626         * sysvipc/shmdt.c (shmdt): Likewise.
23627         * sysvipc/shmget.c (shmget): Likewise.
23628         * termios/cfmakeraw.c (cfmakeraw): Likewise.
23629         * termios/speed.c (cfgetospeed): Likewise.
23630         (cfgetispeed): Likewise.
23631         (cfsetospeed): Likewise.
23632         (cfsetispeed): Likewise.
23633         * termios/tcflow.c (tcflow): Likewise.
23634         * termios/tcflush.c (tcflush): Likewise.
23635         * termios/tcgetattr.c (__tcgetattr): Likewise.
23636         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
23637         * termios/tcgetsid.c (tcgetsid): Likewise.
23638         * termios/tcsendbrk.c (tcsendbreak): Likewise.
23639         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
23640         * time/adjtime.c (__adjtime): Likewise.
23641         * time/dysize.c (dysize): Likewise.
23642         * time/ftime.c (ftime): Likewise.
23643         * time/getitimer.c (__getitimer): Likewise.
23644         * time/gettimeofday.c (__gettimeofday): Likewise.
23645         * time/gmtime.c (__gmtime_r): Likewise.
23646         (gmtime): Likewise.
23647         * time/localtime.c (__localtime_r): Likewise.
23648         (localtime): Likewise.
23649         * time/offtime.c (__offtime): Likewise.
23650         * time/settimeofday.c (__settimeofday): Likewise.
23651         * time/stime.c (stime): Likewise.
23652         * time/strftime_l.c (tm_diff): Likewise.
23653         (iso_week_days): Likewise.
23654         * time/strptime.c (strptime): Likewise.
23655         * time/time.c (time): Likewise.
23656         * time/timespec_get.c (timespec_get): Likewise.
23657         * time/tzset.c (tzset_internal): Likewise.
23658         (compute_change): Likewise.
23659         (__tz_compute): Likewise.
23660         * wcsmbs/btowc.c (__btowc): Likewise.
23661         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
23662         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
23663         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
23664         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
23665         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
23666         * wcsmbs/wcscat.c (__wcscat): Likewise.
23667         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
23668         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
23669         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
23670         * wcsmbs/wcscspn.c (wcscspn): Likewise.
23671         * wcsmbs/wcsdup.c (wcsdup): Likewise.
23672         * wcsmbs/wcslen.c (__wcslen): Likewise.
23673         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
23674         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
23675         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
23676         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
23677         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
23678         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
23679         * wcsmbs/wcsspn.c (wcsspn): Likewise.
23680         * wcsmbs/wcsstr.c (wcsstr): Likewise.
23681         * wcsmbs/wcstok.c (wcstok): Likewise.
23682         * wcsmbs/wctob.c (wctob): Likewise.
23683         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
23684         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23685         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
23686         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
23687         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
23688         * wcsmbs/wmemset.c (__wmemset): Likewise.
23689         * wctype/wcfuncs.c (__towlower): Likewise.
23690         (__towupper): Likewise.
23692         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
23693         (lll_unlock_elision): Add adapt_count parameter.
23695 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
23697         * sysdeps/nptl/configure.ac: Do not give errors based on the
23698         results of top-level configure tests.
23699         * sysdeps/nptl/configure: Regenerated.
23701         * configure.ac (libc_cv_Bgroup): Remove configure test.
23702         * configure: Regenerated.
23703         * config.make.in (have-Bgroup): Remove variable.
23705         * configure.ac (sizeof_long_double): Remove configure test.
23706         * configure: Regenerated.
23707         * config.make.in (sizeof-long-double): Remove variable.
23709         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
23710         * configure: Regenerated.
23711         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
23712         variable.
23713         (exceptions): Likewise.
23714         * sysdeps/arm/configure: Regenerated.
23715         * config.make.in (exceptions): Remove variable.
23716         * Makeconfig (uses-callbacks): Use -fexceptions instead of
23717         $(exceptions).
23718         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
23719         (CFLAGS-vdprintf_chk.c): Likewise.
23720         (CFLAGS-printf_chk.c): Likewise.
23721         (CFLAGS-fprintf_chk.c): Likewise.
23722         (CFLAGS-vprintf_chk.c): Likewise.
23723         (CFLAGS-vfprintf_chk.c): Likewise.
23724         (CFLAGS-gets_chk.c): Likewise.
23725         (CFLAGS-fgets_chk.c): Likewise.
23726         (CFLAGS-fgets_u_chk.c): Likewise.
23727         (CFLAGS-fread_chk.c): Likewise.
23728         (CFLAGS-fread_u_chk.c): Likewise.
23729         (CFLAGS-wprintf_chk.c): Likewise.
23730         (CFLAGS-fwprintf_chk.c): Likewise.
23731         (CFLAGS-vwprintf_chk.c): Likewise.
23732         (CFLAGS-vfwprintf_chk.c): Likewise.
23733         (CFLAGS-fgetws_chk.c): Likewise.
23734         (CFLAGS-fgetws_u_chk.c): Likewise.
23735         * libio/Makefile (CFLAGS-fileops.c): Likewise.
23736         (CFLAGS-fputc.c): Likewise.
23737         (CFLAGS-fputwc.c): Likewise.
23738         (CFLAGS-freopen64.c): Likewise.
23739         (CFLAGS-freopen.c): Likewise.
23740         (CFLAGS-fseek.c): Likewise.
23741         (CFLAGS-fseeko64.c): Likewise.
23742         (CFLAGS-fseeko.c): Likewise.
23743         (CFLAGS-ftello64.c): Likewise.
23744         (CFLAGS-ftello.c): Likewise.
23745         (CFLAGS-fwide.c): Likewise.
23746         (CFLAGS-genops.c): Likewise.
23747         (CFLAGS-getc.c): Likewise.
23748         (CFLAGS-getchar.c): Likewise.
23749         (CFLAGS-getwc.c): Likewise.
23750         (CFLAGS-getwchar.c): Likewise.
23751         (CFLAGS-iofclose.c): Likewise.
23752         (CFLAGS-iofflush.c): Likewise.
23753         (CFLAGS-iofgetpos64.c): Likewise.
23754         (CFLAGS-iofgetpos.c): Likewise.
23755         (CFLAGS-iofgets.c): Likewise.
23756         (CFLAGS-iofgetws.c): Likewise.
23757         (CFLAGS-iofputs.c): Likewise.
23758         (CFLAGS-iofputws.c): Likewise.
23759         (CFLAGS-iofread.c): Likewise.
23760         (CFLAGS-iofsetpos64.c): Likewise.
23761         (CFLAGS-iofsetpos.c): Likewise.
23762         (CFLAGS-ioftell.c): Likewise.
23763         (CFLAGS-iofwrite.c): Likewise.
23764         (CFLAGS-iogetdelim.c): Likewise.
23765         (CFLAGS-iogetline.c): Likewise.
23766         (CFLAGS-iogets.c): Likewise.
23767         (CFLAGS-iogetwline.c): Likewise.
23768         (CFLAGS-ioputs.c): Likewise.
23769         (CFLAGS-ioseekoff.c): Likewise.
23770         (CFLAGS-ioseekpos.c): Likewise.
23771         (CFLAGS-iosetbuffer.c): Likewise.
23772         (CFLAGS-iosetvbuf.c): Likewise.
23773         (CFLAGS-ioungetc.c): Likewise.
23774         (CFLAGS-ioungetwc.c): Likewise.
23775         (CFLAGS-oldfileops.c): Likewise.
23776         (CFLAGS-oldiofclose.c): Likewise.
23777         (CFLAGS-oldiofgetpos64.c): Likewise.
23778         (CFLAGS-oldiofgetpos.c): Likewise.
23779         (CFLAGS-oldiofsetpos64.c): Likewise.
23780         (CFLAGS-oldiofsetpos.c): Likewise.
23781         (CFLAGS-peekc.c): Likewise.
23782         (CFLAGS-putc.c): Likewise.
23783         (CFLAGS-putchar.c): Likewise.
23784         (CFLAGS-putwc.c): Likewise.
23785         (CFLAGS-putwchar.c): Likewise.
23786         (CFLAGS-rewind.c): Likewise.
23787         (CFLAGS-wfileops.c): Likewise.
23788         (CFLAGS-wgenops.c): Likewise.
23789         (CFLAGS-oldiofopen.c): Likewise.
23790         (CFLAGS-iofopen.c): Likewise.
23791         (CFLAGS-iofopen64.c): Likewise.
23792         (CFLAGS-oldtmpfile.c): Likewise.
23793         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
23794         (CFLAGS-fprintf.c): Likewise.
23795         (CFLAGS-printf.c): Likewise.
23796         (CFLAGS-vfwprintf.c): Likewise.
23797         (CFLAGS-vfscanf.c): Likewise.
23798         (CFLAGS-vfwscanf.c): Likewise.
23799         (CFLAGS-fscanf.c): Likewise.
23800         (CFLAGS-scanf.c): Likewise.
23801         (CFLAGS-isoc99_vfscanf.c): Likewise.
23802         (CFLAGS-isoc99_vscanf.c): Likewise.
23803         (CFLAGS-isoc99_fscanf.c): Likewise.
23804         (CFLAGS-isoc99_scanf.c): Likewise.
23805         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
23806         (CFLAGS-isoc99_fwscanf.c): Likewise.
23807         (CFLAGS-isoc99_vwscanf.c): Likewise.
23808         (CFLAGS-isoc99_vfwscanf.c): Likewise.
23810         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
23811         after mkstemp64.
23812         * login/tst-utmp.c (do_prepare): Likewise.
23813         * rt/tst-aio.c (do_prepare): Likewise.
23814         * rt/tst-aio64.c (do_prepare): Likewise.
23816 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23818         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
23819         (__lll_lock_elision): Remove adapt_count decrement...
23820         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
23821         (__lll_trylock_elision): Likewise.
23822         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
23823         (__lll_unlock_elision): ... to here. And utilize
23824         new adapt_count parameter.
23825         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
23826         (__lll_unlock_elision): Update to include adapt_count
23827         parameter.
23828         (lll_unlock_elision): Pass pointer to adapt_count
23829         variable.
23831 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23833         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
23834         Add elision adapt_count parameter to list of arguments.
23835         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
23836         (lll_unlock_elision): Update with new parameter list
23837         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
23838         (lll_unlock_elision): Likewise.
23839         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
23840         (lll_unlock_elision): Likewise.
23842 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23844         [BZ #19122]
23845         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
23846         attribute_hidden.
23848         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
23849         attribute_hidden.
23850         [IS_IN (rtld)] (__strdup): Likewise.
23851         [IS_IN (rtld)] (__strerror_r): Likewise.
23852         [IS_IN (rtld)] (__strsep_g): Likewise.
23853         [IS_IN (rtld)] (memchr): Likewise.
23854         [IS_IN (rtld)] (memcmp): Likewise.
23855         [IS_IN (rtld)] (memcpy): Likewise.
23856         [IS_IN (rtld)] (memmove): Likewise.
23857         [IS_IN (rtld)] (memset): Likewise.
23858         [IS_IN (rtld)] (rawmemchr): Likewise.
23859         [IS_IN (rtld)] (stpcpy): Likewise.
23860         [IS_IN (rtld)] (strchr): Likewise.
23861         [IS_IN (rtld)] (strcmp): Likewise.
23862         [IS_IN (rtld)] (strlen): Likewise.
23863         [IS_IN (rtld)] (strnlen): Likewise.
23864         [IS_IN (rtld)] (strsep): Likewise.
23866         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
23867         attribute_hidden.
23868         [IS_IN (rtld)] (__strtoul_internal): Likewise.
23870         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
23871         attribute_hidden.
23872         [IS_IN (rtld)] (__libc_sigaction): Likewise.
23874         * include/setjmp.h (__longjmp): Add attribute_hidden.
23875         [IS_IN (rtld)] (__sigsetjmp): Likewise.
23877         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
23878         Add attribute_hidden.
23880         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
23881         [IS_IN (rtld)] (__open): Likewise.
23882         [IS_IN (rtld)] (__fcntl): Likewise.
23884         * include/dirent.h (__opendirat): Add attribute_hidden.
23885         (__getdents): Likewise.
23886         (__getdents64): Likewise.
23887         (__alloc_dir): Likewise.
23888         [IS_IN (rtld)] (__closedir): Likewise.
23889         [IS_IN (rtld)] (__fdopendir): Likewise.
23890         [IS_IN (rtld)] (__readdir): Likewise.
23891         [IS_IN (rtld)] (__readdir64): Likewise.
23892         [IS_IN (rtld)] (__rewinddir): Likewise.
23894         * include/dlfcn.h (_dl_catch_error): Moved to ...
23895         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
23896         attribute_hidden.
23898         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
23899         (_itoa_word): Likewise.
23901         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
23902         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
23903         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
23904         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
23905         (_dl_higher_prime_number): Likewise.
23906         (_dl_debug_printf_c): Likewise.
23907         (_dl_signal_cerror): Likewise.
23908         (_dl_receive_error): Likewise.
23909         (_dl_reloc_bad_type): Likewise.
23910         (_dl_resolve_conflicts): Likewise.
23911         (_dl_check_all_versions): Likewise.
23912         (_dl_check_map_versions): Likewise.
23913         (_dl_sort_fini): Likewise.
23914         (_dl_debug_initialize): Likewise.
23915         (_dl_init_paths): Likewise.
23916         (_dl_show_auxv): Likewise.
23917         (_dl_next_ld_env_entry): Likewise.
23918         (_dl_important_hwcaps): Likewise.
23919         (_dl_load_cache_lookup): Likewise.
23920         (_dl_update_slotinfo): Likewise.
23921         (_dl_show_scope): Likewise.
23923         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
23924         attribute_hidden.
23925         (_wordcopy_fwd_dest_aligned): Likewise.
23926         (_wordcopy_bwd_aligned): Likewise.
23927         (_wordcopy_bwd_dest_aligned): Likewise.
23929         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
23930         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
23931         Likewise.
23932         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
23933         Likewise.
23934         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
23936 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23938         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
23939         GCC 5 requirement.
23941 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
23943         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
23944         test.
23945         * sysdeps/i386/configure: Regenerated.
23946         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
23947         code unconditional.
23949         * configure.ac (libc_cv_asm_previous_directive): Remove configure
23950         test.
23951         (libc_cv_asm_popsection_directive): Likewise.
23952         * configure: Regenerated.
23953         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
23954         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
23955         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
23956         (__make_section_unallocated): Make definition unconditional.
23957         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
23958         Remove conditional definition.
23959         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
23960         (__make_section_unallocated): Likewise.
23962         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
23963         * configure: Regenerated.
23964         * config.make.in (static-libgcc): Remove variable.
23965         * Makerules (build-shlib-helper): Use -static-libgcc instead of
23966         $(static-libgcc).
23967         (build-module-helper): Likewise.
23969         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
23970         * configure: Regenerated.
23972 2015-10-15  Florian Weimer  <fweimer@redhat.com>
23974         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
23975         (struct char_buffer): New type.
23976         (char_buffer_start, char_buffer_size, char_buffer_error)
23977         (char_buffer_rewind, char_buffer_add): New functions.
23978         (ADDW): Remove macro, replaced by the char_buffer_add function.
23979         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
23980         of extend_alloca.  Make control flow more explicit.
23982 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23984         [BZ #19137]
23985         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
23986         Add -fomit-frame-pointer.
23987         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
23989 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23991         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
23992         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
23993         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
23994         only if !__GNUC_PREREQ (5,0).
23995         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
23996         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
23997         (INTERNAL_SYSCALL_NCS): Likewise.
23998         (LOADREGS_0): New macro for GCC 5.
23999         (ASMARGS_0): Likewise.
24000         (LOADREGS_1): Likewise.
24001         (ASMARGS_1): Likewise.
24002         (LOADREGS_2): Likewise.
24003         (ASMARGS_2): Likewise.
24004         (LOADREGS_3): Likewise.
24005         (ASMARGS_3): Likewise.
24006         (LOADREGS_4): Likewise.
24007         (ASMARGS_4): Likewise.
24008         (LOADREGS_5): Likewise.
24009         (ASMARGS_5): Likewise.
24010         (LOADREGS_6): Likewise.
24011         (ASMARGS_6): Likewise.
24013 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
24015         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
24016         -fomit-frame-pointer.
24017         (CFLAGS-mmap64.c): Likewise.
24018         (CFLAGS-semtimedop.c): Likewise.
24019         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
24020         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
24021         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
24022         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
24024 2015-10-15  Florian Weimer  <fweimer@redhat.com>
24026         [BZ #18928]
24027         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
24028         _dl_pointer_guard member.
24029         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
24030         initializer.
24031         (security_init): Always set up pointer guard.
24032         (process_envvars): Do not process LD_POINTER_GUARD.
24034 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
24036         [BZ #19134]
24037         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
24038         (.LC2): Likewise.
24039         (.LC3): Likewise.
24040         (__lround): Do not add 0.5 to integer or out-of-range arguments.
24042 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24044         [BZ #19129]
24045         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
24046         r0 and r1.
24048 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
24050         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
24052 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
24054         * include/stap-probe.h: Fix macro definition formatting.
24056 2015-10-14  Florian Weimer  <fweimer@redhat.com>
24058         [BZ #19074]
24059         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
24060         load and store num_ifs.
24062 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
24064         [BZ #18822]
24065         * sysdeps/unix/sysv/linux/sched_getaffinity.c
24066         (__sched_getaffinity_new): Add libc_hidden_proto and
24067         libc_hidden_def.
24069 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
24071         [BZ #19007]
24072         * scripts/localplt.awk: Also allow GOT references.
24073         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
24074         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
24075         with "+ REL R_386_GLOB_DAT".
24076         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
24077         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
24079 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
24081         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
24082         INLINE_SYSCALL_ERROR_RETURN_VALUE.
24083         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
24084         Likewise.
24085         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
24086         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
24087         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
24088         INTERNAL_SYSCALLINTERNAL_SYSCALL and
24089         INLINE_SYSCALL_ERROR_RETURN_VALUE.
24090         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
24091         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24092         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
24093         Likewise.
24094         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24096 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
24098         [BZ #19125]
24099         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
24100         <math_private.h> and <stdint.h>.
24101         (__llround): Avoid conversions to and from long long int, and
24102         subtractions, where those might raise spurious exceptions.
24103         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
24104         <math_private.h> and <stdint.h>.
24105         (__llroundf): Avoid conversions to and from long long int, and
24106         subtractions, where those might raise spurious exceptions.
24108 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
24110         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
24111         INLINE_SYSCALL_ERROR_RETURN_VALUE.
24112         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
24113         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
24114         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
24115         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
24116         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
24117         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
24118         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
24119         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24120         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24121         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24122         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
24123         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24124         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24125         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
24126         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
24127         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
24128         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
24129         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
24130         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
24131         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
24132         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
24133         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
24134         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
24135         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
24136         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
24137         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
24138         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24139         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
24140         (__xstat64_conv): Likewise.
24141         (__xstat32_conv): Likewise.
24143 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
24145         * sysdeps/unix/sysv/linux/sysdep.h: New file.
24146         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
24147         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
24148         <sysdeps/unix/sysv/linux/sysdep.h>.
24149         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
24150         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
24151         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
24152         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24153         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
24154         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
24155         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
24156         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
24157         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
24158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24160         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24161         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24162         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24163         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24164         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24165         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
24166         (sysdep-dl-routines): Add sysdep.
24167         [$(subdir) == nptl] (libpthread-routines): Likewise.
24168         [$(subdir) == rt] (librt-routines): Likewise.
24169         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
24170         PIC when branching to SYSCALL_ERROR_LABEL.
24171         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
24172         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
24173         <sysdeps/unix/sysv/linux/sysdep.h>.
24174         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
24175         (SYSCALL_ERROR_ERRNO): Removed.
24176         (SYSCALL_ERROR_HANDLER): Changed to empty.
24177         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
24178         (__syscall_error): New prototype.
24179         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
24180         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
24182 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
24184         [BZ #19124]
24185         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
24186         (_dl_runtime_resolve_avx512): Make it a hidden alias of
24187         _dl_runtime_resolve_avx.
24188         (_dl_runtime_profile_avx512): Make it a hidden alias of
24189         _dl_runtime_profile_avx.
24191 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
24193         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
24194         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
24195         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
24196         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
24198         [BZ #16422]
24199         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
24200         New configure test.
24201         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
24202         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
24203         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
24204         <math_private.h> and <stdint.h>.
24205         (__llrint): Avoid conversions to long long int where those might
24206         raise spurious exceptions.
24207         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
24208         <math_private.h> and <stdint.h>.
24209         (__llrintf): Avoid conversions to long long int where those might
24210         raise spurious exceptions.
24212 2015-10-12  Andreas Schwab  <schwab@suse.de>
24214         [BZ #18969]
24215         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
24216         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
24217         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
24218         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
24219         $(gen-locales).
24220         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
24221         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
24222         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
24223         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
24224         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
24225         $(gen-locales).
24226         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
24227         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
24228         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
24229         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
24230         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
24231         ($(objpfx)tst-ftell-active-handler.out)
24232         ($(objpfx)tst-ftell-append.out)
24233         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
24234         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
24235         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
24236         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
24237         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
24238         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
24239         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
24240         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
24241         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
24242         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
24243         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
24244         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
24245         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
24246         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
24247         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
24248         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
24249         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
24250         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
24251         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
24252         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
24253         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
24254         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
24255         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
24256         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
24257         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
24258         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
24259         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
24260         $(gen-locales).
24261         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
24262         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
24263         $(gen-locales).
24264         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
24265         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
24266         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
24267         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
24268         $(gen-locales).
24269         * libio/tst_wprintf2.c (main): Use explicit locale.
24270         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
24272 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24274         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
24275         __msg_sig_post.
24276         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
24278 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
24280         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24281         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24283         * sysdeps/arm/libm-test-ulps: Regenerated.
24285         [BZ #15470]
24286         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
24288         [BZ #16399]
24289         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
24290         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
24291         and <fix-fp-int-convert-overflow.h>.
24292         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
24293         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24294         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
24295         and <fix-fp-int-convert-overflow.h>.
24296         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
24297         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24298         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
24299         <fix-fp-int-convert-overflow.h>.
24300         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
24301         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24302         * sysdeps/ieee754/dbl-64/s_lround.c: Include
24303         <fix-fp-int-convert-overflow.h>.
24304         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
24305         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24306         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
24307         and <fix-fp-int-convert-overflow.h>.
24308         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
24309         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24310         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
24311         <limits.h> and <fix-fp-int-convert-overflow.h>.
24312         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
24313         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24314         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
24315         and <fix-fp-int-convert-overflow.h>.
24316         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
24317         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24318         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
24319         and <fix-fp-int-convert-overflow.h>.
24320         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
24321         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24322         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
24324 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
24326         [BZ #18589]
24327         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
24328         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
24329         $(gen-locales).
24331 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24332             Phil Blundell <pb@pbcl.net>
24334         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
24335         * nptl/tst-cancel26.c: New file.
24336         * nptl/tst-cancel27.c: Likewise.
24338 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
24340         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
24341         __ILP32__ isn't defined.
24342         (lrint): Likewise.
24343         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
24344         (lrintf): Likewise.
24345         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
24346         (lrintl): Likewise.
24347         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
24348         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
24349         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
24351 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24353         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
24354         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
24356         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
24357         file.
24358         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
24359         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
24361 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
24363         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
24364         configure test.
24365         * sysdeps/i386/configure: Regenerated.
24366         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
24367         configure test.
24368         * sysdeps/x86_64/configure: Regenerated.
24369         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
24370         Make code unconditional.
24372         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
24373         test.
24374         * sysdeps/i386/configure: Regenerated.
24375         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
24376         test.
24377         * sysdeps/x86_64/configure: Regenerated.
24378         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
24379         Make code unconditional.
24380         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
24381         Likewise.
24382         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
24383         Likewise.
24384         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24385         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
24386         code unconditional.
24387         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24388         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
24389         code unconditional.
24390         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24391         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
24392         code unconditional.
24393         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
24394         code unconditional.
24395         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24396         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
24397         code unconditional.
24398         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24399         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
24400         code unconditional.
24401         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24402         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
24403         code unconditional.
24404         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24405         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
24406         code unconditional.
24407         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24408         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
24410         [BZ #19095]
24411         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
24412         mantissa to long int before shifting left.
24414 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
24416         [BZ #19094]
24417         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
24418         <limits.h>.
24419         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
24420         when result overflows but exception would not result from cast.
24421         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
24422         <limits.h>.
24423         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
24424         when result overflows but exception would not result from cast.
24425         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
24426         <limits.h>.
24427         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
24428         when result overflows but exception would not result from cast.
24429         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
24430         <limits.h>.
24431         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
24432         when result overflows but exception would not result from cast.
24433         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
24434         <limits.h>.
24435         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
24436         when result overflows but exception would not result from cast.
24437         * math/libm-test.inc (lrint_test_data): Add more tests.
24438         (llrint_test_data): Likewise.
24440 2015-10-08  Roland McGrath  <roland@hack.frob.com>
24442         [BZ #18872]
24443         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
24444         Move out from under [$(run-built-tests) = yes] conditional.
24445         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
24446         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
24448 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
24450         [BZ #18589]
24451         * string/Makefile (tests): Add bug-strcoll2.
24452         (LOCALES): Add cs_CZ.UTF-8.
24453         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
24455         [BZ #18589]
24456         * string/bug-strcoll2.c: New file.
24457         * locale/categories.def: Revert commit
24458         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
24459         * locale/langinfo.h: Likewise.
24460         * locale/localeinfo.h: Likewise.
24461         * locale/C-collate.c: Likewise.
24462         * locale/programs/ld-collate.c (collate_output): Likewise.
24463         * string/strcoll_l.c (STRDIFF): Likewise.
24464         (STRCOLL): Likewise.
24465         * wcsmbs/wcscoll_l.c: Likewise.
24467 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
24469         * math/libm-test.inc (lround_test_data): Do not expect the absence
24470         of "inexact" for some tests with non-integer arguments.
24471         (llround_test_data): Likewise.
24473         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
24474         test.
24475         (libc_cv_cc_sse2avx): Likewise.
24476         * sysdeps/i386/configure: Regenerated.
24477         * sysdeps/i386/i686/multiarch/Makefile
24478         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
24479         [$(subdir) = math].
24480         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
24481         code unconditional.
24482         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
24483         Likewise.
24484         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
24485         Likewise.
24486         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
24487         Likewise.
24488         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
24489         test.
24490         (libc_cv_cc_sse2avx): Likewise.
24491         * sysdeps/x86_64/configure: Regenerated.
24492         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
24493         unconditional.
24494         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
24495         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
24496         unconditional.
24497         (_dl_runtime_profile)
24498         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
24499         conditional code.
24500         * sysdeps/x86_64/fpu/multiarch/Makefile
24501         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
24502         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
24503         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24504         * sysdeps/x86_64/fpu/multiarch/e_exp.c
24505         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24506         * sysdeps/x86_64/fpu/multiarch/e_log.c
24507         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24508         * sysdeps/x86_64/fpu/multiarch/s_atan.c
24509         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24510         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
24511         Likewise.
24512         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
24513         Likewise.
24514         * sysdeps/x86_64/fpu/multiarch/s_sin.c
24515         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24516         * sysdeps/x86_64/fpu/multiarch/s_tan.c
24517         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24518         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
24519         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
24520         (HAVE_SSE2AVX_SUPPORT): Likewise.
24522 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
24524         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
24525         instead of #pragma optimize.
24527 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
24529         [BZ #17195]
24530         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
24531         as is similarly done in systrim and _int_free already.
24533 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24535         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
24537 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
24539         [BZ #19088]
24540         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
24541         <limits.h>.
24542         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
24543         overflows but exception would not result from cast.
24544         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
24545         and <limits.h>.
24546         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
24547         overflows but exception would not result from cast.
24548         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
24549         <limits.h>.
24550         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
24551         overflows but exception would not result from cast.
24552         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
24553         <limits.h>.
24554         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
24555         overflows but exception would not result from cast.
24556         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
24557         <limits.h>.
24558         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
24559         overflows but exception would not result from cast.
24560         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
24561         <limits.h>.
24562         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
24563         overflows but exception would not result from cast.
24564         * math/libm-test.inc (lround_test_data): Add more tests.
24565         (llround_test_data): Likewise.
24567 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
24569         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
24570         (CFLAGS-ialloc.c): Ditto.
24571         (CFLAGS-scheck.c): Ditto.
24573 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
24575         [BZ #19086]
24576         * manual/filesys.texi (Storage Allocation): Fix argument order for
24577         posix_fallocate64.
24579 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
24581         [BZ #19085]
24582         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
24583         exponent below 48 inside case for non-overflowing exponent.
24584         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
24586 2015-10-07  Florian Weimer  <fweimer@redhat.com>
24588         * iconvdata/cp737.h (from_idx): Add const.
24589         * iconvdata/cp775.h (from_idx): Likewise.
24591 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
24593         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
24594         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
24595         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
24597         [BZ #19079]
24598         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
24599         file, conditioned on [!_LP64].
24600         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
24601         [!_LP64] (__lround): Do not define as function or alias.
24602         [!_LP64] (lround): Likewise.
24603         [!_LP64] (__lroundl): Likewise.
24604         [!_LP64] (lroundl): Likewise.
24605         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
24606         macro.
24607         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
24608         Likewise.
24610 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
24612         * math/libm-test.inc (lrint_test_data): Add more tests.
24613         (llrint_test_data): Likewise.
24614         (lround_test_data): Likewise.
24615         (llround_test_data): Likewise.
24617         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
24618         (llrint_test_data): Add tests used for lrint.
24620         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
24621         test.
24622         * sysdeps/i386/configure: Regenerated.
24623         * sysdeps/i386/i686/multiarch/Makefile
24624         [$(config-cflags-sse4) = yes]: Make code unconditional.
24625         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
24626         Likewise.
24627         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
24628         Likewise.
24629         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
24630         test.
24631         * sysdeps/x86_64/configure: Regenerated.
24632         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
24633         Make code unconditional.
24634         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
24635         Likewise.
24636         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
24637         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
24639         * scripts/rpm2dynsym.sh: Remove file.
24641 2015-10-06  Florian Weimer  <fweimer@redhat.com>
24643         * configure.ac (libc_cv_cxx_thread_local): Define.
24644         * configure: Regenerate.
24645         * config.make.in (have-cxx-thread_local): Define.
24646         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
24647         (LDLIBS-tst-thread_local1): Define.
24648         (tests): Add tst-thread_local1.
24649         [have-cxx-thread_local != yes] (tests-unsupported): Add
24650         tst-thread_local1.
24651         * nptl/tst-thread_local1.cc: New file.
24653 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
24655         [BZ #19078]
24656         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
24657         (u_thres): Likewise.
24658         (__expl): Determine whether to call __kernel_standard_l based on
24659         value of result, not argument.
24661         * math/libm-test.inc (scalb_test_data): Add more expectations for
24662         the "inexact" exception.
24664         [BZ #19077]
24665         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
24666         0.0L for argument 1.0L.
24668         [BZ #19076]
24669         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
24670         constant 0.0L when computing infinite result.
24672 2015-10-06  Florian Weimer  <fweimer@redhat.com>
24674         [BZ #10432]
24675         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
24676         malloc_usable_size.
24678 2015-10-06  Florian Weimer  <fweimer@redhat.com>
24680         [BZ #19018]
24681         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
24682         Mangle function pointer before storing it.
24683         (__call_tls_dtors): Demangle function pointer before calling it.
24685 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24687         [BZ #19012]
24688         * iconv/gconv_db.c (gen_steps): Check for additional errors.
24689         Clean up on failure.
24691 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
24693         [BZ #19071]
24694         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
24695         long int variable to store possibly incremented high part of
24696         mantissa.
24697         * math/libm-test.inc (lround_test_data): Add tests used for
24698         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
24699         for tests requiring 64-bit long.  Do not condition tests on
24700         [TEST_FLOAT] unnecessarily.
24701         (llround_test_data): Add tests used for lround.  Add another
24702         expectation for the "inexact" exception.  Do not condition tests
24703         on [TEST_FLOAT] unnecessarily.
24705         [BZ #887]
24706         [BZ #19049]
24707         [BZ #19050]
24708         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
24709         * sysdeps/ieee754/dbl-64/e_log10.c: Include
24710         <fix-int-fp-convert-zero.h>.
24711         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24712         * sysdeps/ieee754/dbl-64/e_log2.c: Include
24713         <fix-int-fp-convert-zero.h>.
24714         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24715         * sysdeps/ieee754/dbl-64/s_erf.c: Include
24716         <fix-int-fp-convert-zero.h>.
24717         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24718         * sysdeps/ieee754/dbl-64/s_logb.c: Include
24719         <fix-int-fp-convert-zero.h>.
24720         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24721         * sysdeps/ieee754/flt-32/e_log10f.c: Include
24722         <fix-int-fp-convert-zero.h>.
24723         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24724         * sysdeps/ieee754/flt-32/e_log2f.c: Include
24725         <fix-int-fp-convert-zero.h>.
24726         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24727         * sysdeps/ieee754/flt-32/s_erff.c: Include
24728         <fix-int-fp-convert-zero.h>.
24729         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24730         * sysdeps/ieee754/flt-32/s_logbf.c: Include
24731         <fix-int-fp-convert-zero.h>.
24732         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24733         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
24734         <fix-int-fp-convert-zero.h>.
24735         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24736         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
24737         <fix-int-fp-convert-zero.h>.
24738         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24739         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
24740         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
24741         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
24742         file.
24743         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
24745 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
24747         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24749 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
24751         [BZ #19059]
24752         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
24753         overflowing computation.
24754         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24755         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
24756         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
24757         Likewise.
24758         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
24759         Likewise.
24760         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
24761         Likewise.
24762         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24763         Likewise.
24764         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
24765         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24766         Likewise.
24767         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24768         Likewise.
24769         * math/libm-test.inc (nexttoward_test_data): Add more tests.
24771         * nss/rewrite_field.c (__nss_rewrite_field): Use
24772         internal_function.
24773         * nss/valid_field.c (__nss_valid_field): Likewise.
24774         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
24776 2015-10-02  Florian Weimer  <fweimer@redhat.com>
24778         [BZ #18724]
24779         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
24780         (__nss_invalid_field_characters, __nss_valid_field)
24781         (__nss_valid_list_field, __nss_rewrite_field): Declare.
24782         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
24783         tst-field.c: New file.
24784         * nss/Makefile (routines): Add valid_field, rewrite_field.
24785         (tests-static): Define unconditionally.
24786         (tests): Include tests-static.
24787         [build-static-nss] (tests-static): Use append.
24788         [build-static-nss] (tests): Remove modification.
24789         * nss/getent.c (print_group): Call putgrent.  Report error.
24790         (print_gshadow): Call putsgent.  Report error.
24791         (print_passwd): Call putpwent.  Report error.
24792         (print_shadow): Call putspent.  Report error.
24793         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
24794         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
24795         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
24796         name, password, directory, shell fields for valid syntax.  Rewrite
24797         GECOS field to match syntax.
24798         * pwd/Makefile (tests): Add tst-putpwent.
24799         * pwd/tst-putpwent.c: New file.
24800         * grp/putgrent.c (putgrent): Convert to ISO function definition.
24801         Check grName, grpasswd, gr_mem fields for valid syntax.
24802         Change loop variable i to size_t.
24803         * grp/Makefile (tests): Add tst-putgrent.
24804         * grp/tst-putgrent.c: New file.
24805         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
24806         valid syntax.
24807         * shadow/Makefile (tests): Add tst-putspent.
24808         * shadow/tst-putspent.c: New file.
24809         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
24810         sg_mem fields for valid syntax.
24811         * gshadow/Makefile (tests): Add tst-putsgent.
24812         * gshadow/tst-putsgent.c: New file.
24814 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
24816         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
24817         assembly instructions.
24819 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
24821         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
24822         prefix from operands.
24824 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
24826         [BZ #16347]
24827         [BZ #19046]
24828         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
24829         <libc-internal.h>.
24830         (MAXLGM): Do not use diagnostic control macros.
24831         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
24832         threshold for ldbl-128ibm.
24833         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
24834         instead of multiplying by log then subtracting.
24835         * math/auto-libm-test-in: Add more tests of lgamma.
24836         * math/auto-libm-test-out: Regenerated.
24838         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
24839         (TYPE_HEX_DIG): Likewise.
24840         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
24841         precisions when printing floating-point numbers.
24842         (check_float_internal): Likewise.
24844 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
24846         [BZ #16620]
24847         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
24848         of log (10) rounded downward to 48 bits.
24849         (log10_low): Use corresponding low part of log (10).
24851         [BZ #19032]
24852         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
24853         compute result as (x - x) / (x - x) not as 0 / 0.
24854         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
24855         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
24857         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24858         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
24859         and expm1.
24860         * math/auto-libm-test-out: Regenerated.
24861         * math/libm-test.inc (acos_test_data): Add more tests.
24862         (asin_test_data): Likewise.
24863         (asinh_test_data): Likewise.
24864         (atan_test_data): Likewise.
24865         (atanh_test_data): Likewise.
24866         (atan2_test_data): Likewise.
24867         (cbrt_test_data): Likewise.
24868         (ceil_test_data): Likewise.
24869         (copysign_test_data): Likewise.
24870         (cos_test_data): Likewise.
24871         (cosh_test_data): Likewise.
24872         (erf_test_data): Likewise.
24873         (erfc_test_data): Likewise.
24874         (exp_test_data): Likewise.
24875         (exp10_test_data): Likewise.
24876         (exp2_test_data): Likewise.
24877         (expm1_test_data): Likewise.
24878         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24880 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
24882         [BZ #19006]
24883         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
24884         to ...
24885         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
24886         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
24887         to ...
24888         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
24889         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
24890         to ...
24891         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
24892         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
24893         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
24894         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
24895         to ...
24896         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
24897         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
24898         Moved to ...
24899         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
24900         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
24901         Moved to ...
24902         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
24903         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
24904         to ...
24905         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
24906         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
24907         Moved to ...
24908         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
24909         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
24910         to ...
24911         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
24912         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
24913         Removed.
24914         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
24915         Likewise.
24916         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
24917         Likewise.
24918         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
24919         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
24920         Likewise.
24921         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
24922         Likewise.
24923         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
24924         Likewise.
24925         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
24926         Likewise.
24927         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
24928         Likewise.
24929         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
24930         Likewise.
24931         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
24932         Likewise.
24933         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
24934         Likewise.
24935         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
24936         Likewise.
24937         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
24938         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
24939         Likewise.
24940         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
24941         Likewise.
24942         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
24943         Likewise.
24944         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
24945         Likewise.
24946         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
24947         Likewise.
24948         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
24949         Replace ../i486/pthread_cond_timedwait.S with
24950         ../pthread_cond_timedwait.S.
24952 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
24954         * math/libm-test.inc (acos_test_data): Refine expectations for
24955         errno and "inexact" exceptions.
24956         (acosh_test_data): Likewise.
24957         (asin_test_data): Likewise.
24958         (asinh_test_data): Likewise.
24959         (atan_test_data): Likewise.
24960         (atanh_test_data): Likewise.
24961         (atan2_test_data): Likewise.
24962         (cbrt_test_data): Likewise.
24963         (ceil_test_data): Likewise.
24964         (copysign_test_data): Likewise.
24965         (cosh_test_data): Likewise.
24966         (erf_test_data): Likewise.
24967         (erfc_test_data): Likewise.
24968         (exp_test_data): Likewise.
24969         (exp10_test_data): Likewise.
24970         (exp2_test_data): Likewise.
24971         (expm1_test_data): Likewise.
24972         (fabs_test_data): Likewise.
24973         (floor_test_data): Likewise.
24974         (fma_test_data): Likewise.
24975         (fmax_test_data): Likewise.
24976         (fmin_test_data): Likewise.
24977         (fmod_test_data): Likewise.
24978         (fpclassify_test_data): Likewise.
24979         (frexp_test_data): Likewise.
24980         (hypot_test_data): Likewise.
24981         (ilogb_test_data): Likewise.
24982         (isgreater_test_data): Likewise.
24983         (isgreaterequal_test_data): Likewise.
24984         (isinf_test_data): Likewise.
24985         (isless_test_data): Likewise.
24986         (islessequal_test_data): Likewise.
24987         (islessgreater_test_data): Likewise.
24988         (isnan_test_data): Likewise.
24989         (isnormal_test_data): Likewise.
24990         (issignaling_test_data): Likewise.
24991         (isunordered_test_data): Likewise.
24992         (j0_test_data): Likewise.
24993         (j1_test_data): Likewise.
24994         (jn_test_data): Likewise.
24995         (lgamma_test_data): Likewise.
24996         (lrint_test_data): Likewise.
24997         (llrint_test_data): Likewise.
24998         (log_test_data): Likewise.
24999         (log10_test_data): Likewise.
25000         (log1p_test_data): Likewise.
25001         (log2_test_data): Likewise.
25002         (logb_test_data): Likewise.
25003         (lround_test_data): Likewise.
25004         (llround_test_data): Likewise.
25005         (modf_test_data): Likewise.
25006         (nearbyint_test_data): Likewise.
25007         (nextafter_test_data): Likewise.
25008         (nexttoward_test_data): Likewise.
25009         (pow_test_data): Likewise.
25010         (remainder_test_data): Likewise.
25011         (remquo_test_data): Likewise.
25012         (rint_test_data): Likewise.
25013         (round_test_data): Likewise.
25014         (signbit_test_data): Likewise.
25015         (sinh_test_data): Likewise.
25016         (sqrt_test_data): Likewise.
25017         (tanh_test_data): Likewise.
25018         (tgamma_test_data): Likewise.
25019         (trunc_test_data): Likewise.
25020         (y0_test_data): Likewise.
25021         (y1_test_data): Likewise.
25022         (yn_test_data): Likewise.
25023         (significand_test_data): Likewise.
25025 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
25027         * manual/filesys.texi (Storage Allocation): Document that
25028         posix_fallocate emulation fails when fd is open with O_WRONLY.
25030 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
25032         [BZ #19016]
25033         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
25034         allow more cases with X^2 + Y^2 >= 0.5.
25035         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
25036         normal element in sum instead of special-casing based on values of
25037         arguments.
25038         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
25039         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
25040         -1 as normal element in sum instead of special-casing based on
25041         values of arguments.
25042         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
25043         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
25044         (__x2y2m1): Update comment.
25045         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
25046         as normal element in sum instead of special-casing based on values
25047         of arguments.
25048         * math/s_clog.c (__clog): Handle more cases using log1p without
25049         hypot.
25050         * math/s_clog10.c (__clog10): Likewise.
25051         * math/s_clog10f.c (__clog10f): Likewise.
25052         * math/s_clog10l.c (__clog10l): Likewise.
25053         * math/s_clogf.c (__clogf): Likewise.
25054         * math/s_clogl.c (__clogl): Likewise.
25055         * math/auto-libm-test-in: Add more tests of clog and clog10.
25056         * math/auto-libm-test-out: Regenerated.
25057         * sysdeps/i386/fpu/libm-test-ulps: Update.
25058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25060 2015-09-28  Martin Sebor  <msebor@redhat.com>
25062         [BZ #18969]
25063         * string/Makefile (LOCALES): Define.
25064         (gen-locales.mk): Include.
25065         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
25066         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
25067         * string/tst-strxfrm2.c (do_test): Print the name of the locale
25068         on setlocale failure.
25070 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
25072         [BZ #18985]
25073         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
25074         (__strftime_internal): Likewise.
25075         * time/tst-strftime.c (do_bz18985): New test.
25076         (do_test): Call it.
25078 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
25080         [BZ #18956]
25081         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
25082         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
25083         extracting high part.
25084         * math/auto-libm-test-in: Add another test of pow.
25085         * math/auto-libm-test-out: Regenerated.
25086         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25088 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
25090         [BZ #18825]
25091         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
25092         New macro.
25093         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
25094         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
25095         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
25096         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
25097         DBL_NARROW_EVAL, reloading the PIC register as needed.
25098         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
25099         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
25100         FLT_NARROW_EVAL.  Use separate return path for case when first
25101         argument is NaN.
25102         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
25103         DEFINE_LDBL_MIN.
25104         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
25105         PIC register.
25106         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
25107         math_check_force_underflow_nonneg.
25108         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
25109         underflow for subnormal result.
25110         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
25111         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
25112         math_check_force_underflow_nonneg.
25113         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
25114         math_check_force_underflow.
25115         * sysdeps/x86_64/fpu/x86_64-math-asm.h
25116         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
25117         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
25118         DEFINE_LDBL_MIN.
25119         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
25120         * math/auto-libm-test-in: Add more tests of pow.
25121         * math/auto-libm-test-out: Regenerated.
25123 2015-09-25  Florian Weimer  <fweimer@redhat.com>
25125         * nss/bug17079.c (init_test_items): Add diagnostic for
25126         inconsistent entries.
25127         (test_buffer_size): Skip inconsistent entries.
25129 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
25131         [BZ #13304]
25132         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
25133         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
25134         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
25136         [BZ #13304]
25137         * sysdeps/microblaze/s_fma.c: New file.
25138         * sysdeps/microblaze/s_fmaf.c: Likewise.
25139         * sysdeps/microblaze/sfp-machine.h: Likewise.
25141 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
25143         [BZ #17250]
25144         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
25145         member.
25147 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
25149         [BZ #18803]
25150         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
25151         (MO): New macro.
25152         (__ieee754_hypot) [PIC]: Load PIC register.
25153         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
25154         DBL_NARROW_EVAL.
25155         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
25156         math_check_force_underflow_nonneg in case where result might be
25157         tiny.
25158         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
25159         Likewise.
25160         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25161         Likewise.
25162         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
25163         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
25164         * math/auto-libm-test-in: Add more tests of hypot.
25165         * math/auto-libm-test-out: Regenerated.
25167 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
25169         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
25171 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
25173         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
25174         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
25175         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
25176         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
25177         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
25178         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
25179         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
25181         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
25182         LOAD_PIC_REG.
25184         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
25185         (FLT_CHECK_FORCE_UFLOW): Likewise.
25186         (DBL_CHECK_FORCE_UFLOW): Likewise.
25187         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
25188         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
25189         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
25190         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
25191         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
25192         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
25193         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
25194         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
25195         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
25196         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25197         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
25198         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
25199         (flt_min): Replace with use of DEFINE_FLT_MIN.
25200         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
25201         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
25202         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25203         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
25204         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
25205         (flt_min): Replace with use of DEFINE_FLT_MIN.
25206         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
25207         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
25208         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25209         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
25210         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
25211         (flt_min): Replace with use of DEFINE_FLT_MIN.
25212         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
25213         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
25214         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
25215         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
25216         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
25217         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
25218         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
25219         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
25220         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25221         (__atan): Use DBL_CHECK_FORCE_UFLOW.
25222         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
25223         (flt_min): Replace with use of DEFINE_FLT_MIN.
25224         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
25225         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
25226         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25227         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
25228         main computation.
25229         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
25230         (flt_min): Replace with use of DEFINE_FLT_MIN.
25231         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
25232         main computation.
25233         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
25234         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25235         (MO): New macro.
25236         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
25237         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
25238         (flt_min): Replace with use of DEFINE_FLT_MIN.
25239         (MO): New macro.
25240         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
25241         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
25242         (__log1pl): Use MO.
25244         [BZ #19003]
25245         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
25246         $(config-cflags-nofma).
25248 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25250         * sysdeps/aarch64/libm-test-ulps: Regenerated.
25252 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
25254         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
25255         (TWO127): Likewise.
25257         * sysdeps/generic/math_private.h (fabs_tg): New macro.
25258         (min_of_type): Likewise.
25259         (math_check_force_underflow): Likewise.
25260         (math_check_force_underflow_nonneg): Likewise.
25261         (math_check_force_underflow_complex): Likewise.
25262         * math/e_exp2l.c (__ieee754_exp2l): Use
25263         math_check_force_underflow_nonneg.
25264         * math/k_casinh.c (__kernel_casinh): Likewise.
25265         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25266         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25267         * math/s_catan.c (__catan): Use
25268         math_check_force_underflow_complex.
25269         * math/s_catanf.c (__catanf): Likewise.
25270         * math/s_catanh.c (__catanh): Likewise.
25271         * math/s_catanhf.c (__catanhf): Likewise.
25272         * math/s_catanhl.c (__catanhl): Likewise.
25273         * math/s_catanl.c (__catanl): Likewise.
25274         * math/s_ccosh.c (__ccosh): Likewise.
25275         * math/s_ccoshf.c (__ccoshf): Likewise.
25276         * math/s_ccoshl.c (__ccoshl): Likewise.
25277         * math/s_cexp.c (__cexp): Likewise.
25278         * math/s_cexpf.c (__cexpf): Likewise.
25279         * math/s_cexpl.c (__cexpl): Likewise.
25280         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
25281         * math/s_clog10.c (__clog10): Likewise.
25282         * math/s_clog10f.c (__clog10f): Likewise.
25283         * math/s_clog10l.c (__clog10l): Likewise.
25284         * math/s_clogf.c (__clogf): Likewise.
25285         * math/s_clogl.c (__clogl): Likewise.
25286         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
25287         * math/s_csinf.c (__csinf): Likewise.
25288         * math/s_csinh.c (__csinh): Likewise.
25289         * math/s_csinhf.c (__csinhf): Likewise.
25290         * math/s_csinhl.c (__csinhl): Likewise.
25291         * math/s_csinl.c (__csinl): Likewise.
25292         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
25293         * math/s_csqrtf.c (__csqrtf): Likewise.
25294         * math/s_csqrtl.c (__csqrtl): Likewise.
25295         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
25296         * math/s_ctanf.c (__ctanf): Likewise.
25297         * math/s_ctanh.c (__ctanh): Likewise.
25298         * math/s_ctanhf.c (__ctanhf): Likewise.
25299         * math/s_ctanhl.c (__ctanhl): Likewise.
25300         * math/s_ctanl.c (__ctanl): Likewise.
25301         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
25302         instead of volatile.
25303         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
25304         math_check_force_underflow.
25305         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
25306         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
25307         volatile when forcing underflow.
25308         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
25309         math_check_force_underflow_nonneg.
25310         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
25311         Likewise.
25312         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
25313         math_check_force_underflow.
25314         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
25315         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
25316         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
25317         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
25318         math_check_force_underflow_nonneg.
25319         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
25320         math_check_force_underflow.
25321         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
25322         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
25323         instead of volatile.
25324         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
25325         math_check_force_underflow.
25326         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
25327         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
25328         math_check_force_underflow_nonneg.
25329         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
25330         math_check_force_underflow.
25331         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
25332         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
25333         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
25334         math_check_force_underflow_nonneg.
25335         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
25336         Likewise.
25337         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
25338         math_check_force_underflow.
25339         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
25340         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
25341         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
25342         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
25343         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
25344         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
25345         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
25346         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
25347         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
25348         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
25349         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
25350         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
25351         Likewise.
25352         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
25353         math_check_force_underflow_nonneg.
25354         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
25355         Likewise.
25356         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
25357         math_check_force_underflow.
25358         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
25359         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
25360         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
25361         Likewise.
25362         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
25363         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
25364         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
25365         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
25366         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
25367         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
25368         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
25369         instead of volatile.
25370         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
25371         math_check_force_underflow.
25372         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
25373         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
25374         math_check_force_underflow.
25375         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
25376         Likewise.
25377         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
25378         Use math_check_force_underflow_nonneg.
25379         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
25380         math_check_force_underflow.
25381         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
25382         Likewise.
25383         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
25384         Likewise.
25385         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25386         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
25387         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
25388         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
25389         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
25390         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
25391         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
25392         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
25393         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
25394         math_check_force_underflow_nonneg.
25395         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
25396         math_check_force_underflow.
25397         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
25398         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
25399         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
25400         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
25401         math_check_force_underflow_nonneg.
25402         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
25403         math_check_force_underflow.
25404         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
25405         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
25406         instead of volatile.
25407         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
25408         math_check_force_underflow.
25410         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
25411         * stdlib/strtod_l.c: Include <math_private.h>.
25412         (overflow_value): Use math_narrow_eval.
25413         (underflow_value): Likewise.
25414         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25415         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
25416         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
25417         (__ieee754_gamma_r): Likewise.
25418         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
25419         Likewise.
25420         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
25421         Likewise.
25422         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
25423         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
25424         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
25425         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
25426         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
25427         (__ieee754_gammaf_r): Likewise.
25428         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
25429         Likewise.
25430         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
25431         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
25432         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
25433         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
25434         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
25435         volatile.
25436         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
25437         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
25438         math_narrow_eval.
25439         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
25440         Likewise.
25441         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25442         Likewise.
25443         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
25444         Likewise.
25445         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
25446         volatile.
25447         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
25448         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
25449         math_narrow_eval.
25450         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25451         Likewise.
25452         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25453         Likewise.
25455 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
25457         * nptl/Versions: Remove ignored symbols.
25459 2015-09-22  Florian Weimer  <fweimer@redhat.com>
25461         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
25462         * nss/Makefile (tests): Update.
25464 2015-09-22  Florian Weimer  <fweimer@redhat.com>
25466         * nss/bug18287.c: New file.
25467         * nss/Makefile (tests): Add bug18287.
25469 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25471         * mach/Versions (__mach_host_self_): Add symbol.
25473 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25475         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
25476         vm_page_size.
25478 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25480         Really fix sysdeps/i386/fpu/s_scalbn.S build
25482         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
25483         (libc: GLIBC_2_22): Remove unused version set.
25485 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
25487         * config.make.in (enable-timezone-tools): New variable.
25488         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
25489         (enable_timezone_tools): Export to generated files.
25490         * configure: Regenerate.
25491         * INSTALL: Regenerate.
25492         * manual/install.texi (--disable-timezone-tools): Document new flag.
25493         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
25494         ifeq ($(enable-timezone-tools),yes) check.
25496 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
25498         * timezone/Makefile: Revert previous change.
25500         [BZ #18980]
25501         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
25502         (DEFINE_DBL_MIN): Likewise.
25503         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
25504         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
25505         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
25506         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
25507         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
25508         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25509         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
25510         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
25511         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
25512         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25513         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
25514         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
25515         (flt_min): Replace with use of DEFINE_FLT_MIN.
25516         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
25517         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
25518         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25519         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
25520         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
25521         (flt_min): Replace with use of DEFINE_FLT_MIN.
25522         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
25523         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
25524         (flt_min): Replace with use of DEFINE_FLT_MIN.
25525         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
25526         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
25527         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
25528         (__ieee754_hypot): Use DBL_NARROW_EVAL.
25529         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
25530         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
25531         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
25532         (__ieee754_pow): Use DBL_NARROW_EVAL.
25533         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
25534         (__ieee754_powf): Use FLT_NARROW_EVAL.
25535         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
25536         (__ieee754_expf_sse2): Convert double-precision result to single
25537         precision.
25538         * sysdeps/i386/fpu/libm-test-ulps: Update.
25540 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25542         * timezone/Makefile: Ignore unused variable errors due to private.h
25543         (time_t_min) and (time_t_max).
25544         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
25545         Likewise.
25547 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
25549         [BZ #18981]
25550         * sysdeps/i386/fpu/i386-math-asm.h: New file.
25551         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
25552         (__ieee754_scalb): Use DBL_NARROW_EVAL.
25553         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
25554         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
25555         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
25556         (__scalbn): Use DBL_NARROW_EVAL.
25557         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
25558         (__scalbnf): Use FLT_NARROW_EVAL.
25560 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25562         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
25563         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
25564         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
25565         * stdio-common/printf_fp.c (___printf_fp):
25566         Use signbit to get the sign. Use isinf macro to allow inlining.
25567         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
25568         * stdio-common/printf_size.c (__printf_size): Likewise.
25570 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
25572         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
25574 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
25576         [BZ #18980]
25577         * sysdeps/generic/math_private.h: Include <float.h>.
25578         (math_narrow_eval): New macro.
25579         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
25580         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
25581         math_narrow_eval on overflowing return value.
25582         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
25583         Likewise.
25584         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
25585         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
25586         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
25587         Likewise.
25588         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
25590 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25592         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
25593         * math/Makefile: Remove isinf_ns.c.
25594         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
25595         * math/multc3.c (__multc3): Likewise.
25596         * math/s_casin.c (__casin): Likewise.
25597         * math/s_casinf.c (__casinf): Likewise.
25598         * math/s_casinl.c (__casinl): Likewise.
25599         * math/s_cproj.c (__cproj): Likewise.
25600         * math/s_cprojf.c (__cprojf): Likewise.
25601         * math/s_cprojl.c (__cprofl): Likewise.
25602         * math/s_ctan.c (__ctan): Likewise.
25603         * math/s_ctanf.c (__ctanf): Likewise.
25604         * math/s_ctanh.c (__ctanh): Likewise.
25605         * math/s_ctanhf.c (__ctanhf): Likewise.
25606         * math/s_ctanhl.c (__ctanhl): Likewise.
25607         * math/s_ctanl.c (__ctanl): Likewise.
25608         * math/w_fmod.c (__fmod): Likewise.
25609         * math/w_fmodf.c (__fmodf): Likewise.
25610         * math/w_fmodl.c (_fmodl): Likewise.
25611         * math/w_remainder.c (__remainder): Likewise.
25612         * math/w_remainderf.c (__remainderf): Likewise.
25613         * math/w_remainderl.c (__remainderl): Likewise.
25614         * math/w_scalb.c (__scalb): Likewise.
25615         * math/w_scalbf.c (__scalbf): Likewise.
25616         * math/w_scalbl.c (__scalbl): Likewise.
25617         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
25618         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
25619         with isinf.
25620         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
25621         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
25622         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
25623         __isinf_nsf with isinf.
25624         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
25625         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
25626         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
25627         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
25628         with isinf.
25629         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
25630         __isinf_nsl with isinf.
25631         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
25632         with isinf.
25633         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
25634         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
25635         __isinf_nsl with isinf.
25636         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
25637         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
25638         with isinf.
25640 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25642         * resolv/base64.c (rcsid): Remove unused static.
25643         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
25644         static.  (tqpi1): Likewise.
25645         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
25646         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
25647         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
25648         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
25649         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
25650         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
25651         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
25652         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
25653         Likewise.
25655 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
25657         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
25658         <nptl/pthreadP.h>.
25659         (_longjmp_unwind): Use __libc_ptf_call.
25660         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
25662 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
25664         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
25665         * sysdeps/arm/__longjmp.S: Likewise.
25667 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25669         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
25670         Use __builtin_signbit.
25671         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
25672         Use __builtin_signbitf.
25673         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
25674         Use __builtin_signbitl.
25675         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
25676         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
25678 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25680         [BZ #15367]
25681         [BZ #17441]
25683         * math/Makefile: Build test-snan.c with -fsignaling-nans.
25684         * math/math.h (fpclassify): Use __builtin_fpclassify when
25685         available.  (signbit): Use __builtin_signbit(f/l).
25686         (isfinite): Use__builtin_isfinite.  (isnormal): Use
25687         __builtin_isnormal.  (isnan): Use __builtin_isnan.
25688         (isinf): Use __builtin_isinf_sign.
25690 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25692         * benchtests/Makefile: Add bench-math-inlines, link with libm.
25693         * benchtests/bench-math-inlines.c: New benchmark.
25694         * benchtests/bench-util.h: New file.
25695         * benchtests/bench-util.c: New file.
25696         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
25698 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
25700         * elf/tst-dlmopen1.c: Define TEST_SO.
25701         (do_test): Use TEST_SO.
25703         * elf/dl-load.c: Include libc-internal.h.
25704         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
25706 2015-09-18  Vincent Bernat  <vincent@bernat.im>
25708         [BZ #17887]
25709         * time/strptime_l.c (__strptime_internal): Make %z accept
25710         [+-]HH:MM time zones.
25712 2015-09-18  Vincent Bernat  <vincent@bernat.im>
25714         [BZ #17886]
25715         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
25716         valid time zone.
25718 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
25720         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
25721         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
25722         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25723         (__ASSUME_FDATASYNC): Delete.
25725 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
25727         * conform/linknamespace.pl: Require weak undefined symbols to be
25728         in the standard namespace.
25729         (%strong_syms): Rename to %seen_syms.
25730         (%strong_seen): Rename to %seen_where.
25732 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
25734         [BZ #18970]
25735         * misc/error.c (error): Replace pthread_setcancelstate with
25736         __pthread_setcancelstate.
25737         (error_at_line): Likewise.
25738         * posix/wordexp.c (parse_comm): Likewise.
25739         * stdlib/fmtmsg.c (fmtmsg): Likewise.
25740         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
25741         (__pthread_setcancelstate): This.
25742         (pthread_setcancelstate): Add an alias.
25743         * nptl/nptl-init.c (pthread_functions): Replace
25744         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
25745         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
25746         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
25747         hidden_proto.
25748         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
25749         it with hidden_def.
25750         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
25751         (pthread_setcancelstate): Renamed to ...
25752         (__pthread_setcancelstate): This.
25753         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
25754         __libc_ptf_call with __pthread_setcancelstate.
25756 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
25757             Andreas Schwab  <schwab@suse.de>
25759         [BZ #17118]
25760         * math/s_ctan.c (__ctan): Determine sign of zero real part of
25761         result when imaginary part of argument is infinite using sine and
25762         cosine.
25763         * math/s_ctanf.c (__ctanf): Likewise.
25764         * math/s_ctanl.c (__ctanl): Likewise.
25765         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
25766         of result when real part of argument is infinite using sine and
25767         cosine.
25768         * math/s_ctanhf.c (__ctanhf): Likewise.
25769         * math/s_ctanhl.c (__ctanhl): Likewise.
25770         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
25771         (ctanh_test_data): Add more tests of ctanh.
25773 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
25775         [BZ #15384]
25776         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
25777         bit-mask as in subtraction.
25778         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
25779         Likewise.
25780         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
25781         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
25782         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
25784         [BZ #18951]
25785         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
25786         underflow exception for small results.
25787         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
25788         Likewise.
25789         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
25790         Likewise.
25791         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
25792         Likewise.
25793         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
25794         Likewise.
25795         * math/auto-libm-test-in: Add more tests of tgamma.
25796         * math/auto-libm-test-out: Regenerated.
25798 2015-09-17  Andreas Schwab  <schwab@suse.de>
25800         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
25802 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
25804         [BZ #18977]
25805         * math/bits/mathcalls.h
25806         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
25807         not declare.
25808         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
25809         Likewise.
25810         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
25811         Likewise.
25812         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
25813         Likewise.
25814         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
25815         Likewise.
25816         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
25817         Likewise.
25818         * conform/data/math.h-data
25819         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
25820         function.
25821         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
25822         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
25823         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
25824         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
25825         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
25826         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
25827         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
25828         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
25829         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
25830         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
25831         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
25833         [BZ #6803]
25834         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
25835         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
25836         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
25837         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
25838         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
25839         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
25840         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
25841         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
25842         [NO_LONG_DOUBLE] (scalbnl): Likewise.
25843         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
25844         Likewise.
25845         [NO_LONG_DOUBLE] (scalbnl): Likewise.
25846         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
25847         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
25848         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
25849         long_double_symbol calls.
25850         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
25851         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
25852         strong alias of __ldexpl.
25853         (scalbnl): Define using long_double_symbol.
25854         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
25855         Remove alias.
25856         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
25857         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
25858         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
25859         (scalbln_test_data): Add more errno expectations.
25861 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
25863         Cache the host port like we cache the task port.  This way we do not
25864         need to call the kernel just to get the port.  Furthermore, we no
25865         longer increase the reference count on every invocation of
25866         `mach_host_self'.
25868         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
25869         Protect declarations against the macro expansion.
25870         * mach/mach_init.c (__mach_host_self_): New variable.
25871         (mach_init): Initialize `__mach_host_self_'.
25872         * mach/mach_init.h (__mach_host_self_): New declaration.
25873         (__mach_host_self, mach_host_self): New macros.
25874         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
25875         Release reference.
25877 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
25879         [BZ #4404]
25880         * po/de.po: Update from Translation Project.
25882         [BZ #16415]
25883         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
25884         (__expm1l): Remove code to handle positive infinity and overflow.
25885         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
25886         variable.
25887         (__expm1l): Remove code to handle positive infinity and overflow.
25889 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
25890             Paul Pluzhnikov  <ppluzhnikov@google.com>
25892         [BZ #18872]
25893         * stdio-common/Makefile (tst-printf-bz18872): New test.
25894         (tst-printf-bz18872-mem.out): Likewise.
25895         * stdio-common/tst-printf-bz18872.sh: Generate new test.
25896         * stdio-common/vfprintf.c: Fix memory leaks.
25898 2015-09-16  Andreas Schwab  <schwab@suse.de>
25900         [BZ #17244]
25901         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
25902         Remove extra va_start/va_end calls.
25904         [BZ #17243]
25905         * posix/execl.c (execl): Add missing va_end.
25906         * posix/execle.c (execle): Likewise.
25907         * posix/execlp.c (execlp): Likewise.
25909 2015-09-15  Roland McGrath  <roland@hack.frob.com>
25911         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
25912         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
25914 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
25916         [BZ #18967]
25917         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
25918         undefine around includes of <bits/mathcalls.h>.
25919         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
25920         not declare function.
25921         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
25922         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
25923         (scalb): Likewise.
25924         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
25925         not define macro.
25926         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
25927         variable.
25928         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
25929         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
25930         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
25932         [BZ #18857]
25933         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
25934         return non-finite argument without doing ordered comparisons on
25935         it.
25937         [BZ #16296]
25938         * math/fenv.h (fegetround): Use __attribute_pure__.
25939         * include/fenv.h (__fegetround): Likewise.
25941         [BZ #18595]
25942         * math/s_ctan.c (__ctan): Force underflow exception for results
25943         whose real or imaginary part has small absolute value.
25944         * math/s_ctanf.c (__ctanf): Likewise.
25945         * math/s_ctanh.c (__ctanh): Likewise.
25946         * math/s_ctanhf.c (__ctanhf): Likewise.
25947         * math/s_ctanhl.c (__ctanhl): Likewise.
25948         * math/s_ctanl.c (__ctanl): Likewise.
25949         * math/auto-libm-test-in: Do not allow missing underflow for ctan
25950         and ctanh.  Add more tests of ctan and ctanh.
25952         [BZ #15918]
25953         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
25954         handling of cases where one argument is an infinity.
25956         [BZ #18875]
25957         [BZ #18966]
25958         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
25959         (MO): New macro.
25960         (__ieee754_exp10): For small results, force underflow exception
25961         and remove excess range and precision from return value.
25962         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
25963         (MO): New macro.
25964         (__ieee754_exp10f): For small results, force underflow exception
25965         and remove excess range and precision from return value.
25966         * math/auto-libm-test-in: Add more tests of exp10.
25967         * math/auto-libm-test-out: Regenerated.
25969 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
25971         [BZ #18875]
25972         [BZ #18961]
25973         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
25974         (MO): New macro.
25975         (__ieee754_exp): For small results, force underflow exception and
25976         remove excess range and precision from return value.
25977         (__exp_finite): Likewise.
25978         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
25979         (MO): New macro.
25980         (__ieee754_expf): For small results, force underflow exception and
25981         remove excess range and precision from return value.
25982         (__expf_finite): Likewise.
25983         * math/auto-libm-test-in: Add more tests of exp.
25984         * math/auto-libm-test-out: Regenerated.
25986         [BZ #16521]
25987         [BZ #18875]
25988         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
25989         small results.
25990         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
25991         (MO): New macro.
25992         (__ieee754_exp2): For small results, force underflow exception and
25993         remove excess range and precision from return value.
25994         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
25995         (MO): New macro.
25996         (__ieee754_exp2f): For small results, force underflow exception
25997         and remove excess range and precision from return value.
25998         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
25999         (MO): New macro.
26000         (__ieee754_exp2l): Force underflow exception for small results.
26001         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
26002         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
26003         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
26004         (MO): New macro.
26005         (__ieee754_exp2l): Force underflow exception for small results.
26006         * math/auto-libm-test-in: Add more tests or exp2.
26007         * math/auto-libm-test-out: Regenerated.
26009 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
26011         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
26013         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
26014         /dev/null.
26016 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26018         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
26019         io fs process)): Drop spurious backslash.
26021 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
26023         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
26024         Use sysinfo system call instead of parsing /proc/meminfo.
26025         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
26026         Likewise.
26028 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
26030         [BZ #16985]
26031         * programs/localedef.c (main): Display argv[remaining] when
26032         output_path is NULL.
26034 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
26036         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26037         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
26038         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
26039         tanh.
26040         * math/auto-libm-test-out: Regenerated.
26041         * sysdeps/i386/fpu/libm-test-ulps: Update.
26042         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
26043         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26046 2015-09-11  Roland McGrath  <roland@hack.frob.com>
26048         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
26049         Use 'override' keyword to freeze the value here, preventing
26050         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
26052 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
26054         [BZ #14912]
26055         * sysdeps/aarch64/bits/atomic.h: Move to ...
26056         * sysdeps/aarch64/atomic-machine.h: ...here.
26057         (_AARCH64_BITS_ATOMIC_H): Rename macro to
26058         _AARCH64_ATOMIC_MACHINE_H.
26059         * sysdeps/alpha/bits/atomic.h: Move to ...
26060         * sysdeps/alpha/atomic-machine.h: ...here.
26061         * sysdeps/arm/bits/atomic.h: Move to ...
26062         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
26063         * bits/atomic.h: Move to ...
26064         * sysdeps/generic/atomic-machine.h: ...here.
26065         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
26066         * sysdeps/i386/bits/atomic.h: Move to ...
26067         * sysdeps/i386/atomic-machine.h: ...here.
26068         * sysdeps/ia64/bits/atomic.h: Move to ...
26069         * sysdeps/ia64/atomic-machine.h: ...here.
26070         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
26071         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
26072         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
26073         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
26074         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
26075         * sysdeps/microblaze/bits/atomic.h: Move to ...
26076         * sysdeps/microblaze/atomic-machine.h: ...here.
26077         * sysdeps/mips/bits/atomic.h: Move to ...
26078         * sysdeps/mips/atomic-machine.h: ...here.
26079         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
26080         * sysdeps/powerpc/bits/atomic.h: Move to ...
26081         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
26082         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
26083         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
26084         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
26085         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
26086         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
26087         <atomic-machine.h> instead of <bits/atomic.h>.
26088         * sysdeps/s390/bits/atomic.h: Move to ...
26089         * sysdeps/s390/atomic-machine.h: ...here.
26090         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
26091         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
26092         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
26093         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
26094         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
26095         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
26096         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
26097         * sysdeps/tile/bits/atomic.h: Move to ...
26098         * sysdeps/tile/atomic-machine.h: ...here.
26099         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
26100         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
26101         <sysdeps/tile/atomic-machine.h> instead of
26102         <sysdeps/tile/bits/atomic.h>.
26103         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
26104         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
26105         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
26106         <sysdeps/tile/atomic-machine.h> instead of
26107         <sysdeps/tile/bits/atomic.h>.
26108         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
26109         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
26110         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
26111         <sysdeps/arm/atomic-machine.h> instead of
26112         <sysdeps/arm/bits/atomic.h>.
26113         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
26114         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
26115         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
26116         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
26117         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
26118         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
26119         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
26120         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
26121         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
26122         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
26123         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
26124         * sysdeps/x86_64/bits/atomic.h: Move to ...
26125         * sysdeps/x86_64/atomic-machine.h: ...here.
26126         * include/atomic.h: Include <atomic-machine.h> instead of
26127         <bits/atomic.h>.
26129         * sysdeps/mips/mips32/libm-test-ulps: Update.
26130         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26132         [BZ #18952]
26133         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
26134         not convert non-integer negative arguments to int to determine the
26135         value of signgam.
26136         * math/auto-libm-test-in: Add more tests of lgamma.
26137         * math/auto-libm-test-out: Regenerated.
26139         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
26140         cosh, csqrt, erfc, expm1 and lgamma.
26141         * math/auto-libm-test-out: Regenerated.
26142         * sysdeps/i386/fpu/libm-test-ulps: Update.
26143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26145 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
26147         [BZ #2542]
26148         [BZ #2543]
26149         [BZ #2558]
26150         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
26151         __lgamma_neg for arguments from -28.0 to -2.0.
26152         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
26153         __lgamma_negf for arguments from -15.0 to -2.0.
26154         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26155         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
26156         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
26157         Call __lgamma_negl for arguments from -33.0 to -2.0.
26158         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
26159         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
26160         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
26161         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
26162         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
26163         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
26164         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
26165         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
26166         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
26167         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
26168         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
26169         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
26170         (__lgamma_neg): Likewise.
26171         (__lgamma_negl): Likewise.
26172         (__lgamma_product): Likewise.
26173         (__lgamma_productl): Likewise.
26174         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
26175         * math/auto-libm-test-in: Add more tests of lgamma.
26176         * math/auto-libm-test-out: Regenerated.
26177         * sysdeps/i386/fpu/libm-test-ulps: Update.
26178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26180 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
26182         [BZ #18675]
26183         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
26185 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
26187         [BZ #14912]
26188         * bits/libc-lock.h: Move to ...
26189         * sysdeps/generic/libc-lock.h: ...here.
26190         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
26191         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
26192         * sysdeps/mach/hurd/libc-lock.h: ...here.
26193         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
26194         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
26195         * sysdeps/mach/bits/libc-lock.h: Move to ...
26196         * sysdeps/mach/libc-lock.h: ...here.
26197         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
26198         * sysdeps/nptl/bits/libc-lock.h: Move to ...
26199         * sysdeps/nptl/libc-lock.h: ...here.
26200         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
26201         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
26202         * sysdeps/nptl/libc-lockP.h: ...here.
26203         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
26204         * crypt/crypt_util.c: Include <libc-lock.h> instead of
26205         <bits/libc-lock.h>.
26206         * dirent/scandir-tail.c: Likewise.
26207         * dlfcn/dlerror.c: Likewise.
26208         * elf/dl-close.c: Likewise.
26209         * elf/dl-iteratephdr.c: Likewise.
26210         * elf/dl-lookup.c: Likewise.
26211         * elf/dl-open.c: Likewise.
26212         * elf/dl-support.c: Likewise.
26213         * elf/dl-writev.h: Likewise.
26214         * elf/rtld.c: Likewise.
26215         * grp/fgetgrent.c: Likewise.
26216         * gshadow/fgetsgent.c: Likewise.
26217         * gshadow/sgetsgent.c: Likewise.
26218         * iconv/gconv_conf.c: Likewise.
26219         * iconv/gconv_db.c: Likewise.
26220         * iconv/gconv_dl.c: Likewise.
26221         * iconv/gconv_int.h: Likewise.
26222         * iconv/gconv_trans.c: Likewise.
26223         * include/link.h: Likewise.
26224         * inet/getnameinfo.c: Likewise.
26225         * inet/getnetgrent.c: Likewise.
26226         * inet/getnetgrent_r.c: Likewise.
26227         * intl/bindtextdom.c: Likewise.
26228         * intl/dcigettext.c: Likewise.
26229         * intl/finddomain.c: Likewise.
26230         * intl/gettextP.h: Likewise.
26231         * intl/loadmsgcat.c: Likewise.
26232         * intl/localealias.c: Likewise.
26233         * intl/textdomain.c: Likewise.
26234         * libidn/idn-stub.c: Likewise.
26235         * libio/libioP.h: Likewise.
26236         * locale/duplocale.c: Likewise.
26237         * locale/freelocale.c: Likewise.
26238         * locale/newlocale.c: Likewise.
26239         * locale/setlocale.c: Likewise.
26240         * login/getutent_r.c: Likewise.
26241         * login/getutid_r.c: Likewise.
26242         * login/getutline_r.c: Likewise.
26243         * login/utmp-private.h: Likewise.
26244         * login/utmpname.c: Likewise.
26245         * malloc/mtrace.c: Likewise.
26246         * misc/efgcvt.c: Likewise.
26247         * misc/error.c: Likewise.
26248         * misc/fstab.c: Likewise.
26249         * misc/getpass.c: Likewise.
26250         * misc/mntent.c: Likewise.
26251         * misc/syslog.c: Likewise.
26252         * nis/nis_call.c: Likewise.
26253         * nis/nis_callback.c: Likewise.
26254         * nis/nss-default.c: Likewise.
26255         * nis/nss_compat/compat-grp.c: Likewise.
26256         * nis/nss_compat/compat-initgroups.c: Likewise.
26257         * nis/nss_compat/compat-pwd.c: Likewise.
26258         * nis/nss_compat/compat-spwd.c: Likewise.
26259         * nis/nss_nis/nis-alias.c: Likewise.
26260         * nis/nss_nis/nis-ethers.c: Likewise.
26261         * nis/nss_nis/nis-grp.c: Likewise.
26262         * nis/nss_nis/nis-hosts.c: Likewise.
26263         * nis/nss_nis/nis-network.c: Likewise.
26264         * nis/nss_nis/nis-proto.c: Likewise.
26265         * nis/nss_nis/nis-pwd.c: Likewise.
26266         * nis/nss_nis/nis-rpc.c: Likewise.
26267         * nis/nss_nis/nis-service.c: Likewise.
26268         * nis/nss_nis/nis-spwd.c: Likewise.
26269         * nis/nss_nisplus/nisplus-alias.c: Likewise.
26270         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
26271         * nis/nss_nisplus/nisplus-grp.c: Likewise.
26272         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
26273         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
26274         * nis/nss_nisplus/nisplus-network.c: Likewise.
26275         * nis/nss_nisplus/nisplus-proto.c: Likewise.
26276         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
26277         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
26278         * nis/nss_nisplus/nisplus-service.c: Likewise.
26279         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
26280         * nis/ypclnt.c: Likewise.
26281         * nptl/libc_pthread_init.c: Likewise.
26282         * nss/getXXbyYY.c: Likewise.
26283         * nss/getXXent.c: Likewise.
26284         * nss/getXXent_r.c: Likewise.
26285         * nss/nss_db/db-XXX.c: Likewise.
26286         * nss/nss_db/db-netgrp.c: Likewise.
26287         * nss/nss_db/nss_db.h: Likewise.
26288         * nss/nss_files/files-XXX.c: Likewise.
26289         * nss/nss_files/files-alias.c: Likewise.
26290         * nss/nsswitch.c: Likewise.
26291         * posix/regex_internal.h: Likewise.
26292         * posix/wordexp.c: Likewise.
26293         * pwd/fgetpwent.c: Likewise.
26294         * resolv/res_hconf.c: Likewise.
26295         * resolv/res_libc.c: Likewise.
26296         * shadow/fgetspent.c: Likewise.
26297         * shadow/lckpwdf.c: Likewise.
26298         * shadow/sgetspent.c: Likewise.
26299         * socket/opensock.c: Likewise.
26300         * stdio-common/reg-modifier.c: Likewise.
26301         * stdio-common/reg-printf.c: Likewise.
26302         * stdio-common/reg-type.c: Likewise.
26303         * stdio-common/vfprintf.c: Likewise.
26304         * stdio-common/vfscanf.c: Likewise.
26305         * stdlib/abort.c: Likewise.
26306         * stdlib/cxa_atexit.c: Likewise.
26307         * stdlib/fmtmsg.c: Likewise.
26308         * stdlib/random.c: Likewise.
26309         * stdlib/setenv.c: Likewise.
26310         * string/strsignal.c: Likewise.
26311         * sunrpc/auth_none.c: Likewise.
26312         * sunrpc/bindrsvprt.c: Likewise.
26313         * sunrpc/create_xid.c: Likewise.
26314         * sunrpc/key_call.c: Likewise.
26315         * sunrpc/rpc_thread.c: Likewise.
26316         * sysdeps/arm/backtrace.c: Likewise.
26317         * sysdeps/generic/ldsodefs.h: Likewise.
26318         * sysdeps/generic/stdio-lock.h: Likewise.
26319         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
26320         * sysdeps/i386/backtrace.c: Likewise.
26321         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
26322         * sysdeps/m68k/backtrace.c: Likewise.
26323         * sysdeps/mach/hurd/cthreads.c: Likewise.
26324         * sysdeps/mach/hurd/dirstream.h: Likewise.
26325         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
26326         * sysdeps/nptl/malloc-machine.h: Likewise.
26327         * sysdeps/nptl/stdio-lock.h: Likewise.
26328         * sysdeps/posix/dirstream.h: Likewise.
26329         * sysdeps/posix/getaddrinfo.c: Likewise.
26330         * sysdeps/posix/system.c: Likewise.
26331         * sysdeps/pthread/aio_suspend.c: Likewise.
26332         * sysdeps/s390/s390-32/backtrace.c: Likewise.
26333         * sysdeps/s390/s390-64/backtrace.c: Likewise.
26334         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26335         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
26336         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
26337         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
26338         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
26339         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
26340         * sysdeps/unix/sysv/linux/system.c: Likewise.
26341         * sysdeps/x86_64/backtrace.c: Likewise.
26342         * time/alt_digit.c: Likewise.
26343         * time/era.c: Likewise.
26344         * time/tzset.c: Likewise.
26345         * wcsmbs/wcsmbsload.c: Likewise.
26346         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
26347         instead of <bits/libc-lock.h> in comment.
26349 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
26351         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
26352         Only use .set mips2 if the current ISA is below mips2.
26353         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
26354         Likewise.
26355         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
26356         mips32r2 if the current ISA is below mips32r2.
26357         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
26358         (TLS_IE): Updated to use the TLD_RDHWR macro.
26359         (TLS_LE): Likewise.
26360         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
26361         __ASSEMBLER__ condition.
26363 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26365         Fix parallel build of before-compile targets.
26367         * sysdeps/mach/Makefile ($(patsubst
26368         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
26369         mach-before-compile target.
26370         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
26371         io fs process)): Move rule to dedicated hurd-before-compile target.
26373 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26375         Fix rules generating headers in hurd/ and mach/ when initial make call
26376         has subdir= explicitly set.
26378         * sysdeps/mach/Makefile ($(patsubst
26379         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
26380         calling $(MAKE).
26381         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
26382         io fs process)): Force subdir to hurd when calling $(MAKE).
26383         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
26384         subdir to mach when calling $(MAKE).
26386 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
26388         Check sysheaders when looking for Mach and Hurd headers
26390         * sysdeps/mach/configure.ac: Add sysheaders check.
26391         * sysdeps/mach/configure: Regenerate.
26392         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
26393         * sysdeps/mach/hurd/configure: Regenerate.
26395 2015-09-04  Roland McGrath  <roland@hack.frob.com>
26397         [BZ #18921]
26398         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
26399         Fix inverted sense of test of 'o_directory_works' value.
26400         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
26401         Bernhard Voelker <mail@bernhard-voelker.de>.
26403 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
26405         [BZ #14912]
26406         * bits/linkmap.h: Move to ...
26407         * sysdeps/generic/linkmap.h: ...here.
26408         * sysdeps/aarch64/bits/linkmap.h: Move to ...
26409         * sysdeps/aarch64/linkmap.h: ...here.
26410         * sysdeps/arm/bits/linkmap.h: Move to ...
26411         * sysdeps/arm/linkmap.h: ...here.
26412         * sysdeps/hppa/bits/linkmap.h: Move to ...
26413         * sysdeps/hppa/linkmap.h: ...here.
26414         * sysdeps/ia64/bits/linkmap.h: Move to ...
26415         * sysdeps/ia64/linkmap.h: ...here.
26416         * sysdeps/mips/bits/linkmap.h: Move to ...
26417         * sysdeps/mips/linkmap.h: ...here.
26418         * sysdeps/s390/bits/linkmap.h: Move to ...
26419         * sysdeps/s390/linkmap.h: ...here.
26420         * sysdeps/sh/bits/linkmap.h: Move to ...
26421         * sysdeps/sh/linkmap.h: ...here.
26422         * sysdeps/x86/bits/linkmap.h: Move to ...
26423         * sysdeps/x86/linkmap.h: ...here.
26424         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
26426 2015-09-04  Andreas Schwab  <schwab@suse.de>
26428         [BZ #18635]
26429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
26430         (__makecontext): Terminate FDE before return label.
26431         (__novec_makecontext): Likewise.
26433 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26435         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
26436         first member of struct sv in syscall macro.
26438 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
26440         [BZ #14912]
26441         * bits/stdio-lock.h: Move to ...
26442         * sysdeps/generic/stdio-lock.h: ...here.
26443         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
26444         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
26445         * sysdeps/nptl/stdio-lock.h: ...here.
26446         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
26447         * include/libio.h: Include <stdio-lock.h> instead of
26448         <bits/stdio-lock.h>.
26449         * sysdeps/nptl/fork.c: Likewise.
26450         * sysdeps/pthread/flockfile.c: Likewise.
26451         * sysdeps/pthread/ftrylockfile.c: Likewise.
26452         * sysdeps/pthread/funlockfile.c: Likewise.
26454         [BZ #14912]
26455         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
26456         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
26457         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
26458         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
26459         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
26460         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
26461         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
26463 2015-09-03  Roland McGrath  <roland@hack.frob.com>
26465         * elf/Makefile (test-xfail-tst-protected1a): New variable.
26466         (test-xfail-tst-protected1b): New variable.
26468 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
26470         [BZ #14912]
26471         * bits/libc-tsd.h: Move to ...
26472         * sysdeps/generic/libc-tsd.h: ...here.
26473         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
26474         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
26475         * sysdeps/mach/hurd/libc-tsd.h: ...here.
26476         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
26477         * include/ctype.h: Include <libc-tsd.h> instead of
26478         <bits/libc-tsd.h>.
26479         * include/rpc/rpc.h: Likewise.
26480         * locale/localeinfo.h: Likewise.
26481         * sunrpc/rpc_thread.c: Likewise.
26482         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
26483         * sysdeps/nptl/malloc-machine.h: Likewise.
26485         * Makefile (headers): Remove bits/libc-lock.h.
26486         * libio/Makefile (headers): Remove bits/stdio-lock.h.
26488         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
26489         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
26490         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
26491         <bits/stdio-lock.h>.
26492         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
26493         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
26495 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
26497         [BZ #18757]
26498         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
26499         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
26500         BZ #18757.
26502 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
26504         * malloc/mtrace.pl: Filter out NULL entries.
26506 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
26508         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
26509         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
26510         macro.
26512         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
26513         (TCP_CC_INFO): Likewise.
26514         (TCP_SAVE_SYN): Likewise.
26515         (TCP_SAVED_SYN): Likewise.
26517 2015-08-31  Brett Neumeier <brett@neumeier.us>
26519         [BZ #18870]
26520         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
26522 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
26524         [BZ #18873]
26525         Fix broken overflow check in posix_fallocate
26526         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
26527         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
26528         Fix parenthesization typo.
26530 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
26532         [BZ #18887]
26533         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
26534         tst-mntent-blank-passno.
26535         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
26536         * misc/tst-mntent-blank-corrupt.c: New test.
26537         * misc/tst-mntent-blank-passno.c: New test ripped from ...
26538         * misc/tst-mntent.c (do_test): ... here.
26540 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
26542         [BZ #4404]
26543         * po/de.po: Fix SIGALRM typo.
26545 2015-08-28  James Perkins  <james@loowit.net>
26547         * time/tst-strptime2.c (tests): Replace short list of test
26548         strings for strptime %z specifier with code which exhaustively
26549         tests every combination of sign and 0 to 5 digits. Tests for
26550         rejection of invalid strings.
26552 2015-08-28  James Perkins  <james@loowit.net>
26554         [BZ #16141]
26555         * time/strptime_l.c (__strptime_internal): Fix %z minutes
26556         calculation, removing incorrect decimal time rounding, so that
26557         all minute values result in a valid seconds value.
26558         * time/strptime_l.c (__strptime_internal): Extend %z time zone
26559         offset range limits to UTC-99:59 through UTC+99:59 to parse
26560         current and historical use cases.
26561         * time/tst-strptime2.c (tests): Modify and add tests for the
26562         strptime %z input field descriptor, specifically conversion of
26563         minutes to seconds and validating an offset range of -9959 to
26564         +9959.
26566 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26567             Dmitry V. Levin  <ldv@altlinux.org>
26569         [BZ #18877]
26570         * posix/Makefile (tests): Add tst-mmap-offset.
26571         * posix/tst-mmap.c: New file.
26572         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
26573         offset calculation for negative values.
26575 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26577         * sysdeps/i386/init-arch.h: New file.
26578         * sysdeps/i386/i586/init-arch.h: Likewise.
26579         * sysdeps/i386/i686/init-arch.h: Likewise.
26580         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
26581         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
26582         * sysdeps/x86/cpu-features.h (bit_I586): New.
26583         (bit_I686): Likewise.
26584         (bit_CX8): Likewise.
26585         (bit_CMOV): Likewise.
26586         (index_CX8): Likewise.
26587         (index_CMOV): Likewise.
26588         (index_I586): Likewise.
26589         (index_I686): Likewise.
26590         (reg_CX8): Likewise.
26591         (reg_CMOV): Likewise.
26592         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
26593         available at compile-time.
26594         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
26595         available at compile-time.
26596         * sysdeps/x86/init-arch.h (USE_I586): New macro.
26597         (USE_I686): Likewise.
26599 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26601         * sysdeps/i386/bcopy.S: New file.
26602         * sysdeps/i386/bzero.S: Likewise.
26603         * sysdeps/i386/memcpy.S: Likewise.
26604         * sysdeps/i386/memmove.S: Likewise.
26605         * sysdeps/i386/mempcpy.S: Likewise.
26606         * sysdeps/i386/memset.S: Likewise.
26607         * sysdeps/i386/bzero.c: Removed.
26608         * sysdeps/i386/memset.c: Likewise.
26609         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
26610         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
26611         * sysdeps/i386/i586/memset_chk.S: Likewise.
26612         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
26613         * sysdeps/i386/memcpy_chk.S: Here.
26614         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
26615         * sysdeps/i386/memmove_chk.S: Here.
26616         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
26617         * sysdeps/i386/mempcpy_chk.S: Likewise.
26618         * sysdeps/i386/i686/memset_chk.S: Moved to ...
26619         * sysdeps/i386/memset_chk.S: Likewise.
26621 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
26623         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
26624         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
26625         file, move DIAG_POP_NEEDS_COMMENT to end of file.
26626         * soft-fp/fmadf4.c: Ditto.
26627         * soft-fp/fmatf4.c: Ditto.
26629 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26631         * sysdeps/i386/i586/Implies: Removed.
26632         * sysdeps/i386/i686/Implies: Likewise.
26634 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26636         * sysdeps/i386/i486/strlen.S: Moved to ...
26637         * sysdeps/i386/strlen.S: Here.
26639 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26641         * sysdeps/i386/i486/strcat.S: Moved to ...
26642         * sysdeps/i386/strcat.S: Here.
26644 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26646         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
26647         * sysdeps/i386/pthread_spin_trylock.S: Here.
26648         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
26649         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
26651 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26653         * sysdeps/i386/i486/string-inlines.c: Moved to ...
26654         * sysdeps/i386/string-inlines.c: Here.
26656 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26658         * sysdeps/i386/i486/htonl.S: Moved ...
26659         * sysdeps/i386/htonl.S: here.
26661 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26663         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
26664         * sysdeps/i386/bits/atomic.h: Here.
26666 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26668         * sysdeps/i386/i486/Versions: Removed.
26670 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
26672         [BZ #2898]
26673         * misc/mktemp.c: Add mkdtemp to the link_warning message.
26674         Based on patch by Aurelien Jarno.
26676 2015-08-26  Stan Shebs  <stanshebs@google.com>
26678         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
26679         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
26681 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26683         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
26684         * sysdeps/powerpc/dl-procinfo.c:
26685         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
26686         feature so it shows when LD_SHOW_AUXV=1.
26688 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26690         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
26691         (__arch_compare_and_exchange_val_32_acq): Remove and use common
26692         definition.  ISA 2.07B no longer requires full sync.
26694 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
26696         [BZ #18863]
26697         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
26698         (si_call_addr): Define.
26699         (si_syscall): Define.
26700         (si_arch): Define.
26702 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
26704         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
26705         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
26706         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
26707         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
26708         (__memset_zero_constant_len_parameter): New.
26709         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
26710         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
26711         (__memset_zero_constant_len_parameter): Don't define if
26712         __memset_chk or USE_AS_BZERO are defined.
26714         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
26715         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
26716         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
26718         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
26719         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
26720         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
26721         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
26722         comments.
26723         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
26724         -mno-mmx for $(all-rtld-routines).
26725         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
26726         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
26727         i386.
26729 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
26731         * sysdeps/generic/unwind.h
26732         (_Unwind_Word): Use __mode__(__unwind_word__)
26733         instead of __mode__(__word__).
26734         (_Unwind_Sword): Likewise.
26736         * sysdeps/s390/s390-64/utf8-utf16-z9.c
26737         (MAX_NEEDED_INPUT): New define.
26738         (MAX_NEEDED_OUTPUT): New define.
26740         * NEWS: New item for IBM z13 string optimizations.
26742         * sysdeps/s390/multiarch/memrchr-c.c: New File.
26743         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
26744         * sysdeps/s390/multiarch/memrchr.c: Likewise.
26745         * sysdeps/s390/multiarch/Makefile
26746         (sysdep_routines): Add memrchr functions.
26747         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26748         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
26750         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
26751         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
26752         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
26753         * sysdeps/s390/multiarch/Makefile
26754         (sysdep_routines): Add wmemcmp functions.
26755         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26756         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
26757         * benchtests/bench-wmemcmp.c: New File.
26758         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
26760         * sysdeps/s390/multiarch/wmemset-c.c: New File.
26761         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
26762         * sysdeps/s390/multiarch/wmemset.c: Likewise.
26763         * sysdeps/s390/multiarch/Makefile
26764         (sysdep_routines): Add wmemset functions.
26765         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26766         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
26767         * wcsmbs/wmemset.c: Use WMEMSET if defined.
26768         * string/test-memset.c: Add wmemset support.
26769         * wcsmbs/test-wmemset.c: New File.
26770         * wcsmbs/Makefile (strop-tests): Add wmemset.
26771         * benchtests/bench-memset.c: Add wmemset support.
26772         * benchtests/bench-wmemset.c: New File.
26773         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
26775         * sysdeps/s390/multiarch/memccpy-c.c: New File.
26776         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
26777         * sysdeps/s390/multiarch/memccpy.c: Likewise.
26778         * sysdeps/s390/multiarch/Makefile
26779         (sysdep_routines): Add memccpy functions.
26780         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26781         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
26782         * string/memccpy.c: Use MEMCCPY if defined.
26784         * sysdeps/s390/multiarch/memchr-vx.S: New File.
26785         * sysdeps/s390/multiarch/memchr.c: Likewise.
26786         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
26787         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
26788         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
26789         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
26790         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
26791         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
26792         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
26793         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
26794         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
26795         and rawmemchr functions.
26796         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26797         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
26798         and wmemchr.
26799         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
26800         * string/test-memchr.c: Add wmemchr support.
26801         * wcsmbs/test-wmemchr.c: New File.
26802         * wcsmbs/Makefile (strop-tests): Add wmemchr.
26803         * benchtests/bench-memchr.c: Add wmemchr support.
26804         * benchtests/bench-wmemchr.c: New File.
26805         * benchtests/Makefile (wcsmbs-bench): wmemchr.
26807         * sysdeps/s390/multiarch/strcspn-c.c: New File.
26808         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
26809         * sysdeps/s390/multiarch/strcspn.c: Likewise.
26810         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
26811         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
26812         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
26813         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
26814         wcscspn functions.
26815         * sysdeps/s390/multiarch/ifunc-impl-list.c
26816         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
26817         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
26818         * string/test-strcspn.c: Add wcscspn support.
26819         * wcsmbs/test-wcscspn.c: New File.
26820         * wcsmbs/Makefile (strop-tests): Add wcscspn.
26821         * benchtests/bench-strcspn.c: Add wcscspn support.
26822         * benchtests/bench-wcscspn.c: New File.
26823         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
26825         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
26826         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
26827         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
26828         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
26829         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
26830         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
26831         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
26832         wcspbrk functions.
26833         * sysdeps/s390/multiarch/ifunc-impl-list.c
26834         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
26835         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
26836         * string/test-strpbrk.c: Add wcspbrk support.
26837         * wcsmbs/test-wcspbrk.c: New File.
26838         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
26839         * benchtests/bench-strpbrk.c: Add wcspbrk support.
26840         * benchtests/bench-wcspbrk.c: New File.
26841         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
26843         * sysdeps/s390/multiarch/strspn-c.c: New File.
26844         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
26845         * sysdeps/s390/multiarch/strspn.c: Likewise.
26846         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
26847         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
26848         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
26849         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
26850         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
26851         wcsspn functions.
26852         * sysdeps/s390/multiarch/ifunc-impl-list.c
26853         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
26854         * string/test-strspn.c: Add wcsspn support.
26855         * wcsmbs/test-wcsspn.c: New File.
26856         * wcsmbs/Makefile (strop-tests): Add wcsspn.
26857         * benchtests/bench-strspn.c: Add wcsspn support.
26858         * benchtests/bench-wcsspn.c: New File.
26859         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
26861         * sysdeps/s390/multiarch/strrchr-c.c: New File.
26862         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
26863         * sysdeps/s390/multiarch/strrchr.c: Likewise.
26864         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
26865         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
26866         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
26867         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
26868         wcsrchr functions.
26869         * sysdeps/s390/multiarch/ifunc-impl-list.c
26870         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
26871         * benchtests/bench-wcsrchr.c: New File.
26872         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
26874         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
26875         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
26876         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
26877         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
26878         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
26879         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
26880         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
26881         wcschrnul functions.
26882         * sysdeps/s390/multiarch/ifunc-impl-list.c
26883         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
26884         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
26885         * string/test-strchr.c: Add wcschrnul support.
26886         * wcsmbs/test-wcschrnul.c: New File.
26887         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
26888         * benchtests/bench-strchr.c: Add wcschrnul support.
26889         * benchtests/bench-wcschrnul.c: New File.
26890         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
26892         * sysdeps/s390/multiarch/strchr-c.c: New File.
26893         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
26894         * sysdeps/s390/multiarch/strchr.c: Likewise.
26895         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
26896         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
26897         * sysdeps/s390/multiarch/wcschr.c: Likewise.
26898         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
26899         wcschr functions.
26900         * sysdeps/s390/multiarch/ifunc-impl-list.c
26901         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
26902         * string/strchr.c (STRCHR): Define and use macro.
26903         * benchtests/bench-wcschr.c: New File.
26904         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
26906         * sysdeps/s390/multiarch/strncmp-c.c: New File.
26907         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
26908         * sysdeps/s390/multiarch/strncmp.c: Likewise.
26909         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
26910         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
26911         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
26912         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
26913         wcsncmp functions.
26914         * sysdeps/s390/multiarch/ifunc-impl-list.c
26915         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
26916         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
26917         * benchtests/bench-strncmp.c: Add wcsncmp support.
26918         * benchtests/bench-wcsncmp.c: New File.
26919         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
26921         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
26922         * sysdeps/s390/multiarch/strcmp.c: Likewise.
26923         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
26924         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
26925         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
26926         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
26927         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
26928         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
26929         wcscmp functions.
26930         * sysdeps/s390/multiarch/ifunc-impl-list.c
26931         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
26932         * string/strcmp.c (STRCMP): Define and use macro.
26933         * benchtests/bench-wcscmp.c: New File.
26934         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
26935         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
26936         instead of _HAVE_STRING_ARCH_memchr.
26938         * sysdeps/s390/multiarch/strncat-c.c: New File.
26939         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
26940         * sysdeps/s390/multiarch/strncat.c: Likewise.
26941         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
26942         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
26943         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
26944         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
26945         wcsncat functions.
26946         * sysdeps/s390/multiarch/ifunc-impl-list.c
26947         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
26948         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
26949         * string/test-strncat.c: Add wcsncat support.
26950         * wcsmbs/test-wcsncat.c: New File.
26951         * wcsmbs/Makefile (strop-tests): Add wcsncat.
26952         * benchtests/bench-strncat.c: Add wcsncat support.
26953         * benchtests/bench-wcsncat.c: New File.
26954         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
26956         * sysdeps/s390/multiarch/strcat-c.c: New File.
26957         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
26958         * sysdeps/s390/multiarch/strcat.c: Likewise.
26959         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
26960         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
26961         * sysdeps/s390/multiarch/wcscat.c: Likewise.
26962         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
26963         wcscat functions.
26964         * sysdeps/s390/multiarch/ifunc-impl-list.c
26965         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
26966         * string/strcat.c (STRCAT): Define and use macro.
26967         * wcsmbs/wcscat.c: Use WCSCAT if defined.
26968         * string/test-strcat.c: Add wcscat support.
26969         * wcsmbs/test-wcscat.c: New File.
26970         * wcsmbs/Makefile (strop-tests): Add wcscat.
26971         * benchtests/bench-strcat.c: Add wcscat support.
26972         * benchtests/bench-wcscat.c: New File.
26973         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
26975         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
26976         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
26977         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
26978         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
26979         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
26980         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
26981         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
26982         wcpncpy functions.
26983         * sysdeps/s390/multiarch/ifunc-impl-list.c
26984         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
26985         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
26986         * string/test-stpncpy.c: Add wcpncpy support.
26987         * wcsmbs/test-wcpncpy.c: New File.
26988         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
26989         * benchtests/bench-stpncpy.c: Add wcpncpy support.
26990         * benchtests/bench-wcpncpy.c: New File.
26991         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
26993         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
26994         * sysdeps/s390/multiarch/strncpy.c: Likewise.
26995         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
26996         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
26997         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
26998         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
26999         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
27000         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
27001         wcsncpy functions.
27002         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
27003         * sysdeps/s390/multiarch/ifunc-impl-list.c
27004         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
27005         * string/test-strncpy.c: Add wcsncpy support.
27006         * wcsmbs/test-wcsncpy.c: New File.
27007         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
27008         * benchtests/bench-strncpy.c: Add wcsncpy support.
27009         * benchtests/bench-wcsncpy.c: New File.
27010         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
27012         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
27013         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
27014         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
27015         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
27016         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
27017         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
27018         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
27019         wcpcpy functions.
27020         * string/stpcpy.c: Use STPCPY if defined.
27021         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
27022         * sysdeps/s390/multiarch/ifunc-impl-list.c
27023         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
27024         * string/test-stpcpy.c: Add wcpcpy support.
27025         * wcsmbs/test-wcpcpy.c: New File.
27026         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
27027         * benchtests/bench-stpcpy.c: Add wcpcpy support.
27028         * benchtests/bench-wcpcpy.c: New File.
27029         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
27031         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
27032         * sysdeps/s390/multiarch/strcpy.c: Likewise.
27033         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
27034         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
27035         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
27036         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
27037         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
27038         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
27039         wcscpy functions.
27040         * sysdeps/s390/multiarch/ifunc-impl-list.c
27041         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
27042         * benchtests/bench-wcscpy.c: New File.
27043         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
27045         * sysdeps/s390/multiarch/strnlen-c.c: New File.
27046         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
27047         * sysdeps/s390/multiarch/strnlen.c: Likewise.
27048         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
27049         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
27050         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
27051         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
27052         wcsnlen functions.
27053         * sysdeps/s390/multiarch/ifunc-impl-list.c
27054         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
27055         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
27056         * string/test-strnlen.c: Add wcsnlen support.
27057         * wcsmbs/test-wcsnlen.c: New File.
27058         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
27059         * benchtests/bench-strnlen.c: Add wcsnlen support.
27060         * benchtests/bench-wcsnlen.c: New File.
27061         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
27063         * sysdeps/s390/multiarch/Makefile: New File.
27064         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
27065         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
27066         * sysdeps/s390/multiarch/strlen.c: Likewise.
27067         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
27068         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
27069         * sysdeps/s390/multiarch/wcslen.c: Likewise.
27070         * string/strlen.c (STRLEN): Define and use macro.
27071         * sysdeps/s390/multiarch/ifunc-impl-list.c
27072         (IFUNC_VX_IMPL): New macro function.
27073         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
27074         * benchtests/Makefile (wcsmbs-bench): New variable.
27075         (string-bench-all): Added wcsmbs-bench.
27076         * benchtests/bench-wcslen.c: New File.
27078         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
27079         s390_vx_libc_ifunc2): New macro function.
27081         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
27082         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
27083         assembler support.
27084         * sysdeps/s390/configure: Regenerated.
27086         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
27087         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
27089         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
27090         * sysdeps/s390/dl-procinfo.h: Add vector capability.
27091         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
27093         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
27094         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
27095         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
27096         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
27097         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
27098         (memcmp, bcmp): Use __memcmp_default as alias source.
27099         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
27100         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
27101         Rename to __memcmp_default.
27102         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
27103         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
27104         (memcpy): Use __memcpy_default as alias source.
27105         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
27106         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
27107         Rename to __memcpy_default.
27108         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
27109         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
27110         (memset): Use __memset_default as alias source.
27111         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
27112         * sysdeps/s390/s390-32/memset.S (__memset_g5):
27113         Rename to __memset_default.
27114         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
27115         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
27116         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
27117         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
27118         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
27119         (memcmp, bcmp): Use __memcmp_default as alias source.
27120         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
27121         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
27122         Rename to __memcmp_default.
27123         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
27124         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
27125         (memcpy): Use __memcpy_default as alias source.
27126         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
27127         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
27128         Rename to __memcpy_default.
27129         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
27130         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
27131         (memset): Use __memset_default as alias source.
27132         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
27133         * sysdeps/s390/s390-64/memset.S (__memset_z900):
27134         Rename to __memset_default.
27135         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
27136         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
27138         [BZ #18610]
27139         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
27140         __ieee_instruction_pointer to __unused.
27141         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
27142         __ieee_instruction_pointer.
27143         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
27144         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
27145         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27146         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
27147         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
27148         Mark dxc-field as reserved.
27150 2015-08-25  Roland McGrath  <roland@hack.frob.com>
27152         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
27153         if the weak reference is not null.
27155 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
27157         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
27159         [BZ #11214]
27160         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
27162 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27164         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
27165         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
27166         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
27167         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
27168         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
27169         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
27170         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
27171         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
27172         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
27173         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
27174         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
27175         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
27176         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
27177         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
27178         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
27179         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
27180         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
27181         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
27183 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
27185         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
27186         register other than r0 for tabort, it has special meaning.
27187         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
27188         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
27189         transaction before starting syscall.
27191 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27193         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
27195 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
27197         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
27199         * sysdeps/x86_64/rtld-memcmp.c: Removed.
27200         * sysdeps/x86_64/rtld-memset.S: Likewise.
27201         * sysdeps/x86_64/rtld-strchr.S: Likewise.
27202         * sysdeps/x86_64/rtld-strlen.S: Likewise.
27203         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
27204         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
27206         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
27208 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
27210         * debug/strcpy_chk.c: Improve performance.
27211         * debug/stpcpy_chk.c: Likewise.
27212         * sysdeps/x86_64/strcpy_chk.S: Remove.
27213         * sysdeps/x86_64/stpcpy_chk.S: Remove.
27215         [BZ #18240]
27216         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
27218 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
27220         [BZ #15128]
27221         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
27222         ifuncmain8.
27223         (modules-names): Add ifuncmod8.
27224         ($(objpfx)ifuncmain8): New rule.
27225         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
27226         <cpuid.h>.
27227         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
27228         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
27229         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
27230         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
27231         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
27232         * sysdeps/x86_64/dl-trampoline.h: Likewise.
27233         * sysdeps/x86_64/ifuncmain8.c: New file.
27234         * sysdeps/x86_64/ifuncmod8.c: Likewise.
27235         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
27236         Removed.
27237         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
27238         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
27239         Change rtld_savespace_sse to __glibc_unused2.
27240         (RTLD_CHECK_FOREIGN_CALL): Removed.
27241         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
27242         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
27243         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
27245 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
27247         * sysdeps/aarch64/bzero.S (__bzero): Remove.
27249 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
27251         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
27252         Unconditionally set __fpcr to avoid uninialized warning.
27253         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
27255 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27257         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
27258         is corrupt.
27260         * malloc/arena.c (arena_get2): Drop unused argument.
27261         (arena_lock): Adjust.
27262         (arena_get_retry): Likewise.
27264 2015-08-24  Andreas Schwab  <schwab@suse.de>
27266         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
27267         Don't define.
27268         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
27269         (__ASSUME_IPC64): Don't undef.
27270         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
27271         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
27272         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
27273         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
27274         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
27275         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
27276         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
27277         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
27278         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
27279         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
27280         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
27281         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
27282         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
27283         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
27284         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
27285         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
27286         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
27287         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
27288         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
27289         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
27290         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
27292 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
27294         * manual/Makefile (install): Only build manual when perl is available.
27296 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27298         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
27299         '#undef memcpy' by '#undef memchr'.
27301 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27303         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
27304         memchr not point to the internal __GI_memchr implementation.
27306 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
27308         * timezone/Makefile (CFLAGS-zdump.c): Remove
27309         -Wno-strict-prototypes.
27310         (CFLAGS-zic.c): Likewise.
27311         (CFLAGS-ialloc.c): Likewise.
27312         (CFLAGS-scheck.c): Likewise.
27314         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
27315         -Wno-error=undef.
27317 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
27319         * i386/i686/multiarch/strcasestr-c.c: Removed.
27320         * x86_64/multiarch/strcasestr.c: Likewise.
27321         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27322         Remove strcasestr.
27324 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
27326         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
27328         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
27329         variables for high and low parts before possibly modifying them.
27331 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
27333         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
27334         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
27335         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
27336         of "multiarch/init-arch.h".
27337         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
27338         * sysdeps/x86/init-arch.h: This.
27340 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
27342         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
27343         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
27345 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
27347         [BZ #17787]
27348         * manual/macros.texi: Add twoexp macro.
27349         * manual/filesys.texi: Fix exponents.
27350         * manual/llio.texi: Likewise.
27351         * manual/stdio.texi: Likewise.
27353 2015-08-20  Florian Weimer  <fweimer@redhat.com>
27355         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
27356         incorrect use.
27358 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
27360         [BZ #18370]
27361         * math/s_csqrt.c (__csqrt): Force underflow exception for results
27362         whose real or imaginary part has small absolute value.
27363         * math/s_csqrtf.c (__csqrtf): Likewise.
27364         * math/s_csqrtl.c (__csqrtl): Likewise.
27365         * math/auto-libm-test-in: Add more tests of csqrt.
27366         * math/auto-libm-test-out: Regenerated.
27367         * sysdeps/i386/fpu/libm-test-ulps: Update.
27369 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
27371         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
27372         __ppc_set_ppr_very_low): New functions.
27373         * manual/platform.texi: Add documentation about
27374         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
27376 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
27378         * string/stpncpy.c (stpncpy): Improve performance using
27379         __strnlen/memcpy/memset.
27381 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
27383         [BZ #18796]
27384         * scripts/test-installation.pl: Don't add -lmvec to build options if
27385         libmvec wasn't built.
27387 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
27389         [BZ #14341]
27390         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
27391         case when there is a gap between DT_REL and DT_JMPREL sections.
27392         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
27393         (LDFLAGS-tst-split-dynreloc): New.
27394         (tst-split-dynreloc-ENV): Likewise.
27395         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
27396         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
27398 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
27400         [BZ #18822]
27401         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
27402         attribute_hidden.
27403         (__xstat64_conv): Likewise.
27404         (__xstat32_conv): Likewise.
27406 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
27408         [BZ #18822]
27409         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
27410         Don't load %ebx when calling __setcontext.  Call __setcontext
27411         with HIDDEN_JUMPTARGET.
27412         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
27413         libc_hidden_def.
27415 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
27417         * sysdeps/i386/i686/Makefile
27418         [$(subdir) == string] (sysdep_routines): Moved to ...
27419         * sysdeps/i386/Makefile: Here.
27420         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
27421         * sysdeps/i386/cacheinfo.c: Here.
27422         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
27423         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
27424         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
27425         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
27427 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
27429         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
27430         __i586__ is defined.
27431         (HAS_I686): Defined to 1 if __i686__ is defined.
27433 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
27435         * elf/Makefile [$(have-z-execstack) = yes]
27436         (CPPFLAGS-tst-execstack.c): New variable.
27438         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
27439         conditional to [defined UTMPX || _HAVE_UT_TYPE].
27440         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
27441         UTMPX || _HAVE_UT_TV].
27442         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
27443         UTMPX || _HAVE_UT_TV - 0].
27445 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
27447         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
27448         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
27449         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
27451 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27453         * sysdeps/powerpc/dl-procinfo.c:
27454         (_dl_powerpc_cap_flags): Added missing strings for some
27455         hwcap features.
27456         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
27458 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
27460         Port the 0x7efe...feff pattern to GCC 6.
27461         See Steve Ellcey's bug report in:
27462         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
27463         * string/memrchr.c (MEMRCHR):
27464         * string/rawmemchr.c (RAWMEMCHR):
27465         * string/strchr.c (strchr):
27466         * string/strchrnul.c (STRCHRNUL):
27467         Rewrite code to avoid issues with signed shift overflow.
27469 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
27471         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
27472         whether cpuid is available only if HAS_CPUID is 0.
27473         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
27474         (HAS_I586): Likewise.
27475         (HAS_I686): Likewise.
27477 2015-08-18  Zack Weinberg  <zackw@panix.com>
27479         * misc/Versions (libc): Add GLIBC_2.23.
27481 2015-08-18  Alan Modra  <amodra@gmail.com>
27483         [BZ #18421]
27484         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
27485         .Lp__global.
27486         (_start): Load %dp via .Lp__global.
27487         [!SHARED]: Use .section .rodata.
27489 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27491         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
27492         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
27494 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27496         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
27497         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
27499 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27501         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
27502         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
27504 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27506         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
27507         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
27509 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27511         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
27512         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
27514 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27516         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
27517         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
27519 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27521         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
27523 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27525         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
27526         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
27527         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27528         (__ASSUME_LWS_CAS): Delete.
27530 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27532         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
27533         * sysdeps/hppa/configure: Regenerated.
27534         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
27535         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
27536         * sysdeps/hppa/nptl/tls.h: Likewise.
27538 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
27540         [BZ #18823]
27541         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
27542         for scaling up small arguments.
27543         * math/s_csqrtf.c (__csqrtf): Likewise.
27544         * math/s_csqrtl.c (__csqrtl): Likewise.
27545         * math/auto-libm-test-in: Add more tests of csqrt.
27546         * math/auto-libm-test-out: Regenerated.
27548 2015-08-17  Andreas Schwab  <schwab@suse.de>
27550         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
27551         version set GLIBC_2.19.
27553 2015-08-16  Zack Weinberg  <zackw@panix.com>
27555         [BZ #18681]
27556         * misc/regexp.h: This interface is no longer supported.
27557         Remove all contents, leaving only an #error directive.
27558         * misc/regexp.c (loc1, loc2, locs, step, advance):
27559         Demote to compatibility symbols.
27561 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
27563         [BZ #18084]
27564         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
27565         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
27566         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
27567         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
27568         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
27569         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
27570         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
27571         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
27572         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
27574 2015-08-15  Zack Weinberg  <zackw@panix.com>
27576         [BZ #18795]
27577         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
27578         buffer length is known to be too large, not if it's known to be
27579         small enough.
27580         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
27581         overflow at runtime, involving a length parameter, twice: once
27582         with a compile-time constant length parameter, once without.
27584 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
27586         [BZ #18824]
27587         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
27588         scaling x * y up instead of down.
27589         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27590         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27591         * math/auto-libm-test-in: Add more tests of fma.
27592         * math/auto-libm-test-out: Regenerated.
27594 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
27596         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27598 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27600         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
27601         unnecessary movq.
27602         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
27603         Likewise.
27605 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
27607         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
27608         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
27609         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
27610         and tgamma.
27611         * math/auto-libm-test-out: Regenerated.
27612         * sysdeps/i386/fpu/libm-test-ulps: Update.
27613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27615         [BZ #16520]
27616         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
27617         (__tanh): Force underflow exception for arguments with small
27618         absolute value.
27619         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
27620         (__tanhf): Force underflow exception for arguments with small
27621         absolute value.
27622         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
27623         (__tanhl): Force underflow exception for arguments with small
27624         absolute value.
27625         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
27626         (__tanhl): Force underflow exception for arguments with small
27627         absolute value.
27628         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
27629         (__tanhl): Force underflow exception for arguments with small
27630         absolute value.
27631         * math/auto-libm-test-in: Add more tests of tanh.
27632         * math/auto-libm-test-out: Regenerated.
27633         * sysdeps/i386/fpu/libm-test-ulps: Update.
27635 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27637         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
27638         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
27640 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27642         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
27643         <cpuid.h>.
27645 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27647         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
27648         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
27650 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27652         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
27653         Remove $(objpfx)init-arch.o.
27654         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
27655         init-arch.
27656         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
27657         (INIT_ARCH_EXT): Defined as empty.
27658         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
27659         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
27660         __init_cpu_features call.  Replace HAS_XXX with
27661         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27662         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
27663         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
27664         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
27665         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
27666         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
27667         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
27668         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
27669         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
27670         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
27671         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
27672         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
27673         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
27674         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
27675         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
27676         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
27677         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
27678         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
27679         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
27680         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
27681         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
27682         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
27683         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
27684         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
27685         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
27686         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
27687         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
27688         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
27689         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
27690         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
27691         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
27692         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
27693         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
27694         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
27695         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
27696         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
27698 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27700         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
27701         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27702         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
27703         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
27704         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
27705         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
27706         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
27707         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
27708         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
27709         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
27710         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
27711         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
27712         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27713         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27714         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27715         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27716         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27717         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27718         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27719         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27720         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27721         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27722         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27723         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27724         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27725         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27726         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27727         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27728         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27729         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27730         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27731         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27732         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27733         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27734         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27735         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27736         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27737         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27738         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27739         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27740         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27741         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27742         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27744 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27746         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
27747         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27748         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27749         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27750         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27751         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
27752         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27753         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
27754         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27755         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27756         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27757         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
27758         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
27759         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
27760         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
27761         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
27762         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
27763         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
27764         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
27765         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
27766         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
27767         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
27768         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
27769         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27770         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27771         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
27772         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
27773         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
27774         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27775         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27776         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27777         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27778         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27779         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27780         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27781         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27782         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27783         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27784         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27785         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27786         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27787         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27788         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27790 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27792         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
27793         (dl_platform_init): Call init_cpu_features.
27794         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
27795         * sysdeps/i386/i686/cacheinfo.c
27796         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
27797         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
27798         * sysdeps/i386/i686/multiarch/Versions: Removed.
27799         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
27800         Removed.
27801         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
27802         * sysdeps/unix/sysv/linux/x86/Makefile
27803         (libpthread-sysdep_routines): Remove init-arch.
27804         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
27805         <sysdeps/x86_64/dl-procinfo.c> instead of
27806         sysdeps/generic/dl-procinfo.c>.
27807         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
27808         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
27809         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
27810         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
27811         [$(subdir) == elf] (tests-static): Add
27812         tst-get-cpu-features-static.
27813         * sysdeps/x86/Versions: New file.
27814         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
27815         * sysdeps/x86/cpu-features.c: Likewise.
27816         * sysdeps/x86/cpu-features.h: Likewise.
27817         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
27818         * sysdeps/x86/libc-start.c: Likewise.
27819         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
27820         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
27821         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
27822         * sysdeps/x86_64/dl-procinfo.c: Likewise.
27823         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
27824         Assume USE_MULTIARCH is defined and don't check it.
27825         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
27826         (is_amd): Likewise.
27827         (max_cpuid): Likewise.
27828         (intel_check_word): Likewise.
27829         (__cache_sysconf): Don't call __init_cpu_features.
27830         (__x86_preferred_memory_instruction): Removed.
27831         (init_cacheinfo): Don't call __init_cpu_features. Replace
27832         __cpu_features with GLRO(dl_x86_cpu_features).
27833         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
27834         (dl_platform_init): Call init_cpu_features.
27835         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
27836         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
27837         * sysdeps/x86_64/multiarch/Versions: Removed.
27838         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
27839         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
27840         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
27841         Removed.
27842         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
27844 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
27846         [BZ #18820]
27847         * libio/Makefile (test-fmemopen-mem): New test.
27848         * libio/test-fmemopen.c (do_bz18820): New test.
27849         * libio/fmemopen.c (__fmemopen): Fix memory leak.
27850         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
27852 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
27854         [BZ #16734]
27855         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
27856         (FREE_BUF): Delete.
27857         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
27858         * libio/genops.c (_IO_setb): Use malloc and free directly.
27859         (_IO_default_doallocate, _IO_default_finish): Likewise.
27860         ( _IO_unbuffer_all): Likewise.
27861         ( libc_freeres_fn): Likewise.
27862         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
27863         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
27864         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
27865         (_IO_wdefault_doallocate): Likewise.
27867 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
27869         [BZ #18086]
27870         * sysdeps/posix/nice.c (nice): Restore old errno.
27871         * posix/tst-nice.c (do_test): Add test for BZ #18086.
27873 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
27875         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
27877 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27879         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
27880         __bcopy and add a weak_alias to bcopy.
27881         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
27882         for static build.
27884         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
27885         cleanup macro usage.
27886         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
27887         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
27888         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
27889         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
27890         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
27891         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
27892         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
27893         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
27894         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
27895         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
27896         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
27897         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
27898         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
27899         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
27900         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
27901         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
27902         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
27903         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
27904         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
27906         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
27907         libc_hidden_def.
27908         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
27910         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
27911         (sysdep_routines): Add strstr-ppc64.
27912         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
27914 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
27916         [BZ #18778]
27917         * elf/Makefile (tests): Add Add tst-nodelete2.
27918         (modules-names): Add tst-nodelete2mod.
27919         (tst-nodelete2mod.so-no-z-defs): New.
27920         ($(objpfx)tst-nodelete2): Likewise.
27921         ($(objpfx)tst-nodelete2.out): Likewise.
27922         (LDFLAGS-tst-nodelete2): Likewise.
27923         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
27924         out of loop through all loaded libraries.
27925         * elf/tst-nodelete2.c: New file.
27926         * elf/tst-nodelete2mod.c: Likewise.
27927         * elf/tst-znodelete-zlib.cc: Delete.
27929 2015-08-11  Andreas Schwab  <schwab@suse.de>
27931         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
27932         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
27933         (__openat64_nocancel): Likewise.
27935 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
27937         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
27938         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
27939         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
27940         * math/auto-libm-test-out: Regenerated.
27941         * sysdeps/i386/fpu/libm-test-ulps: Update.
27942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27944 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
27946         [BZ #18790]
27947         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
27948         threshold for returning +/- 1.
27949         * math/auto-libm-test-in: Add more tests of tanh.
27950         * math/auto-libm-test-out: Regenerated.
27951         * sysdeps/i386/fpu/libm-test-ulps: Update.
27953 2015-08-10  Andreas Schwab  <schwab@suse.de>
27955         [BZ #18781]
27956         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
27957         MORE_OFLAGS to oflag.
27958         * io/test-lfs.c (do_test): Test openat64.
27960 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
27962         [BZ #18789]
27963         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
27964         smaller threshold for returning the argument.
27965         * math/auto-libm-test-in: Add more tests of sinh.
27966         * math/auto-libm-test-out: Regenerated.
27967         * sysdeps/i386/fpu/libm-test-ulps: Update.
27969 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
27971         [BZ #18674]
27972         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
27973         break.
27975 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
27977         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
27978         (generated): Don't add $(addprefix z.,$(tzfiles)).
27980 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
27982         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
27983         * scripts/sysd-rules.awk: Likewise.
27985 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
27987         * iconvdata/tst-tables.sh: Change echo -n to printf.
27988         * nss/db-Makefile: Likewise.
27989         * posix/tst-getconf.sh: Likewise.
27990         * stdio-common/tst-unbputc.sh: Likewise.
27992 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
27994         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
27995         MADV_*_PAGES defines behind this feature check.
27997 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
27999         [BZ #18480]
28000         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
28001         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
28002         Define.
28003         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
28004         LOAD_REGS_5, LOAD_REGS_6): Update.
28005         (INTERNAL_SYSCALL): Update using new LOAD defines.
28006         (INTERNAL_SYSCALL_NCS): Likewise.
28007         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
28009 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
28011         [BZ #16734]
28012         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
28014 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
28016         [BZ #17905]
28017         * catgets/Makefile (tst-catgets-mem): New test.
28018         * catgets/catgets.c (catopen): Don't use unbounded alloca.
28019         * catgets/open_catalog.c (__open_catalog): Likewise.
28020         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
28022 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
28024         [BZ #18787]
28025         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
28026         clobber registers.
28027         (atomic_compare_and_exchange_val_acq): Use register asms to assign
28028         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
28029         Cast return to __typeof (oldval).
28031 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
28033         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
28034         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
28035         and delete sys/syscall.h include.
28037 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
28039         [BZ #16517]
28040         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
28041         (tan): Force underflow exception for arguments with small absolute
28042         value.
28043         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
28044         (__kernel_tanf): Force underflow exception for arguments with
28045         small absolute value.
28046         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
28047         (__kernel_tanl): Force underflow exception for arguments with
28048         small absolute value.
28049         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
28050         (__kernel_tanl): Force underflow exception for arguments with
28051         small absolute value.
28052         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
28053         (__kernel_tanl): Force underflow exception for arguments with
28054         small absolute value.
28055         * math/auto-libm-test-in: Add more tests of tan.
28056         * math/auto-libm-test-out: Regenerated.
28058 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28060         Fix sysdeps/i386/fpu/s_scalbn.S build
28062         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
28064 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
28066         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
28068 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28070         Fix gcrt0.o compilation
28072         When static-start-installed-name is different from
28073         start-installed-name, we must not use the shared objects.
28075         * csu/Makefile
28076         (extra-objs): Add gmon-start.o when building shared library and
28077         $(static-start-installed-name) is different from
28078         $(start-installed-name).
28079         $(objpfx)g$(static-start-installed-name): When building shared
28080         library and $(static-start-installed-name) is different from
28081         $(static-start-installed-name), revert to non-shared rule,
28082         i.e. using $(objpfx)% and gmon-start.o.
28084 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
28086         [BZ #16519]
28087         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
28088         (__ieee754_sinh): Force underflow exception for arguments with
28089         small absolute value.
28090         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
28091         (__ieee754_sinhf): Force underflow exception for arguments with
28092         small absolute value.
28093         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
28094         (__ieee754_sinhl): Force underflow exception for arguments with
28095         small absolute value.
28096         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
28097         (__ieee754_sinhl): Force underflow exception for arguments with
28098         small absolute value.
28099         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
28100         (__ieee754_sinhl): Force underflow exception for arguments with
28101         small absolute value.
28102         * math/auto-libm-test-in: Add more tests of sinh.
28103         * math/auto-libm-test-out: Regenerated.
28104         * sysdeps/i386/fpu/libm-test-ulps: Update.
28106 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
28108         * libio/oldfileops.c: Include unistd.h.
28110 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
28112         * stdlib/isomac.c: Include ctype.h.
28114 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
28116         * dirent/tst-seekdir.c (main): Converted to ...
28117         (do_test): ... this.
28118         (TEST_FUNCTION): New macro.
28119         Include test-skeleton.c.
28120         * elf/tst-dlmodcount.c (main): Converted to ...
28121         (do_test): ... this.
28122         (TEST_FUNCTION): New macro.
28123         Include test-skeleton.c.
28124         * elf/tst-order-main.c (main): Converted to ...
28125         (do_test): ... this.
28126         (TEST_FUNCTION): New macro.
28127         Include test-skeleton.c.
28128         * elf/tst-pie2.c (main): Converted to ...
28129         (do_test): ... this.
28130         (TEST_FUNCTION): New macro.
28131         Include test-skeleton.c.
28132         * inet/tst-ether_aton.c (main): Converted to ...
28133         (do_test): ... this.
28134         (TEST_FUNCTION): New macro.
28135         Include test-skeleton.c.
28136         * misc/tst-mntent.c (main): Converted to ...
28137         (do_test): ... this.
28138         (TEST_FUNCTION): New macro.
28139         Include test-skeleton.c.
28140         * misc/tst-tsearch.c (main): Converted to ...
28141         (do_test): ... this.
28142         (TEST_FUNCTION): New macro.
28143         Include test-skeleton.c.
28144         * posix/tst-regexloc.c (main): Converted to ...
28145         (do_test): ... this.
28146         (TEST_FUNCTION): New macro.
28147         Include test-skeleton.c.
28148         * resolv/tst-aton.c (main): Converted to ...
28149         (do_test): ... this.
28150         (TEST_FUNCTION): New macro.
28151         Include test-skeleton.c.
28152         * stdio-common/test-fwrite.c (main): Converted to ...
28153         (do_test): ... this.
28154         (TEST_FUNCTION): New macro.
28155         Include test-skeleton.c.
28156         * stdio-common/tst-ferror.c (main): Converted to ...
28157         (do_test): ... this.
28158         (TEST_FUNCTION): New macro.
28159         Include test-skeleton.c.
28160         * stdio-common/tst-printf.c (main): Converted to ...
28161         (do_test): ... this.
28162         (TEST_FUNCTION): New macro.
28163         Include test-skeleton.c.
28164         * stdio-common/tst-printfsz.c (main): Converted to ...
28165         (do_test): ... this.
28166         (TEST_FUNCTION): New macro.
28167         Include test-skeleton.c.
28168         * stdlib/tst-strtod.c (main): Converted to ...
28169         (do_test): ... this.
28170         (TEST_FUNCTION): New macro.
28171         Include test-skeleton.c.
28172         * string/tst-strlen.c (main): Converted to ...
28173         (do_test): ... this.
28174         (TEST_FUNCTION): New macro.
28175         Include test-skeleton.c.
28176         * string/tst-svc.c (main): Converted to ...
28177         (do_test): ... this.
28178         (TEST_FUNCTION): New macro.
28179         Include test-skeleton.c.
28180         * time/tst-strptime.c (main): Converted to ...
28181         (do_test): ... this.
28182         (TEST_FUNCTION): New macro.
28183         Include test-skeleton.c.
28184         * timezone/tst-timezone.c (main): Converted to ...
28185         (do_test): ... this.
28186         (TEST_FUNCTION): New macro.
28187         Include test-skeleton.c.
28189 2015-08-05  Zack Weinberg  <zackw@panix.com>
28191         * misc/regexp.h: Update comments.
28193 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
28195         [BZ #18635]
28196         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
28197         before return label.
28199 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
28201         [BZ #18661]
28202         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
28203         when calling __errno_location.
28204         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
28205         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
28207 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
28209         [BZ #18661]
28210         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
28211         (__lll_timedwait_tid): Align stack to 16 bytes when calling
28212         __gettimeofday.
28214 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
28216         [BZ #18661]
28217         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
28218         (__start_context): Don't use pop to restore %rdi so that stack
28219         is aligned to 16 bytes when calling __setcontext.
28221 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
28223         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
28224         only for libc.
28225         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
28227 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
28229         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
28230         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
28231         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
28233 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
28235         * string/memccpy.c (memccpy):
28236         Improve performance by using memchr/memcpy/__mempcpy.
28238 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
28240         * string/strncpy.c (strncpy):
28241         Improve performance by using __strnlen/memcpy.
28243 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
28245         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
28246         Optimize to avoid an unnecessary FPCR read.
28248 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
28250         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
28251         Optimize to reduce FPCR/FPSR accesses.
28253 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
28255         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
28256         dead->data[category] != NULL.
28258 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
28260         [BZ #18647]
28261         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
28262         and |x| close to 1, use absolute value of x when computing log.
28263         * math/auto-libm-test-in: Add more tests of pow.
28264         * math/auto-libm-test-out: Regenerated.
28266 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28268         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
28269         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
28270         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
28272 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
28274         [BZ #18525]
28275         * locales/km_KH: Remove timezone definition.
28276         * locales/lo_LA: Likewise.
28277         * locales/my_MM: Likewise.
28278         * locales/nan_TW@latin: Likewise.
28279         * locales/th_TH: Likewise.
28280         * locales/uk_UA: Likewise.
28282 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
28284         [BZ #18265]
28285         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
28286         (wcsncat): Likewise.
28287         (wcscmp): Likewise.
28288         (wcsncmp): Likewise.
28290 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
28292         * test-skeleton.c (usage): New function.
28293         (main): Call usage when opt is '?'.
28295 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
28297         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
28298         before first use.
28300 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
28302         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
28303         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
28304         in there too.
28306 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
28308         * version.h (RELEASE): Set to "development".
28309         (VERSION): Set to "2.22.90"
28311         * version.h (RELEASE): Set to "stable".
28312         (VERSION): Set to "2.22"
28313         * include/features.h (__GLIBC_MINOR__): Set to 22.
28315 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
28317         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
28318         Restructure macro to avoid "value computed is not used" warning.
28319         (atomic_compare_and_exchange_val_acq): Likewise.
28321 2015-08-04  Andreas Schwab  <schwab@suse.de>
28323         [BZ #18635]
28324         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
28325         ret.
28326         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
28328 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
28330         * po/pl.po: Updated translation.
28331         * po/uk.po: Likewise.
28332         * po/fi.po: Likewise.
28333         * po/ko.po: Likewise.
28334         * po/ru.po: Likewise.
28335         * po/vi.po: Likewise.
28337 2015-07-31  Zack Weinberg  <zackw@panix.com>
28339         [BZ #18681]
28340         * regexp.h: Add unconditional #warning stating that this header
28341         will be removed soon.  Revise banner comment to match.
28342         (compile): Consistently use ERROR instead of RETURN to report
28343         errors (partial fix for BZ #18681).
28344         * regexp.c: Don't include regexp.h. Remove some unnecessary
28345         declarations.
28347 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
28349         * po/libc.pot: Regenerated.
28351 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
28353         [BZ #18740]
28354         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
28355         float-vlen4-arch-ext-cflags): Removed.
28356         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
28357         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
28359 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
28361         [BZ #14113]
28362         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
28363         aligned to __aligned__.
28364         (pthread_cond_t, pthread_rwlock_t): Likewise.
28366 2015-07-30  Torvald Riegel  <triegel@redhat.com>
28368         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
28370 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
28372         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
28373         (struct sigaction): Change sa_flags from a long to an int, and add
28374         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
28376 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
28378         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
28379         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
28380         sysdeps/generic/sysdep.h include.
28381         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
28382         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
28383         sysdeps/hppa/sysdep.h.
28384         (ENTRY, PSEUDO): Undefine before defining.
28386 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
28388         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
28389         from scratch to use INTERNAL_SYSCALL.
28391 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
28393         [BZ #18078]
28394         * scripts/check-localplt.awk: Support alternate relocations.
28395         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
28396         sections.
28397         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
28398         malloc entries with + REL R_386_GLOB_DAT.
28399         * sysdeps/x86_64/localplt.data: New file.
28401 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
28403         [BZ #18731]
28404         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
28405         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28406         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28408 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
28410         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
28412 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
28414         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
28415         directly in terms of __sync_fetch_and_add and delete (int) cast.
28417 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
28419         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
28420         the -D_ASM_IA64_CURRENT_H flag.
28422 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
28424         [BZ #18641]
28425         * pwd/pwd.h (putpwent): Delete __nonnull markings.
28427 2015-07-27  Andreas Schwab  <schwab@suse.de>
28429         * conform/conformtest.pl (checknamespace): Filter out string
28430         literals while tokenizing.
28432 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
28434         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
28435         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
28436         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
28438 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
28440         * nptl/tst-join7mod.c: Add #include <string.h>.
28442 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
28444         * sysdeps/nios2/libm-test-ulps: Update.
28446 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
28448         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
28449         Fix order of arguments to the rt_sigprocmask syscall.
28450         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
28451         Likewise.
28453 2015-07-24  Roland McGrath  <roland@hack.frob.com>
28455         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
28457 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28459         [BZ #18457]
28460         * nptl/Makefile (tests): New test case tst-join7.
28461         (modules-names): New test case module tst-join7mod.
28462         * nptl/tst-join7.c: New file.
28463         * nptl/tst-join7mod.c: New file.
28464         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
28465         all translation units in libc.so, libpthread.so and rtld.
28467 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28469         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28471 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
28473         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
28474         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
28475         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
28476         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
28477         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
28478         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
28479         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
28480         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
28481         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
28482         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
28483         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
28484         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
28485         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
28486         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
28487         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
28488         implementation.
28490 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28492         [BZ #17711]
28493         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
28494         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
28495         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
28496         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
28497         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
28498         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
28500 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28502         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
28503         instead of just saying load lock in the comments.
28505 2015-07-23  Roland McGrath  <roland@hack.frob.com>
28507         * sysdeps/unix/Subdirs: Moved ...
28508         * sysdeps/posix/Subdirs: ... here.
28509         * login/pty.h (struct termios, struct winsize): Add forward decls.
28510         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
28511         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
28512         * sysdeps/arm/nacl/libc.abilist: Updated.
28513         * sysdeps/nacl/libutil.abilist: New file.
28515         * bits/signum.h: Update comments to mention 1003.1-2013 too.
28516         (SIGWINCH): New macro.
28518         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
28519         * sysdeps/arm/nacl/libc.abilist: Add it.
28521 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
28523         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
28525 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
28527         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
28528         Swap __glibc_reserved0 and sa_flags order.
28530 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
28532         [BZ #18657]
28533         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
28534         are pending TLS destructor calls.
28535         * include/link.h (struct link_map): Add concurrency note for
28536         L_TLS_DTOR_COUNT.
28537         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
28538         Don't touch the link map flag.  Atomically increment
28539         l_tls_dtor_count.
28540         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
28541         Avoid taking the load lock and don't touch the link map flag.
28542         * stdlib/tst-tls-atexit-nodelete.c: New test case.
28543         * stdlib/Makefile (tests): Use it.
28544         * stdlib/tst-tls-atexit.c (do_test): dlopen
28545         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
28546         to allow tst-tls-atexit-nodelete test case to use it.
28548 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
28550         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
28551         to bits/types.h.
28552         (msgqnum_t): New typedef.
28553         (msglen_t): Likewise.
28554         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
28555         and msg_qbytes type to msglen_t.
28557 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
28559         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
28560         pad0 to __glibc_reserved0.
28561         (struct stat64): Likewise.
28563 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
28565         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
28566         Change sa_flags from a long to an int and add __glibc_reserved0 before
28567         it for padding.
28569 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
28571         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
28572         anonymous by deleting "siginfo" name.
28574 2015-07-21  Roland McGrath  <roland@hack.frob.com>
28576         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
28577         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
28578         rather than __nacl_irt_filename.
28579         * sysdeps/nacl/xstat.c (__xstat): Likewise.
28581         * NEWS: New item for arm-nacl port.
28582         * sysdeps/arm/nacl/libc.abilist: New file.
28583         * sysdeps/nacl/ld.abilist: New file.
28584         * sysdeps/nacl/libBrokenLocale.abilist: New file.
28585         * sysdeps/nacl/libanl.abilist: New file.
28586         * sysdeps/nacl/libcrypt.abilist: New file.
28587         * sysdeps/nacl/libdl.abilist: New file.
28588         * sysdeps/nacl/libm.abilist: New file.
28589         * sysdeps/nacl/libpthread.abilist: New file.
28590         * sysdeps/nacl/libresolv.abilist: New file.
28591         * sysdeps/nacl/librt.abilist: New file.
28593 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
28595         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
28596         __startcontext to initialize the new context.
28597         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
28598         up CFI directive to forbid further backtracing.
28600 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
28602         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
28603         reference.
28604         * charmaps/ANSI_X3.4-1968: Likewise.
28605         * charmaps/BS_4730: Likewise.
28606         * charmaps/BS_VIEWDATA: Likewise.
28607         * charmaps/CP1250: Likewise.
28608         * charmaps/CP1251: Likewise.
28609         * charmaps/CP1252: Likewise.
28610         * charmaps/CP1253: Likewise.
28611         * charmaps/CP1254: Likewise.
28612         * charmaps/CP1255: Likewise.
28613         * charmaps/CP1256: Likewise.
28614         * charmaps/CSN_369103: Likewise.
28615         * charmaps/EBCDIC-DK-NO: Likewise.
28616         * charmaps/GB_1988-80: Likewise.
28617         * charmaps/GREEK-CCITT: Likewise.
28618         * charmaps/GREEK7: Likewise.
28619         * charmaps/INIS-8: Likewise.
28620         * charmaps/ISIRI-3342: Likewise.
28621         * charmaps/ISO_2033-1983: Likewise.
28622         * charmaps/ISO_5427-EXT: Likewise.
28623         * locales/POSIX: Likewise.
28624         * locales/ar_SA: Likewise.
28625         * locales/be_BY: Likewise.
28626         * locales/be_BY@latin: Likewise.
28627         * locales/ca_ES: Likewise.
28628         * locales/cs_CZ: Likewise.
28629         * locales/da_DK: Likewise.
28630         * locales/de_BE: Likewise.
28631         * locales/de_CH: Likewise.
28632         * locales/de_LU: Likewise.
28633         * locales/en_AU: Likewise.
28634         * locales/en_BW: Likewise.
28635         * locales/en_CA: Likewise.
28636         * locales/en_DK: Likewise.
28637         * locales/en_GB: Likewise.
28638         * locales/en_IE: Likewise.
28639         * locales/en_NZ: Likewise.
28640         * locales/en_ZA: Likewise.
28641         * locales/en_ZW: Likewise.
28642         * locales/es_AR: Likewise.
28643         * locales/es_BO: Likewise.
28644         * locales/es_CL: Likewise.
28645         * locales/es_CO: Likewise.
28646         * locales/es_DO: Likewise.
28647         * locales/es_EC: Likewise.
28648         * locales/es_ES: Likewise.
28649         * locales/es_HN: Likewise.
28650         * locales/es_MX: Likewise.
28651         * locales/es_PA: Likewise.
28652         * locales/es_PE: Likewise.
28653         * locales/es_PY: Likewise.
28654         * locales/es_SV: Likewise.
28655         * locales/es_US: Likewise.
28656         * locales/es_UY: Likewise.
28657         * locales/es_VE: Likewise.
28658         * locales/et_EE: Likewise.
28659         * locales/fa_IR: Likewise.
28660         * locales/fo_FO: Likewise.
28661         * locales/fr_CA: Likewise.
28662         * locales/fr_CH: Likewise.
28663         * locales/gv_GB: Likewise.
28664         * locales/he_IL: Likewise.
28665         * locales/hr_HR: Likewise.
28666         * locales/id_ID: Likewise.
28667         * locales/is_IS: Likewise.
28668         * locales/it_CH: Likewise.
28669         * locales/iw_IL: Likewise.
28670         * locales/kl_GL: Likewise.
28671         * locales/ko_KR: Likewise.
28672         * locales/kw_GB: Likewise.
28673         * locales/lg_UG: Likewise.
28674         * locales/lt_LT: Likewise.
28675         * locales/lv_LV: Likewise.
28676         * locales/mi_NZ: Likewise.
28677         * locales/nhn_MX: Likewise.
28678         * locales/nl_BE: Likewise.
28679         * locales/pl_PL: Likewise.
28680         * locales/sk_SK: Likewise.
28681         * locales/sl_SI: Likewise.
28682         * locales/sv_FI: Likewise.
28683         * locales/tl_PH: Likewise.
28684         * locales/tr_TR: Likewise.
28685         * locales/vi_VN: Likewise.
28687 2015-07-21  Khem Raj  <raj.khem@gmail.com>
28689         [BZ #17475]
28690         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
28691         of tu_IN and bh_IN.
28693 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
28695         [BZ #18694]
28696         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
28697         bits/wordsize.h.
28698         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
28700 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28702         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
28703         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
28704         (spawn_thread): New function.
28705         (load): Rename to reg_dtor_and_close.  Move dlopen to...
28706         (do_test): ... here.  Use IS_LOADED to test for its
28707         availability.
28709 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
28711         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
28713 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
28715         [BZ #18696]
28716         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
28717         si_addr_bnd.
28718         (si_lower): New.
28719         (si_upper): Likewise.
28721 2015-07-16  David S. Miller  <davem@davemloft.net>
28723         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
28725 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28727         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
28728         buffer.
28729         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
28730         fail output information.
28732 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28734         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
28735         and strstr-ppc64..
28736         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
28737         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
28738         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
28739         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
28740         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
28742 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
28744         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
28745         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
28746         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
28747         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
28749 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
28751         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
28752         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
28753         rtld_hidden_proto.
28754         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
28756 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28758         * tst-nodelete-opened.c (do_test): Add comment to clarify how
28759         the test can fail.
28761         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
28763         [BZ #18676]
28764         * elf/tst-nodelete-opened.c: New test case.
28765         * elf/tst-nodelete-opened-lib.c: New test case module.
28766         * elf/Makefile (tests, modules-names): Use them.
28767         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
28768         early.
28770 2015-07-15  David S. Miller  <davem@davemloft.net>
28772         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
28773         futex-intenal.h
28774         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
28775         * sysdeps/sparc/sparc64/Makefile: Likewise.
28776         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
28777         Remove space from macro define.
28778         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
28780 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
28782         [BZ #17475]
28783         * locale/iso-639.def: Update Bhili and Tulu language codes as
28784         per iso639-3.
28786 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
28788         * elf/tst-leaks1.c (main): Converted to ...
28789         (do_test): ... this.
28790         (TEST_FUNCTION): New macro.
28791         Include test-skeleton.c.
28792         * localedata/tst-langinfo.c (main): Converted to ...
28793         (do_test): ... this.
28794         (TEST_FUNCTION): New macro.
28795         Include test-skeleton.c.
28796         * math/test-fpucw.c (main): Converted to ...
28797         (do_test): ... this.
28798         (TEST_FUNCTION): New macro.
28799         Include test-skeleton.c.
28800         * math/test-tgmath.c (main): Converted to ...
28801         (do_test): ... this.
28802         (TEST_FUNCTION): New macro.
28803         Include test-skeleton.c.
28804         * math/test-tgmath2.c (main): Converted to ...
28805         (do_test): ... this.
28806         (TEST_FUNCTION): New macro.
28807         Include test-skeleton.c.
28808         * setjmp/tst-setjmp.c (main): Converted to ...
28809         (do_test): ... this.
28810         (TEST_FUNCTION): New macro.
28811         Include test-skeleton.c.
28812         * stdio-common/tst-sscanf.c (main): Converted to ...
28813         (do_test): ... this.
28814         (TEST_FUNCTION): New macro.
28815         Include test-skeleton.c.
28816         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
28817         (do_test): ... this.
28818         (TEST_FUNCTION): New macro.
28819         Include test-skeleton.c.
28821         * elf/tst-audit9.c (main): Converted to ...
28822         (do_test): ... this.
28823         (TEST_FUNCTION): New macro.
28824         Include test-skeleton.c.
28826 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
28828         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
28830 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
28832         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
28833         New variable.
28835 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
28837         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28839 2015-07-14  Roland McGrath  <roland@hack.frob.com>
28841         * sysdeps/generic/dl-fileid.h: New file.
28842         * sysdeps/posix/dl-fileid.h: New file.
28843         * sysdeps/nacl/dl-fileid.h: New file.
28844         * include/link.h: Include <dl-fileid.h>.
28845         (struct link_map): Replace l_dev and l_ino with l_file_id.
28846         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
28847         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
28848         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
28850 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28852         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
28854 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28856         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
28857         Add iff $CXX is set.
28858         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
28859         Likewise.
28860         (tst-nodelete-zmodiff): Likewise.
28861         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
28863 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28865         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
28867 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
28869         * sysdeps/aarch64/fpu/math_private.h
28870         (define math_opt_barrier): Add AArch64 version.
28871         (math_force_eval): Likewise.
28873 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
28875         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
28877 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
28879         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
28880         %ld with %jd and cast to intmax_t.
28881         (do_test_length_zero): Likewise.
28883 2015-07-10  Roland McGrath  <roland@hack.frob.com>
28885         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
28887 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
28889         * sysdeps/tile/libm-test-ulps: Regenerated.
28891         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
28892         Comment out the whole function, not just its body.
28894 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28896         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
28897         locks.
28899         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
28901 2015-07-10  Torvald Riegel  <triegel@redhat.com>
28903         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
28904         (sem_assume_only_signals_cause_futex_EINTR): Remove.
28906 2015-07-10  Torvald Riegel  <triegel@redhat.com>
28908         * sysdeps/nptl/futex-internal.h: New file.
28909         * sysdeps/nacl/futex-internal.h: New file.
28910         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
28911         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
28912         error checking.
28913         (setxid_unmark_thread): Likewise.
28914         (__nptl_setxid): Likewise.
28915         (__wait_lookup_done): Likewise.
28916         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
28917         * nptl/nptl-init.c (sighandler_setxid): Likewise.
28918         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
28919         * nptl/pthread_once.c (clear_once_control): Likewise.
28920         (__pthread_once_slow): Likewise.
28921         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
28922         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
28923         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
28924         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
28925         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
28926         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
28927         Likewise.
28928         (__pthread_rwlock_rdlock): Likewise.
28929         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
28930         Likewise.
28931         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
28932         Likewise.
28933         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
28934         Likewise.
28935         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
28936         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
28937         Likewise.
28938         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
28939         __ASSUME_PRIVATE_FUTEX check.
28940         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
28941         Check that shared futexes are supported.
28942         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
28943         wrappers with error checking.
28944         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
28945         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
28946         * nptl/pthread_barrierattr_setpshared.c
28947         (pthread_barrierattr_setpshared): Check that shared futexes are
28948         supported.
28949         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
28950         Likewise.
28951         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
28952         Likewise.
28953         * nptl/sem_init.c (futex_private_if_supported): Remove.
28954         (__new_sem_init): Adapt and check that shared futexes are supported.
28955         * nptl/sem_open.c (sem_open): Likewise.
28956         * nptl/sem_post.c (futex_wake): Remove.
28957         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
28958         (do_futex_wait): Use futex wrappers with error checking.
28959         * nptl/sem_wait.c: Include lowlevellock.h.
28960         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
28961         Use futex_supports_pshared.
28962         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
28963         Use futex wrappers with error checking.
28964         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
28965         Likewise.
28966         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
28967         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
28968         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
28969         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
28970         (futex_wake): Likewise.
28971         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
28972         (do_futex_wait): Use futex wrappers with error checking.
28973         (__new_sem_wait_slow): Update EINTR handling.
28974         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
28976 2015-07-09  Martin Sebor  <msebor@redhat.com>
28978         [BZ #18435]
28979         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
28980         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
28981         * nptl/Makefile (test-xfail-tst-once5): Define.
28983 2015-07-09  Roland McGrath  <roland@hack.frob.com>
28985         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
28986         * elf/dl-minimal.c: For readability, reorder some definitions and
28987         introduce more page breaks.  Include <stdio.h>.
28988         (__libc_fatal): New function.
28990         * include/unistd.h: Add rtld_hidden_proto for _exit.
28991         * posix/_exit.c: Add rtld_hidden_def.
28992         * sysdeps/mach/hurd/_exit.c: Likewise.
28993         * sysdeps/nacl/_exit.c: Likewise.
28994         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
28995         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
28997 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
28999         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
29000         bndmov encoding with zero displacement.
29002 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
29003             H.J. Lu  <hongjiu.lu@intel.com>
29005         [BZ #18134]
29006         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
29007         * sysdeps/i386/configure: Regenerated.
29008         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
29009         (_dl_runtime_profile): Save and restore Intel MPX return bound
29010         registers when calling _dl_call_pltexit.  Add
29011         PRESERVE_BND_REGS_PREFIX before return.
29012         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
29013         (LRV_BND1_OFFSET): Likewise.
29014         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
29015         lrv_bnd1.
29016         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
29017         typo in bndmov encoding.
29018         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
29019         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
29020         branch instructions to preserve bounds.
29022 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
29025         [GLIBC_2.22]: Add fmemopen.
29027 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29029         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
29030         returns an error, also try to use host port from __mach_host_self for
29031         the __vm_wire call.
29032         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
29034 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29036         [BZ #18400]
29037         [BZ #18648]
29038         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
29039         Fix pr_uid and pr_gid members.
29040         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
29041         definition to elf_greg_t.
29043 2015-07-08  Roland McGrath  <roland@hack.frob.com>
29045         [BZ #18383]
29046         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
29047         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
29048         * sysdeps/arm/configure: Regenerated.
29049         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
29050         (test-xfail-tst-tlsalign-static): Variable removed.
29052         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
29053         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
29054         rather than explicit 'ln -s'.
29056         * resolv/rpc/netdb.h: New file.
29057         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
29059 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29061         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
29062         length buffers.
29063         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
29064         test-skeleton.c.
29066         [BZ #6544]
29067         [BZ #11216]
29068         [BZ #12836]
29069         [BZ #13151]
29070         [BZ #13152]
29071         [BZ #14292]
29072         * include/stdio.h (fmemopen): Remove hidden prototype.
29073         (__fmemopen): Add new hidden prototype.
29074         * libio/Makefile: Add oldfmemopen object.
29075         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
29076         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
29077         compliance.
29078         * libio/oldfmemopen.c: New file: old fmemopen implementation for
29079         symbol compatibility.
29080         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
29081         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
29082         fmemopen.
29083         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
29084         on append and read mode.
29085         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
29086         fmemopen.
29087         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
29088         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
29089         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
29090         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
29091         Likewise.
29092         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
29093         [GLIBC_2.22]: Likewise.
29094         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
29095         Likewise.
29096         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
29097         Likewise.
29098         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
29099         [GLIBC_2.22]: Likewise.
29100         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
29101         [GLIBC_2.22]: Likewise.
29102         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
29103         [GLIBC_2.22]: Likewise.
29104         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
29105         [GLIBC_2.22]: Likewise.
29106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
29107         [GLIBC_2.22]: Likewise.
29108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
29109         [GLIBC_2.22]: Likewise.
29110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
29111         [GLIBC_2.22]: Likewise.
29112         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
29113         Likewise.
29114         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
29115         Likewise.
29116         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
29117         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
29118         [GLIBC_2.22]: Likewise.
29119         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
29120         [GLIBC_2.22]: Likewise.
29121         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
29122         [GLIBC_2.22]: Likewise.
29123         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
29124         [GLIBC_2.22]: Likewise.
29125         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
29126         Likewise.
29127         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
29128         Likewise.
29129         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
29130         Likewise.
29131         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
29132         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
29134 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
29136         [BZ #18643]
29137         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
29138         IPV6_PATHMTU, and IPV6_DONTFRAG.
29140 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
29142         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
29143         and _IO_UNBUFFERED.
29144         * libio/oldfileops.c: Likewise.
29145         * libio/wfileops.c: Likewise.
29147 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
29149         * nscd/selinux.c: Delete selinux/flask.h include.
29151 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
29153         [BZ #18641]
29154         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
29155         (putpwent): Likewise.
29156         (getpwnam): Likewise.
29157         (getpwent_r): Likewise.
29158         (getpwuid_r): Likewise.
29159         (getpwnam_r): Likewise.
29160         (fgetpwent_r): Likewise.
29162 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
29164         [BZ #18557]
29165         * inet/rcmd.c (__validuser2_sa): Check user first to
29166         short-circuit host check.
29168 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
29169             Mikhail Ilin  <m.ilin@samsung.com>
29171         [BZ #17833]
29172         * elf/Makefile (tests): Add tst-nodelete.
29173         (modules-names): Add tst-nodelete-uniquemod.
29174         (tst-nodelete-uniquemod.so-no-z-defs): New.
29175         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
29176         (tst-nodelete-zmod.so-no-z-defs): Likewise.
29177         ($(objpfx)tst-nodelete): Likewise.
29178         ($(objpfx)tst-nodelete.out): Likewise.
29179         (LDFLAGS-tst-nodelete): Likewise.
29180         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
29181         * elf/dl-close.c (_dl_close_worker): Add a parameter to
29182         implement forced object deletion.
29183         (_dl_close): Pass false to _dl_close_worker.
29184         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
29185         * elf/tst-nodelete.cc: New file.
29186         * elf/tst-nodeletelib.cc: Likewise.
29187         * elf/tst-znodeletelib.cc: Likewise.
29188         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
29190 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
29192         [BZ #18508]
29193         * stdlib/Makefile ($(objpfx)tst-makecontext3):
29194         Depend on $(libdl).
29195         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
29196         is not called infinitely times.
29197         (backtrace_helper): New function.
29198         (trace_arg): New struct.
29199         (st1): Enlarge stack size.
29200         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29201         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
29202         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29203         Likewise.
29205 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
29207         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
29209 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
29211         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
29212         Include sys/types.h instead of bits/types.h.
29213         Remove inclusion of bits/wordsize.h.
29215 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
29217         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
29218         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
29219         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
29220         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
29221         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
29222         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
29224 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
29226         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
29227         link-defines.sym.
29228         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
29229         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
29230         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
29231         and LR_SIZE.
29232         * sysdeps/i386/link-defines.sym: New file.
29234 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
29236         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
29237         (modules-names): Add tst-auditmod3a tst-auditmod3b.
29238         ($(objpfx)tst-audit3): New rule.
29239         ($(objpfx)tst-audit3.out): Likewise.
29240         * sysdeps/i386/tst-audit3.c: New file.
29241         * sysdeps/i386/tst-audit3.h: Likewise.
29242         * sysdeps/i386/tst-auditmod3a.c: Likewise.
29243         * sysdeps/i386/tst-auditmod3b.c: Likewise.
29245 2015-07-07  Torvald Riegel  <triegel@redhat.com>
29247         [BZ #18633]
29248         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
29249         pointer in C code.
29250         (__strcat_c): Likewise.
29251         (__strcat_g): Likewise.
29253 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
29255         [BZ #18592]
29256         * misc/sbrk.c: Set errno to ENOMEM on overflow.
29258 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
29260         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
29261         New function.  (__ieee754_sqrtf): New function.
29262         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
29263         New function.
29264         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
29265         New function.
29267 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
29269         * sysdeps/ieee754/support.c: Remove unused file.
29271 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29273         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
29274         registers instead of d ones so the layout is kernel abi compatible.
29275         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
29276         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
29277         Likewise.
29279 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29281         * sysdeps/aarch64/libm-test-ulps: Regenerated.
29283 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
29285         [BZ #18619]
29286         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
29287         and return argument in case of subnormal argument.
29289 2015-07-01  Martin Sebor  <msebor@redhat.com>
29291         [BZ #18435]
29292         * nptl/Makefile: Add tst-once5.cc.
29293         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
29294         Remove macro redefinitions.
29295         * nptl/tst-once5.cc: New test.
29297 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
29299         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
29301         * sysdeps/arm/libm-test-ulps: Regenerated.
29303         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29304         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29306 2015-06-30  Torvald Riegel  <triegel@redhat.com>
29308         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
29309         lll_lock_wait_private and lll_futex_wake probes.
29311         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
29312         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
29313         Likewise.
29314         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
29315         atomic_spin_nop.
29316         * sysdeps/x86_64/bits/atomic.h: Likewise.
29317         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
29318         to atomic_spin_nop and move ...
29319         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
29320         ... here and ...
29321         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
29322         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
29323         atomic_spin_nop instead of BUSY_WAIT_NOP.
29324         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
29325         Likewise.
29326         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
29327         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
29328         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
29329         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
29330         instead of atomic_delay.
29332 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
29334         [BZ #18613]
29335         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
29336         X_ADJ not X when adjusting exponent.
29337         (__ieee754_gamma_r): Do intermediate computations in
29338         round-to-nearest then adjust overflowing and underflowing results
29339         as needed.
29340         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
29341         of X_ADJ not X when adjusting exponent.
29342         (__ieee754_gammaf_r): Do intermediate computations in
29343         round-to-nearest then adjust overflowing and underflowing results
29344         as needed.
29345         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
29346         log of X_ADJ not X when adjusting exponent.
29347         (__ieee754_gammal_r): Do intermediate computations in
29348         round-to-nearest then adjust overflowing and underflowing results
29349         as needed.  Use 1.0L not 1.0f as numerator of division.
29350         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
29351         log of X_ADJ not X when adjusting exponent.
29352         (__ieee754_gammal_r): Do intermediate computations in
29353         round-to-nearest then adjust overflowing and underflowing results
29354         as needed.  Use 1.0L not 1.0f as numerator of division.
29355         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
29356         of X_ADJ not X when adjusting exponent.
29357         (__ieee754_gammal_r): Do intermediate computations in
29358         round-to-nearest then adjust overflowing and underflowing results
29359         as needed.  Use 1.0L not 1.0f as numerator of division.
29360         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
29361         to auto-libm-test-in.
29362         (tgamma_test): Use ALL_RM_TEST.
29363         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
29364         tests of tgamma with spurious-overflow.
29365         * math/auto-libm-test-out: Regenerated.
29366         * math/gen-libm-have-vector-test.sh: Do not check for START.
29367         * sysdeps/i386/fpu/libm-test-ulps: Update.
29368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29370         [BZ #18612]
29371         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
29372         arguments, just return 0.5 times the argument, with underflow
29373         forced as needed.
29374         * math/auto-libm-test-in: Add more tests of j1.
29375         * math/auto-libm-test-out: Regenerated.
29377         [BZ #16559]
29378         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
29379         (__ieee754_j1): Force underflow exception for small results.
29380         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
29381         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
29382         (__ieee754_j1f): Force underflow exception for small results.
29383         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
29384         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
29385         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
29386         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
29387         (__ieee754_j1l): Force underflow exception for small results.
29388         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
29389         * math/auto-libm-test-in: Add more tests of j1 and jn.
29390         * math/auto-libm-test-out: Regenerated.
29392         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
29393         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
29394         (PF_MPLS): Likewise.
29395         (AF_IB): Likewise.
29396         (AF_MPLS): Likewise.
29397         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
29398         value and macro.
29399         (MS_RMT_MASK): Include MS_LAZYTIME.
29401 2015-06-26  Mel Gorman  <mgorman@suse.de>
29403         [BZ #18502]
29404         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
29405         already minimal.
29407 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
29409         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
29410         (DT_MIPS_NUM): Update.
29411         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
29412         DT_MIPS_RLD_MAP_REL.
29414 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
29416         [BZ #16559]
29417         [BZ #18602]
29418         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
29419         round-to-nearest internally then recompute results that
29420         underflowed to zero in the original rounding mode.
29421         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
29422         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
29423         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
29424         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
29425         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
29426         * sysdeps/i386/fpu/libm-test-ulps: Update.
29427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29429 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
29431         * NEWS: Fixed description of link with vector math library.
29433 2015-06-25  Andreas Schwab  <schwab@suse.de>
29435         [BZ #18549]
29436         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
29437         * libio/test-fmemopen.c (do_test): Add test for it.
29439 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
29441         [BZ #17841]
29442         * Makeconfig (no-pie-ldflag): New.
29443         (+link): Set to $(+link-pie) if default to PIE.
29444         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
29445         * config.make.in (build-pie-default): New.
29446         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
29447         is default.  AC_SUBST.
29448         * configure: Regenerated.
29449         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
29451 2015-06-24  Roland McGrath  <roland@hack.frob.com>
29453         * nptl/descr.h (struct pthread): Change type of field setxid_futex
29454         to 'unsigned int'.
29456         * resolv/gai_misc.h (struct waitlist): Change type of field
29457         counterp to 'volatile unsigned int *'.
29458         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
29459         FUTEXADDR and OLDVAL.
29460         * resolv/getaddrinfo_a.c (getaddrinfo_a):
29461         Give local variable TOTAL type 'volatile unsigned int'.
29462         (struct async_waitlist): Change type of field counter to 'unsigned int'.
29463         * resolv/gai_suspend.c (gai_suspend):
29464         Give local variable CNTR type 'unsigned int'.
29466         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
29467         counterp to 'volatile unsigned int *'.
29468         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
29469         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
29470         (aio_suspend): Give local variable CNTR type 'unsigned int'.
29471         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
29472         Give local variable TOTAL type 'volatile unsigned int'.
29473         (struct async_waitlist): Change type of field counter to 'unsigned int'.
29475 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
29477         [BZ #18383]
29478         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
29479         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
29480         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
29481         comment for i386/x86-64.
29482         (test-xfail-tst-tlsalign-extern-static): Removed.
29484 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
29486         * math/test-double.h: New file.
29487         * math/test-float.h: Likewise.
29488         * math/test-ldouble.h: Likewise.
29489         * math/test-math-inline.h: Likewise.
29490         * math/test-math-no-inline.h: Likewise.
29491         * math/test-math-scalar.h: Likewise.
29492         * math/test-math-vector.h: Likewise.
29493         * math/test-vec-loop.h: Remove file.  Contents moved into
29494         test-math-vector.h.
29495         * math/libm-test.inc (MATHCONST): Do not document macro.
29496         * math/test-double.c: Include test-double.h, test-math-no-inline.h
29497         and test-math-scalar.h.
29498         (FUNC): Remove macro.
29499         (FUNC_TEST): Likewise.
29500         (FLOAT): Likewise.
29501         (MATHCONST): Likewise.
29502         (PRINTF_EXPR): Likewise.
29503         (PRINTF_XEXPR): Likewise.
29504         (PRINTF_NEXPR): Likewise.
29505         (TEST_DOUBLE): Likewise.
29506         (TEST_MATHVEC): Likewise.
29507         (__NO_MATH_INLINES): Likewise.
29508         * math/test-float.c: Include test-float.h, test-math-no-inline.h
29509         and test-math-scalar.h.
29510         (FUNC): Remove macro.
29511         (FUNC_TEST): Likewise.
29512         (FLOAT): Likewise.
29513         (MATHCONST): Likewise.
29514         (PRINTF_EXPR): Likewise.
29515         (PRINTF_XEXPR): Likewise.
29516         (PRINTF_NEXPR): Likewise.
29517         (TEST_FLOAT): Likewise.
29518         (TEST_MATHVEC): Likewise.
29519         (__NO_MATH_INLINES): Likewise.
29520         * math/test-idouble.c: Include test-double.h, test-math-inline.h
29521         and test-math-scalar.h.
29522         (FUNC): Remove macro.
29523         (FUNC_TEST): Likewise.
29524         (FLOAT): Likewise.
29525         (MATHCONST): Likewise.
29526         (PRINTF_EXPR): Likewise.
29527         (PRINTF_XEXPR): Likewise.
29528         (PRINTF_NEXPR): Likewise.
29529         (TEST_DOUBLE): Likewise.
29530         (TEST_MATHVEC): Likewise.
29531         (TEST_INLINE): Likewise.
29532         (__NO_MATH_INLINES): Likewise.
29533         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
29534         test-math-scalar.h.
29535         (FUNC): Remove macro.
29536         (FUNC_TEST): Likewise.
29537         (FLOAT): Likewise.
29538         (MATHCONST): Likewise.
29539         (PRINTF_EXPR): Likewise.
29540         (PRINTF_XEXPR): Likewise.
29541         (PRINTF_NEXPR): Likewise.
29542         (TEST_FLOAT): Likewise.
29543         (TEST_MATHVEC): Likewise.
29544         (TEST_INLINE): Likewise.
29545         (__NO_MATH_INLINES): Likewise.
29546         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
29547         and test-math-scalar.h.
29548         (FUNC): Remove macro.
29549         (FUNC_TEST): Likewise.
29550         (FLOAT): Likewise.
29551         (MATHCONST): Likewise.
29552         (PRINTF_EXPR): Likewise.
29553         (PRINTF_XEXPR): Likewise.
29554         (PRINTF_NEXPR): Likewise.
29555         (TEST_LDOUBLE): Likewise.
29556         (TEST_MATHVEC): Likewise.
29557         (TEST_INLINE): Likewise.
29558         (__NO_MATH_INLINES): Likewise.
29559         * math/test-ldouble.c: Include test-ldouble.h,
29560         test-math-no-inline.h and test-math-scalar.h.
29561         (FUNC): Remove macro.
29562         (FUNC_TEST): Likewise.
29563         (FLOAT): Likewise.
29564         (MATHCONST): Likewise.
29565         (PRINTF_EXPR): Likewise.
29566         (PRINTF_XEXPR): Likewise.
29567         (PRINTF_NEXPR): Likewise.
29568         (TEST_LDOUBLE): Likewise.
29569         (TEST_MATHVEC): Likewise.
29570         (__NO_MATH_INLINES): Likewise.
29571         * math/test-double-vlen2.h: Include test-double.h,
29572         test-math-no-inline.h and test-math-vector.h.
29573         (FLOAT): Remove macro.
29574         (FUNC): Likewise.
29575         (MATHCONST): Likewise.
29576         (PRINTF_EXPR): Likewise.
29577         (PRINTF_XEXPR): Likewise.
29578         (PRINTF_NEXPR): Likewise.
29579         (TEST_DOUBLE): Likewise.
29580         (TEST_MATHVEC): Likewise.
29581         (__NO_MATH_INLINES): Likewise.
29582         (CNCT): Likewise.
29583         (CONCAT): Likewise.
29584         (WRAPPER_NAME): Likewise.
29585         (WRAPPER_DECL): Likewise.
29586         (WRAPPER_DECL_ff): Likewise.
29587         (WRAPPER_DECL_fFF): Likewise.
29588         (VECTOR_WRAPPER): Likewise.
29589         (VECTOR_WRAPPER_ff): Likewise.
29590         (VECTOR_WRAPPER_fFF): Likewise.
29591         (VEC_LEN): New macro.
29592         * math/test-double-vlen4.h: Include test-double.h,
29593         test-math-no-inline.h and test-math-vector.h.
29594         (FLOAT): Remove macro.
29595         (FUNC): Likewise.
29596         (MATHCONST): Likewise.
29597         (PRINTF_EXPR): Likewise.
29598         (PRINTF_XEXPR): Likewise.
29599         (PRINTF_NEXPR): Likewise.
29600         (TEST_DOUBLE): Likewise.
29601         (TEST_MATHVEC): Likewise.
29602         (__NO_MATH_INLINES): Likewise.
29603         (CNCT): Likewise.
29604         (CONCAT): Likewise.
29605         (WRAPPER_NAME): Likewise.
29606         (WRAPPER_DECL): Likewise.
29607         (WRAPPER_DECL_ff): Likewise.
29608         (WRAPPER_DECL_fFF): Likewise.
29609         (VECTOR_WRAPPER): Likewise.
29610         (VECTOR_WRAPPER_ff): Likewise.
29611         (VECTOR_WRAPPER_fFF): Likewise.
29612         (VEC_LEN): New macro.
29613         * math/test-double-vlen8.h: Include test-double.h,
29614         test-math-no-inline.h and test-math-vector.h.
29615         (FLOAT): Remove macro.
29616         (FUNC): Likewise.
29617         (MATHCONST): Likewise.
29618         (PRINTF_EXPR): Likewise.
29619         (PRINTF_XEXPR): Likewise.
29620         (PRINTF_NEXPR): Likewise.
29621         (TEST_DOUBLE): Likewise.
29622         (TEST_MATHVEC): Likewise.
29623         (__NO_MATH_INLINES): Likewise.
29624         (CNCT): Likewise.
29625         (CONCAT): Likewise.
29626         (WRAPPER_NAME): Likewise.
29627         (WRAPPER_DECL): Likewise.
29628         (WRAPPER_DECL_ff): Likewise.
29629         (WRAPPER_DECL_fFF): Likewise.
29630         (VECTOR_WRAPPER): Likewise.
29631         (VECTOR_WRAPPER_ff): Likewise.
29632         (VECTOR_WRAPPER_fFF): Likewise.
29633         (VEC_LEN): New macro.
29634         * math/test-float-vlen4.h: Include test-float.h,
29635         test-math-no-inline.h and test-math-vector.h.
29636         (FLOAT): Remove macro.
29637         (FUNC): Likewise.
29638         (MATHCONST): Likewise.
29639         (PRINTF_EXPR): Likewise.
29640         (PRINTF_XEXPR): Likewise.
29641         (PRINTF_NEXPR): Likewise.
29642         (TEST_FLOAT): Likewise.
29643         (TEST_MATHVEC): Likewise.
29644         (__NO_MATH_INLINES): Likewise.
29645         (CNCT): Likewise.
29646         (CONCAT): Likewise.
29647         (WRAPPER_NAME): Likewise.
29648         (WRAPPER_DECL): Likewise.
29649         (WRAPPER_DECL_ff): Likewise.
29650         (WRAPPER_DECL_fFF): Likewise.
29651         (VECTOR_WRAPPER): Likewise.
29652         (VECTOR_WRAPPER_ff): Likewise.
29653         (VECTOR_WRAPPER_fFF): Likewise.
29654         (VEC_LEN): New macro.
29655         * math/test-float-vlen8.h: Include test-float.h,
29656         test-math-no-inline.h and test-math-vector.h.
29657         (FLOAT): Remove macro.
29658         (FUNC): Likewise.
29659         (MATHCONST): Likewise.
29660         (PRINTF_EXPR): Likewise.
29661         (PRINTF_XEXPR): Likewise.
29662         (PRINTF_NEXPR): Likewise.
29663         (TEST_FLOAT): Likewise.
29664         (TEST_MATHVEC): Likewise.
29665         (__NO_MATH_INLINES): Likewise.
29666         (CNCT): Likewise.
29667         (CONCAT): Likewise.
29668         (WRAPPER_NAME): Likewise.
29669         (WRAPPER_DECL): Likewise.
29670         (WRAPPER_DECL_ff): Likewise.
29671         (WRAPPER_DECL_fFF): Likewise.
29672         (VECTOR_WRAPPER): Likewise.
29673         (VECTOR_WRAPPER_ff): Likewise.
29674         (VECTOR_WRAPPER_fFF): Likewise.
29675         (VEC_LEN): New macro.
29676         * math/test-float-vlen16.h: Include test-float.h,
29677         test-math-no-inline.h and test-math-vector.h.
29678         (FLOAT): Remove macro.
29679         (FUNC): Likewise.
29680         (MATHCONST): Likewise.
29681         (PRINTF_EXPR): Likewise.
29682         (PRINTF_XEXPR): Likewise.
29683         (PRINTF_NEXPR): Likewise.
29684         (TEST_FLOAT): Likewise.
29685         (TEST_MATHVEC): Likewise.
29686         (__NO_MATH_INLINES): Likewise.
29687         (CNCT): Likewise.
29688         (CONCAT): Likewise.
29689         (WRAPPER_NAME): Likewise.
29690         (WRAPPER_DECL): Likewise.
29691         (WRAPPER_DECL_ff): Likewise.
29692         (WRAPPER_DECL_fFF): Likewise.
29693         (VECTOR_WRAPPER): Likewise.
29694         (VECTOR_WRAPPER_ff): Likewise.
29695         (VECTOR_WRAPPER_fFF): Likewise.
29696         (VEC_LEN): New macro.
29697         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
29698         test-vec-loop.h.
29699         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29700         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29701         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29702         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29703         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29704         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29705         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
29707 2015-06-24  Roland McGrath  <roland@hack.frob.com>
29709         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
29710         (__getlogin_r): ... this.
29712 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
29714         [BZ #18594]
29715         * math/s_ccosh.c (__ccosh): Compare with least normal value
29716         instead of comparing class with FP_SUBNORMAL.
29717         * math/s_ccoshf.c (__ccoshf): Likewise.
29718         * math/s_ccoshl.c (__ccoshl): Likewise.
29719         * math/s_cexp.c (__cexp): Likewise.
29720         * math/s_cexpf.c (__cexpf): Likewise.
29721         * math/s_cexpl.c (__cexpl): Likewise.
29722         * math/s_csin.c (__csin): Likewise.
29723         * math/s_csinf.c (__csinf): Likewise.
29724         * math/s_csinh.c (__csinh): Likewise.
29725         * math/s_csinhf.c (__csinhf): Likewise.
29726         * math/s_csinhl.c (__csinhl): Likewise.
29727         * math/s_csinl.c (__csinl): Likewise.
29728         * math/s_ctan.c (__ctan): Likewise.
29729         * math/s_ctanf.c (__ctanf): Likewise.
29730         * math/s_ctanh.c (__ctanh): Likewise.
29731         * math/s_ctanhf.c (__ctanhf): Likewise.
29732         * math/s_ctanhl.c (__ctanhl): Likewise.
29733         * math/s_ctanl.c (__ctanl): Likewise.
29734         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
29735         csin, csinh, ctan and ctanh.
29736         * math/auto-libm-test-out: Regenerated.
29737         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
29738         * sysdeps/i386/fpu/libm-test-ulps: Update.
29739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29741 2015-06-24  Roland McGrath  <roland@hack.frob.com>
29743         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
29744         return value is wrong, print the expected value too.
29746 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
29748         [BZ #18585]
29749         * elf/readlib.c (is_gdb_python_file): New.
29750         (process_file): Don't issue errors on filenames with -gdb.py
29751         suffix.
29753 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
29755         * math/auto-libm-test-in: Add more tests of csin and csinh.
29756         * math/auto-libm-test-out: Regenerated.
29757         * math/libm-test.inc (csin_test_data): Remove tests moved to
29758         auto-libm-test-in.
29759         (csinh_test_data): Likewise.
29761         [BZ #18593]
29762         * math/s_csin.c (__csin): Negate before rather than after possibly
29763         overflowing multiplication.
29764         * math/s_csinf.c (__csinf): Likewise.
29765         * math/s_csinh.c (__csinh): Likewise.
29766         * math/s_csinhf.c (__csinhf): Likewise.
29767         * math/s_csinhl.c (__csinhl): Likewise.
29768         * math/s_csinl.c (__csinl): Likewise.
29769         * math/auto-libm-test-in: Add some tests of csin and csinh.
29770         * math/auto-libm-test-out: Regenerated.
29771         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
29772         (csinh_test_data): Likewise.
29773         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29775         [BZ #18586]
29776         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
29777         underflow exception for small results.
29779 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
29781         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
29782         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
29783         variable and included header.
29784         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
29785         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
29786         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
29787         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
29788         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
29789         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
29790         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
29791         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
29792         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
29793         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
29794         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
29795         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
29796         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
29797         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
29798         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
29799         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
29801 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
29803         [BZ #16526]
29804         [BZ #16538]
29805         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
29806         (__sin): Force underflow exception for arguments with small
29807         absolute value.
29808         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
29809         (__kernel_sinf): Force underflow exception for arguments with
29810         small absolute value.
29811         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
29812         (__kernel_sincosl): Force underflow exception for arguments with
29813         small absolute value.
29814         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
29815         (__kernel_sinl): Force underflow exception for arguments with
29816         small absolute value.
29817         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
29818         (__kernel_sincosl): Force underflow exception for arguments with
29819         small absolute value.
29820         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
29821         (__kernel_sinl): Force underflow exception for arguments with
29822         small absolute value.
29823         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
29824         (__kernel_sinl): Force underflow exception for arguments with
29825         small absolute value.
29826         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
29827         (__kernel_sinf): Force underflow exception for arguments with
29828         small absolute value.
29829         * math/auto-libm-test-in: Add more tests of sin and sincos.
29830         * math/auto-libm-test-out: Regenerated.
29832         [BZ #18245]
29833         [BZ #18583]
29834         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
29835         (__kernel_standard_l): Use feholdexcept and fesetenv around
29836         conversion to double instead of special-casing overflow and
29837         underflow.
29838         * math/libm-test.inc (fmod_test_data): Add more tests.
29839         (remainder_test_data): Likewise.
29840         (sqrt_test_data): Likewise.
29842 2015-06-23  Torvald Riegel  <triegel@redhat.com>
29844         [BZ #17403]
29845         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
29846         atomic_read_barrier, atomic_write_barrier): Define.
29847         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
29848         atomic_read_barrier, atomic_write_barrier): Define.
29850 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
29852         * math/Makefile [$(PERL) != no]
29853         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
29854         dependency on libm-test.stmp below the inclusion of Rules.
29856 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
29858         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
29859         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
29860         and included header.
29861         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
29862         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
29863         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
29864         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
29865         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
29866         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
29867         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
29868         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
29869         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
29870         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
29871         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
29872         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
29873         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
29874         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
29875         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
29876         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
29877         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
29878         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
29879         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
29881 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
29883         [BZ #18371]
29884         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
29885         intermediate but not final result might underflow.
29886         * math/s_csqrtf.c (__csqrtf): Likewise.
29887         * math/s_csqrtl.c (__csqrtl): Likewise.
29888         * math/auto-libm-test-in: Add more tests of csqrt.
29889         * math/auto-libm-test-out: Regenerated.
29890         * sysdeps/i386/fpu/libm-test-ulps: Update.
29892         [BZ #18219]
29893         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
29894         threshold on absolute value of exponent for which scaling is used.
29895         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
29896         * math/auto-libm-test-in: Add more tests of exp2.
29897         * math/auto-libm-test-out: Regenerated.
29899 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
29901         [BZ #17977]
29902         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
29903         when initializing interface list, based on the bug analysis
29904         and the patch proposed by Eric Newton.
29905         * resolv/tst-res_hconf_reorder.c: New test.
29906         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
29907         tst-res_hconf_reorder.
29908         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
29909         and $(shared-thread-library).
29910         (tst-res_hconf_reorder-ENV): New variable.
29912         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
29913         in comment.
29915 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
29917         [BZ #16353]
29918         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
29919         (__expm1): Force underflow exception for arguments with small
29920         absolute value.
29921         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
29922         (__expm1f): Force underflow exception for arguments with small
29923         absolute value.
29924         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
29925         (__expm1): Force underflow exception for arguments with small
29926         absolute value.
29927         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
29928         (__expm1f): Force underflow exception for arguments with small
29929         absolute value.
29930         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29931         Check for small arguments before calling __expm1.
29932         * math/auto-libm-test-in: Do not mark underflow exceptions as
29933         possibly missing for bug 16353.
29934         * math/auto-libm-test-out: Regenerated.
29936 2015-06-22  Andreas Schwab  <schwab@suse.de>
29938         [BZ #18513]
29939         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
29940         PTR queries.
29942 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
29944         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
29946         * string/strcoll_l.c: Remove unused struct element idxnow.
29948 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
29950         [BZ #18569]
29951         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
29952         underflow and return argument in case of subnormal argument.
29953         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
29954         Likewise.
29955         * math/auto-libm-test-in: Add more tests of expm1.
29956         * math/auto-libm-test-out: Regenerated.
29958         [BZ #16361]
29959         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
29960         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
29961         tiny results.
29962         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
29963         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
29964         tiny results.
29965         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
29966         mark underflow exceptions as possibly missing for bug 16361.
29967         * math/auto-libm-test-out: Regenerated.
29969 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
29971         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
29972         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
29973         Remove variable.
29974         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
29975         (test-xfail-XOPEN2K8/utmpx.h/conform).
29977         * conform/conformtest.pl ($xerrors): New variable.
29978         (note_error): New function.
29979         (compiletest): New argument $xfail.  Use not_error.
29980         (runtest): Likewise.
29981         (top level): Handle xfail- lines.  Update calls to compiletest and
29982         runtest.  Handle xfail- and optional- in headers listed with
29983         allow-header.
29984         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
29985         (O_EXEC): Likewise.
29986         (O_SEARCH): Likewise.
29987         * conform/data/stropts.h-data (ioctl): Likewise.
29988         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
29989         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
29990         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
29991         (msghdr.msg_controllen): Likewise.
29992         (cmsghdr.cmsg_len): Likewise.
29993         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
29994         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
29995         variable.
29996         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
29997         (test-xfail-XPG4/stropts.h/conform): Likewise.
29998         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
29999         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
30000         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
30001         (test-xfail-UNIX98/stropts.h/conform): Likewise.
30002         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
30003         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
30004         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
30005         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
30006         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
30007         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
30008         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
30009         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
30010         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
30011         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
30012         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
30013         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
30014         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
30015         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
30016         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
30018 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
30020         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
30021         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
30022         definitions for proper unfolding of __MATHDECL_VEC.
30024 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
30026         * benchtests/bench-strcoll.c:
30027         Include string.h.
30028         (main): Remove unused variable res.
30030 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
30032         * timezone/Makefile (%/UTC %/Universal):
30033         Generate test-result files for UTC and Universal.
30035 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
30037         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
30039 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
30041         [BZ #16350]
30042         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
30043         for arguments with small absolute value.
30044         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
30045         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
30046         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
30047         (__asinh): Force underflow exception for arguments with small
30048         absolute value.
30049         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
30050         (__asinhf): Force underflow exception for arguments with small
30051         absolute value.
30052         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
30053         (__asinhl): Force underflow exception for arguments with small
30054         absolute value.
30055         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
30056         (__asinhl): Force underflow exception for arguments with small
30057         absolute value.
30058         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
30059         (__asinhl): Force underflow exception for arguments with small
30060         absolute value.
30061         * math/auto-libm-test-in: Do not mark underflow exceptions as
30062         possibly missing for bug 16350.
30063         * math/auto-libm-test-out: Regenerated.
30065         * include/bits/ipc.h: Remove file.
30066         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
30067         variable.
30068         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
30069         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
30070         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
30071         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
30072         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
30073         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
30074         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
30075         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
30076         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
30078         * math/auto-libm-test-in: Remove spurious underflow allowance for
30079         tests of cexp.
30080         * math/auto-libm-test-out: Regenerated.
30082         [BZ #18558]
30083         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
30084         unconditional definition.
30085         (MCAST_BLOCK_SOURCE): Likewise.
30086         (MCAST_UNBLOCK_SOURCE): Likewise.
30087         (MCAST_LEAVE_GROUP): Likewise.
30088         (MCAST_JOIN_SOURCE_GROUP): Likewise.
30089         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
30090         (MCAST_MSFILTER): Likewise.
30091         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
30092         Remove variable.
30093         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
30094         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
30095         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
30096         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
30097         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
30099 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
30101         * NEWS: Mention addition of x86_64 vector sincosf.
30102         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
30103         * math/test-float-vlen4.h: Likewise.
30104         * math/test-float-vlen8.h: Likewise.
30105         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
30106         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
30107         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30108         * sysdeps/x86_64/fpu/Versions: New versions added.
30109         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30110         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30111         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30112         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
30113         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
30114         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
30115         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
30116         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
30117         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
30118         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
30119         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
30120         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
30121         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
30122         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
30123         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
30124         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
30125         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
30126         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
30127         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
30128         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
30129         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
30130         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
30131         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
30132         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
30134         * NEWS: Mention addition of x86_64 vector sincos.
30135         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
30136         * math/math.h (__MATHDECL_VEC): New macro.
30137         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
30138         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
30139         declaration under condition.
30140         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
30141         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
30142         TEST_VEC_LOOP change.
30143         * math/test-double-vlen4.h: Likewise.
30144         * math/test-double-vlen8.h: Likewise.
30145         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
30146         * math/test-float-vlen4.h: Likewise.
30147         * math/test-float-vlen8.h: Likewise.
30148         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
30149         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
30150         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30151         * sysdeps/x86_64/fpu/Versions: New versions added.
30152         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30153         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30154         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30155         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
30156         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
30157         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
30158         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
30159         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
30160         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
30161         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
30162         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
30163         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
30164         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
30165         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
30166         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
30167         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
30168         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
30169         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
30170         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
30171         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
30172         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
30173         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30174         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
30175         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
30177         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
30178         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
30179         redirections for powf.
30180         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30181         * sysdeps/x86_64/fpu/Versions: New versions added.
30182         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30183         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30184         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30185         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
30186         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
30187         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
30188         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
30189         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
30190         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
30191         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
30192         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
30193         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
30194         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
30195         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
30196         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
30197         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
30198         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
30199         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
30200         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
30201         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
30202         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
30203         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
30204         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
30205         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
30206         * math/test-float-vlen16.h: Fixed 2 argument macro.
30207         * math/test-float-vlen4.h: Likewise.
30208         * math/test-float-vlen8.h: Likewise.
30209         * NEWS: Mention addition of x86_64 vector powf.
30211 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
30213         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30214         and redefine.
30215         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30216         and redefine.
30217         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
30218         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30219         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30221         [BZ #18553]
30222         * resource/getpriority.c (getpriority): Rename to __getpriority
30223         and define as weak alias of __getpriority.
30224         * resource/setpriority.c (setpriority): Rename to __setpriority
30225         and define as weak alias of __setpriority.
30226         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
30227         __getpriority and define as weak alias of __getpriority.
30228         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
30229         __setpriority and define as weak alias of __setpriority.
30230         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
30231         strong name.
30232         (setpriority): Use __setpriority as strong name.
30233         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
30234         __getpriority and define as weak alias of __getpriority.
30235         * include/sys/resource.h (__getpriority): Declare.  Use
30236         libc_hidden_proto.
30237         (__setpriority): Likewise.
30238         (getpriority): Don't use libc_hidden_proto.
30239         (setpriority): Likewise.
30240         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
30241         getpriority.  Call __setpriority instead of setpriority.
30242         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
30243         Remove variable.
30245         [BZ #18547]
30246         * misc/getttyent.c (getttynam): Rename to __getttynam and define
30247         as weak alias of __getttynam.  Use prototype function definition.
30248         Call __setttyent, __getttyent and __endttyent instead of
30249         setttyent, getttyent and endttyent.
30250         (getttyent): Rename to __getttyent and define as weak alias of
30251         __getttyent.  Call __setttyent instead of setttyent.  Call
30252         __fgets_unlocked instead of fgets_unlocked.
30253         (setttyent): Rename to __setttyent and define as weak alias of
30254         __setttyent.
30255         (endttyent): Rename to __endttyent and define as weak alias of
30256         __endttyent.
30257         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
30258         (__setttyent): Likewise.
30259         (__endttyent): Likewise.
30260         (getttyent): Don't use libc_hidden_proto.
30261         (setttyent): Likewise.
30262         (endttyent): Likewise.
30263         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
30264         __endttyent instead of setttyent, getttyent and endttyent.
30265         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
30266         Remove variable.
30268         [BZ #18546]
30269         * socket/recv.c (__recv): Use libc_hidden_def.
30270         * socket/socket.c (__socket): Likewise.
30271         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
30272         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
30273         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
30274         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
30275         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
30276         libc_hidden_def.
30277         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
30278         libc_hidden_weak.
30279         * include/sys/socket.h (__socket): Do not use attribute_hidden.
30280         Use libc_hidden_proto.
30281         (__recv): Likewise.
30282         * socket/Versions (libc): Export __recv and __socket at version
30283         GLIBC_PRIVATE.
30284         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
30285         instead of recv.
30286         (init_mq_netlink): Call __socket instead of socket.
30287         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
30288         Remove variable.
30290         [BZ #18545]
30291         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
30292         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
30293         hidden_weak.
30294         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
30295         define as alias of __mq_timedsend.  Use hidden_weak.
30296         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
30297         __mq_timedsend as strong name.
30298         (mq_timedreceive): Use __mq_timedreceive as strong name.
30299         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
30300         (__mq_timedreceive): Likewise.
30301         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
30302         __mq_timedreceive instead of mq_timedreceive.
30303         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
30304         instead of mq_timedsend.
30305         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
30306         Remove variable.
30308         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
30309         hidden_def and hidden_weak instead of libc_hidden_def and
30310         libc_hidden_weak.
30311         (top level): Refer to hidden_def in comment.
30312         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
30313         macro.  Use it instead of libc_hidden_def.
30314         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
30315         specify __GI_* name explicitly.
30316         (mq_timedreceive): Likewise.
30317         (mq_setattr): Likewise.
30319         [BZ #18544]
30320         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
30321         __pthread_barrier_init and define as weak alias of
30322         __pthread_barrier_init.
30323         * sysdeps/sparc/nptl/pthread_barrier_init.c
30324         (pthread_barrier_init): Likewise.
30325         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
30326         __pthread_barrier_wait and define as weak alias of
30327         __pthread_barrier_wait.
30328         * sysdeps/sparc/nptl/pthread_barrier_wait.c
30329         (pthread_barrier_wait): Likewise.
30330         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
30331         (pthread_barrier_wait): Likewise.
30332         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
30333         (pthread_barrier_wait): Likewise.
30334         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
30335         (pthread_barrier_wait): Likewise.
30336         * nptl/Versions (libpthread): Export __pthread_barrier_init and
30337         __pthread_barrier_wait at version GLIBC_PRIVATE.
30338         * include/pthread.h (__pthread_barrier_init): Declare.
30339         (__pthread_barrier_wait): Likewise.
30340         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
30341         Call __pthread_barrier_wait instead of pthread_barrier_wait.
30342         (helper_thread): Likewise.
30343         (init_mq_netlink): Call __pthread_barrier_init instead of
30344         pthread_barrier_init.
30346         [BZ #18542]
30347         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
30348         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
30349         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
30350         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
30351         vswscanf.
30352         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
30353         Remove variable.
30355         [BZ #18540]
30356         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
30357         strong alias of _IO_fflush.  Use libc_hidden_def.
30358         * libio/iofflush_u.c (fflush_unlocked): Rename to
30359         __fflush_unlocked and define as weak alias of __fflush_unlocked.
30360         Use libc_hidden_weak.
30361         * include/stdio.h (__fflush_unlocked): Declare.  Use
30362         libc_hidden_proto.
30363         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
30364         fflush_unlocked.
30365         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
30366         Remove variable.
30368         [BZ #18539]
30369         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
30370         define as weak alias of __addseverity.
30371         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
30372         Remove variable.
30373         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
30374         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
30375         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
30377         [BZ #18536]
30378         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
30379         (__tfind): Likewise.
30380         (__tdelete): Likewise.
30381         (__twalk): Likewise.
30382         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
30383         __twalk to GLIBC_PRIVATE.
30384         * include/search.h (__tsearch): Use libc_hidden_proto.
30385         (__tfind): Likewise.
30386         (__tdelete): Likewise.
30387         (__twalk): Likewise.
30388         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
30389         Call __tdelete instead of tdelete.
30390         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
30391         tfind.  Call __tsearch instead of tsearch.
30392         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
30393         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
30394         Remove variable.
30395         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
30397         [BZ #18534]
30398         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
30399         (dprintf): Define as a weak alias of __dprintf, not a strong
30400         alias.
30401         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
30402         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
30403         dprintf.
30404         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
30405         Remove variable.
30406         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
30407         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
30409         [BZ #18533]
30410         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
30411         not a strong alias.
30412         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
30413         Remove variable.
30415         [BZ #18532]
30416         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
30417         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
30418         (in6addr_loopback): Rename to __in6addr_loopback and define as
30419         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
30420         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
30421         libc_hidden_proto.
30422         (__in6addr_any): Likewise.
30423         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
30424         in6addr_any.
30425         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
30426         variable.
30427         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
30429 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
30431         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
30432         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
30433         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
30434         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
30435         redirections for pow.
30436         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30437         * sysdeps/x86_64/fpu/Versions: New versions added.
30438         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30439         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
30440         build of SSE, AVX2 and AVX512 IFUNC versions.
30441         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
30442         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
30443         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
30444         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
30445         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
30446         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
30447         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
30448         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
30449         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
30450         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
30451         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
30452         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
30453         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
30454         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
30455         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
30456         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
30457         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
30458         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
30459         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30460         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
30461         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
30462         * NEWS: Mention addition of x86_64 vector pow.
30464         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
30465         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
30466         redirections for expf.
30467         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30468         * sysdeps/x86_64/fpu/Versions: New versions added.
30469         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30470         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
30471         build of SSE, AVX2 and AVX512 IFUNC versions.
30472         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
30473         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
30474         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
30475         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
30476         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
30477         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
30478         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
30479         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
30480         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
30481         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
30482         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
30483         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
30484         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
30485         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
30486         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
30487         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
30488         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
30489         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
30490         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
30491         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
30492         * NEWS: Mention addition of x86_64 vector expf.
30494         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
30495         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
30496         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
30497         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
30498         redirections for exp.
30499         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30500         * sysdeps/x86_64/fpu/Versions: New versions added.
30501         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30502         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
30503         build of SSE, AVX2 and AVX512 IFUNC versions.
30504         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
30505         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
30506         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
30507         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
30508         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
30509         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
30510         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
30511         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
30512         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
30513         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
30514         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
30515         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
30516         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
30517         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
30518         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
30519         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
30520         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
30521         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30522         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
30523         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
30524         * NEWS: Mention addition of x86_64 vector exp.
30526         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
30527         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
30528         redirections for logf.
30529         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30530         * sysdeps/x86_64/fpu/Versions: New versions added.
30531         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30532         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
30533         build of SSE, AVX2 and AVX512 IFUNC versions.
30534         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
30535         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
30536         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
30537         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
30538         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
30539         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
30540         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
30541         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
30542         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
30543         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
30544         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
30545         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
30546         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
30547         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
30548         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
30549         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
30550         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
30551         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
30552         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
30553         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
30554         * NEWS: Mention addition of x86_64 vector logf.
30556         * bits/libm-simd-decl-stubs.h: Added stubs for log.
30557         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
30558         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
30559         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
30560         redirections for log.
30561         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30562         * sysdeps/x86_64/fpu/Versions: New versions added.
30563         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30564         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
30565         build of SSE, AVX2 and AVX512 IFUNC versions.
30566         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
30567         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
30568         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
30569         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
30570         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
30571         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
30572         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
30573         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
30574         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
30575         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
30576         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
30577         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
30578         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
30579         test.
30580         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
30581         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
30582         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
30583         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
30584         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30585         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
30586         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
30587         * NEWS: Mention addition of x86_64 vector log.
30589 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30591         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
30592         cfi_adjust_cfa_offset argument.
30593         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
30594         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
30596         [BZ #18034]
30597         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
30598         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
30599         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
30600         ordering using ldar.
30601         (_dl_tlsdesc_dynamic): Likewise.
30602         (_dl_tlsdesc_return_lazy): Likewise.
30603         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
30604         relaxed atomics instead of volatile and synchronize with release store.
30605         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
30606         volatile.
30607         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
30609 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
30611         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
30612         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
30613         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30614         * sysdeps/x86_64/fpu/Versions: New versions added.
30615         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30616         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
30617         build of SSE, AVX2 and AVX512 IFUNC versions.
30618         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
30619         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
30620         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
30621         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
30622         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
30623         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
30624         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
30625         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
30626         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
30627         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
30628         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
30629         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
30630         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
30631         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
30632         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
30633         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
30634         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
30635         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
30636         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
30637         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
30638         * NEWS: Mention addition of x86_64 vector sinf.
30640 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
30642         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
30643         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
30644         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
30645         Remove variable.
30646         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
30647         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
30649 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
30651         [BZ #18530]
30652         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
30653         strong alias of _IO_fputs.  Use libc_hidden_def.
30654         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
30655         and define as weak alias of __fputs_unlocked.  Use
30656         libc_hidden_weak.
30657         * include/stdio.h (__fputs_unlocked): Declare.  Use
30658         libc_hidden_proto.
30659         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
30660         fputs_unlocked.
30662         [BZ #18529]
30663         * resolv/netdb.h [__USE_POSIX]: Change condition to
30664         [__USE_XOPEN2K].
30665         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
30666         not expect.
30667         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
30668         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
30669         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
30670         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
30671         [XPG4 || UNIX98] (AI_ALL): Likewise.
30672         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
30673         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
30674         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
30675         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
30676         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
30677         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
30678         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
30679         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
30680         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
30681         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
30682         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
30683         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
30684         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
30685         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
30686         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
30687         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
30688         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
30689         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
30690         [XPG4 || UNIX98] (gai_strerror): Likewise.
30691         [XPG4 || UNIX98] (getaddrinfo): Likewise.
30692         [XPG4 || UNIX98] (getnameinfo): Likewise.
30694         [BZ #18528]
30695         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
30696         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
30697         __USE_XOPEN2K8].
30698         (getgrent): Likewise.
30699         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
30700         expect.
30701         [XPG3 || POSIX2008] (endgrent): Likewise.
30702         [XPG3] (setgrent): Likewise.
30703         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
30704         variable.
30705         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
30707         [BZ #18527]
30708         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
30709         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
30710         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
30711         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
30712         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
30713         * include/unistd.h (__getlogin_r): Declare.  Use
30714         libc_hidden_proto.
30715         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
30716         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
30717         variable.
30718         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
30719         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
30720         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
30722 2015-06-12  Martin Sebor  <msebor@redhat.com>
30724         [BZ #18512]
30725         * Makerules (check-install-supported): New target.
30726         (install): Add check-install-supported as a dependency.
30727         * manual/install.texi (Installing the C Library): Document
30728         that overriding prefix and exec_prefix is not supported.
30729         Mention DESTDIR.
30730         * INSTALL: Regenerate from the above.
30732 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
30734         [BZ #18519]
30735         * posix/Versions (libc): Export __libc_pread at version
30736         GLIBC_PRIVATE.
30737         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
30738         instead of pread.
30739         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
30740         variable.
30742         [BZ #18522]
30743         * misc/efgcvt_r.c
30744         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
30745         (cvt_symbol): Use weak_alias instead of strong_alias.
30746         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
30747         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
30748         Remove variable.
30749         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
30750         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
30752         [BZ #18520]
30753         * inet/herrno.c (h_errno): Rename to __h_errno.
30754         (__libc_h_errno): Define as alias of __h_errno not h_errno.
30755         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
30756         to __h_errno instead of h_errno.
30757         * nptl/herrno.c (h_errno): Rename to __h_errno.
30758         (__h_errno_location): Refer to __h_errno not h_errno.
30759         * resolv/Versions (h_errno): Rename to __h_errno.
30760         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
30761         Remove variable.
30762         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
30764 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
30766         * configure.ac: More strict check for AVX512 assembler support.
30767         * configure: Regenerated.
30769         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
30770         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
30771         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
30772         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
30773         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30774         * sysdeps/x86_64/fpu/Versions: New versions added.
30775         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30776         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30777         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30778         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
30779         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
30780         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
30781         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
30782         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
30783         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
30784         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
30785         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
30786         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
30787         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
30788         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
30789         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
30790         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
30791         test.
30792         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
30793         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
30794         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
30795         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
30796         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30797         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
30798         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
30799         * NEWS: Mention addition of x86_64 vector sin.
30801 2015-06-11  Florian Weimer  <fweimer@redhat.com>
30803         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
30804         comment.
30806 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
30808         [BZ #18479]
30809         * nptl/pt-interp.c: New file.
30810         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
30811         Add pt-interp.
30812         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
30813         $(common-objpfx)runtime-linker.h.
30815 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
30817         * Makeconfig (+interp): Remove unused variable.
30818         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
30819         only.  Depend on $(common-objpfx)runtime-linker.h instead of
30820         $(elf-objpfx)runtime-linker.h.
30821         ($(elf-objpfx)runtime-linker.h): Rename to
30822         $(common-objpfx)runtime-linker.h and move ...
30823         * Makerules [$(build-shared) = yes]: ... here.
30824         * elf/interp.c: Include <runtime-linker.h> instead of
30825         <elf/runtime-linker.h>.
30827 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30829         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
30830         (__gettimeofday_syscall): Remove vsyscall fallback.
30831         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
30832         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
30833         Add syscall fallback function.
30834         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
30835         if vDSO is not present.
30836         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
30837         fallback function.
30838         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
30839         present.
30840         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
30841         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30843 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
30845         [BZ #18497]
30846         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
30847         of wcscmp.
30848         (wcscmp): Define as weak alias of WCSCMP.
30849         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
30850         wcscoll.
30851         (USE_HIDDEN_DEF): Define.
30852         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
30853         __wcscoll.  Don't use libc_hidden_weak.
30854         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
30855         wcscmp.
30856         * sysdeps/i386/i686/multiarch/wcscmp-c.c
30857         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
30858         __GI_wcscmp.
30859         (weak_alias): Undefine and redefine.
30860         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
30861         __wcscmp and define as weak alias of __wcscmp.
30862         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
30863         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
30864         (__wcscoll): Likewise.
30865         (wcscmp): Don't use libc_hidden_proto.
30866         (wcscoll): Likewise.
30867         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
30868         wcscoll.
30869         * posix/regexec.c (check_node_accept_bytes): Likewise.
30870         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
30871         variable.
30872         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
30873         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
30875         [BZ #18507]
30876         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
30877         __fstatvfs and define as weak alias of __fstatvfs.  Use
30878         libc_hidden_weak.
30879         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
30880         and define as weak alias of __statvfs.  Use libc_hidden_weak.
30881         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
30882         Define as alias of __fstatvfs, not fstatvfs.
30883         (fstatvfs64): Likewise.
30884         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
30885         Define as alias of __statvfs, not statvfs.
30886         (statvfs64): Likewise.
30887         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
30888         Remove variable.
30890 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30893         (HAVE_GETCPU_VSYSCALL): Define.
30894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30895         (HAVE_GETCPU_VSYSCALL): Likewise.
30896         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
30897         * sysdeps/unix/sysv/linux/sched_getcpu.c
30898         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
30899         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
30900         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
30901         prototype.
30902         * sysdeps/unix/sysv/linux/x86_64/init-first.c
30903         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
30904         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
30905         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
30906         Define.
30907         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
30908         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30909         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
30910         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30912 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
30914         * sysdeps/x86_64/fpu/Makefile: New file.
30915         * sysdeps/x86_64/fpu/Versions: New file.
30916         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
30917         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
30918         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
30919         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
30920         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
30921         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
30922         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
30923         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
30924         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
30925         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
30926         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
30927         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
30928         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
30929         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30930         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30931         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
30932         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
30933         * sysdeps/x86_64/configure.ac: Options for libmvec build.
30934         * sysdeps/x86_64/configure: Regenerated.
30935         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
30936         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
30937         * manual/install.texi (Configuring and compiling): Document
30938         --disable-mathvec.
30939         * INSTALL: Regenerated.
30940         * NEWS: Mention addition of libmvec and x86_64 vector cos.
30942         * math/Makefile: Added rules for vector tests.
30943         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
30944         declaration under condition.
30945         * math/test-double-vlen2.h: New file.
30946         * math/test-double-vlen4.h: New file.
30947         * math/test-double-vlen8.h: New file.
30948         * math/test-vec-loop.h: Added initialization macro.
30949         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
30950         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
30951         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
30952         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
30953         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
30954         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
30955         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
30956         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
30957         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
30958         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
30959         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
30961         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30962         * sysdeps/x86_64/fpu/Versions: New versions added.
30963         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
30964         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
30965         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
30966         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
30967         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
30968         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
30969         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
30970         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
30971         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
30972         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
30973         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
30974         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
30975         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
30976         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30977         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30978         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
30979         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
30980         * NEWS: Mention addition of x86_64 vector cosf.
30982         * math/Makefile: Added CFLAGS for new tests.
30983         * math/test-float-vlen16.h: New file.
30984         * math/test-float-vlen4.h: New file.
30985         * math/test-float-vlen8.h: New file.
30986         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
30987         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
30988         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30989         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
30990         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
30991         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
30992         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
30993         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
30994         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
30995         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
30996         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
30998 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
31000         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
31001         * locale/programs/ld-ctype.c: Likewise.
31003 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
31005         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
31006         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
31007         bit_ZMM16_31_state): New macro.
31008         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31009         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
31011 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
31013         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
31015 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
31017         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
31019 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
31021         [BZ #18498]
31022         * libio/memstream.c (open_memstream): Rename to __open_memstream
31023         and define as weak alias of __open_memstream.
31024         * include/stdio.h (__open_memstream): Declare.  Use
31025         libc_hidden_proto.
31026         (open_memstream): Don't use libc_hidden_proto.
31027         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
31028         open_memstream.
31029         * posix/getopt.c (_getopt_internal_r): Likewise.
31030         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
31031         variable.
31032         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
31033         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
31034         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
31036         [BZ #18496]
31037         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
31038         instead of wcrtomb.
31040         [BZ #18483]
31041         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
31042         [__USE_XOPEN2K8].  Remove redundant #endif.
31043         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
31044         Remove redundant #if.
31045         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
31046         Remove variable.
31047         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
31048         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
31050         [BZ #18495]
31051         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
31052         (__iswlower): Likewise.
31053         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
31054         (__iswlower): Likewise.
31055         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
31056         instead of towlower.
31057         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
31058         instead of iswlower.  Call __towupper instead of towupper.
31059         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
31060         instead of iswalnum.
31062 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31064         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
31065         errors to stderr.
31067 2015-06-05  Florian Weimer  <fweimer@redhat.com>
31069         [BZ #15661]
31070         [BZ #17322]
31071         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
31072         Check for overflow properly.  Check for O_APPEND.  Ignore large
31073         file system block sizes.  Add comments about problems.
31074         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
31075         * manual/filesys.texi (Storage Allocation): New node.
31077 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31079         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
31080         cancellable syscalls.
31081         (SYS_ify): Add guard to no redefine it.
31082         (INLINE_SYSCALL): Likewise.
31083         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
31084         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
31085         SYSCALL_CANCEL instead.
31086         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
31087         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
31088         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
31089         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
31090         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
31091         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
31092         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
31093         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
31094         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
31095         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
31096         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
31097         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
31098         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
31099         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
31100         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
31101         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
31102         Likewise.
31103         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
31104         (__libc_pread64): Likewise.
31105         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
31106         (__libc_preadv): Likewise.
31107         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
31108         (__libc_readv64): Likewise.
31109         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
31110         (__libc_pwrite): Likewise.
31111         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
31112         (__libc_pwrite64): Likewise.
31113         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
31114         (__libc_pwritev): Likewise.
31115         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
31116         (__libc_pwritev64): Likewise.
31117         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
31118         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
31119         (sync_file_range): Likewise.
31120         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
31121         Likewise.
31122         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
31123         Likewise.
31124         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
31125         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
31126         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
31127         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
31128         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
31129         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
31130         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
31131         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
31132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
31133         Likewise.
31134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
31135         (__libc_read64): Likewise.
31136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
31137         Likewise.
31138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
31139         Likewise.
31140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
31141         Likewise.
31142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
31143         Likewise.
31144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
31145         (__libc_pread64): Likewise.
31146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
31147         Likewise.
31148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
31149         (__libc_pwrite64): Likewise.
31150         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
31151         (sync_file_range): Likewise.
31152         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
31153         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
31154         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
31155         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
31156         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
31157         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
31158         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
31159         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
31160         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
31161         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
31162         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
31163         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
31164         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
31165         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
31166         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
31167         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
31168         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
31169         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
31170         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
31171         Likewise.
31172         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
31173         Likewise.
31174         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
31175         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
31176         Likewise.
31177         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
31178         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
31179         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
31180         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
31181         Likewise.
31182         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
31183         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
31184         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
31185         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
31186         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
31188 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
31190         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
31191         Include dl-vdso.
31192         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
31193         Use VDSO routines for gettimeofday, clock_gettime if
31194         available.
31195         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
31196         Declare VDSO symbols.
31197         * sysdeps/unix/sysv/linux/arm/sysdep.h:
31198         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
31199         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
31200         * sysdeps/unix/sysv/linux/arm/Versions: Add
31201         __vdso_clock_gettime.
31203 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31205         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
31206         be an inline implementation regardless of library is built within.
31207         (open_not_cancel_2): Likewise.
31208         (__read_nocancel): Likewise.
31209         (__write_nocancel): Likewise.
31210         (openat_not_cancel): Likewise.
31211         (openat_not_cancel_3): Likewise.
31212         (openat64_not_cancel): Likewise.
31213         (openat64_not_cancel_3): Likewise.
31214         (__close_nocancel): Likewise.
31215         (pause_not_cancel): Likewise.
31216         (nanosleep_not_cancel): Likewise.
31217         (sigsuspend_not_cancel): Likewise.
31219 2015-06-04  Torvald Riegel  <triegel@redhat.com>
31221         [BZ #14958]
31222         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
31223         wake-up.
31224         (__pthread_rwlock_rdlock_slow): Likewise.
31225         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
31226         Likewise.
31227         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
31228         Likewise.
31229         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
31230         * nptl/tst-rwlock16.c: New file.
31231         * nptl/Makefile (tests): Add new test.
31233 2015-06-04  Torvald Riegel  <triegel@redhat.com>
31235         [BZ #18324]
31236         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
31237         missing wake-up of readers.
31238         * nptl/tst-rwlock15.c: New file.
31239         * nptl/Makefile (tests): Add new test.
31241 2015-06-03  Roland McGrath  <roland@hack.frob.com>
31243         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
31244         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
31245         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
31246         and __nacl_supply_interface_rtld.
31247         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
31248         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
31249         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
31250         Add __nacl_supply_interface_rtld.
31251         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
31253 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
31255         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
31256         isfinite.
31257         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31258         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
31260 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
31262         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
31263         __signbit* with standard C99 macros.
31264         * math/e_exp10l.c: Likewise.
31265         * math/e_exp2l.c: Likewise.
31266         * math/e_scalb.c: Likewise.
31267         * math/e_scalbf.c: Likewise.
31268         * math/e_scalbl.c: Likewise.
31269         * math/s_ldexp.c: Likewise.
31270         * math/s_ldexpf.c: Likewise.
31271         * math/s_ldexpl.c: Likewise.
31272         * math/w_atan2.c: Likewise.
31273         * math/w_atan2f.c: Likewise.
31274         * math/w_atan2l.c: Likewise.
31275         * math/w_cosh.c: Likewise.
31276         * math/w_coshf.c: Likewise.
31277         * math/w_coshl.c: Likewise.
31278         * math/w_exp10.c: Likewise.
31279         * math/w_exp10f.c: Likewise.
31280         * math/w_exp10l.c: Likewise.
31281         * math/w_exp2.c: Likewise.
31282         * math/w_exp2f.c: Likewise.
31283         * math/w_exp2l.c: Likewise.
31284         * math/w_fmod.c: Likewise.
31285         * math/w_fmodf.c: Likewise.
31286         * math/w_fmodl.c: Likewise.
31287         * math/w_hypot.c: Likewise.
31288         * math/w_hypotf.c: Likewise.
31289         * math/w_hypotl.c: Likewise.
31290         * math/w_jnl.c: Likewise.
31291         * math/w_lgamma.c: Likewise.
31292         * math/w_lgamma_r.c: Likewise.
31293         * math/w_lgammaf.c: Likewise.
31294         * math/w_lgammaf_r.c: Likewise.
31295         * math/w_lgammal.c: Likewise.
31296         * math/w_lgammal_r.c: Likewise.
31297         * math/w_pow.c: Likewise.
31298         * math/w_powf.c: Likewise.
31299         * math/w_powl.c: Likewise.
31300         * math/w_remainder.c: Likewise.
31301         * math/w_remainderf.c: Likewise.
31302         * math/w_remainderl.c: Likewise.
31303         * math/w_scalb.c: Likewise.
31304         * math/w_scalbf.c: Likewise.
31305         * math/w_scalbl.c: Likewise.
31306         * math/w_scalbln.c: Likewise.
31307         * math/w_scalblnf.c: Likewise.
31308         * math/w_scalblnl.c: Likewise.
31309         * math/w_sinh.c: Likewise.
31310         * math/w_sinhf.c: Likewise.
31311         * math/w_sinhl.c: Likewise.
31312         * math/w_tgamma.c: Likewise.
31313         * math/w_tgammaf.c: Likewise.
31314         * math/w_tgammal.c: Likewise.
31315         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31316         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
31317         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31318         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31319         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31320         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31321         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
31322         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31323         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
31324         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31325         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31326         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
31327         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31328         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
31329         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
31330         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31331         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
31332         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
31333         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31334         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31335         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31336         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31337         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31338         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31339         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
31340         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31341         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
31342         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31343         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31344         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31345         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
31346         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
31347         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
31348         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
31349         * stdio-common/printf_fp.c: Likewise.
31350         * stdio-common/printf_fphex.c: Likewise.
31351         * stdio-common/printf_size.c: Likewise.
31353 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
31355         [BZ #18470]
31356         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
31357         strnlen.
31358         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
31359         Remove variable.
31360         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
31361         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
31362         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
31363         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
31364         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
31365         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
31366         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
31367         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
31368         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
31369         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
31371         [BZ #18468]
31372         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
31373         weak alias of __wmemchr.  Use libc_hidden_weak.
31374         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
31375         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
31376         instead of wmemchr.
31378 2015-06-02  Roland McGrath  <roland@hack.frob.com>
31380         [BZ #18383]
31381         * elf/tst-tlsalign-extern.c: New file.
31382         * elf/tst-tlsalign-extern-static.c: New file.
31383         * elf/tst-tlsalign-vars.c: New file.
31384         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
31385         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
31386         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
31387         ($(objpfx)tst-tlsalign-extern-static): Likewise.
31388         (test-xfail-tst-tlsalign-extern-static): New variable.
31390 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
31392         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
31393         Use variable name _sc_err instead of err.
31394         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
31395         instead of ret.
31396         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
31397         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
31398         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
31399         (INLINE_SYSCALL): Likewise.
31401         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
31402         * include/string.h (__strnlen): Use libc_hidden_proto.
31403         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
31404         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
31405         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
31406         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
31407         (libc_hidden_def): Undefine and redefine.
31408         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
31409         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
31410         __GI_strnlen.
31411         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
31412         libc_hidden_def.
31413         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
31415         [BZ #18469]
31416         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
31417         weak alias of __towlower.  Use libc_hidden_weak.
31418         (towupper): Rename to __towupper and define as weak alias of
31419         __towupper.  Use libc_hidden_weak.
31420         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
31421         (__towupper): Likewise.
31422         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
31423         __towlower instead of towlower.
31425 2015-06-02  Roland McGrath  <roland@hack.frob.com>
31427         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
31428         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
31430 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31432         * sysdeps/aarch64/libm-test-ulps: Update.
31434 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31436         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
31437         Define.
31438         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
31439         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
31440         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
31441         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
31442         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
31443         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
31444         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
31446 2015-06-01  Martin Sebor  <msebor@redhat.com>
31448         [BZ #18116]
31449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31450         (__setcontext): Use extended four-operand version of mtsf whenever
31451         possible.
31452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31453         (__novec_swapcontext): Likewise.
31455 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31457         * benchtests/scripts/compare_bench.py: New file.
31458         * benchtests/scripts/import_bench.py (mean): New function.
31459         (split_list): Likewise.
31460         (do_for_all_timings): Likewise.
31461         (compress_timings): Likewise.
31463         * benchtests/scripts/import_bench.py: New file.
31464         * benchtests/scripts/validate_benchout.py: Import import_bench
31465         instead of jsonschema.
31466         (validate_bench): Remove function.
31467         (main): Use import_bench.
31469 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
31471         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
31472         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
31474 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31476         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31478 2015-05-28  Roland McGrath  <roland@hack.frob.com>
31480         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
31481         set THREAD_SELF->tid to a magic value and futex-wake it.
31482         Pass its address to the thread_exit system call.
31483         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
31484         bit is clear.
31485         * sysdeps/nacl/lowlevellock.h: New file.
31486         * sysdeps/nacl/lll_timedwait_tid.c: New file.
31488         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
31489         Add TIMEOUT to current time, don't subtract it.
31491 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
31493         [BZ #2981]
31494         [BZ #18422]
31495         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
31496         ($(objpfx)tst-audit2.out): Also depend on
31497         $(objpfx)tst-auditmod9b.so.
31498         * elf/tst-audit2.c: Include <dlfcn.h>.
31499         (calloc_called): New.
31500         (calloc): Allow to be called more than once.
31501         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
31503 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
31505         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
31506         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
31508 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
31510         * stdlib/monetary.h: Fix comment.
31512 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
31514         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
31515         Avoid using variables in #defines that might cause shadowing.
31516         (INTERNAL_VSYSCALL_CALL): Likewise.
31518 2015-05-26  Roland McGrath  <roland@hack.frob.com>
31520         * sysdeps/nacl/lll_timedlock_wait.c: New file.
31522         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
31523         * nptl/lll_timedlock_wait.c: ... to this new file.
31524         * nptl/Makefile (libpthread-routines): Add it.
31525         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
31526         * nptl/lll_timedwait_tid.c: ... to this new file.
31527         * nptl/Makefile (libpthread-routines): Add it.
31528         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
31529         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
31530         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
31531         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
31532         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
31533         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
31534         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
31535         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
31536         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
31537         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
31539 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31541         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
31542         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31543         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
31544         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
31545         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
31546         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31547         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
31548         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31549         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
31550         * sysdeps/unix/sysv/linux/tile/sysdep.h
31551         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
31552         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
31553         using vDSO syscall macro.
31555 2015-05-26  Andriy Rysin  <arysin@gmail.com>
31557         [BZ #17293]
31558         * uk_UA: Fix sorting order for Ukrainian locale
31560 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
31562         * stdlib/monetary.h: Fix comment.
31564 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31566         [BZ #18234]
31567         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
31568         st_mtim and st_ctim members.
31569         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
31570         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
31571         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
31572         (struct stat64): Likewise.
31573         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
31574         (struct stat64): Likewise.
31575         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
31576         (struct stat64): Likewise.
31578 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31580         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
31581         Define and include sysdep-vdso.h.
31582         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
31583         Likewise.
31584         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
31585         Likewise.
31586         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
31587         Define with VDSO_SYMBOL and use PTR_MANGLE.
31588         (__vdso_clock_gettime): Likewise.
31589         (__vdso_clock_getres): Likewise.
31590         (_libc_vdso_platform_setup): Likewise.
31591         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
31592         Likewise.
31593         (_libc_vdso_platform_setup): Likewise.
31594         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
31595         Likewise.
31596         (__vdso_clock_gettime): Likewise.
31597         (__vdso_clock_getres): Likewise.
31598         (__vdso_get_tbfreq): Likewise.
31599         (__vdso_getcpu): Likewise.
31600         (__vdso_time): Likewise.
31601         (__vdso_sigtramp_rt64): Likewise.
31602         (__vdso_signtramp32): Likewise.
31603         (__vdso_sigtramp_rt32): Likewise.
31604         (_libc_vdso_platform_setup): Likewise.
31605         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
31606         Likewise.
31607         (__vdso_clock_gettime): Likewise.
31608         (__vdso_clock_getres): Likewise.
31609         (_libc_vdso_platform_setup): Likewise.
31610         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
31611         Likewise.
31612         (__vdso_clock_gettime): Likewise.
31613         (_libc_vdso_platform_setup): Likewise.
31614         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
31615         Likewise.
31616         (__vdso_getcpu): Likewise.
31617         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
31618         Use VDSO_SYMBOL macro to define.
31619         (__vdso_clock_gettime): Likewise.
31620         (__vdso_clock_getres): Likewise.
31621         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
31622         Likewise.
31623         (__vdso_clock_gettime): Likewise.
31624         (__vdso_clock_getres): Likewise.
31625         (__vdso_get_tbfreq): Likewise.
31626         (__vdso_getcpu): Likewise.
31627         (__vdso_time): Likewise.
31628         (__vdso_sigtramp_rt64): Likewise.
31629         (__vdso_signtramp32): Likewise.
31630         (__vdso_sigtramp_rt32): Likewise.
31631         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
31632         Likewise.
31633         (__vdso_clock_gettime): Likewise.
31634         (__vdso_clock_getres): Likewise.
31635         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
31636         Likewise.
31637         (__vdso_clock_gettime): Likewise.
31638         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
31639         Likewise.
31640         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
31641         macro.
31642         (INTERNAL_VSYSCALL): Likewise.
31643         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
31644         Remove macro.
31645         (INTERNAL_VSYSCALL): Likewise.
31646         (INTERNAL_VSYSCALL_NCS): Likewise.
31647         (INTERNAL_VSYSCALL_CALL): New macro.
31648         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
31649         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
31650         Likewise.
31651         (INTERNAL_VSYSCALL): Likewise.
31652         (INTERNAL_VSYSCALL_NCS): Likewise.
31653         (INTERNAL_VSYSCALL_CALL): New macro.
31654         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
31655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31656         (INLINE_VSYSCALL): Remove macro.
31657         (INTERNAL_VSYSCALL): Remove macro.
31658         (INTERNAL_VSYSCALL_NCS): Remove macro.
31659         (INTERNAL_VSYSCALL_CALL): New macro.
31660         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
31661         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
31662         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
31663         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
31664         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
31665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31666         (INLINE_VSYSCALL): Remove macro.
31667         (INTERNAL_VSYSCALL): Likewise.
31668         (INTERNAL_VSYSCALL_NCS): Likewise.
31669         (INTERNAL_VSYSCALL_CALL): New macro.
31670         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
31671         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
31672         PTR_DEMANGLE on vDSO pointer.
31673         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
31674         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
31675         macro.
31676         (INTERNAL_SYSCALL): Likewise.
31677         (INTERNAL_VSYSCALL_NCS): Remove macro.
31678         (INTERNAL_VSYSCALL_CALL): New macro.
31679         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
31680         Remove macro.
31681         (INTERNAL_VSYSCALL): Likewise.
31682         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
31683         sysdep-vdso.h instead of libc-vdso.h.
31684         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
31685         definition.
31686         (INLINE_VSYSCALL): Likewise.
31687         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
31688         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
31689         definition.
31690         (INLINE_VSYSCALL): Likewise.
31691         (INTERNAL_VSYSCALL): Likewise.
31692         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
31693         * sysdeps/unix/sysv/linux/timespec_get.c
31694         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
31695         (timespec_get): Use ANSI prototype.
31696         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
31697         and definition for Linux.
31699 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
31701         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
31702         * include/libc-symbols.h: libmvec_hidden_* macro series added.
31704 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31706         [BZ #2981]
31707         [BZ #18410]
31708         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
31709         for missing DT_PLTRELSZ.
31711 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
31713         Remove obsolete aliases that broke 'locale -a'
31714         [BZ #18412]
31715         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
31716         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
31717         breaking some applications that use 'locale -a' output.
31718         Change the encoding of this file from Latin-1 to ASCII to avoid
31719         other potential problems with people grepping this file.
31721 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31723         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
31724         -fasynchronous-unwind-tables.
31725         (CFLAGS-sendto.c): Likewise.
31726         (CFLAGS-sendmsg.c): Likewise.
31727         (CFLAGS-connect.c): Likewise.
31728         (CFLAGS-recvmsg.c): Likewise.
31729         (CFLAGS-recvfrom.c): Likewise.
31730         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
31731         (SOCKETCALL): New macro: non-cancellable socketcall.
31732         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
31733         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
31734         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
31735         * sysdeps/unix/sysv/linux/accept.c: New file.
31736         * sysdeps/unix/sysv/linux/bind.c: Likewise.
31737         * sysdeps/unix/sysv/linux/connect.c: Likewise.
31738         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
31739         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
31740         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
31741         * sysdeps/unix/sysv/linux/listen.c: Likewise.
31742         * sysdeps/unix/sysv/linux/recv.c: Likewise.
31743         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
31744         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
31745         * sysdeps/unix/sysv/linux/send.c: Likewise.
31746         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
31747         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
31748         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
31749         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
31750         * sysdeps/unix/sysv/linux/socket.c: Likewise.
31751         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
31752         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
31753         prototype.
31754         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
31755         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
31756         instead of __internal_xxx function.
31757         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
31758         prototype.
31759         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
31760         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
31761         instead of __internal_xxx function.
31762         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
31763         prototype.
31764         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
31765         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
31766         instead of __internal_xxx function.
31767         * sysdeps/unix/sysv/linux/accept.S: Remove file.
31768         * sysdeps/unix/sysv/linux/bind.S: Likewise.
31769         * sysdeps/unix/sysv/linux/connect.S: Likewise.
31770         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
31771         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
31772         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
31773         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
31774         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
31775         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
31776         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
31777         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
31778         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31779         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
31780         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
31781         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
31782         * sysdeps/unix/sysv/linux/listen.S: Likewise.
31783         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
31784         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
31785         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
31786         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
31787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
31788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
31789         * sysdeps/unix/sysv/linux/recv.S: Likewise.
31790         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
31791         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
31792         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
31793         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
31794         * sysdeps/unix/sysv/linux/send.S: Likewise.
31795         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
31796         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
31797         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
31798         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
31799         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
31800         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
31801         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
31802         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
31803         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
31804         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
31805         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
31806         socketcall is implemented in GLIBC.
31808 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
31810         * soft-fp/fmadf4.c: Include <libc-internal.h>.
31811         (__fma): Ignore uninitialized warnings around packing.
31812         * soft-fp/fmasf4.c: Include <libc-internal.h>.
31813         (__fmaf): Ignore uninitialized warnings around packing.
31814         * soft-fp/fmatf4.c: Include <libc-internal.h>.
31815         (__fmal): Ignore uninitialized warnings around packing.
31817         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
31818         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
31819         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
31820         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
31822         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
31823         switch statement into default case.
31824         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
31826         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
31827         a conditional in forcing "inexact".
31828         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
31829         Likewise.
31831 2015-05-22  Roland McGrath  <roland@hack.frob.com>
31833         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
31834         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
31835         for each INTERNAL_SYSCALL use.
31837 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
31839         [BZ #438]
31840         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
31841         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
31842         variable.
31844         [BZ #18444]
31845         * string/basename.c (basename): Rename to __basename and define as
31846         weak alias of __basename.  Use libc_hidden_weak.
31847         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
31848         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
31849         __basename instead of basename.
31850         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
31851         Remove variable.
31852         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
31854 2015-05-18  Florian Weimer  <fweimer@redhat.com>
31856         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
31857         (_IO_JUMPS_FILE_plus): New.
31858         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
31859         _IO_CAST_FIELD_ACCESS.
31860         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
31861         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
31862         * libio/freopen.c (freopen): Likewise.
31863         * libio/freopen64.c (freopen64): Likewise.
31864         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
31865         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
31866         * libio/iofwide.c (_IO_fwide): Likewise.
31867         * libio/memstream.c (open_memstream): Likewise.
31868         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31869         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
31870         * libio/oldiopopen.c (_IO_old_popen): Likewise.
31872 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
31874         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
31875         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
31876         NADJ.
31877         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
31878         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
31879         NADJ.
31880         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
31881         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
31882         NADJ.
31884         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
31885         (p == 4) case.
31887         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
31888         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
31889         Remove variable.
31890         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
31891         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
31892         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
31894 2015-05-21  Florian Weimer  <fweimer@redhat.com>
31896         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
31897         Adjust jump table label generation macros.
31899 2015-05-21  Florian Weimer  <fweimer@redhat.com>
31901         * stdio-common/vfprintf.c (vfprintf): Move local variables
31902         args_malloced, specs, specs_malloced, and the code after
31903         do_positional to the printf_positional function.
31904         (printf_positional): New function.
31906 2015-05-21  Florian Weimer  <fweimer@redhat.com>
31908         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
31909         function.
31910         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
31911         STEP4_TABLE, process_arg): Move macro definitions
31912         out of the vfprintf function.  (Cosmetic change only.)
31914 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
31916         * benchtests/Makefile (stdio-common-bench): Define.
31917         (benchset): Add stdio-common-bench.
31918         * sprintf-inputs: New file.
31919         * sprintf-source.c: New file.
31921 2015-05-21  Andreas Schwab  <schwab@suse.de>
31923         [BZ #13028]
31924         [BZ #17053]
31925         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
31926         of struct __res_state.
31927         * resolv/res_send.c (__libc_res_nsend): Likewise.
31928         (get_nsaddr): New function.
31929         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
31930         statp directly.
31932 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
31934         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
31935         -D_POSIX_C_SOURCE=199506L.
31937         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
31939         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
31940         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
31941         Do not mention otherwise.
31942         [POSIX] (_XOPEN_VERSION): Do not expect.
31943         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
31944         [POSIX] (_POSIX2_C_BIND): Likewise.
31945         [POSIX] (_POSIX2_VERSION): Likewise.
31946         [POSIX] (_XOPEN_XPG2): Likewise.
31947         [POSIX] (_XOPEN_XPG3): Likewise.
31948         [POSIX] (_XOPEN_XPG4): Likewise.
31949         [POSIX] (_XOPEN_UNIX): Likewise.
31950         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
31951         [POSIX] (_POSIX_BARRIERS): Likewise.
31952         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
31953         [POSIX] (_POSIX_CPUTIME): Likewise.
31954         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
31955         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
31956         [POSIX] (_POSIX_SHELL): Likewise.
31957         [POSIX] (_POSIX_SPAWN): Likewise.
31958         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
31959         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
31960         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
31961         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
31962         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
31963         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
31964         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
31965         [POSIX] (_XBS5_LP64_OFF64): Likewise.
31966         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
31967         [POSIX] (_POSIX_TIMEOUTS): Likewise.
31968         [POSIX] (_POSIX2_PBS): Likewise.
31969         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
31970         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
31971         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
31972         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
31973         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
31974         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
31975         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
31976         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
31977         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
31978         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
31979         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
31980         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
31981         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
31982         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
31983         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
31984         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
31985         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
31986         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
31987         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
31988         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
31989         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
31990         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
31991         [POSIX] (_SC_2_C_BIND): Likewise.
31992         [POSIX] (_SC_2_C_VERSION): Likewise.
31993         [POSIX] (_SC_2_PBS): Likewise.
31994         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
31995         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
31996         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
31997         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
31998         [POSIX] (_SC_2_PBS_TRACK): Likewise.
31999         [POSIX] (_SC_ATEXIT_MAX): Likewise.
32000         [POSIX] (_SC_BARRIERS): Likewise.
32001         [POSIX] (_SC_BASE): Likewise.
32002         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
32003         [POSIX] (_SC_DEVICE_IO): Likewise.
32004         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
32005         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
32006         [POSIX] (_SC_FD_MGMT): Likewise.
32007         [POSIX] (_SC_FIFO): Likewise.
32008         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
32009         [POSIX] (_SC_FILE_LOCKING): Likewise.
32010         [POSIX] (_SC_FILE_SYSTEM): Likewise.
32011         [POSIX] (_SC_IOV_MAX): Likewise.
32012         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
32013         [POSIX] (_SC_NETWORKING): Likewise.
32014         [POSIX] (_SC_PAGE_SIZE): Likewise.
32015         [POSIX] (_SC_PASS_MAX): Likewise.
32016         [POSIX] (_SC_PIPE): Likewise.
32017         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
32018         [POSIX] (_SC_REGEXP): Likewise.
32019         [POSIX] (_SC_SHELL): Likewise.
32020         [POSIX] (_SC_SIGNALS): Likewise.
32021         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
32022         [POSIX] (_SC_SPIN_LOCKS): Likewise.
32023         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
32024         [POSIX] (_SC_USER_GROUPS): Likewise.
32025         [POSIX] (_SC_USER_GROUPS_R): Likewise.
32026         [POSIX] (_SC_STREAMS): Likewise.
32027         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
32028         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
32029         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
32030         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
32031         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
32032         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
32033         [POSIX] (_PC_FILESIZEBITS): Likewise.
32034         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
32035         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
32036         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
32037         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
32038         [POSIX] (uid_t): Likewise.
32039         [POSIX] (gid_t): Likewise.
32040         [POSIX] (off_t): Likewise.
32041         [POSIX] (pid_t): Likewise.
32042         [POSIX] (cuserid): Allow.
32043         (_SC_2_CHAR_TERM): Require constant.
32044         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
32045         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
32046         variable.
32048 2015-05-20  Roland McGrath  <roland@hack.frob.com>
32050         * sysdeps/nacl/pthread-pids.h: New file.
32051         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
32052         (create_thread): Use __nacl_get_tid to initialize PD->tid.
32054         * nptl/pthread-pids.h: New file.
32055         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
32056         * nptl/nptl-init.c: Include <pthread-pids.h>.
32057         (__pthread_initialize_minimal_internal):
32058         Call __pthread_initialize_pids instead of set_tid_address syscall.
32060         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
32061         * sysdeps/posix/usleep.c: ... here.
32063 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32065         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
32066         call_pselect6 object.
32067         [$(subdir) = io]: Remove call_sync_file_range object.
32068         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
32069         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
32070         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
32071         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
32073 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
32075         * math/s_cproj.c: Add include "math_private.h".
32076         * math/s_cprojf.c: Likewise.
32077         * math/s_cprojl.c: Likewise.
32079 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
32081         [BZ #18244]
32082         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
32083         high mantissa bit when testing whether P is a NaN.
32084         * math/libm-test.inc (remainder_test_data): Add more tests.
32085         (remquo_test_data): Likewise.
32087         [BZ #18049]
32088         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
32089         below -32, return the argument, with underflow if subnormal.
32090         * math/auto-libm-test-in: Add more tests of atanh.
32091         * math/auto-libm-test-out: Regenerated.
32093 2015-05-19  Roland McGrath  <roland@hack.frob.com>
32095         [BZ #18434]
32096         * nptl/tst-sem15.c: New file.
32097         * nptl/Makefile (tests): Add it.
32098         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
32099         s/<</>>/ to fix typo in EOVERFLOW check.
32100         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
32102 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32104         * manual/strings.texi (envz_remove): Fix typo in safety
32105         annotations.
32107 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
32108             Steve Ellcey  <sellcey@imgtec.com>
32110         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
32111         in order to avoid strict alias warnings.
32112         (iruserok_af): Ditto for ra.
32114 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
32116         [BZ #17581]
32117         * malloc/hooks.c
32118         (magicbyte): Convert to a function and avoid returning 0x01.
32119         (mem2mem_check): Avoid using a length byte equal to the magic byte.
32120         (mem2chunk_check): Fix unsigned comparisons to zero.
32121         Hoist defs of sz and magic.
32123 2015-05-19  Richard Henderson  <rth@redhat.com>
32125         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
32127         * sysdeps/alpha/fpu/libm-test-ulps: Update.
32129 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32131         [BZ #16159]
32132         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
32133         * malloc/arena.c (arena_lock): Check if arena is corrupt.
32134         (reused_arena): Find a non-corrupt arena.
32135         (heap_trim): Pass arena to unlink.
32136         * malloc/hooks.c (malloc_check_get_size): Pass arena to
32137         malloc_printerr.
32138         (top_check): Likewise.
32139         (free_check): Likewise.
32140         (realloc_check): Likewise.
32141         * malloc/malloc.c (malloc_printerr): Add arena argument.
32142         (unlink): Likewise.
32143         (munmap_chunk): Adjust.
32144         (ARENA_CORRUPTION_BIT): New macro.
32145         (arena_is_corrupt): Likewise.
32146         (set_arena_corrupt): Likewise.
32147         (sysmalloc): Use mmap if there are no usable arenas.
32148         (_int_malloc): Likewise.
32149         (__libc_malloc): Don't fail if arena_get returns NULL.
32150         (_mid_memalign): Likewise.
32151         (__libc_calloc): Likewise.
32152         (__libc_realloc): Adjust for additional argument to
32153         malloc_printerr.
32154         (_int_free): Likewise.
32155         (malloc_consolidate): Likewise.
32156         (_int_realloc): Likewise.
32157         (_int_memalign): Don't touch corrupt arenas.
32158         * malloc/tst-malloc-backtrace.c: New test case.
32160         * Makefile (summarize-tests): Fix return value on success.
32162         * manual/string.texi (Envz Functions): Add envz_remove.
32164 2015-05-18  Roland McGrath  <roland@hack.frob.com>
32166         * sysdeps/posix/opendir.c: Include <stdbool.h>.
32167         (invalid_name): New function, broken out of ...
32168         (__opendirat): ... here.  Call it.
32169         (need_isdir_precheck): New function, broken out of ...
32170         (__opendirat): ... here.  Call it.
32171         Use __fxstatat64, not __xstatat64.
32172         (opendir_oflags): New function, broken out of ...
32173         (__opendirat): ... here.  Call it.
32174         (opendir_tail): New function, broken out of ...
32175         (__opendirat): ... here.  Call it.
32176         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
32177         opendir_tail, rather than punting to __opendirat.
32178         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
32180 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32182         * .gitignore: Ignore generated *.pyc.
32184 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
32186         * include/stdio.h: Define __need_wint_t.
32187         * test-skeleton.c: Avoid `for' loop initial declaration.
32188         * nptl/tst-initializers1.c: Use test-skeleton.c.
32190 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32192         [BZ #18418]
32193         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
32195 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
32197         [BZ #16352]
32198         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
32199         (__ieee754_atanh): Force underflow exception for results with
32200         small absolute value.
32201         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
32202         (__ieee754_atanhf): Force underflow exception for results with
32203         small absolute value.
32204         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
32205         (__ieee754_atanh): Force underflow exception for results with
32206         small absolute value.
32207         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
32208         (__ieee754_atanhf): Force underflow exception for results with
32209         small absolute value.
32210         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
32211         (__ieee754_atanhl): Force underflow exception for results with
32212         small absolute value.
32213         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
32214         (__ieee754_atanhl): Force underflow exception for results with
32215         small absolute value.
32216         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
32217         (__ieee754_atanhl): Force underflow exception for results with
32218         small absolute value.
32219         * math/auto-libm-test-in: Do not allow missing underflow
32220         exceptions from atanh.
32221         * math/auto-libm-test-out: Regenerated.
32223         [BZ #18221]
32224         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
32225         2**-28 as threshold for returning x or +/- 1/x.
32226         * math/auto-libm-test-in: Add more tests of tan.
32227         * math/auto-libm-test-out: Regenerated.
32229         [BZ #18220]
32230         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
32231         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
32232         * math/auto-libm-test-in: Add another test of lgamma.
32233         * math/auto-libm-test-out: Regenerated.
32235 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
32237         * stdio-common/printf_fp.c (___printf_fp): Use abs.
32238         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
32239         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
32240         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
32241         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
32242         (ADD2A): Use fabs.  (SUB2A): Use fabs.
32243         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
32244         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
32245         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
32246         (log1): Use fabs.  (my_log2): Use fabs.
32247         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
32248         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
32249         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
32250         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
32251         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
32252         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
32253         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
32254         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
32255         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
32256         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
32257         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
32259 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
32261         [BZ #18217]
32262         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
32263         as threshold for returning 1 - x.
32264         * math/auto-libm-test-in: Add more tests of erfc.
32265         * math/auto-libm-test-out: Regenerated.
32267 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
32269         [BZ #18196]
32270         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
32271         threshold for large arguments.
32272         * math/auto-libm-test-in: Add another test of atan.
32273         * math/auto-libm-test-out: Regenerated.
32275         [BZ #16339]
32276         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
32277         (__log1p): Force underflow exception for results with small
32278         absolute value.
32279         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
32280         (__log1pf): Force underflow exception for results with small
32281         absolute value.
32282         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
32283         (__log1p): Force underflow exception for results with small
32284         absolute value.
32285         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
32286         (__log1pf): Force underflow exception for results with small
32287         absolute value.
32288         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
32289         (__log1pl): Force underflow exception for results with small
32290         absolute value.
32291         * math/auto-libm-test-in: Do not allow missing underflow
32292         exceptions from log1p.
32293         * math/auto-libm-test-out: Regenerated.
32295 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
32296             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32298         [BZ #16704]
32299         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
32301 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
32303         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
32304         (libmvec): New variable.
32305         * configure.ac: Added option for mathvec build.
32306         * configure: Regenerated.
32307         * mathvec/Depend: New file.
32308         * mathvec/Makefile: New file.
32309         * shlib-versions: Added libmvec.
32310         * math/Makefile: Added rule for libm.so installation.
32312         * bits/math-vector.h: New file.
32313         * bits/libm-simd-decl-stubs.h: New header.
32314         * math/Makefile (headers): Added new header
32315         libm-simd-decl-stubs.h.
32316         * math/math.h (__MATHCALL_VEC): New macro.
32318         * math/gen-libm-have-vector-test.sh: Script generates series of macros
32319         for conditions in testing functions.
32320         * math/Makefile: Added call of libm-have-vector-test.sh.
32321         * math/libm-test.inc (HAVE_VECTOR): New macros.
32323         * math/libm-test.inc: START refactored.
32324         * math/test-double.c (TEST_MATHVEC): Add define.
32325         * math/test-float.c: Likewise.
32326         * math/test-idouble.c: Likewise.
32327         * math/test-ifloat.c: Likewise.
32328         * math/test-ildoubl.c: Likewise.
32329         * math/test-ldouble.c: Likewise.
32330         * sysdeps/generic/math-tests-arch.h
32331         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
32332         architecture check.
32334         * math/test-double.c (FUNC_TEST): New macro.
32335         * math/test-float.c: Likewise.
32336         * math/test-idouble.c: Likewise.
32337         * math/test-ifloat.c: Likewise.
32338         * math/test-ildoubl.c: Likewise.
32339         * math/test-ldouble.c: Likewise.
32340         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
32342 2015-05-13  Roland McGrath  <roland@hack.frob.com>
32344         * sysdeps/nacl/fdopendir.c: New file.
32346         * dirent/scandir-tail.c: New file.
32347         * dirent/scandir64-tail.c: New file.
32348         * dirent/Makefile (routines): Add them.
32349         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
32350         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
32351         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
32352         [!SCANDIR] (SCANDIR_TAIL): New macro.
32353         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
32354         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
32355         (SCANDIRAT): Macro removed.
32356         (SCANDIR_TAIL): New macro.
32357         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
32358         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
32359         (SCANDIRAT): Just call __opendirat and __scandir_tail.
32360         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
32361         (READDIR): Macro removed.
32362         (SCANDIR_TAIL): New macro.
32363         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
32364         (SCANDIR_TAIL): New macro.
32366         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
32367         * dirent/scandir-cancel.c: ... to this new file.
32368         * dirent/Makefile (routines): Add it.
32369         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
32370         * sysdeps/unix/sysv/linux/i386/scandir64.c
32371         (SKIP_SCANDIR_CANCEL): Macro removed.
32372         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
32374         * dirent/tst-scandir.c: New file.
32375         * dirent/tst-scandir64.c: New file.
32376         * dirent/Makefile (tests): Add them.
32378 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
32380         [BZ #18409]
32381         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
32383 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32385         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
32386         list.
32388 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
32390         * benchtests/bench-strcoll.c: New benchmark.
32391         * benchtests/Makefile: Generate locales and run benchmark.
32392         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
32393         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
32394         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
32395         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
32396         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
32397         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
32398         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
32399         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
32400         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
32401         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
32402         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
32403         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
32404         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
32405         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
32406         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
32407         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
32408         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
32409         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
32410         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
32411         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
32412         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
32413         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
32414         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
32415         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
32417 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
32419         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
32420         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32422 2015-05-12  Roland McGrath  <roland@hack.frob.com>
32424         * posix/uname-values.h: New file.
32425         * posix/uname.c: Include that instead of <config-name.h>.
32426         * sysdeps/nacl/uname-values.h: New file.
32427         * sysdeps/arm/nacl/uname-values.h: New file.
32429 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
32431         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
32432         splitting into fields.
32434 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
32436         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
32437         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
32438         * locale/localeinfo.h: Add enum collation_encoding_type.
32439         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
32440         * programs/ld-collate.c (collate_output): Add encoding type info.
32441         * string/strcoll_l.c (STRDIFF): New function.
32442         * (STRCOLL): Use STRDIFF to skip over equal prefix.
32443         * wcsmbs/wcscoll_l.c: Define STRDIFF.
32445 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
32447         [BZ #18397]
32448         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
32449         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
32450         <fpu_control.h> instead of <math/fpu_control.c>.
32451         * sysdeps/mips/mips32/fpu/Makefile: New file.
32453 2015-05-11  Andreas Schwab  <schwab@suse.de>
32455         [BZ #18007]
32456         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
32457         nss_endgrent.
32458         (_nss_compat_endgrent): Call nss_endgrent.
32459         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
32460         nss_endpwent.
32461         (_nss_compat_endpwent): Call nss_endpwent.
32462         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
32463         needent, call nss_setspent only if non-zero.
32464         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
32465         (internal_endspent): Don't call nss_endspent.
32466         (_nss_compat_endspent): Call nss_endspent.
32467         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
32468         Remove.  All uses removed.
32469         (internal_setent): Remove parameter stayopen, add parameter
32470         stream.  Use it instead of global variable.
32471         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
32472         (internal_endent, internal_getent): Add parameter stream.  Use it
32473         instead of global variable.
32474         (CONCAT(_nss_files_end,ENTNAME))
32475         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
32476         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
32477         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
32478         uses removed.
32479         (internal_setent, internal_endent): Add parameter stream.  Use it
32480         instead of global variable.
32481         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
32482         stream.
32483         (get_next_alias): Add parameter stream.
32484         (_nss_files_getaliasent_r): Pass global stream.
32485         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
32486         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
32487         (_nss_files_gethostbyname4_r): Pass local stream to
32488         internal_setent, internal_getent and internal_endent.  Remove
32489         locking.
32491 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
32493         * tst-strfmon1.c (tests): Update expected currency symbol.
32495 2015-05-08  Roland McGrath  <roland@hack.frob.com>
32497         * sysdeps/nacl/gethostname.c: New file.
32499 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
32501         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
32502         and sinh.
32503         * math/auto-libm-test-out: Regenerated.
32504         * sysdeps/i386/fpu/libm-test-ulps: Update.
32505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32507 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
32509         [BZ #18125]
32510         * stdlib/tst-setcontext3.c: New file.
32511         * stdlib/tst-setcontext3.sh: New file.
32512         * stdlib/Makefile (tests): Add tst-setcontext3.
32513         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
32514         to verify test program created output file.
32515         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
32516         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
32517         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
32518         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
32520 2015-05-06  Roland McGrath  <roland@hack.frob.com>
32522         [BZ #18383]
32523         * elf/tst-tlsalign.c: New file.
32524         * elf/tst-tlsalign-static.c: New file.
32525         * elf/tst-tlsalign-lib.c: New file.
32526         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
32527         (tests-static): Add tst-tlsalign-static.
32528         (modules-names): Add tst-tlsalign-lib.
32529         (test-xfail-tst-tlsalign): New variable.
32530         (test-xfail-tst-tlsalign-static): New variable.
32532         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
32533         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
32535 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
32537         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
32538         csqrt, erfc, sin and sincos.
32539         * math/auto-libm-test-out: Regenerated.
32540         * sysdeps/i386/fpu/libm-test-ulps: Update.
32541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32543 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32545         * sysdeps/aarch64/libm-test-ulps: Update.
32547 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
32549         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
32550         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
32551         * math/auto-libm-test-out: Regenerated.
32552         * sysdeps/i386/fpu/libm-test-ulps: Update.
32553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32555 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
32557         [BZ #18265]
32558         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
32559         (wcsncpy): Likewise.
32561 2015-05-05  Florian Weimer  <fweimer@redhat.com>
32563         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
32564         Assume __ASSUME_FALLOCATE is always true.
32565         * sysdeps/unix/sysv/linux/posix_fallocate64.c
32566         (__posix_fallocate64_l64): Likewise.
32567         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
32568         (posix_fallocate): Likewise.
32569         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
32570         (__posix_fallocate64_l64): Likewise.
32571         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32572         [!__ASSUME_FALLOCATE]: Add comment.
32574 2015-05-05  Florian Weimer  <fweimer@redhat.com>
32576         * sysdeps/unix/sysv/linux/i386/Makefile
32577         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
32578         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
32579         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
32580         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
32581         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
32582         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
32583         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
32585 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
32587         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
32588         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
32589         tgamma.
32590         * math/auto-libm-test-out: Regenerated.
32591         * sysdeps/i386/fpu/libm-test-ulps: Update.
32592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32594 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
32596         * math/auto-libm-test-in: Add more tests of tgamma.
32597         * math/auto-libm-test-out: Regenerated.
32598         * sysdeps/i386/fpu/libm-test-ulps: Update.
32599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32601         * math/auto-libm-test-in: Add more tests of tanh.
32602         * math/auto-libm-test-out: Regenerated.
32603         * sysdeps/i386/fpu/libm-test-ulps: Update.
32604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32606         * math/auto-libm-test-in: Add more tests of tan.
32607         * math/auto-libm-test-out: Regenerated.
32608         * sysdeps/i386/fpu/libm-test-ulps: Update.
32609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32611         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
32612         * math/auto-libm-test-out: Regenerated.
32613         * sysdeps/i386/fpu/libm-test-ulps: Update.
32614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32616         * math/auto-libm-test-in: Add another test of pow.
32617         * math/auto-libm-test-out: Regenerated.
32618         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32620         * math/auto-libm-test-in: Add more tests of lgamma.
32621         * math/auto-libm-test-out: Regenerated.
32622         * sysdeps/i386/fpu/libm-test-ulps: Update.
32623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32625         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
32626         log1p.
32627         * math/auto-libm-test-out: Regenerated.
32628         * sysdeps/i386/fpu/libm-test-ulps: Update.
32629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32631 2015-05-01  Mark Wielaard  <mjw@redhat.com>
32633         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
32634         Elf64_Chdr structs and ELFCOMPRESS constants.
32636 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
32638         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
32639         expm1.
32640         * math/auto-libm-test-out: Regenerated.
32641         * sysdeps/i386/fpu/libm-test-ulps: Update.
32642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32644         * math/auto-libm-test-in: Add more tests of erf and erfc.
32645         * math/auto-libm-test-out: Regenerated.
32646         * sysdeps/i386/fpu/libm-test-ulps: Update.
32647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32649 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32651         * config.h.in (HAVE_AARCH64_BE): Add.
32653 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
32655         * math/auto-libm-test-in: Add more tests of csqrt.
32656         * math/auto-libm-test-out: Regenerated.
32657         * sysdeps/i386/fpu/libm-test-ulps: Update.
32658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32660         * math/auto-libm-test-in: Add more tests of cosh and sinh.
32661         * math/auto-libm-test-out: Regenerated.
32662         * sysdeps/i386/fpu/libm-test-ulps: Update.
32663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32665         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
32667 2015-04-29  Roland McGrath  <roland@hack.frob.com>
32669         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
32670         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
32672         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
32673         (euidaccess, eaccess): Define as weak aliases.
32675         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
32676         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
32677         but __suseconds_t is often 'long int' so some sources assume that
32678         type is being used (e.g. they use %ld to print tv_usec).
32680 2015-04-29  Florian Weimer  <fweimer@redhat.com>
32682         [BZ #18007]
32683         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
32684         (CVE-2014-8121)
32685         * nss/tst-nss-getpwent.c: New file.
32686         * nss/Makefile (tests): Add new test.
32688 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
32690         [BZ #18346]
32691         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
32692         exponents less than 48 as cases where high part of mantissa needs
32693         examining to determine whether argument is integral.
32694         * math/libm-test.inc (round_test_data): Add more tests.
32696 2015-04-28  Mark Wielaard  <mjw@redhat.com>
32698         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
32700 2015-04-27  David S. Miller  <davem@davemloft.net>
32702         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
32703         __tls_get_addr.
32704         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
32706 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
32708         [BZ #18333]
32709         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
32711 2015-04-27  Florian Weimer  <fweimer@redhat.com>
32713         [BZ #18333]
32714         * time/tzset.c (parse_tzname): Return error on memory allocation
32715         failure.
32716         * test-skeleton.c (struct temp_name_list): Change type of name
32717         member to non-const.
32718         (add_temp_file): Create a copy of the file name.
32719         (delete_temp_files): Deallocate memory.
32720         (create_temp_file): Add comment.
32722 2015-04-24  Florian Weimer  <fweimer@redhat.com>
32724         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
32725         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
32727 2015-04-24  Roland McGrath  <roland@hack.frob.com>
32729         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
32730         * sysdeps/arm/configure: Regenerated.
32732 2015-04-24  Florian Weimer  <fweimer@redhat.com>
32734         [BZ #17715]
32735         * time/tzfile.c (__tzfile_read): Check for large values of
32736         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
32737         * time/tzset.c (__tzstring_len): New function, based on the old
32738         __tzstring function.
32739         (__tzstring): Call __tzstring_len.
32740         (parse_tzname): New helper function extracted from
32741         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
32742         the input string.
32743         (parse_offset): New helper function extracted from
32744         __tzset_parse_tz.  Replace switch with fallthrough with
32745         initialization before sscanf.
32746         (parse_rule): Likewise.
32747         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
32748         new-style function definition.
32749         * timezone/Makefile (tests): Add tst-tzset.
32750         (tst-tzset.out): Dependencies on time zone files.
32751         (tst-tzset-ENV): Set TZDIR.
32752         (testdata/XT%): Copy crafted time zone files.
32753         * timezone/README: Mention crafted time zone files.
32754         * timezone/testdata/XT1, timezone/testdata/XT2,
32755         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
32756         files.
32757         * timezone/tst-tzset.c: New test.
32759 2015-04-24  Florian Weimer  <fweimer@redhat.com>
32761         * Makeconfig (+gccwarn): Remove -Winline.
32763 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
32765         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
32767 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
32769         * NEWS: Mention sysconf() cache information support for s390.
32770         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
32772 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
32774         * math/k_casinh.c (__kernel_casinh): Use __copysign.
32775         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
32776         (__nearbyint): Likewise.
32777         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
32778         (copysignl): Likewise.
32780 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
32782         [BZ #18287]
32783         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
32784         based on padding.  (CVE-2015-1781)
32786 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32788         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
32789         libc-vdso.h.
32790         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
32791         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
32792         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
32793         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
32794         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
32795         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
32796         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
32797         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32798         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32799         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
32800         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
32801         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32802         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
32803         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
32804         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
32805         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
32806         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
32807         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
32808         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
32809         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
32810         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
32811         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
32812         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
32814 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
32816         * stdlib/setenv.c (__add_to_environ):
32817         Dump core quickly if setenv (..., NULL, ...) is called.
32818         This time, do it the right way, and pacify GCC with a pragma.
32820 2015-04-17  Roland McGrath  <roland@hack.frob.com>
32822         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
32823         IMAP->l_prev cannot be null, and #if out the code for the contrary
32824         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
32825         believe that NS (&_dl_ns[NSID]) could point outside the array.
32827         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
32828         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
32829         before using NSID as an index.
32831 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
32833         [BZ #17825]
32834         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
32835         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
32836         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
32838 2015-04-17  Roland McGrath  <roland@hack.frob.com>
32840         Add preliminary port to Google Native Client on ARM.
32841         * abi-tags (.*-.*-nacl.*): New entry.
32842         * sysdeps/arm/nacl: New directory.
32843         * sysdeps/nacl: New directory.
32845 2015-04-16  David S. Miller  <davem@davemloft.net>
32847         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
32848         lowlevellock-futex.h
32850 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
32852         * sysdeps/tile/configure.ac: New file.
32853         * sysdeps/tile/configure: Regenerated.
32855 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32857         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
32858         conditionals for weak_alias and libc_hidden_weak.
32859         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
32860         libc_hidden_weak and weak_alias.
32861         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
32862         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
32863         and weak_alias for static one.
32865 2015-04-15  David S. Miller  <davem@davemloft.net>
32867         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
32869 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32871         [BZ #18206]
32872         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
32873           Use signed comparision instead of substraction to avoid
32874           overflow bug.
32875         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
32876           Take the sign of ret.
32877         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
32878           Do not expect precise return values. Only the sign matters.
32879         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
32880         * wcsmbs/test-wcsncmp.c: New File.
32881         * string/test-strncmp.c: Add wcsncmp support.
32883 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32885         [BZ #6792]
32886         * math/w_log1p.c: New file.
32887         * math/w_log1pf.c: Likewise.
32888         * math/w_log1pl.c: Likewise.
32889         * math/Makefile (libm-calls): Add w_log1p.
32890         * math/s_log1pl.c (log1pl): Remove weak_alias.
32891         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
32892         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
32893         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
32894         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
32895         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
32896         [NO_LONG_DOUBLE] (log1pl): Likewise.
32897         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
32898         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
32899         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
32900         (log1p): Remove long_double_symbol.
32901         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
32902         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
32903         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
32904         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
32905         remove weak_alias for corresponding log1p function.
32906         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
32907         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
32908         * sysdeps/ia64/fpu/w_log1p.c: New file.
32909         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
32910         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
32911         * math/libm-test.inc (log1p_test_data): Add errno expectations.
32913 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
32915         [BZ #18247]
32916         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
32917         decimal exponent by 1.
32918         * stdlib/tst-strtod-round-data: Add more tests.
32919         * stdlib/tst-strtod-round.c (tests): Regenerated.
32921 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
32923         * math/auto-libm-test-in: Add more tests of clog and clog10.
32924         * math/auto-libm-test-out: Regenerated.
32925         * sysdeps/i386/fpu/libm-test-ulps: Update.
32926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32928 2015-04-09  Roland McGrath  <roland@hack.frob.com>
32930         * Makeconfig (module-cppflags): Exclude all .v.i files.
32931         (skip-module-cppflags): Variable removed.
32933         * configure.ac (libc_config_ok): Initialize before reading
32934         preconfigure scripts, not after.
32935         * configure: Regenerated.
32937         * test-skeleton.c (TIMEOUT): Move #define to top level.
32938         (main): Grok environment variable TEST_DIRECT.  If set, print
32939         test expectation details into that file and then behave as if
32940         given --direct.
32942 2015-04-09  Florian Weimer  <fweimer@redhat.com>
32944         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
32945         warning on 32-bit.
32947 2015-04-08  David S. Miller  <davem@davemloft.net>
32949         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32951 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
32953         * math/auto-libm-test-in: Add more tests of atanh.
32954         * math/auto-libm-test-out: Regenerated.
32955         * sysdeps/i386/fpu/libm-test-ulps: Update.
32956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32958         * math/auto-libm-test-in: Add more tests of atan.
32959         * math/auto-libm-test-out: Regenerated.
32960         * sysdeps/i386/fpu/libm-test-ulps: Update.
32961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32963 2015-04-08  Florian Weimer  <fweimer@redhat.com>
32965         * elf/pldd.c (main): Rewrite to use struct
32966         scratch_buffer instead of extend_alloca.
32967         * elf/pldd-xx.c (find_maps): Likewise.
32968         * grp/initgroups.c: Include <scratch_buffer.h> instead of
32969         <alloca.h>.
32970         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
32971         scratch_buffer instead of extend_alloca.
32972         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
32973         grp/compat-initgroups.c.
32974         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
32975         Rewrite to use struct scratch_buffer instead of extend_alloca.
32976         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
32977         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32979 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
32981         * math/auto-libm-test-in: Add more tests of cbrt.
32982         * math/auto-libm-test-out: Regenerated.
32983         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32985         * math/auto-libm-test-in: Add more tests of cabs.
32986         * math/auto-libm-test-out: Regenerated.
32987         * sysdeps/i386/fpu/libm-test-ulps: Update.
32988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32990         [BZ #18210]
32991         [BZ #18211]
32992         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
32993         (__ieee754_atan2): Set FE_TONEAREST mode for internal
32994         computations.
32995         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
32996         clog10.
32997         * math/auto-libm-test-out: Regenerated.
32998         * sysdeps/i386/fpu/libm-test-ulps: Update.
32999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33001         [BZ #18197]
33002         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
33003         (atan): Set FE_TONEAREST mode for internal computations.
33004         * math/auto-libm-test-in: Add more tests of atan.
33005         * math/auto-libm-test-out: Regenerated.
33007 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
33009         [BZ #17930]
33010         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
33012 2015-04-07  Florian Weimer  <fweimer@redhat.com>
33014         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
33016 2015-04-07  Florian Weimer  <fweimer@redhat.com>
33018         * include/scratch_buffer.h: New file.
33019         * malloc/scratch_buffer_grow.c: Likewise.
33020         * malloc/scratch_buffer_grow_preserve.c: Likewise.
33021         * malloc/scratch_buffer_set_array_size.c: Likewise.
33022         * malloc/tst-scratch_buffer.c: Likewise.
33023         * malloc/Makefile (routines): Add scratch_buffer_grow.
33024         (tests): Add test case.
33025         * malloc/Versions (GLIBC_PRIVATE): Export
33026         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
33027         __libc_scratch_buffer_set_array_size.
33029 2015-04-06  Richard Henderson  <rth@redhat.com>
33031         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
33032         * sysdeps/alpha/fpu/libm-test-ulps: Update.
33034         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
33035         unsigned int before printing.
33037 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33039         [BZ #17596]
33040         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
33041         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
33043 2015-04-02  Florian Weimer  <fweimer@redhat.com>
33045         * include/libc-internal.h (libc_max_align_t): Define.
33047 2015-04-02  Andreas Schwab  <schwab@suse.de>
33049         [BZ #16850]
33050         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
33052 2015-04-02  Mel Gorman  <mgorman@suse.de>
33054         [BZ #17195]
33055         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
33056         as well as the main arena.
33058 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
33060         [BZ #18185]
33061         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
33062         sharing L2 cache to 2 for Silvermont/Knights Landing.
33064 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
33066         [BZ #17711]
33067         * config.make.in (have-protected-data): New.
33068         * configure.ac: Check linker support for protected data symbol.
33069         * configure: Regenerated.
33070         * elf/Makefile (modules-names): Add tst-protected1moda and
33071         tst-protected1modb if $(have-protected-data) is yes.
33072         (tests): Add tst-protected1a and tst-protected1b if
33073         $(have-protected-data) is yes.
33074         ($(objpfx)tst-protected1a): New.
33075         ($(objpfx)tst-protected1b): Likewise.
33076         (tst-protected1modb.so-no-z-defs): Likewise.
33077         * elf/tst-protected1a.c: New file.
33078         * elf/tst-protected1b.c: Likewise.
33079         * elf/tst-protected1mod.h: Likewise.
33080         * elf/tst-protected1moda.c: Likewise.
33081         * elf/tst-protected1modb.c: Likewise.
33083 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
33085         [BZ #17711]
33086         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
33087         indicates it is called from do_lookup_x on relocation against
33088         protected data, skip the data definion in the executable from
33089         copy reloc.
33090         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
33091         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
33092         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
33093         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
33094         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
33095         otherwise to 0.
33096         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
33097         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
33098         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
33099         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
33100         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
33101         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
33103 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
33105         * sysdeps/nptl/pthread.h: Remove duplicate definition of
33106         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
33108 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
33110         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
33111         THREAD_SETMEM_NC.
33112         * sysdeps/x86_64/nptl/tls.h: Ditto.
33114 2015-03-27  Roland McGrath  <roland@hack.frob.com>
33116         * dlfcn/tststatic.c (main): Converted to ...
33117         (do_test): ... this.
33118         (TEST_FUNCTION): New macro.
33119         Include test-skeleton.c.
33121 2015-03-26  Alan Modra  <amodra@gmail.com>
33123         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
33124         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
33125         zero for undefined weak.
33126         (elf_machine_plt_conflict): Similarly.
33128 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
33130         * math/auto-libm-test-in: Add more tests of acosh, asinh and
33131         atanh.
33132         * math/auto-libm-test-out: Regenerated.
33133         * sysdeps/i386/fpu/libm-test-ulps: Update.
33134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33136         * math/auto-libm-test-in: Add another test of asin.
33137         * math/auto-libm-test-out: Regenerated.
33138         * sysdeps/i386/fpu/libm-test-ulps: Update.
33139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33141         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
33142         Remove macro.
33143         (LLL_EBX_REG): Likewise.
33144         (LLL_ENTER_KERNEL): Likewise.
33146         * math/auto-libm-test-in: Add more tests of asin.
33147         * math/auto-libm-test-out: Regenerated.
33148         * sysdeps/i386/fpu/libm-test-ulps: Update.
33149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33151         [BZ #18138]
33152         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
33153         libc_do_syscall_args): New structure.
33154         (INTERNAL_SYSCALL_MAIN_0): New macro.
33155         (INTERNAL_SYSCALL_MAIN_1): Likewise.
33156         (INTERNAL_SYSCALL_MAIN_2): Likewise.
33157         (INTERNAL_SYSCALL_MAIN_3): Likewise.
33158         (INTERNAL_SYSCALL_MAIN_4): Likewise.
33159         (INTERNAL_SYSCALL_MAIN_5): Likewise.
33160         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
33161         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
33162         Replace conditional definitions by conditional definitions of ....
33163         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
33164         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
33165         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
33166         (libpthread-sysdep_routines): Add libc-do-syscall.
33167         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
33168         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
33169         to __NR_futex not 240.
33171 2015-03-25  Alan Modra  <amodra@gmail.com>
33173         * NEWS: Advertise TLS optimization.
33174         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
33175         (DT_PPC_NUM): Increment.
33176         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
33177         (CHECK_STATIC_TLS): Use here.
33178         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
33179         TLS descriptors.
33180         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
33181         * sysdeps/powerpc/dl-tls.c: New file.
33182         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
33183         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
33184         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
33185         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
33186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
33187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
33188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
33190 2015-03-25  Alan Modra  <amodra@gmail.com>
33192         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
33193         for overlapping .opd entries" to "support...".
33194         * sysdeps/powerpc/powerpc64/configure: Regenerate
33196 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
33198         * math/auto-libm-test-in: Add more tests of acos.
33199         * math/auto-libm-test-out: Regenerated.
33200         * sysdeps/i386/fpu/libm-test-ulps: Update.
33201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33203         * math/auto-libm-test-in: Add more tests of expm1.
33204         * math/auto-libm-test-out: Regenerated.
33205         * sysdeps/i386/fpu/libm-test-ulps: Update.
33206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33208 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
33210         * math/auto-libm-test-in: Add more tests of cosh and sinh.
33211         * math/auto-libm-test-out: Regenerated.
33212         * sysdeps/i386/fpu/libm-test-ulps: Update.
33213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33215         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
33216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33218         * math/auto-libm-test-in: Add more tests of log2.
33219         * math/auto-libm-test-out: Regenerated.
33220         * sysdeps/i386/fpu/libm-test-ulps: Update.
33221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33223 2015-03-23  Roland McGrath  <roland@hack.frob.com>
33225         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
33226         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
33227         _IO_IS_APPENDING bit in READ_WRITE instead.
33229 2015-03-23  Florian Weimer  <fweimer@redhat.com>
33231         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
33232         (__determine_cpumask_size): Replace extend_alloca with a
33233         variable-length array.  Do not treat res == 0 as an error.
33235 2015-03-23  Florian Weimer  <fweimer@redhat.com>
33237         [BZ #18100]
33238         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
33239         and integer overflow.
33240         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
33241         (main): Add integer overflow tests.
33242         * manual/pattern.texi (Calling Wordexp): Document additional use
33243         for WRDE_SYNTAX.
33245 2015-03-23  Alan Modra  <amodra@gmail.com>
33247         * config.h.in: Remove HAVE_ASM_PPC_REL16.
33248         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
33249         and false branch of conditional.
33250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
33251         Likewise.
33253 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
33255         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
33256         libc-modules.h
33257         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
33258         unused declaration of _hurd_intr_rpc_msg_in_trap.
33259         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
33260         defined instead of whether it is non-zero.
33261         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
33262         input constraint instead of both input and output constraint.  Use ecx
33263         clobber instead of %ecx.
33264         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
33265         mutex_unlock): Use a statement expression instead of an expression list.
33266         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
33267         type to vm_size_t instead of vm_address_t.
33268         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
33269         defined instead of whether it is non-zero.
33270         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
33271         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
33272         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
33273         comparisons with mapaddr.
33274         * nscd/nscd-client.h: Include <time.h>.
33275         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
33276         9th parameter to __vm_region instead of int.
33277         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
33278         * scripts/check-local-headers.sh (exclude): Add device/,
33279         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
33280         cthreads.h.
33282 2015-03-19  Roland McGrath  <roland@hack.frob.com>
33284         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
33285         to account for alignment padding.
33286         * sysdeps/arm/memmove.S: Likewise.
33288 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
33290         * sysdeps/unix/sysv/linux/generic/README: New file.
33292 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
33294         [BZ #18138]
33295         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
33296         (futex_abstimed_wait)
33297         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
33298         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
33299         of lll_futex_timed_wait.
33301 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
33303         [BZ #17542]
33304         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
33306 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
33308         [BZ #17090]
33309         [BZ #17620]
33310         [BZ #17621]
33311         [BZ #17628]
33312         * NEWS: Update.
33313         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
33314         entries with Static TLS too.  Skip entries past the end of the
33315         allocated DTV, from Alan Modra.
33316         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
33317         Static TLS DTV entry set up from...
33318         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
33319         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
33320         * nptl/allocatestack.c (init_one_static_tls): ... and here...
33321         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
33322         for Static TLS.
33323         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
33324         that the slot we find is associated with the given map before
33325         using its generation count.
33326         * nptl_db/db_info.c: Include ldsodefs.h.
33327         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
33328         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
33329         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
33330         (link_map::l_tls_offset): New struct field.
33331         (dtv_t::counter): Likewise.
33332         (rtld_global): New struct.
33333         (_rtld_global): New rtld variable.
33334         (dl_tls_dtv_slotinfo_list): New rtld global field.
33335         (dtv_slotinfo_list): New struct.
33336         (dtv_slotinfo): Likewise.
33337         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
33338         (td_lookup): Rename to...
33339         (td_mod_lookup): ... this.  Use new mod parameter instead of
33340         LIBPTHREAD_SO.
33341         * nptl_db/td_thr_tlsbase.c: Include link.h.
33342         (dtv_slotinfo_list, dtv_slotinfo): New functions.
33343         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
33344         addresses even if the DTV is out of date or missing them.
33345         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
33346         index zero-length arrays.
33347         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
33348         (td_lookup): Make it a macro implemented in terms of...
33349         (td_mod_lookup): ... this declaration.
33350         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
33351         (DB_MAIN_VARIABLE): Likewise.
33353 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
33355         [BZ #18134]
33356         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
33358 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
33360         * stdlib/setenv.c (__add_to_environ): Revert previous change.
33362 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
33364         [BZ #18128]
33365         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
33366         (atomic_add, atomic_increment_and_test)
33367         (atomic_decrement_and_test): Fix 64-bit arithmetic.
33369 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
33371         * stdlib/setenv.c (__add_to_environ):
33372         Dump core quickly if setenv (..., NULL, ...) is called.
33374 2015-03-13  Roland McGrath  <roland@hack.frob.com>
33376         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
33377         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
33378         all the necessary asm magic in one place.
33379         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
33380         using those.
33382 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
33384         [BZ #14906]
33385         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
33386         traced file mtime. Use consistent log message.
33387         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
33388         (register_traced_file): Call install_watches. Always set mtime.
33389         (invalidate_cache): Iterate over all trace files. Call install_watches.
33390         (inotify_check_files): Don't inline. Handle watching parent
33391         directories and configuration file movement in and out.
33392         (handle_inotify_events): New function.
33393         (main_loop_poll): Call handle_inotify_events.
33394         (main_loop_epoll): Likewise.
33395         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
33396         (struct traced_file): Use array of inotify fds. Add parent directory,
33397         and basename.
33398         (struct database_dyn): Remove unused file_mtime.
33399         (init_traced_file): New inline function.
33400         (define_traced_file): New macro.
33401         * nss/nss_db/db-init.c: Use define_traced_file.
33402         (_nss_db_init): Use init_traced_file.
33403         * nss/nss_files/files-init.c: Use define_traced_file.
33404         (_nss_files_init): Use init_traced_file.
33406 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
33408         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
33409         [_LIBC]: Do not include <stdlib.h>.
33410         [!_LIBC] (abort): Remove declaration.
33411         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
33412         _FP_STATIC_ASSERT instead of conditionally calling abort.
33413         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
33414         (_FP_EXTEND_CNAN): Likewise.
33415         (FP_TRUNC): Likewise.
33416         (__FP_CLZ): Likewise.
33417         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
33419 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
33421         * manual/string.texi (XPG basename): Fix prototype.
33423 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
33425         [BZ #18080]
33426         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
33427         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
33428         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
33429         (__setcontext): Likewise.
33430         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
33431         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
33432         Call rt_sigprocmask syscall one time to set new signal mask
33433         and retrieve the current signal mask instead of two calls.
33434         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
33435         (__swapcontext): Likewise.
33436         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
33437         * stdlib/tst-setcontext2.c: New file.
33439 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
33441         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33443 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
33445         [BZ #18093]
33446         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
33447         the wrong size.
33449 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
33451         [BZ #18043]
33452         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
33454 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33456         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
33457         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
33458         Remove define.
33459         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
33460         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
33461         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
33462         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
33463         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
33464         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
33465         define.
33466         * nptl_db/td_symbol_list.c (td_lookup): Remove
33467         HAVE_ASM_GLOBAL_DOT_NAME code.
33468         * sysdeps/powerpc/powerpc64/configure.ac: Remove
33469         HAVE_ASM_GLOBAL_DOT_NAME check.
33470         * sysdeps/powerpc/powerpc64/configure: Regenerate.
33471         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
33472         (DOT_LABEL): Remove define.
33473         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
33474         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
33475         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
33476         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
33477         (__TLS_GET_ADDR): Likewise.
33478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
33479         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
33481 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
33483         [BZ #18111]
33484         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
33485         (_FPU_SETCW): Initialize cw from fpsr before storing.
33486         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
33487         (fesetexceptflag): Rewrite using fpu_control.h.
33488         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
33490 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
33492         [BZ #18110]
33493         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
33494         asms.
33495         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
33497 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
33499         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
33500         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
33501         abort.
33502         (_FP_FMA): Likewise.
33503         (_FP_DIV): Likewise.
33505 2015-03-10  Roland McGrath  <roland@hack.frob.com>
33507         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
33508         with 0 in that case.
33509         * Makefile (summarize-tests): New canned sequence, factored out of
33510         commands for targets tests and xtests.  Display summary lines that
33511         don't start with PASS: or XFAIL: rather than ones that do start with
33512         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
33513         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
33514         do start with ERROR: or FAIL:.
33515         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
33516         (except for [$(build-shared) = yes]).
33517         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
33518         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
33519         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
33520         * nptl/Makefile: Revert 2015-03-04 changes.
33521         [$(CXX) empty] (tests-unsupported): New variable.
33522         * debug/Makefile: Likewise.
33524         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
33525         gnulib file.  Replace __attribute with __attribute__ throughout.
33527 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
33529         * sysdeps/hppa/fpu/libm-test-ulps: Update.
33531 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
33533         [BZ #18104]
33534         * math/auto-libm-test-in: Add another test of pow.
33535         * math/auto-libm-test-out: Regenerated.
33537 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33539         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
33540         $(config-cflags-nofma).
33542 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
33544         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
33545         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
33546         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
33547         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
33548         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
33549         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
33550         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
33551         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
33552         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
33553         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
33554         Add comment on closing #endif.
33556 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
33558         * posix/wordexp.c (CHAR_IN_SET): New macro.
33559         (parse_param): Use it.
33561 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33563         * sysdeps/powerpc/fpu/libm-test-ulps: update.
33565 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
33567         [BZ #18043]
33568         * posix/wordexp.c (parse_param): Fix buffer overflow.
33569         * posix/wordexp-test.c (test_case): Add test case.
33571 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
33573         [BZ #18042]
33574         * posix/wordexp.c (parse_backtick): Fix off-by-one.
33575         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
33577 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
33579         [BZ #18043]
33580         * posix/wordexp-test.c (test_case): Add test for BZ #18043
33581         (do_bz18043): Delete.
33582         (at_page_end): New.
33583         (testit): Refactor to have words at the edge of unreadable page.
33585 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
33587         [BZ #16734]
33588         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
33589         Cleanup read-only streams as well.
33590         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
33592 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33594         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
33595         <bits/libc-lockP.h>
33597 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
33599         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
33600         on [__KERNEL__].
33601         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
33602         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
33603         * soft-fp/op-common.h (_FP_DECL): Likewise.
33605 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
33607         * elf/ifuncdep2.c (global): Replace
33608         __attribute__((visibility("protected"))) with
33609         asm (".protected global").
33610         * elf/ifuncmod1.c (global): Likewise.
33611         * elf/ifuncmod5.c (global): Likewise.
33613 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
33615         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
33616         <asm/sfp-machine.h> instead of <sfp-machine.h>.
33618 2015-03-06  Roland McGrath  <roland@hack.frob.com>
33620         * manual/install.texi (Configuring and compiling):
33621         Document test-wrapper-env-only.
33622         * INSTALL: Regenerated.
33624 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
33626         [BZ #18043]
33627         * posix/wordexp.c (parse_param): Fix buffer overflow.
33628         * posix/wordexp-test.c (do_bz18043): Add test case.
33630 2015-03-06  Vincent Bernat  <vincent@bernat.im>
33632         * time/tst-strptime2.c (do_test): Ensure failing tests are
33633         reported correctly.
33634         * time/tst-strptime3.c (do_test): Likewise.
33636 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
33638         Fix aio_error thread-safety.
33639         * sysdeps/pthread/aio_error.c: New file
33640         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
33641         synchronization.
33643 2015-03-06  Florian Weimer  <fweimer@redhat.com>
33645         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
33646         (group_number, vfprintf): Use it.
33647         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
33648         (JUMP, REF): Use it.
33649         (WORK_BUFFER_SIZE): New enum constant.
33650         (process_arg, vfprintf): Use it.
33652 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
33654         * manual/errno.texi (Error Messages): Complete example function
33655         by adding missing #define.
33656         (program_invocation_name): Add statement indicating GNU
33657         extension and reference which header file declares the variable.
33658         (program_invocation_short_name): Likewise.
33660 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
33662         * manual/errno.texi (Error Messages): Delete strerror ISO C89
33663         compatibility note.
33665 2015-03-05  Roland McGrath  <roland@hack.frob.com>
33667         * Makeconfig (test-wrapper-env-only): New variable.
33668         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
33669         then use that with $(test-wrapper-env-only) rather than using
33670         $(test-wrapper-env) $(run-program-env) $($*-ENV).
33672 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
33674         [BZ #18082]
33675         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
33676         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
33677         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
33678         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
33679         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
33680         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
33681         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
33682         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
33683         Likewise.
33684         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
33685         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
33686         Likewise.
33687         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
33688         Likewise.
33689         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
33690         Likewise.
33691         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
33692         Likewise.
33693         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
33694         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
33695         Likewise.
33696         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
33697         Likewise.
33698         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
33699         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
33701 2015-03-04  Roland McGrath  <roland@hack.frob.com>
33703         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
33704         (ETH_ALEN): New macro.
33705         (struct ether_addr): Use it for length of ether_addr_octet.
33707         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
33708         (setdb): Don't call __nss_configure_lookup for "rpc".
33709         (do_test): Don't call test_rpc.
33710         (output_rpcent, test_rpc): Functions moved ...
33711         * sunrpc/test-rpcent.c: ... to this new file.
33712         * sunrpc/Makefile (tests): Add it.
33714         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
33715         __xpg_sigpause.
33716         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
33717         * nptl/tst-signal6.c: Likewise.
33718         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
33719         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
33721         * configure.ac (libc_cv_cxx_link_ok): New check.
33722         Reset CXX to empty if it fails to link.
33723         * configure: Regenerated.
33724         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
33725         bug-atexit3-lib only if $(CXX) is nonempty.
33726         * nptl/Makefile (tests): Likewise for tst-cancel24.
33727         (tests, tests-static): Likewise for tst-cancel24-static.
33728         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
33729         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
33730         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
33731         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
33733 2015-03-04  Andreas Schwab  <schwab@suse.de>
33735         [BZ #17631]
33736         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
33737         for non-GCC compilers.
33738         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
33739         Likewise.
33741 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33743         [BZ #17776]
33744         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
33745         integer before bitwise and assembly operations.
33746         (feclearexcept): Likewise.
33747         * math/test-fenvinline.c: New file.
33748         * math/Makefile: Add test-fenvinline test.
33750 2015-03-03  Alan Modra  <amodra@gmail.com>
33752         [BZ #16512]
33753         * scripts/localplt.awk: Strip off symbol version.
33754         * NEWS: Mention bug fix.
33756 2015-03-02  Roland McGrath  <roland@hack.frob.com>
33758         * sysdeps/pthread/timer_routines.c
33759         (timer_free_list, thread_free_list, thread_active_list): Make static.
33761 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
33763         [BZ #17779]
33764         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33765         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
33766         Undefine.
33767         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33768         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
33769         Likewise.
33770         * sysdeps/unix/sysv/linux/sh/kernel-features.h
33771         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
33772         Likewise.
33774 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
33776         [BZ #18036]
33777         * posix/fnmatch_loop.c (END): Detect invalid pattern.
33778         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
33780 2015-03-02  Andreas Schwab  <schwab@suse.de>
33782         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
33783         variable name.
33785 2015-03-02  Florian Weimer  <fweimer@redhat.com>
33787         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
33788         Return error status.
33790 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
33792         [BZ #15969]
33793         * locale/findlocale.c (_nl_find_locale): Introduce const
33794         version of loc_name and drop unsafe type casts.
33796 2015-02-27  Roland McGrath  <roland@hack.frob.com>
33798         * dlfcn/tststatic2.c (main): Converted to ...
33799         (do_test): ... this.
33800         (TEST_FUNCTION): New macro.
33801         Include test-skeleton.c.
33803 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
33805         [BZ #17711]
33806         * elf/Makefile (tests): Add vismain only if PIE is enabled.
33807         (tests-pie): Add vismain.
33808         (CFLAGS-vismain.c): New.
33809         * elf/vismain.c: Add comments for PIE requirement.
33811 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
33813         [BZ #18046]
33814         [BZ #18047]
33815         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
33816         0x1p-56L as threshold for just returning the argument.
33817         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
33818         0x1p-32L as threshold for just returning the argument.
33819         * math/auto-libm-test-in: Add more tests of atanh.
33820         * math/auto-libm-test-out: Regenerated.
33821         * sysdeps/i386/fpu/libm-test-ulps: Update.
33822         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
33824 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
33826         * string/bcopy.c (bcopy): Call memmove for performance.
33828 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
33830         * string/bzero.c (__bzero): Call memset for performance.
33832 2015-02-27  John David Anglin  <dave.anglin@bell.net>
33834         [BZ #18068]
33835         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
33836         to 00100000.
33838 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
33840         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
33842 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
33844         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
33845         (__kernel_standard): Use CSTR macro when setting exc.name.
33846         * sysdeps/ieee754/Makefile [$(subdir) = math]
33847         (CFLAGS-k_standard.c): Remove variable.
33849         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
33850         setting p and q from "else if" to "else".
33851         (qzero): Likewise.
33852         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
33853         (qone): Likewise.
33854         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
33855         (qzerof): Likewise.
33856         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
33857         (qonef): Likewise.
33858         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
33859         (qzero): Likewise.
33860         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
33861         (qone): Likewise.
33863         [BZ #18038]
33864         [BZ #18039]
33865         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
33866         return pi/2 for arguments below 0x1p-113L.
33867         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
33868         return pi/2 for arguments below 0x1p-106L.
33869         * math/auto-libm-test-in: Add more tests of acos.
33870         * math/auto-libm-test-out: Regenerated.
33872         [BZ #16351]
33873         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
33874         (MO): New macro.
33875         (__ieee754_asin): Force underflow exception for results with small
33876         absolute value.
33877         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
33878         (MO): New macro.
33879         (__ieee754_asinf): Force underflow exception for results with
33880         small absolute value.
33881         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
33882         (__ieee754_asin): Force underflow exception for results with small
33883         absolute value.
33884         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
33885         (__ieee754_asinf): Force underflow exception for results with
33886         small absolute value.
33887         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
33888         (__ieee754_asinl): Force underflow exception for results with
33889         small absolute value.
33890         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
33891         (__ieee754_asinl): Force underflow exception for results with
33892         small absolute value.
33893         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
33894         (__ieee754_asinl): Force underflow exception for results with
33895         small absolute value.
33896         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
33897         Include <math.h>.
33898         * math/auto-libm-test-in: Do not mark underflow exceptions as
33899         possibly missing for bug 16351.
33900         * math/auto-libm-test-out: Regenerated.
33902         [BZ #18030]
33903         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
33904         of power of 2 down when low part has opposite sign.
33905         * math/libm-test.inc (logb_test_data): Add more tests.
33907 2015-02-26  Andreas Schwab  <schwab@suse.de>
33909         [BZ #18032]
33910         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
33911         over collating symbol inside a bracket expression.  Minor cleanup.
33912         * posix/tst-fnmatch3.c (do_test): Add test case.
33914 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
33916         [BZ #18029]
33917         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
33918         Adjust exponent of power of 2 down when low part has opposite
33919         sign.
33920         * math/libm-test.inc (ilogb_test_data): Add more tests.
33922 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
33924         [BZ #15969]
33925         * locale/findlocale.c (_nl_find_locale): Fix constness error in
33926         the previous change.
33928         [BZ #15969]
33929         * locale/findlocale.c (_nl_find_locale): Retry archive search
33930         after alias expansion.
33932 2015-02-25  Roland McGrath  <roland@hack.frob.com>
33934         * iconv/tst-iconv3.c (main): Converted to ...
33935         (do_test): ... this.
33936         (TEST_FUNCTION): New macro.
33937         Include test-skeleton.c.
33939         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
33940         (convert): Make function static.
33941         (test_unalign): Likewise.  Add const to argument pointee types.
33942         (main): Replace with static function do_test.
33943         Print "Succeeded." only if RET is zero.
33944         (TEST_FUNCTION): New macro.
33945         Include test-skeleton.c.
33947         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
33948         returns a null pointer.
33950 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33952         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
33953         to __memcpy_ppc only for static builds.
33955 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
33957         [BZ #18020]
33958         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
33959         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
33960         * math/auto-libm-test-in: Add more tests of asinh.
33961         * math/auto-libm-test-out: Regenerated.
33962         * sysdeps/i386/fpu/libm-test-ulps: Update.
33963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33965 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
33967         [BZ #15850]
33968         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
33969         and ip6_mtuinfo definitions here.
33970         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
33971         in this define too.  Update comment.
33973 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
33975         * elf/sprof.c (load_shobj): Tweak error message to match others.
33977 2015-02-24  Kevin Easton  <kevin@guarana.org>
33979         [BZ #16145] (partial fix)
33980         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
33981         to reduce lock contention.
33983 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
33985         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
33986         (struct timex): Update time comment.
33987         (ADJ_SETOFFSET): Define.
33989 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
33991         [BZ #18019]
33992         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
33993         2**56 not 2**28 as threshold for log (2x) formula.
33994         * math/auto-libm-test-in: Add more tests of acosh.
33995         * math/auto-libm-test-out: Regenerated.
33996         * sysdeps/i386/fpu/libm-test-ulps: Update.
33997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33999 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
34001         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
34002         parenthesis around the buf assignment.
34003         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
34005 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
34007         [BZ #16783]
34008         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
34009         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
34010         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
34011         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
34012         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
34013         * math/libm-test.inc (scalb_test_data): Add more tests.
34015 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
34017         [BZ #17916]
34018         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
34019         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
34021 2015-02-24  Eric Rannaud  <e@nanocritical.com>
34023         [BZ #17523]
34024         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
34025         * io/bits/fcntl2.h (open): Use it.
34026         (openat): Likewise.
34027         * io/open.c (__libc_open): Likewise.
34028         * io/open64.c (__libc_open64): Likewise.
34029         * io/open64_2.c (__open64_2): Likewise.
34030         * io/open_2.c (__open_2): Likewise.
34031         * io/openat.c (__openat): Likewise.
34032         * io/openat64.c (__openat64): Likewise.
34033         * io/openat64_2.c (__openat64_2): Likewise.
34034         * io/openat_2.c (__openat_2): Likewise.
34035         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
34036         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
34037         * sysdeps/posix/open64.c (__libc_open64): Likewise.
34038         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
34039         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
34040         (__open_nocancel): Likewise.
34041         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
34042         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
34043         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
34045 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34047         [BZ #14841]
34048         * resolv/gethnamaddr.c (getanswer): Skip logging if
34049         RES_USE_DNSSEC is set.
34050         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
34052 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
34054         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
34056 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
34058         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
34059         201304L, for Unicode 7.
34061 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
34063         [BZ #17836]
34064         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
34065         shared library.  Add gmon-start.os otherwise.
34066         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
34067         $(objpfx)gmon-start.os if builing shared library.
34068         ($(objpfx)g$(static-start-installed-name)): Likewise.
34070 2015-02-23  Andreas Schwab  <schwab@suse.de>
34072         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
34074 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
34076         [BZ #17269]
34077         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
34078         (enlarge_userbuf): Likewise.
34080 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
34082         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
34083         * math/atest-exp.c (TIMEOUT): Adjust to 200.
34084         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
34085         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
34087 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
34089         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
34090         expression inside statement expression.
34092 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
34094         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
34095         <sysdeps/nptl/lowlevellock.h> and remove macros and
34096         functions that are now defined there.
34097         (SYS_futex): Remove.
34098         (lll_compare_and_swap): Remove.
34099         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
34101 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
34103         [BZ #17999]
34104         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
34105         instead of scandirat.
34106         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
34107         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
34108         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
34109         __scandirat.
34110         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
34111         (__scandirat): Declare.  Use libc_hidden_proto.
34112         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
34113         Remove variable.
34114         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
34116 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
34118         [BZ #15319]
34119         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
34120         (MO): New macro.
34121         (__ieee754_atan2): For results with small absolute value, force
34122         underflow exception and remove excess range and precision from
34123         return value.
34124         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
34125         (MO): New macro.
34126         (__ieee754_atan2f): For results with small absolute value, force
34127         underflow exception and remove excess range and precision from
34128         return value.
34129         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
34130         (MO): New macro.
34131         (__atan): For results with small absolute value, force underflow
34132         exception and remove excess range and precision from return value.
34133         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
34134         (MO): New macro.
34135         (__atanf): For results with small absolute value, force underflow
34136         exception and remove excess range and precision from return value.
34137         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
34138         <math.h>.
34139         (__ieee754_atan2): Force underflow exception for results with
34140         small absolute value.
34141         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
34142         <math_private.h>.
34143         (atan): Force underflow exception for results with small absolute
34144         value.
34145         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
34146         (__atanf): Force underflow exception for results with small
34147         absolute value.
34148         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
34149         <math.h>.
34150         (__atanl): Force underflow exception for results with small
34151         absolute value.
34152         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
34153         (__atanl): Force underflow exception for results with small
34154         absolute value.
34155         * sysdeps/x86/fpu/bits/mathinline.h
34156         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
34157         (__ieee754_atan2): Only define inline for long double.
34158         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
34159         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
34160         * math/auto-libm-test-in: Do not mark underflow exceptions as
34161         possibly missing for bug 15319.  Add more tests of atan2.
34162         * math/auto-libm-test-out: Regenerated.
34163         * math/libm-test.inc (casin_test_data): Do not mark underflow
34164         exceptions as possibly missing for bug 15319.
34165         (casinh_test_data): Likewise.
34166         * sysdeps/i386/fpu/libm-test-ulps: Update.
34168 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
34170         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
34171         * sysdeps/mips/bits/endian.h: Fix comments.
34173 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
34175         [BZ #17996]
34176         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
34177         (hdestroy_r): Likewise.
34178         (hsearch_r): Likewise.
34179         (__hcreate_r): Declare and use libc_hidden_proto.
34180         (__hdestroy_r): Likewise.
34181         (__hsearch_r): Likewise.
34182         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
34183         (hcreate): Call __hcreate_r instead of hcreate_r.
34184         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
34185         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
34186         as weak alias of __hcreate_r.
34187         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
34188         __hdestroy_r.
34189         (hsearch_r): Rename to __hsearch_r and define as weak alias of
34190         __hsearch_r.
34191         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
34192         Remove variable.
34193         (test-xfail-XPG4/search.h/linknamespace): Likewise.
34194         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
34195         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
34196         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
34198 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34200         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
34201         arena_lock into a single arena_get.
34203 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
34205         * dl-reloc.c: Inlucde libc-internal.h.
34206         (_dl_try_allocate_static_tls): Call ALIGN_UP.
34207         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
34208         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
34209         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
34210         (grow_heap): Likewise.
34211         * malloc/malloc.c: Include libc-internal.h.
34212         (do_check_malloc): Call powerof2.
34213         (sysmalloc): Use pagesize. Call ALIGN_UP.
34214         (systrim): Use pagesize.
34215         (mremap_chunk): Use pagesize. Call ALIGN_UP.
34216         (__libc_valloc): Use pagesize.
34217         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
34219 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
34221         [BZ #17991]
34222         * include/sys/resource.h (__getrlimit64): Declare.  Use
34223         libc_hidden_proto.
34224         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
34225         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
34226         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
34227         getrlimit64.
34228         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
34229         __getrlimit64.
34230         [!getrlimit64] (getrlimit64): Define as weak alias of
34231         __getrlimit64.  Use libc_hidden_weak.
34232         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
34233         using __getrlimit64 not __new_getrlimit64.
34234         (__GI_getrlimit64): Likewise.
34235         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
34236         Likewise.
34237         (__GI_getrlimit64): Likewise.
34238         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
34239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
34240         (getrlimit): Add __getrlimit64 alias.
34241         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
34242         Likewise.
34243         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
34244         Remove variable.
34245         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
34246         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
34248 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
34250         * libio/fileops.c: Add missing sys/mman.h
34251         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
34253 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
34255         * manual/math.texi (Errors in Math Functions): Clarify goals
34256         regarding inexact and underflow exceptions.
34258 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
34260         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
34261         * sysdeps/mips/memset.S: Ditto.
34263 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
34265         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
34267 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
34269         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
34270         (__v1longjmp): Remove versioned symbol.
34271         (__v1siglongjmp): Remove alias and versioned symbol.
34272         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
34273         (__v2siglongjmp): Likewise.
34275 2015-02-16  Torvald Riegel  <triegel@redhat.com>
34277         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
34279 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
34281         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
34283 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
34285         [BZ #17987]
34286         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
34287         zero result does not depend on the sign resulting from
34288         subtraction.
34289         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
34290         Likewise.
34291         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
34292         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
34293         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
34294         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
34295         * math/libm-test.inc (remquo_test_data): Add more tests.
34297 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
34299         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
34300         Problem reported by J William Piggott.
34302 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
34304         [BZ #17978]
34305         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
34306         products 4 * y and 2 * y where those would overflow.
34307         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
34308         Likewise.
34309         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
34310         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
34311         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
34312         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
34313         * math/libm-test.inc (remquo_test_data): Add more tests.
34315         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
34317         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
34318         [defined _COMPILING_NEWLIB].
34319         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
34320         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
34322         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
34323         [!defined __mips_isa_rev || __mips_isa_rev < 6].
34325 2015-02-16  Torvald Riegel  <triegel@redhat.com>
34327         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
34328         acquired.
34330 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
34332         [BZ #17792]
34333         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
34334         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
34335         HOST_STACK_END_ADDR): Likewise.
34337 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
34339         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
34340         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
34341         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
34343 2015-02-13  Roland McGrath  <roland@hack.frob.com>
34345         * sysdeps/generic/c++-types.data: New file.
34346         * sysdeps/generic/ld.abilist: New file.
34347         * sysdeps/generic/libBrokenLocale.abilist: New file.
34348         * sysdeps/generic/libanl.abilist: New file.
34349         * sysdeps/generic/libc.abilist: New file.
34350         * sysdeps/generic/libcrypt.abilist: New file.
34351         * sysdeps/generic/libdl.abilist: New file.
34352         * sysdeps/generic/libm.abilist: New file.
34353         * sysdeps/generic/libpthread.abilist: New file.
34354         * sysdeps/generic/libresolv.abilist: New file.
34355         * sysdeps/generic/librt.abilist: New file.
34357 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
34359         [BZ #17569]
34360         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
34361         Compute absolute value of x as modified by fmod, not original
34362         value of x.
34363         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
34364         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
34365         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
34366         RUN_TEST_ffI_f1_mod8.
34367         (remquo_test_data): Add more tests.
34369 2015-02-13  Roland McGrath  <roland@hack.frob.com>
34371         * sysdeps/init_array/pt-crti.S: New file.
34373 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
34375         [BZ #17967]
34376         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
34377         __builtin_fmaf instead of relying on contraction of a * b + c.
34379 2015-02-12  J William Piggott  <elseifthen@gmx.com>
34381         [BZ #17969]
34382         * manual/time.texi: correct the zoneinfo path in the TZ Variable
34383         node.
34385 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
34387         [BZ #17964]
34388         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
34389         __builtin_fma instead of relying on contraction of a * b + c.
34391 2015-02-12  Roland McGrath  <roland@hack.frob.com>
34393         * Makeconfig (ASFLAGS): Add -Werror=undef.
34394         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
34395         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
34396         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
34398         * Makeconfig (after-link): New variable.
34399         (+link-pie, +link-pie-tests): Use it.
34400         (+link-static, +link-static-tests): Likewise.
34401         (+link, +link-tests): Likewise.
34402         * Makerules (build-module, build-module-asneeded): Likewise.
34403         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
34404         Likewise.
34405         * elf/Makefile ($(objpfx)ld.so): Likewise.
34407 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
34409         [BZ #17965]
34410         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
34411         both struct timeval and struct timespec.
34413 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
34415         [BZ #16560]
34416         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34417         and redefine.
34418         (__ieee754_exp2l): Do not multiply small fractional parts by
34419         M_LN2l.
34420         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
34421         small argument.
34422         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
34423         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
34424         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
34425         * math/auto-libm-test-in: Add more tests of exp2.
34426         * math/auto-libm-test-out: Regenerated.
34428 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34430         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
34431         unaligned path.
34433 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34435         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
34436         little endian.
34438 2015-02-12  Andreas Schwab  <schwab@suse.de>
34440         [BZ #15790]
34441         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
34442         Filter out elision flags from value returned in kind.
34443         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
34444         * nptl/tst-pthread-mutexattr.c: New file.
34446 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34448         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
34449         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
34450         into gnu-gnu, and update comment to refer to abi-tags.
34452 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
34454         [BZ #15467]
34455         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
34456         (__sincos): Set errno to EDOM for infinite argument.
34457         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
34458         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
34459         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
34460         (__sincosl): Set errno to EDOM for infinite argument.
34461         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
34462         (__sincosl): Set errno to EDOM for infinite argument.
34463         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
34464         (__sincosl): Set errno to EDOM for infinite argument.
34465         * math/libm-test.inc (sincos_test_data): Test errno setting.
34467 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
34469         * string/strxfrm_l.c: Remove #define STRCMP.
34470         * string/strcoll_l.c: Remove #define STRLEN.
34471         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
34472         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
34474 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
34476         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
34477         * sysdeps/mips/mips32/sfp-machine.h: ... here.
34478         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
34479         * sysdeps/mips/mips64/Makefile: ... here.
34480         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
34481         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
34482         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
34483         * sysdeps/mips/mips64/sfp-machine.h: ... here.
34484         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
34485         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
34486         * sysdeps/mips/mips64/n64/Implies: Likewise.
34488 2015-02-10  Roland McGrath  <roland@hack.frob.com>
34490         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
34491         <sys/time.h>, <string.h>, and <errno.h>.
34492         (dest_offset, dest_address, value, zero): Remove unused variables.
34493         (ldouble): Remove typedef.
34494         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
34495         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
34496         1).  Fix code style.
34497         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
34498         (check): Function removed.
34499         (CHECK): New macro.
34500         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
34501         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
34502         Don't call set_sigaction_FP and remove_sigaction_FP here.
34503         (ldouble_test): Just use 'long double' as macro argument, no need for
34504         the 'ldouble' typedef.
34505         (do_test): Set up SIGFPE handler at start, using plain signal rather
34506         than sigaction.  Fix code style.
34508 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
34510         [BZ #17949]
34511         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
34512         jump label.
34514 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
34516         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
34517         * sysdeps/powerpc/powerpc32/configure: Regenerated.
34519         * sysdeps/powerpc/configure.ac: Remove file.
34520         * sysdeps/powerpc/configure: Likewise.
34522         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
34523         [sysdep_routines]: Remove wordcopy-power6 object.
34524         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
34525         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
34526         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
34527         (__memmove_ppc32): Likewise.
34528         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
34529         file.
34530         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
34531         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
34532         Remove preprocessor.
34534         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
34535         [sysdep_routines]: Remove wide chars objects.
34536         [wcsmbs]: New rule for wide char objects.
34538         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34539         Remove wordcopy-power6 obejct.
34540         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
34541         Use local call for wordcopy and memcpy symbols.
34542         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
34543         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
34544         implementation for loader.
34545         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
34547         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34548         Remove wordcopy-power7 object.
34549         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
34550         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
34551         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
34552         (_wordcopy_fwd_dest_aligned): Likewise.
34553         (_wordcopy_bwd_aligned): Likewise.
34554         (_wordcopy_bwd_dest_aligned): Likewise.
34556         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
34557         Rewrite to call __memmove_ppc instead of include default
34558         implementation.
34560         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34561         Remove wide chars objects.
34562         [wcsmbs]: New rule for wide char objects.
34564 2015-02-09  Andreas Schwab  <schwab@suse.de>
34566         [BZ #17912]
34567         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
34568         in terms of __O_DIRECTORY.
34570 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34572         * time/getdate.c: Include <stdbool.h>.
34573         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
34574         call PTR_MANGLE.
34575         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
34576         PTR_DEMANGLE.
34578 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
34580         Add ersatz _Static_assert on older C hosts
34581         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
34582         pre-C11 C platform that is not known to support _Static_assert.
34584 2015-02-07  Richard Braun  <rbraun@sceen.net>
34586         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
34587         sigstate.
34588         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
34590 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34592         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
34593         priority against unexistent AIO_PRIO_DELTA_MAX.
34594         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
34595         instead of int.
34596         * misc/fchflags.c (fchflags): Likewise.
34597         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
34598         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
34599         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
34600         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
34601         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
34602         Declare macros.
34603         [__USE_MISC] (chflags, fchflags): Declare functions.
34604         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
34605         EINVAL when nfds is greater than FD_SETSIZE.
34606         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
34607         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
34608         45.
34609         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
34610         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
34611         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
34612         MACH_RCV_TIMED_OUT.
34613         * hurd/hurd/signal.h (_hurd_self_sigstate,
34614         _hurd_critical_section_lock, _hurd_critical_section_unlock):
34615         Explicit casts from void *.
34616         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
34617         * abi-tags: Rename gnu-gnu os into gnu.
34619         [BZ #4719]
34620         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
34621         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
34622         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
34623         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
34624         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
34625         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
34627         [BZ #17944]
34628         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
34629         duplicates ADDR->sun_path with sockaddr LEN limitation.
34630         * sysdeps/mach/hurd/connect.c: Include <string.h>
34631         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
34632         * sysdeps/mach/hurd/sendmsg.c: Likewise.
34633         * sysdeps/mach/hurd/sendto.c: Likewise.
34634         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
34635         implementing it by hand.
34637 2015-02-06  Roland McGrath  <roland@hack.frob.com>
34639         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
34640         Use sfi_breg on ldr.
34641         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
34642         Likewise.
34644         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
34645         it's defined.
34646         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
34647         Test SIGSETXID only if it's defined.
34649         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
34651         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
34652         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
34654         * nptl/tst-align2.c: Moved ...
34655         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
34656         * nptl/Makefile (tests): Remove tst-align2.
34657         * sysdeps/unix/sysv/linux/Makefile
34658         [$(subdir) = nptl] (tests): Add tst-align-clone.
34659         * nptl/tst-getpid1.c: Moved ...
34660         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
34661         * nptl/tst-getpid2.c: Moved ...
34662         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
34663         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
34664         * sysdeps/unix/sysv/linux/Makefile
34665         [$(subdir) = nptl] (tests): ... here.
34666         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
34667         * sysdeps/unix/sysv/linux/Makefile
34668         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
34670         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
34671         Drop trailing \n from perror argument.  Use return rather than exit.
34673         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
34674         on [SA_SIGINFO].
34675         * nptl/tst-cancel21.c (do_test): Likewise.
34676         * debug/tst-backtrace6.c: Include <signal.h> first thing.
34677         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
34678         [!SA_SIGINFO]: Make it a stub test.
34680         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
34681         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
34683         * posix/tst-getlogin.c: Move to ...
34684         * login/tst-getlogin.c: ... here.
34685         * posix/Makefile (tests): Move tst-getlogin to ...
34686         * login/Makefile (tests): ... here.
34688         * libio/tst-atime.c (do_test): Move local variables SV and E
34689         inside [ST_NOATIME] conditional.
34691         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
34693         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
34695         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
34696         (wait_code): New function replaces macro.
34697         Call nanosleep rather than syscall.
34699         * nptl/pt-system.c: Rewritten.  Put everything under
34700         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
34701         Use IFUNC to redirect when possible.
34703         * nptl/pt-longjmp.c: Rewritten.  Put everything under
34704         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
34705         Use IFUNC to redirect when possible.
34707         * nptl/pt-fork.c: Rewritten.  Put everything under
34708         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
34709         Use IFUNC to redirect when possible.
34710         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
34712         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
34713         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
34714         unconditionally nowadays.  This included the only reference to
34715         __vdso_clock_gettime that appears outside libc proper.
34716         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
34717         Remove version set (containing only __vdso_clock_gettime).
34718         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
34719         Add attribute_hidden.
34720         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
34721         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
34722         libc_hidden_data_def.
34723         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
34724         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34726         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
34727         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
34728         setrpcent, and getrpcport to ...
34729         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
34730         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
34731         getrpcbynumber_r, and getrpcent_r to ...
34732         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
34733         * inet/getrpcbyname.c: Moved ...
34734         * sunrpc/getrpcbyname.c: ... here.
34735         * inet/getrpcbyname_r.c: Moved ...
34736         * sunrpc/getrpcbyname_r.c: ... here.
34737         * inet/getrpcbynumber.c: Moved ...
34738         * sunrpc/getrpcbynumber.c: ... here.
34739         * inet/getrpcbynumber_r.c: Moved ...
34740         * sunrpc/getrpcbynumber_r.c: ... here.
34741         * inet/getrpcent.c: Moved ...
34742         * sunrpc/getrpcent.c: ... here.
34743         * inet/getrpcent_r.c: Moved ...
34744         * sunrpc/getrpcent_r.c: ... here.
34745         * inet/Makefile (routines): Move those to ...
34746         * sunrpc/Makefile (routines): ... here.
34747         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
34748         the $(subdirs) list.
34749         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
34750         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
34751         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
34752         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
34754         * elf/Makefile (routines): Include $(all-dl-routines), not just
34755         $(dl-routines).
34756         (rtld-routines): Likewise.  Use = rather than :=.
34757         * sysdeps/aarch64/Makefile [$(subdir) = elf]
34758         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
34759         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
34760         * sysdeps/arm/Makefile: Likewise.
34761         * sysdeps/i386/Makefile: Likewise.
34762         * sysdeps/x86_64/Makefile: Likewise.
34763         * sysdeps/hppa/Makefile [$(subdir) = elf]
34764         (sysdep_routines, sysdep-rtld-routines): Don't add
34765         $(sysdep-dl-routines) to these.
34766         * sysdeps/ia64/Makefile: Likewise.
34767         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
34768         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
34769         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
34770         Don't add dl-static to these; sysdep-dl-routines alone is enough.
34771         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
34772         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
34773         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
34774         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
34775         * sysdeps/powerpc/Makefile [$(subdir) = elf]
34776         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
34777         these; sysdep-dl-routines alone is enough.
34779 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
34781         [BZ #17932]
34782         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
34783         where multiplication results in zero and third argument is finite
34784         and nonzero.
34785         * math/auto-libm-test-in: Add more tests of fma.
34786         * math/auto-libm-test-out: Regenerated.
34788         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
34789         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
34790         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
34791         (_FP_CMP_EQ): Likewise.
34792         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
34794         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
34795         extra argument CHECK_NAN.  Redefine as wrapper around
34796         _FP_EXTEND_CNAN.
34798 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
34800         * version.h (RELEASE): Set to "stable".
34801         (VERSION): Set to "2.21"
34802         * include/features.h (__GLIBC_MINOR__): Set to 21.
34804         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
34806 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
34807             Paul Eggert  <eggert@cs.ucla.edu>
34809         [BZ #16618]
34810         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
34811         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
34812         size in bytes. Store needed elements in wpmax. Use needed size
34813         in bytes for extend_alloca.
34815 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
34817         * manual/install.texi: Latest tested versions are GCC 4.9.2,
34818         binutls 2.25, and texinfo 5.2.
34819         * INSTALL: Regenerate.
34820         * sysdeps/nios2/configure: Regenerate.
34821         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
34822         * manual/contrib.texi: Update.
34823         * po/be.po: Update.
34824         * po/bg.po: Update.
34825         * po/ca.po: Update.
34826         * po/cs.po: Update.
34827         * po/da.po: Update.
34828         * po/de.po: Update.
34829         * po/el.po: Update.
34830         * po/eo.po: Update.
34831         * po/es.po: Update.
34832         * po/fi.po: Update.
34833         * po/fr.po: Update.
34834         * po/gl.po: Update.
34835         * po/hr.po: Update.
34836         * po/hu.po: Update.
34837         * po/ia.po: Update.
34838         * po/id.po: Update.
34839         * po/it.po: Update.
34840         * po/ja.po: Update.
34841         * po/ko.po: Update.
34842         * po/lt.po: Update.
34843         * po/nb.po: Update.
34844         * po/nl.po: Update.
34845         * po/pl.po: Update.
34846         * po/pt_BR.po: Update.
34847         * po/ru.po: Update.
34848         * po/rw.po: Update.
34849         * po/sk.po: Update.
34850         * po/sl.po: Update.
34851         * po/sv.po: Update.
34852         * po/tr.po: Update.
34853         * po/uk.po: Update.
34854         * po/vi.po: Update.
34855         * po/zh_CN.po: Update.
34856         * po/zh_TW.po: Update.
34858         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
34859         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
34860         * sysdeps/hppa/dl-irel.h: Remove #warning.
34861         * sysdeps/hppa/entry.h: Provide prototype for
34862         __canonicalize_funcptr_for_compare and cast argument.
34863         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
34864         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
34865         * sysdeps/hppa/sotruss-lib.c: New file.
34866         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
34867         (atomic_compare_and_exchange_val_acq): Use __typeof__.
34868         (atomic_compare_and_exchange_bool_acq): Likewise.
34869         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
34870         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
34872         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
34873         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
34874         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
34876 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
34878         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
34879         called function in non-PIC case.
34881 2015-01-31  David S. Miller  <davem@davemloft.net>
34883         * sysdeps/sparc/sparc32/bits/atomic.h
34884         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
34885         unlock not after it.
34886         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
34887         volatile register usage warnings from the compiler.
34889         * sysdeps/sparc/nptl/sem_init.c: Delete.
34890         * sysdeps/sparc/nptl/sem_post.c: Delete.
34891         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
34892         * sysdeps/sparc/nptl/sem_wait.c: Delete.
34893         * sysdeps/sparc/sparc32/sem_init.c: New file.
34894         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
34895         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
34896         padding explicitly initialized.
34897         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
34898         padding for in-semaphore spinlock.
34899         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
34900         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
34901         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
34902         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
34903         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
34904         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
34905         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
34906         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
34907         version.
34908         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
34909         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
34911 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
34913         [BZ #17801]
34914         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34915         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
34916         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
34917         New.
34918         (index_AVX_Fast_Unaligned_Load): Likewise.
34919         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
34920         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
34921         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
34922         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
34923         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
34924         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
34925         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
34926         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
34927         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
34929 2015-01-29  Andreas Schwab  <schwab@suse.de>
34931         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
34933 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
34935         [BZ #17892]
34936         * nscd/nscd_stat.c (send_stats): Initialize DATA.
34938 2015-01-28  Martin Sebor  <msebor@redhat.com>
34940         * math/README.libm-test: Clarify. Add "How to read the test output."
34942 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
34944         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
34945         Define to 0.
34947 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
34949         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
34950         (__HAVE_64B_ATOMICS): Define to 0.
34952 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
34954         [BZ #17885]
34955         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
34956         value to set as new flag.
34958         [BZ #16576]
34959         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
34960         and use _ARCH_PPCSQ instead.
34961         (__ieee754_sqrt): Likewise.
34962         (__ieee754_sqrtf): Likewise.
34963         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
34964         _ARCH_PPCSQ is defined.
34965         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
34966         fsqrt instruction.
34967         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
34968         _ARCH_PPCSQ is defined.
34969         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
34970         fsqrts instruction.
34971         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
34973 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34975         * iconv/loop.c: Suppress array out of bound warning caused by GCC
34976         bug (GCC BZ #64739).
34978 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
34980         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
34981         Mark _retval as used.
34982         (lll_futex_wake_unlock): Likewise.
34983         (lll_futex_timed_wait_requeue_pi): Likewise.
34985         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
34986         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
34987         register variables.
34989         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
34990         libm_hidden_def.
34992         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
34993         (__bswap_64): Mark as __always_inline.
34995 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
34997         [BZ #15378]
34998         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
34999         when none of the search directories exist.
35001 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
35003         [BZ #17869]
35004         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
35005         power8 in .machine directive.
35007         [BZ #17868]
35008         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
35009         set dependency from opd value.
35011 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
35013         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35014         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
35015         architecture.
35017 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
35019         [BZ #17870]
35020         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
35021         with uint64_t.
35022         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
35023         (uint64_t) 1.
35024         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
35025         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
35026         Replace 1UL with (uint64_t) 1.
35027         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
35028         int with uint64_t.
35030 2015-01-23  Roland McGrath  <roland@hack.frob.com>
35032         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
35033         (if_freenameindex): Likewise.
35035         * resource/getrlimit64.c: Add missing libc_hidden_def.
35037 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
35039         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
35040         __label__.
35041         (_FP_FMA): Likewise.
35042         (_FP_TO_INT_ROUND): Likewise.
35043         (_FP_FROM_INT): Likewise.
35045 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35047         [BZ #16418]
35048         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
35049         Make code racy and cancel safe.
35051 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
35053         * sysdeps/arm/unwind-resume.h: Fix copyright year.
35054         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
35055         attribution.
35057         * pwd/tst-getpw.c: Rewrite.
35059         [BZ #17702]
35060         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
35061         (modules-names): Add moddummy1 and moddummy2.
35062         ($(objpfx)tst-rec-dlopen): Define.
35063         * dlfcn/moddummy1.c: New file.
35064         * dlfcn/moddummy2.c: New file.
35065         * dlfcn/tst-rec-dlopen.c: New file.
35066         * elf/dl-cache.c (_dl_load_cache_lookup):
35067         Return char*. Copy result with alloca/strcpy/strdup.
35068         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
35069         returns char*. Free cached. If not saving realname
35070         free cached.
35071         * elf/dl-open.c (dl_open_worker): Do not assert that
35072         _r_debug->r_state is RT_CONSISTENT.
35073         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
35074         returns char*.
35076 2015-01-21  Torvald Riegel  <triegel@redhat.com>
35077             Carlos O'Donell  <carlos@redhat.com>
35079         [BZ #12674]
35080         * nptl/sem_waitcommon.c: New file.
35081         * nptl/sem_wait.c: Include sem_waitcommon.c.
35082         (__sem_wait_cleanup, do_futex_wait): Remove.
35083         (__new_sem_wait): Adapt.
35084         (__new_sem_trywait): New function.
35085         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
35086         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
35087         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
35088         (sem_timedwait): Adapt.
35089         * nptl/sem_post.c (__new_sem_post): Adapt.
35090         (futex_wake): New function.
35091         (__old_sem_post): Add release MO fence.
35092         * nptl/sem_open.c (sem_open): Adapt.
35093         * nptl/sem_init.c (__new_sem_init): Adapt.
35094         (futex_private_if_supported): New function.
35095         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
35096         (__old_sem_getvalue): Add using previous code.
35097         * sysdeps/nptl/internaltypes.h: Adapt.
35098         * nptl/tst-sem13.c (do_test): Adapt.
35099         * nptl/tst-sem11.c (main): Adapt.
35100         * nptl/sem_trywait.c: Remove.
35101         * nptl/DESIGN-sem.txt: Remove.
35102         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
35103         (gen-as-const-headers): Remove structsem.sym.
35104         * nptl/structsem.sym: Remove.
35105         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
35106         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
35107         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
35108         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
35109         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
35110         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
35111         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
35112         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
35113         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
35114         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
35115         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
35116         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
35117         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
35118         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
35119         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
35120         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
35121         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
35122         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
35123         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
35124         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
35125         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
35126         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
35128 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
35130         * INSTALL: Regenerated.
35132         * po/libc.pot: Regenerated.
35134 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
35135             Sandra Loosemore  <sandra@codesourcery.com>
35136             Andrew Jenner  <andrew@codesourcery.com>
35137             Joseph Myers  <joseph@codesourcery.com>
35138             Nathan Sidwell  <nathan@codesourcery.com>
35140         * NEWS: Mention new Nios II port.
35141         * sysdeps/nios2/Implies: New file.
35142         * sysdeps/nios2/Makefile: New file.
35143         * sysdeps/nios2/Subdirs: New file.
35144         * sysdeps/nios2/Versions: New file.
35145         * sysdeps/nios2/__longjmp.S: New file.
35146         * sysdeps/nios2/abort-instr.h: New file.
35147         * sysdeps/nios2/backtrace.c: New file.
35148         * sysdeps/nios2/bits/endian.h: New file.
35149         * sysdeps/nios2/bits/fenv.h: New file.
35150         * sysdeps/nios2/bits/link.h: New file.
35151         * sysdeps/nios2/bits/setjmp.h: New file.
35152         * sysdeps/nios2/bsd-_setjmp.S: New file.
35153         * sysdeps/nios2/bsd-setjmp.S: New file.
35154         * sysdeps/nios2/configure: New generated file.
35155         * sysdeps/nios2/configure.ac: New file.
35156         * sysdeps/nios2/crti.S: New file.
35157         * sysdeps/nios2/crtn.S: New file.
35158         * sysdeps/nios2/dl-init.c: New file.
35159         * sysdeps/nios2/dl-machine.h: New file.
35160         * sysdeps/nios2/dl-sysdep.h: New file.
35161         * sysdeps/nios2/dl-tls.h: New file.
35162         * sysdeps/nios2/dl-trampoline.S: New file.
35163         * sysdeps/nios2/gccframe.h: New file.
35164         * sysdeps/nios2/gmp-mparam.h: New file.
35165         * sysdeps/nios2/jmpbuf-offsets.h: New file.
35166         * sysdeps/nios2/jmpbuf-unwind.h: New file.
35167         * sysdeps/nios2/ldsodefs.h: New file.
35168         * sysdeps/nios2/libc-tls.c: New file.
35169         * sysdeps/nios2/libm-test-ulps: New file.
35170         * sysdeps/nios2/machine-gmon.h: New file.
35171         * sysdeps/nios2/math-tests.h: New file.
35172         * sysdeps/nios2/math_private.h: New file.
35173         * sysdeps/nios2/memusage.h: New file.
35174         * sysdeps/nios2/nptl/Makefile: New file.
35175         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
35176         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
35177         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
35178         * sysdeps/nios2/nptl/pthreaddef.h: New file.
35179         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
35180         * sysdeps/nios2/nptl/tls.h: New file.
35181         * sysdeps/nios2/preconfigure: New file.
35182         * sysdeps/nios2/s_fma.c: New file.
35183         * sysdeps/nios2/s_fmaf.c: New file.
35184         * sysdeps/nios2/setjmp.S: New file.
35185         * sysdeps/nios2/sfp-machine.h: New file.
35186         * sysdeps/nios2/sotruss-lib.c: New file.
35187         * sysdeps/nios2/stackguard-macros.h: New file.
35188         * sysdeps/nios2/stackinfo.h: New file.
35189         * sysdeps/nios2/start.S: New file.
35190         * sysdeps/nios2/sysdep.h: New file.
35191         * sysdeps/nios2/tls-macros.h: New file.
35192         * sysdeps/nios2/tst-audit.h: New file.
35193         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
35194         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
35195         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
35196         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
35197         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
35198         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
35199         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
35200         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
35201         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
35202         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
35203         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
35204         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
35205         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
35206         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
35207         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
35208         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
35209         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
35210         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
35211         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
35212         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
35213         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
35214         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
35215         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
35216         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
35217         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
35218         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
35219         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
35220         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
35221         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
35222         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
35223         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
35224         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
35225         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
35226         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
35227         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
35228         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
35229         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
35230         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
35231         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
35232         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
35233         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
35234         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
35235         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
35236         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
35238 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
35240         [BZ #17844]
35241         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
35242         (getutent): Use weak_alias in non SHARED case
35243         and default_symbol_version in SHARED case.
35244         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
35245         (getutent_r, pututline): Likewise.
35246         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
35247         (getutid): Likewise.
35248         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
35249         (getutid_r): Likewise.
35250         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
35251         (getutline): Likewise.
35252         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
35253         (getutline_r): Likewise.
35254         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
35255         (updwtmp): Likewise.
35257 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
35259         [BZ #17848]
35260         * sysdeps/s390/s390-32/memcmp.S
35261         (memcmp_g5): Rename to __memcmp_g5.
35262         * sysdeps/s390/s390-32/memcpy.S
35263         (memcpy_g5): Rename to __memcpy_g5.
35264         Jump to __memcpy_mvcle instead of memcpy_mvcle.
35265         (memcpy_mvcle) Rename to __memcpy_mvcle.
35266         * sysdeps/s390/s390-32/memset.S
35267         (memset_g5): Rename to __memset_g5.
35268         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
35269         (IFUNC_RESOLVE): Prefix ifunc-resolve function
35270         and use prefixed functions.
35271         * sysdeps/s390/s390-32/multiarch/memcmp.S
35272         (memcmp_z196): Rename to __memcmp_z196.
35273         (memcmp_z10): Rename to __memcmp_z10.
35274         (memcmp): Set alias to __memcmp_g5.
35275         (bcmp): Set alias to __memcmp_g5.
35276         * sysdeps/s390/s390-32/multiarch/memcpy.S
35277         (memcpy_z196): Rename to __memcpy_z196.
35278         Jump to __memcpy_mvcle instead of memcpy_mvcle.
35279         (memcpy_z10): Rename to __memcpy_z10.
35280         Jump to __memcpy_mvcle instead of memcpy_mvcle.
35281         (memcpy): Set alias to __memcpy_g5.
35282         * sysdeps/s390/s390-32/multiarch/memset.S
35283         (memset_z196): Rename to __memset_z196.
35284         Jump to __memset_mvcle instead of memset_mvcle.
35285         (memset_z10): Rename to __memset_z10.
35286         Jump to __memset_mvcle instead of memset_mvcle.
35287         (memset_mvcle) Rename to __memset_mvcle.
35288         (memset): Set alias to __memset_g5.
35289         * sysdeps/s390/s390-64/memcmp.S
35290         (memcmp_z900): Rename to __memcmp_z900.
35291         * sysdeps/s390/s390-64/memcpy.S
35292         (memcpy_z900): Rename to __memcpy_z900.
35293         Jump to __memcpy_mvcle instead of memcpy_mvcle.
35294         (memcpy_mvcle) Rename to __memcpy_mvcle.
35295         * sysdeps/s390/s390-64/memset.S
35296         (memset_z900): Rename to __memset_z900.
35297         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
35298         (IFUNC_RESOLVE): Prefix ifunc-resolve function
35299         and use prefixed functions.
35300         * sysdeps/s390/s390-64/multiarch/memcmp.S
35301         (memcmp_z196): Rename to __memcmp_z196.
35302         (memcmp_z10): Rename to __memcmp_z10.
35303         (memcmp): Set alias to __memcmp_z900.
35304         (bcmp): Set alias to __memcmp_z900.
35305         * sysdeps/s390/s390-64/multiarch/memcpy.S
35306         (memcpy_z196): Rename to __memcpy_z196.
35307         Jump to __memcpy_mvcle instead of memcpy_mvcle.
35308         (memcpy_z10): Rename to __memcpy_z10.
35309         Jump to __memcpy_mvcle instead of memcpy_mvcle.
35310         (memcpy): Set alias to __memcpy_z900.
35311         * sysdeps/s390/s390-64/multiarch/memset.S
35312         (memset_z196): Rename to __memset_z196.
35313         Jump to __memset_mvcle instead of memset_mvcle.
35314         (memset_z10): Rename to __memset_z10.
35315         Jump to __memset_mvcle instead of memset_mvcle.
35316         (memset_mvcle) Rename to __memset_mvcle.
35317         (memset): Set alias to __memset_z900.
35319 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
35321         [BZ #17748]
35322         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
35323         __fesetenv instead of fesetenv.
35325 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35327         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
35328         macro.
35330 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35332         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
35333         regression on LE.
35335         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
35336         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
35337         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
35338         strncmp-power8 object.
35339         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35340         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
35341         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
35342         * NEWS: Update.
35344 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35345             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35347         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
35348         trailing byte check.
35350 2015-01-13  David S. Miller  <davem@davemloft.net>
35352         * include/signal.h (__sigreturn): Guard with __USE_MISC.
35354 2015-01-13  Roland McGrath  <roland@hack.frob.com>
35356         * login/logout.c (logout): Use memset rather than bzero.
35357         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
35358         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
35359         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
35360         (_gethtbyaddr): Likewise.
35361         * locale/programs/simple-hash.c (bcopy): Macro removed.
35363 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35365         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35366         Add strcmp-power8 object.
35367         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35368         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
35369         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
35370         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
35371         __strcmp_power8 implementation.
35372         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
35373         * NEWS: Update.
35375         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35376         Add strncpy-power8 and stpncpy-power8 objects.
35377         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35378         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
35379         implementations.
35380         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
35381         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
35382         __stpncpy_power8 implementation.
35383         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
35384         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
35385         __strncpy_power8 implementation.
35386         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
35387         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
35388         * NEWS: Update.
35390         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
35391         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
35392         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
35394         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
35395         strncat-power8 object.
35396         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
35397         __strcat_power8 implementation.
35398         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35399         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
35400         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
35401         optimized strcat for power8.
35403         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
35404         strcpy-power8 and stpcpy-power8 objects.
35405         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35406         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
35407         implementations.
35408         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
35409         multiarch stpcpy implementation for POWER8.
35410         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
35411         multiarch strcpy implementation for POWER8.
35412         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
35413         __strcpy_power8 function.
35414         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
35415         stpcpy for POWER8.
35416         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
35417         strcpy for POWER8.
35418         * NEWS: Update.
35420 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
35422         [BZ #16009]
35423         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
35424         weights and rules. Use do_xfrm_cached if data fits in cache,
35425         do_xfrm otherwise.  Moved former main loop to...
35426         * (do_xfrm_cached): New function.
35427         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
35428         find_idx, find_position and stack_push.
35429         * (find_idx): New function.
35430         * (find_position): Likewise.
35431         * localedata/sort-test.sh: Added test run for do_xfrm.
35432         * localedata/xfrm-test.c (main): Added command line option
35433         -nocache to run the test with strings that are too large for
35434         the STRXFRM cache.
35436 2015-01-13  Torvald Riegel  <triegel@redhat.com>
35438         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
35439         variable to lll_futex_wake call, not the value itself.
35441 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
35443         [BZ #17803]
35444         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
35445         twom64.  Adjust value to 0x1p-64L.
35446         (__scalblnl): Only return standard underflowing result for K <=
35447         -64 not K <= -63; adjust exponent for underflowing result by 64
35448         not 63.
35449         * math/libm-test.inc (scalbn_test_data): Add more tests.
35450         (scalbln_test_data): Likewise.
35452         [BZ #17834]
35453         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
35454         0x1p63L.
35455         (__scalblnl): Get new exponent of adjusted subnormal value from ES
35456         not HX.
35457         * math/libm-test.inc (scalbn_test_data): Add more tests.
35458         (scalbln_test_data): Likewise.
35460 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35461             Stefani Seibold  <stefani@seibold.net>
35463         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
35464         (sysdep_routines): Add dl-vdso here, ...
35465         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
35466         (sysdep_routines): ... not here.
35467         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
35468         fallback when vDSO is not presented.
35469         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
35470         Define with libc_hidden_proto/libc_hidden_data_def definitions.
35471         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
35472         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
35473         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
35474         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
35475         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
35476         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
35477         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
35478         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
35479         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
35480         fallback configurable symbol when vDSO is not available.
35481         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
35482         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
35483         be able to redefine fallback symbol when vDSO is not available.
35484         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
35485         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
35487 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35489         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
35490         (TLS_INIT_TP): Add tm_capable initialization.
35491         (TLS_DEFINE_INIT_TP): Likewise.
35492         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
35493         TCB.
35494         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
35495         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
35496         calculation.
35497         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
35498         transactoion is lock elision is built and TCB tm_capable is set.
35499         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
35500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35501         (INTERNAL_SYSCALL_NCS): Likewise.
35502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
35503         (INTERNAL_SYSCALL_NCS): Likewise.
35504         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
35506         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
35507         for powerpc.
35508         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
35509         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
35510         and remove it for 32 bits case.
35511         [pthread_rwlock_t] (__rwelision): New field for lock elision.
35512         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
35513         initialization.
35514         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
35515         Disable lock elision with rdlocks if elision is not available.
35517         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
35518         (sysdep_routines): Add lock elision objects.
35519         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
35520         [pthread_mutex_t] (__spins): Rework to add lock elision field.
35521         [pthread_mutex_t] (__elision): Add field.
35522         [__PTHREAD_SPINS]: Adjust to init lock elision field.
35523         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
35524         elision definitions for powerpc.
35525         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
35526         implementation of lock elision for powerpc.
35527         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
35528         implementation of timed lock elision for powerpc.
35529         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
35530         implementation of trylock with lock elision for powerpc.
35531         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
35532         implementaion of unlock for lock elision for powerpc.
35533         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
35534         automatic enable lock elision for mutexes.
35535         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
35536         transaction execution definitions for powerpc.
35537         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
35538         definitions.
35539         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
35540         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
35541         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
35542         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
35543         * NEWS: Update.
35545 2015-01-09  Roland McGrath  <roland@hack.frob.com>
35547         * sysdeps/posix/shm-directory.c: Use <> rather than ""
35548         for #include of <shm-directory.h>.
35550 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
35552         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
35553         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
35555 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
35557         [BZ #17791]
35558         * NEWS: Mention bug fix.
35559         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
35560         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
35561         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
35563 2015-01-09  Torvald Riegel <triegel@redhat.com>
35565         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
35567 2015-01-09  Torvald Riegel <triegel@redhat.com>
35569         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
35571 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
35573         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
35574         pointer and cast to uintptr_t.
35576 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
35578         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
35579         removed.
35580         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
35582 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
35584         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
35585         of 0.
35587 2015-01-08  Roland McGrath  <roland@hack.frob.com>
35589         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
35590         <nptl/pthreadP.h> instead.
35591         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
35593         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
35594         already defined.
35595         [__SIGRTMIN] (init): Function removed.
35596         [__SIGRTMIN] (initialized): Variable removed.
35597         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
35598         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
35599         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
35600         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
35601         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
35602         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
35603         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
35604         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
35605         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
35606         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
35607         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
35608         * sysdeps/nptl/allocrtsig.c: New file.
35609         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
35610         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
35611         * sysdeps/generic/testrtsig.h: File removed.
35613         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
35614         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
35616         * nptl/nptl-init.c (pthread_functions): Conditionalize
35617         .ptr__nptl_setxid initialization on [SIGSETXID].
35619         * sysdeps/nptl/sys/procfs.h: New file.
35620         * nptl_db/Makefile (headers): Add it.
35621         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
35623         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
35624         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
35625         * nptl/pthread_attr_setaffinity.c: Include it.
35626         * nptl/pthread_setattr_default_np.c: Likewise.
35627         * nptl/check-cpuset.h: New file.
35629 2015-01-08  Richard Henderson  <rth@redhat.com>
35631         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
35632         (CFLAGS-tst-execstack-prog.c): Likewise.
35633         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
35635 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
35636             Sandra Loosemore  <sandra@codesourcery.com>
35637             Andrew Jenner  <andrew@codesourcery.com>
35638             Joseph Myers  <joseph@codesourcery.com>
35639             Nathan Sidwell  <nathan@codesourcery.com>
35641         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
35642         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
35643         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
35644         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
35645         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
35646         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
35647         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
35648         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
35649         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
35650         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
35651         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
35652         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
35653         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
35654         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
35655         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
35656         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
35657         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
35659 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35661         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
35662         timespec struct member in syscall macro.
35663         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
35664         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
35665         first timeval struct member in syscall macro.
35666         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
35668 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
35670         [BZ #17748]
35671         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
35672         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
35673         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
35674         __feupdateenv and define as weak alias of __feupdateenv.  Use
35675         libm_hidden_weak.
35676         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
35677         libm_hidden_def.
35678         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
35679         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
35680         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
35681         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
35682         libm_hidden_def.
35683         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
35684         __feupdateenv and define as weak alias of __feupdateenv.  Use
35685         libm_hidden_weak.
35686         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
35687         libm_hidden_def.
35688         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
35689         __feupdateenv and define as weak alias of __feupdateenv.  Use
35690         libm_hidden_weak.
35691         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
35692         libm_hidden_def.
35693         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
35694         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
35695         (__feupdateenv): Likewise.
35696         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
35697         __feupdateenv and define as weak alias of __feupdateenv.  Use
35698         libm_hidden_weak.
35699         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35700         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
35701         libm_hidden_def.
35702         * sysdeps/tile/math_private.h (__feupdateenv): New inline
35703         function.
35704         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
35705         libm_hidden_def.
35706         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
35707         __feupdateenv instead of feupdateenv.
35708         (default_libc_feupdateenv_test): Likewise.
35709         (libc_feresetround_ctx): Likewise.
35711 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35713         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
35714         prototype.
35716 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
35718         * posix/regcomp.c (parse_bracket_exp): Initialize type to
35719         COLL_SYM in a couple of places to avoid uninitialized variable
35720         wanings on tilegx gcc 4.8.2.
35722 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
35724         * sysdeps/aarch64/strcpy.S: New file.
35725         * sysdeps/aarch64/stpcpy.S: New file.
35726         * NEWS: Updated.
35728 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
35730         * sysdeps/aarch64/strrchr.S: New file.
35731         * NEWS: Updated.
35733 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
35735         [BZ #17658]
35736         * stdlib/setenv.c: Fix memory leak when setting large,
35737         duplicate string.
35739 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
35741         [BZ #17273]
35742         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
35743         and tabs from buffer before parsing fstab entry.
35744         * misc/tst-mntent.c (main): Add test for mount entry with
35745         trailing spaces and tabs.
35747 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
35749         [BZ #17748]
35750         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
35751         * math/fesetround.c (fesetround): Rename to __fesetround and
35752         define as weak alias of __fesetround.  Use libm_hidden_weak.
35753         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
35754         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
35755         * sysdeps/arm/fesetround.c (fesetround): Likewise.
35756         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
35757         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
35758         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
35759         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
35760         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
35761         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
35762         __fesetround_inline.
35763         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
35764         __fesetround_inline instead of __fesetround.
35765         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
35766         __fesetround and define as weak alias of __fesetround.  Use
35767         libm_hidden_weak.  Call __fesetround_inline instead of
35768         __fesetround.
35769         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
35770         __fesetround and define as weak alias of __fesetround.  Use
35771         libm_hidden_weak.
35772         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
35773         Likewise.
35774         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
35775         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35776         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
35777         * sysdeps/tile/math_private.h (__fesetround): New inline function.
35778         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
35779         __fesetround and define as weak alias of __fesetround.  Use
35780         libm_hidden_weak.
35781         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
35782         __fesetround instead of fesetround.
35783         (default_libc_feholdexcept_setround): Likewise.
35784         (libc_feholdsetround_ctx): Likewise.
35785         (libc_feholdsetround_noex_ctx): Likewise.
35787         [BZ #17748]
35788         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
35789         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
35790         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
35791         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
35792         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35793         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
35794         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35795         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
35796         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35797         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
35798         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35799         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35800         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
35801         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35802         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
35803         libm_hidden_def.
35804         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
35805         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
35806         Likewise.
35807         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
35808         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35809         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
35810         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35811         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
35812         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
35813         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
35814         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
35815         __fesetenv instead of fesetenv.
35816         (libc_feresetround_noex_ctx): Likewise.
35817         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
35818         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
35819         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
35820         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
35821         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
35822         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
35823         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
35824         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
35825         (__feupdateenv): Likewise.
35826         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35827         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35828         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
35829         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
35831 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
35833         [BZ #17806]
35834         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
35835         addresses have been freed.
35837 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
35839         * resolv/res_init.c (__res_vinit): Improve comments about nserv
35840         and nservall.
35842 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
35844         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
35845         Clean up check_pf allocation pattern. addresses
35847 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35849         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
35850         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
35851         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
35852         * nptl/pthread_exit.c (__pthread_exit): Likewise.
35853         * nptl/pthread_join.c (pthread_join): Likewise.
35854         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
35855         * sysdeps/posix/waitid.c (__waitid): Likewise.
35856         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
35857         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
35858         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
35859         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
35860         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
35861         Likewise.
35862         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
35863         (__libc_pread64): Likewise.
35864         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
35865         (__libc_pwrite): Likewise.
35866         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
35867         (__libc_pwrite64): Likewsie.
35868         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
35869         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
35870         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
35871         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
35872         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
35873         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
35874         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
35875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
35876         Likewise.
35877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35878         (__libc_pread64): Likewise.
35879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
35880         Likewise.
35881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35882         (__libc_pwrite64): Likewise.
35883         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
35884         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
35885         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
35886         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
35887         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
35888         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
35889         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
35890         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
35891         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
35892         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
35893         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
35894         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
35895         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
35896         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
35897         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
35898         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
35899         Likewise.
35901 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
35903         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
35904         (CFLAGS-test-double.c): Likewise.
35905         (CFLAGS-test-ldouble.c): Likewise.
35906         (CPPFLAGS-test-ifloat.c): Likewise.
35907         (CPPFLAGS-test-idouble.c): Likewise.
35908         (CPPFLAGS-test-ildoubl.c): Likewise.
35909         (CFLAGS-test-test-fenv.c): Remove variable.
35910         (CFLAGS-test-misc.c): Likewise.
35912 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
35914         [BZ #17797]
35915         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
35916         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
35917         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
35918         CLOCKS_PER_SEC == 1000000.
35919         * time/clocktest.c (main): Replace %ld with %jd and cast to
35920         intmax_t.
35922 2015-01-05  Roland McGrath  <roland@hack.frob.com>
35924         * sysdeps/generic/unwind-resume.h: New file.
35925         * sysdeps/gnu/unwind-resume.c: Include it.
35926         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
35927         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
35928         argument list.
35929         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
35930         global rather than static.
35931         (_Unwind_Resume): Update user.
35932         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
35933         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
35934         rather than static.  Add __attribute__ ((cold)).
35935         (_Unwind_Resume, __gcc_personality_v0): Update callers.
35936         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
35937         * sysdeps/arm/arm-unwind-resume.S: New file.
35938         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
35939         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
35940         * sysdeps/arm/Makefile [$(subdir) = csu]
35941         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
35942         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
35943         Add rt-arm-unwind-resume.
35944         [$(subdir) = nptl]
35945         (libpthread-sysdep_routines, libpthread-shared-only-routines):
35946         Add pt-arm-unwind-resume.
35947         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
35948         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
35950 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
35952         [BZ #17748]
35953         * include/fenv.h (__feholdexcept): Declare.  Use
35954         libm_hidden_proto.
35955         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
35956         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
35957         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35958         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
35959         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
35960         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
35961         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
35962         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35963         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
35964         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
35965         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
35966         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
35967         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
35968         (feholdexcept): Likewise.
35969         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35970         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
35971         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
35972         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35973         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
35974         __feholdexcept instead of feholdexcept.
35975         (default_libc_feholdexcept_setround): Likewise.
35977 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
35979         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
35980         to avoid using stl/str to align destination.
35982 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
35984         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
35986 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
35988         [BZ #17796]
35989         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
35990         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
35991         Define as weak alias not strong alias.
35993 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
35995         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
35996         bltzal with addiupc.
35997         (RTLD_START): Ditto.
35999 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
36001         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
36002         for __vdso_* functions in declarations.
36003         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
36004         definitions.
36005         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
36006         INTERNAL_VSYSCALL): Use struct return types to check for error.
36008         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
36009         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
36010         function with cast from llround().
36011         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
36012         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
36013         Define.
36015 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
36017         [BZ #17793]
36018         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
36019         Define as weak alias not strong alias.
36021         [BZ #17635]
36022         * ctype/ctype-c99.c: New file.  isblank implementation moved from
36023         ...
36024         * ctype/ctype-extn.c: ... here.
36025         (__isblank_l): Move to ...
36026         * ctype/ctype-c99_l.c: ... here.  New file.
36027         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
36028         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
36029         Remove variable.
36030         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
36031         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
36032         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
36033         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
36034         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
36036         [BZ #17777]
36037         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
36038         (posix_fadvise64): Define as weak alias not strong alias.
36039         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36040         (posix_fallocate64): Likewise.
36041         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
36042         Remove variable.
36043         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
36044         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
36045         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
36046         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
36047         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
36049 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
36051         [BZ #16191]
36052         * NEWS: Mention bug fix.
36053         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
36054         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
36055         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
36056         (HOST_STACK_END_ADDR): Likewise.
36058 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
36060         [BZ #17748]
36061         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
36062         * math/fegetround.c (fegetround): Rename to __fegetround and
36063         define as weak alias of __fegetround.  Use libm_hidden_weak.
36064         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
36065         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
36066         * sysdeps/arm/fegetround.c (fegetround): Likewise.
36067         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
36068         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
36069         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
36070         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
36071         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
36072         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
36073         Undefine after rather than before function definition; use
36074         parentheses around function name in definition.
36075         (__fegetround): Also undefine macro after function definition.
36076         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
36077         __fegetround and define as weak alias of __fegetround.  Use
36078         libm_hidden_weak.  Do not undefine as macro.
36079         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
36080         Likewise.
36081         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
36082         __fegetround and define as weak alias of __fegetround.  Use
36083         libm_hidden_weak.
36084         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36085         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
36086         * sysdeps/tile/math_private.h (__fegetround): New inline function.
36087         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
36088         __fegetround and define as weak alias of __fegetround.  Use
36089         libm_hidden_weak.
36090         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
36091         __fegetround instead of fegetround.
36093         [BZ #17782]
36094         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
36095         Condition macro definition on [__USE_MISC].
36097         [BZ #17781]
36098         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
36099         (struct sigaction): Change type of sa_flags field to int.
36101         [BZ #17780]
36102         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
36103         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
36104         __glibc_reserved0.
36106         * nptl/version.c (banner): Use single year in copyright notice.
36108         * NEWS: Update copyright dates.
36109         * catgets/gencat.c (print_version): Likewise.
36110         * csu/version.c (banner): Likewise.
36111         * debug/catchsegv.sh: Likewise.
36112         * debug/pcprofiledump.c (print_version): Likewise.
36113         * debug/xtrace.sh (do_version): Likewise.
36114         * elf/ldconfig.c (print_version): Likewise.
36115         * elf/ldd.bash.in: Likewise.
36116         * elf/pldd.c (print_version): Likewise.
36117         * elf/sotruss.sh: Likewise.
36118         * elf/sprof.c (print_version): Likewise.
36119         * iconv/iconv_prog.c (print_version): Likewise.
36120         * iconv/iconvconfig.c (print_version): Likewise.
36121         * locale/programs/locale.c (print_version): Likewise.
36122         * locale/programs/localedef.c (print_version): Likewise.
36123         * login/programs/pt_chown.c (print_version): Likewise.
36124         * malloc/memusage.sh (do_version): Likewise.
36125         * malloc/memusagestat.c (print_version): Likewise.
36126         * malloc/mtrace.pl: Likewise.
36127         * manual/libc.texinfo: Likewise.
36128         * nptl/version.c (banner): Likewise.
36129         * nscd/nscd.c (print_version): Likewise.
36130         * nss/getent.c (print_version): Likewise.
36131         * nss/makedb.c (print_version): Likewise.
36132         * posix/getconf.c (main): Likewise.
36133         * scripts/test-installation.pl: Likewise.
36134         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
36136 2015-01-02  Will Newton  <will.newton@linaro.org>
36138         * sysdeps/arm/armv7/configure: Removed.
36139         * sysdeps/arm/armv7/configure.ac: Likewise.
36141 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
36143         * All files with FSF copyright notices: Update copyright dates
36144         using scripts/update-copyrights.
36145         * intl/plural.c: Regenerated.
36146         * locale/programs/charmap-kw.h: Likewise.
36147         * locale/programs/locfile-kw.h: Likewise.
36149 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36151         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
36153 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
36155         [BZ #17748]
36156         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
36157         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
36158         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
36159         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
36160         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
36161         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
36162         define as weak alias of __fegetenv.  Use libm_hidden_weak.
36163         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
36164         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
36165         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
36166         define as weak alias of __fegetenv.  Use libm_hidden_weak.
36167         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
36168         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
36169         define as weak alias of __fegetenv.  Use libm_hidden_weak.
36170         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
36171         libm_hidden_def.
36172         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
36173         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
36174         Likewise.
36175         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
36176         define as weak alias of __fegetenv.  Use libm_hidden_weak.
36177         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36178         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
36179         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
36180         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
36181         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
36182         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
36183         __fegetenv instead of fegetenv.
36184         (libc_feholdsetround_noex_ctx): Likewise.
36186 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
36188         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
36189         (Elf_MIPS_ABIFlags_v0): New structure.
36190         (EF_MIPS_FP64): Define.
36191         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
36192         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
36193         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
36194         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
36195         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
36196         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
36197         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
36198         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
36199         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
36200         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
36201         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
36202         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
36203         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
36204         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
36205         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
36206         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
36207         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
36208         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
36209         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
36210         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
36211         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
36212         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
36213         field.
36214         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
36215         EF_MIPS_FP64.
36216         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
36217         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
36218         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
36219         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
36220         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
36221         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
36222         * sysdeps/mips/tst-abi-interlink.c: Likewise.
36223         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
36224         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
36225         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
36226         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
36227         record the current FP ABI extension.
36228         (mips-mode-switch): Define to show if kernel headers support mode
36229         switching.
36230         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
36231         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
36232         supported SYSV ABI version to 3.
36233         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
36234         feature.
36236 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36237             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36239         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
36240         path.
36241         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
36243 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
36245         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
36246         __fegetround and redefine to call __fegetround.  Remove condition
36247         on [!__NO_MATH_INLINES].
36248         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
36249         function.
36250         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
36251         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
36252         Remove macro.
36253         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
36254         instead of <fenv_libc.h>.
36255         (__llrintl): Call fegetround instead of __fegetround.
36256         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
36257         instead of <fenv_libc.h>.
36258         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
36259         (__lrintl): Call fegetround instead of __fegetround.
36260         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
36261         instead of <fenv_libc.h>.
36262         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
36263         (__rintl): Call fegetround instead of __fegetround.
36265 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
36267         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
36268         arrays.
36270 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
36272         [BZ #17775]
36273         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
36274         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
36275         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
36277 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
36279         * sysdeps/i386/tls-macros.h: Include <features.h>.
36280         (TLS_LE): Use non-PIC version for GCC >= 5.0.
36281         (TLS_IE): Likewise.
36282         (TLS_LD): Likewise.
36283         (TLS_GD): Likewise.
36284         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
36285         define for GCC >= 5.0.
36287 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
36289         * math/test-fenv.c (test_single_exception, set_single_exc,
36290         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
36291         feexcp_mask_test, feenable_test, fe_single_test): Add
36292         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
36293         case where they are not used.
36294         * math/libm-test.inc: Likewise.
36295         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
36296         unused in the absence of FP rounding/exception support.
36297         * stdio-common/tst-printf-round.c: Likewise.
36298         * stdlib/tst-strtod-round.c: Likewise.
36299         * stdlib/tst-strtod-underflow.c: Likewise.
36301 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
36303         [BZ #17723]
36304         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
36305         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
36306         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
36307         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
36308         libm_hidden_weak.
36309         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
36310         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
36311         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
36312         libm_hidden_def.
36313         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
36314         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
36315         libm_hidden_weak.
36316         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
36317         Likewise.
36318         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
36319         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
36320         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
36321         libm_hidden_weak.
36322         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
36323         libm_hidden_def.
36324         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
36325         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
36326         (__feraiseexcept): Likewise.
36327         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
36328         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
36329         libm_hidden_weak.
36330         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
36331         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
36332         libm_hidden_def.
36333         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
36334         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
36335         Use libm_hidden_def.
36336         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
36337         libm_hidden_def.
36338         (feraiseexcept): Define as weak not strong alias.  Use
36339         libm_hidden_weak.
36340         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
36341         New inline function.  Factored out of ...
36342         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
36343         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
36344         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
36345         feraiseexcept.
36346         * math/w_acos.c (__acos): Likewise.
36347         * math/w_asin.c (__asin): Likewise.
36348         * math/w_ilogb.c (__ilogb): Likewise.
36349         * math/w_j0.c (y0): Likewise.
36350         * math/w_j1.c (y1): Likewise.
36351         * math/w_jn.c (yn): Likewise.
36352         * math/w_log.c (__log): Likewise.
36353         * math/w_log10.c (__log10): Likewise.
36354         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
36355         * sysdeps/aarch64/fpu/math_private.h
36356         (libc_feupdateenv_test_aarch64): Likewise.
36357         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
36358         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
36359         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
36360         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
36361         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
36362         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
36363         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
36364         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36365         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36366         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
36368 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
36370         [BZ #17732]
36371         * io/test-utime.c (main): Replace %ld with %jd and cast to
36372         intmax_t.
36373         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
36374         * nptl/tst-mutex5.c: Include <stdint.h>.
36375         (do_test): Replace %ld with %jd and cast to intmax_t.
36376         * posix/tst-regex.c (run_test): Likewise.
36377         (run_test_backwards): Likewise.
36378         * rt/tst-clock.c: Include <stdint.h>.
36379         (clock_test): Replace %ld with %jd and cast to intmax_t.
36380         * rt/tst-cpuclock1.c: Include <stdint.h>.
36381         (do_test): Replace %lu with %ju and cast to uintmax_t.
36382         * rt/tst-cpuclock2.c: Include <stdint.h>.
36383         (do_test): Replace %lu with %ju and cast to uintmax_t.
36384         * rt/tst-mqueue1.c: Include <stdint.h>.
36385         (check_attrs): Replace %ld with %jd and cast to intmax_t.
36386         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
36387         intmax_t.
36388         * rt/tst-mqueue4.c (do_test): Likewise.
36389         * rt/tst-timer4.c: Include <stdint.h>.
36390         (check_ts): Replace %ld with %jd and cast to intmax_t.
36391         (do_test): Likewise.
36392         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
36393         and cast to intmax_t.
36394         * sysdeps/pthread/tst-timer.c (main): Likewise.
36395         * time/clocktest.c (main): Likewise.
36396         * time/tst-posixtz.c (do_test): Likewise.
36397         * timezone/tst-timezone.c (main): Likewise.
36399 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
36400             H.J. Lu  <hongjiu.lu@intel.com>
36402         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
36403         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
36404         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
36405         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
36406         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
36407         version if bit_Fast_Unaligned_Load is set.
36408         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36409         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36410         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36411         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36412         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36413         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36414         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36415         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
36416         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
36417         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
36418         to 4.
36419         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
36420         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
36421         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
36422         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
36424 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
36426         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
36427         instead of #if to avoid a Wundef warning.
36428         * stdlib/tst-limits.c (do_test): Likewise.
36430         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
36431         parallel other exception macros.
36432         (fegetenv): Convert from macro to extern inline so that it applies
36433         retroactively to inline functions already seen by the compiler.
36434         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
36436         * posix/Makefile (before-compile): Use $(objpfx) for
36437         posix-conf-vars-def.h.
36439 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36441         * posix/getconf.c (main): Use size_t for type of I.
36442         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
36443         NSPEC.
36445         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
36446         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
36447         * posix/posix-envs.def: Likewise.
36448         * sysdeps/posix/sysconf.c: Likewise.
36449         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
36450         (specs): Remove array.
36451         * scripts/gen-posix-conf-vars.awk: Support generation of specs
36452         array.
36454         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
36455         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
36456         (__sysconf): Use CONF_IS_* macros.
36458         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
36459         ($(objpfx)posix-conf-vars-def.h): New target.
36460         * posix/posix-conf-vars.list: New file.
36461         * posix/posix-conf-vars.h: New file.
36462         * posix/confstr.c: Include posix-conf-vars.h.
36463         (confstr): Use CONF_IS_* macros.
36464         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
36465         CONF_IS_* macros.
36466         * scripts/gen-posix-conf-vars.awk: New file.
36468 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
36470         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
36471         fegetround): Add no-op macros to avoid linknamespace issues.
36473         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
36474         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
36476         * sysdeps/unix/sysv/linux/tile/sysdep.h
36477         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
36478         assembly-specific section to avoid a redefinition warning.
36480         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
36481         long before casting to pointer to avoid a cast warning.
36483 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
36485         * sysdeps/tile/tilegx/Implies: New file.
36487 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
36489         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
36491 2014-12-23  Florian Weimer  <fweimer@redhat.com>
36493         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
36495 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
36497         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
36498         not define.
36499         * sysdeps/unix/sysv/linux/utimes.c: Do not include
36500         <kernel-features.h>.
36501         (__utimes) [__NR_utimes]: Make code unconditional.
36502         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
36503         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36504         (__ASSUME_UTIMES): Do not undefine.
36505         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36506         (__ASSUME_UTIMES): Likewise.
36507         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
36508         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
36509         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
36510         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
36512 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
36514         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
36516 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
36518         [BZ #17747]
36519         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
36520         alias to weak alias for j0l, y0l.
36521         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
36522         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
36524         [BZ #17746]
36525         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
36526         conversion.
36528 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
36530         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
36531         to zero if not already defined.
36533 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
36535         [BZ #17724]
36536         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
36537         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
36538         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
36539         (char *) casts added.
36540         * sysdeps/ieee754/k_standardf.c: New file.
36541         * sysdeps/ieee754/k_standardl.c: Likewise.
36542         * math/Makefile (libm-support): Remove k_standard.
36543         (libm-calls): Add k_standard.
36545 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
36547         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
36548         Optimize to avoid an unnecessary FPCR read.
36550 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
36552         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
36553         Optimize to reduce FPCR/FPSR accesses.
36555 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
36557         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
36558         Call libc_fetestexcept_aarch64.
36560 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
36562         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
36563         Call libc_fesetround_aarch64.
36565 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
36567         [BZ #17733]
36568         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
36569         (__bind): Do not define as weak alias.
36570         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
36571         define.
36572         (__getsockname): Do not define as weak alias.
36574 2014-12-22  Will Newton  <will.newton@linaro.org>
36576         * manual/install.texi: Document that we require bison 2.7
36577         or above.
36578         * INSTALL: Regenerate.
36579         * configure.ac: Use AC_CHECK_PROG_VER instead of
36580         AC_PATH_PROG when checking for bison and check for
36581         version 2.7 or above.
36582         * configure: Regenerate.
36584 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
36586         [BZ #17745]
36587         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
36588         * sysdeps/tile/ffsll.c (ffsll): To here.
36590         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
36592 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
36594         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
36595         if not defined.
36596         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
36597         definition.
36598         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
36599         hidden ___tls_get_addr.
36600         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
36601         hidden __tls_get_addr.
36602         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
36603         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
36604         Likewise.
36606 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
36608         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
36609         _dl_init call.
36611 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
36613         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
36614         from "call _dl_init@PLT".
36615         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
36617 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
36619         * manual/search.texi: (Array Sort Function): Clarify stable sorting
36620         guarantees.
36622 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
36624         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
36626 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
36628         [BZ #17744]
36629         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
36630         strnlen.
36632 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
36634         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
36635         of multu on MIPSr6.
36636         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
36637         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
36638         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
36639         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
36640         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
36642 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
36644         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
36645         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
36646         (PTR_SUBU): Use subu for mips32r6/mips64r6.
36647         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
36648         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
36649         mips32r6/mips64r6.
36650         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
36652 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
36654         * string/strncat.c (STRNCAT): Simplify implementation.
36656 2014-12-19  David S. Miller  <davem@davemloft.net>
36658         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
36659         access the quad as both a long double and as a series of 4 words.
36661         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
36662         link_map->l_info array access.
36664 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
36666         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
36668         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
36669         * math/atest-exp2.c (TIMEOUT): Likewise.
36670         * math/atest-sincos.c (TIMEOUT): Likewise.
36672 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
36674         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
36675         -Wno-error with -fno-builtin-lround.
36677 2014-12-19  Torvald Riegel  <triegel@redhat.com>
36679         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
36680         Contains futex constants and functions moved over from ...
36681         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
36682         <lowlevellock-futex.h>.
36683         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
36684         (lll_timedwait_tid): Add comments and parentheses around macro
36685         arguments.
36687 2014-12-19  Torvald Riegel  <triegel@redhat.com>
36689         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
36690         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
36691         (__lll_private_flag): Remove.
36692         (lll_futex_wait): Likewise.
36693         (lll_futex_timed_wait): Likewise.
36694         (lll_futex_wake): Likewise.
36695         (lll_futex_requeue): Likewise.
36696         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
36697         (__lll_timedwait_tid): Spell out argument names.
36698         (lll_timedwait_tid): Add comments and parentheses around macro
36699         arguments.
36700         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
36701         LLL_SHARED and LLL_PRIVATE usable from assembly code.
36703 2014-12-19  Torvald Riegel  <triegel@redhat.com>
36705         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
36706         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
36707         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36708         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
36709         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
36710         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
36711         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
36712         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
36713         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
36714         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
36715         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
36716         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
36717         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
36718         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
36719         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
36720         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
36721         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
36722         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
36723         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
36725 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
36727         * sysdeps/x86_64/x32/Makefile: New file.
36729 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
36731         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
36732         1L with (mp_limb_t) 1.
36734 2014-12-17  Roland McGrath  <roland@hack.frob.com>
36736         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
36737         * nptl/libc_pthread_init.c: ... here.
36738         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
36739         * nptl/register-atfork.c: ... here.
36741         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
36742         Use pthread_sigmask rather than INTERNAL_SYSCALL.
36743         Use assert_perror to check its return value.
36744         (__gai_create_helper_thread): Likewise.
36746         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
36748         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
36750 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
36752         [BZ #17725]
36753         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
36754         __profil_counter.
36755         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
36756         Likewise.
36757         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
36758         Likewise.
36759         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
36760         Likewise.
36761         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
36762         (profil_counter): Likewise.
36763         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
36764         (profil_counter): Likewise.
36765         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
36766         Likewise.
36767         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
36768         Likewise.
36769         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
36770         (profil_counter): Likewise.
36771         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
36772         Likewise.
36773         [!__profil_counter] (profil_counter): Define as weak alias of
36774         __profil_counter.
36775         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
36776         (profil_counter): Rename to __profil_counter.
36777         [!__profil_counter] (profil_counter): Define as weak alias of
36778         __profil_counter.
36779         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
36780         (profil_counter): Rename to __profil_counter.
36781         [!__profil_counter] (profil_counter): Define as weak alias of
36782         __profil_counter.
36783         * sysdeps/posix/profil.c: Update comment referring to
36784         profil_counter.
36785         (__profil): Use __profil_counter instead of profil_counter.
36786         * sysdeps/posix/sprofil.c (profil_counter): Rename to
36787         __profil_counter.  Use __profil_counter_ushort and
36788         __profil_counter_uint in definitions.
36789         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
36790         instead of profil_counter_uint and profil_counter_ushort.
36792         [BZ #17722]
36793         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
36794         define as weak alias of __inet_makeaddr.
36795         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
36796         as weak alias of __inet_addr.
36797         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
36798         as weak alias of __inet_pton.  Use libc_hidden_weak.
36799         * include/arpa/inet.h (__inet_pton): Declare.  Use
36800         libc_hidden_proto.
36801         (inet_makeaddr): Don't use libc_hidden_proto.
36802         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
36803         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
36804         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
36805         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
36806         Remove variable.
36807         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
36808         (test-xfail-POSIX/time.h/linknamespace): Likewise.
36810 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
36812         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
36814 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
36816         * stdio-common/bug-vfprintf-nargs.c (do_test):
36817         Cast value to intptr_t to avoid format warning
36818         for usage with PRIdPTR printing macro.
36820 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
36822         * libio/tst-widetext.c (do_test):
36823         Use format type %td instead of %Zd for ptrdiff_t
36824         in order to avoid format warning.
36826 2014-12-17  Andreas Schwab  <schwab@suse.de>
36828         * nscd/mem.c (gc): Add size_t cast to match printf format.
36830 2014-12-16  Roland McGrath  <roland@hack.frob.com>
36832         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
36833         (init): Apply PTR_MANGLE to pointers before storing them.
36834         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
36835         before using them.
36837 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
36839         [BZ #17719]
36840         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
36841         define as weak alias of __memrchr.
36842         (__memrchr): Do not define as strong alias of memrchr.
36843         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
36844         Remove variable.
36845         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
36846         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
36847         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
36849         [BZ #17717]
36850         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
36851         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
36852         (if_indextoname): Rename to __if_indextoname and define as weak
36853         alias of __if_indextoname.  Use libc_hidden_weak.
36854         (if_freenameindex): Rename to __if_freenameindex and define as
36855         weak alias of __if_freenameindex.
36856         (if_nameindex): Rename to __if_nameindex and define as weak alias
36857         of __if_nameindex.
36858         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
36859         __if_nametoindex and define as weak alias of __if_nametoindex.
36860         Use libc_hidden_weak.
36861         (if_freenameindex): Rename to __if_freenameindex and define as
36862         weak alias of __if_freenameindex.
36863         (if_nameindex): Rename to __if_nameindex and define as weak alias
36864         of __if_nameindex.
36865         (if_indextoname): Rename to __if_indextoname and define as weak
36866         alias of __if_indextoname.  Use libc_hidden_weak.
36867         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
36868         __if_nametoindex and define as weak alias of __if_nametoindex.
36869         Use libc_hidden_weak.
36870         (if_freenameindex): Rename to __if_freenameindex and define as
36871         weak alias of __if_freenameindex.  Use libc_hidden_weak.
36872         (if_nameindex_netlink): Use __if_freenameindex instead of
36873         if_freenameindex.
36874         (if_nameindex): Rename to __if_nameindex and define as weak alias
36875         of __if_nameindex.  Use libc_hidden_weak.
36876         (if_indextoname): Rename to __if_indextoname and define as weak
36877         alias of __if_indextoname.  Use libc_hidden_weak.
36878         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
36879         libc_hidden_proto.
36880         [!_ISOMAC] (__if_freenameindex): Likewise.
36881         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
36882         if_nametoindex.
36883         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
36884         variable.
36885         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
36886         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
36887         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
36888         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
36889         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
36890         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
36891         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
36893         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
36894         Remove variable.
36895         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
36896         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
36898 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36900         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
36901         subscript above bounds'
36903         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
36904         bounds.
36906 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
36908         * libio/tst-fopenloc.c: Use test-skeleton.c.
36910         * stdlib/tst-bsearch.c: Use test-skeleton.c.
36911         (entry): Rename to ITEM.
36912         (do_test, comp): Adjust.
36914         * stdio-common/tst-fseek.c: Use test-skeleton.c.
36916 2014-12-16  Torvald Riegel  <triegel@redhat.com>
36918         * string/tester.c: Include <libc-internal.h>.
36919         (test_memset): Ignore -Wmemset-transposed-args.
36921 2014-12-16  Torvald Riegel  <triegel@redhat.com>
36923         * misc/tst-mntent2.c (do_test): Fix warning.
36925 2014-12-16  Torvald Riegel  <triegel@redhat.com>
36927         * elf/tst-unique4lib.cc(a): Mark as used.
36929 2014-12-16  Florian Weimer  <fweimer@redhat.com>
36931         [BZ #17630]
36932         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
36933         names.
36935 2014-12-16  Allan McRae  <allan@archlinux.org>
36937         * stdio-common/Makefile (tests): Re-add bug26.
36939 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
36941         [BZ #17657]
36942         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
36943         static array.
36945 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
36947         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
36948         (__lll_lock_wait): Likewise.
36949         (__lll_timedlock_wait): Likewise.
36950         (__lll_timedwait_tid): Likewise.
36951         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
36952         (__lll_robust_timedlock_wait): Likewise.
36953         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
36954         (lll_cond_trylock): Likewise.
36955         (__lll_lock): Likewise.
36956         (__lll_robust_lock): Likewise.
36957         (__lll_cond_lock): Likewise.
36958         (lll_robust_cond_lock): Likewise.
36959         (__lll_timedlock): Likewise.
36960         (__lll_robust_timedlock): Likewise.
36961         (__lll_unlock): Likewise.
36962         (__lll_robust_unlock): Likewise.
36963         (lll_wait_tid): Likewise.
36964         (lll_timedwait_tid): Likewise.
36966 2014-12-15  Torvald Riegel  <triegel@redhat.com>
36968         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
36970 2014-12-15  Torvald Riegel  <triegel@redhat.com>
36972         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
36974 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
36976         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
36977         * stdio-common/tst-sprintf.c: Likewise.
36979 2014-12-15  Torvald Riegel  <triegel@redhat.com>
36981         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
36983 2014-12-15  Jeff Law  <law@redhat.com>
36985         [BZ #16617]
36986         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
36987         on the heap.  (CVE-2012-3406)
36988         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
36989         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
36990         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
36992 2014-12-15  Will Newton  <will.newton@linaro.org>
36994         * manual/install.texi: Bump required version of texinfo
36995         to 4.7 from 4.5.
36996         * INSTALL: Regenerated.
36997         * configure.ac: Check for makeinfo version 4.7 and above.
36998         * configure: Regenerated.
37000 2014-12-12  Roland McGrath  <roland@hack.frob.com>
37002         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
37003         PREFIX, string constant to insert between directory and name.
37004         * sysdeps/posix/shm_open.c: Update caller.
37005         * sysdeps/posix/shm_unlink.c: Likewise.
37006         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
37007         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
37008         (SEM_SHM_PREFIX): New macro.
37009         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
37010         [$(have-thread-library) = no].
37011         * nptl/Makefile (libpthread-routines): Add shm-directory.
37012         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
37013         * sysdeps/nptl/shm-directory.h: New file.
37014         * sysdeps/posix/shm-directory.c
37015         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
37016         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
37017         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
37018         INTERNAL_SYSCALL.
37019         (__where_is_shmfs): Function removed.
37020         (mountpoint, defaultmount, defaultdir, __namedsem_once):
37021         Variables removed.
37022         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
37023         Use SHM_GET_NAME.
37024         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
37026         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
37027         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
37028         unconditional for use inside libpthread.
37029         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
37031 2014-12-12  Roland McGrath  <roland@hack.frob.com>
37033         * nptl/pthread_getaffinity.c: New file.
37034         * nptl/pthread_setaffinity.c: New file.
37035         * nptl/pthread_getname.c: New file.
37036         * nptl/pthread_setname.c: New file.
37038         * nptl/pthread_create.c (START_THREAD_DEFN)
37039         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
37041 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
37042             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37044         * resolv/res_send.c (send_vc): Disable warning resplen may
37045         be used uninitialized.
37047 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
37049         * nptl/tst-mutex6.c
37050         (ATTR_NULL): New define checks ATTR against NULL.
37051         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
37052         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
37054 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
37056         [BZ #17581]
37057         * malloc/hooks.c
37058         (mem2mem_check): Revert my previous change.
37059         (malloc_check_get_size): Revert my previous change.
37060         (mem2chunk_check): Revert my previous change.
37062 2014-12-11  Roland McGrath  <roland@hack.frob.com>
37064         * sysdeps/posix/shm-directory.c: New file.
37065         * sysdeps/posix/shm-directory.h: New file.
37066         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
37067         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
37068         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
37069         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
37070         Transmute EPERM to EACCES.
37071         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
37072         from ...
37073         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
37074         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
37076 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37078         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
37079         pointer and cast to uintptr_t.
37080         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
37081         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
37082         Add cast to avoid warning.
37083         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
37085 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
37087         * nptl/semaphore.h: Move to ...
37088         * sysdeps/pthread/semaphore.h: ... here.
37089         * Makefile (installed-headers): Change nptl/semaphore.h to
37090         sysdeps/pthread/semaphore.h.
37092 2014-12-11  Roland McGrath  <roland@hack.frob.com>
37094         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
37095         generated error format strings.
37097         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
37098         -Wformat-extra-args warnings for scanf formats.
37099         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
37100         test of zero-length format (duh).
37101         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
37102         corner-case scanf format test.
37103         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
37104         generated fprintf format string.
37105         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
37106         corner-case sprintf format tests.
37107         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
37108         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
37109         -Wformat-extra-args warnings throughout.
37110         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
37111         (CFLAGS-scanf4.c): Likewise.
37112         (CFLAGS-scanf7.c): Likewise.
37113         (CFLAGS-tst-sprintf.c): Likewise.
37114         (CFLAGS-tst-printf.c): Likewise.
37115         (CFLAGS-tst-printfsz.c): Likewise.
37117 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
37119         * include/cpio.h: New file.
37120         * include/fmtmsg.h: Likewise.
37122         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
37123         corresponding format argument to size_t.
37124         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
37125         arguments.
37126         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
37127         corresponding format argument to size_t.
37128         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
37129         arguments.
37130         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
37131         corresponding format argument to size_t.
37132         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
37133         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
37134         (CFLAGS-tst-mbswcs2.c): Likewise.
37135         (CFLAGS-tst-mbswcs3.c): Likewise.
37136         (CFLAGS-tst-mbswcs4.c): Likewise.
37137         (CFLAGS-tst-mbswcs5.c): Likewise.
37138         (CFLAGS-tst-trans.c): Likewise.
37140 2014-12-11  Roland McGrath  <roland@hack.frob.com>
37142         * posix/regexbug1.c (main): Use "%s" format with regerror results,
37143         rather than assuming they won't contain any '%'s.
37145 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
37147         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
37148         inhibit_loop_to_libcall to avoid recursive calls.
37149         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
37150         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
37152 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
37154         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
37155         prototype.
37157 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
37159         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
37160         integer value instead of boolean.
37162 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
37164         * malloc/malloc.c: Fix powerof2 check.
37166 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37168         * locale/programs/locfile.h (maybe_swap_uint32):
37169         Remove inline and add unused attribute.
37171 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37173         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
37174         Truncating assembler expression to a .long expression.
37176 2014-12-11  Andreas Schwab  <schwab@suse.de>
37178         * elf/rtld.c (struct map_args): Constify str member.
37179         (do_preload): Constify fname argument.
37181 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37183         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
37184         constants definition.
37186 2014-12-11  Andreas Schwab  <schwab@suse.de>
37188         [BZ #16657]
37189         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
37190         FORCE_ELISION instead of DO_ELISION.
37191         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
37192         Remove.
37193         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
37194         Likewise.
37196         * iconvdata/gconv-modules: Remove duplicate entry.
37198 2014-12-11  Will Newton  <will.newton@linaro.org>
37200         Merge gettext 0.19.3 into intl/.
37202         This involves a number of cosmetic changes to comments
37203         and ANSI function definitions and prototypes throughout
37204         all the files. The gettext copyright header is used but
37205         with the date ranges taken from the glibc copy.
37207         * NEWS: Add gettext merge to 2.21.
37208         * intl/bindtextdom.c: Switch to gettext copyright.
37209         Use ANSI definitions and prototypes.
37210         Use gl_* locking primitives rather than __libc_* ones.
37211         Use __builtin_expect rather than __glibc_likely/unlikely.
37212         * intl/dcgettext.c: Switch to gettext copyright.
37213         Use ANSI definitions and prototypes.
37214         * intl/dcigettext.c: Switch to gettext copyright.
37215         Use ANSI definitions and prototypes.
37216         (INTDIV0_RAISES_SIGFPE): New define.
37217         Use gl_* locking primitives rather than __libc_* ones.
37218         Include eval-plural.h instead of plural-eval.c.
37219         Use __builtin_expect rather than __glibc_likely/unlikely.
37220         * intl/dcngettext.c: Switch to gettext copyright.
37221         Use ANSI definitions and prototypes.
37222         * intl/dgettext.c: Likewise.
37223         * intl/dngettext.c: Likewise.
37224         * intl/plural-eval.c: Renamed to...
37225         * intl/eval-plural.h: ...this.
37226         * intl/explodename.c: Switch to gettext copyright.
37227         Use ANSI definitions and prototypes.
37228         (_nl_explode_name): Use strchr instead of __rawmemchr.
37229         * intl/finddomain.c: Switch to gettext copyright.
37230         Use ANSI definitions and prototypes.
37231         Use gl_* locking primitives rather than __libc_* ones.
37232         (_nl_find_domain): Use malloc rather than alloca for
37233         allocation of temporary locale name.
37234         * intl/gettext.c: Switch to gettext copyright.
37235         Use ANSI definitions and prototypes.
37236         * intl/gettextP.h: Switch to gettext copyright.
37237         Use ANSI definitions and prototypes.
37238         Use gl_* locking primitives rather than __libc_* ones.
37239         * intl/gmo.h: Switch to gettext copyright.
37240         (struct sysdep_string): Move struct segment_pair outside of
37241         struct definition.
37242         * intl/hash-string.c: Use ANSI definitions and prototypes.
37243         * intl/hash-string.h: Switch to gettext copyright.
37244         Use ANSI definitions and prototypes.
37245         * intl/l10nflist.c: Switch to gettext copyright.
37246         Use ANSI definitions and prototypes.
37247         (_nl_normalize_codeset): Avoid integer overflow.
37248         * intl/loadinfo.h: Switch to gettext copyright.
37249         Use ANSI definitions and prototypes.
37250         (LIBINTL_DLL_EXPORTED): New define.
37251         (PATH_SEPARATOR): New define.
37252         * intl/loadmsgcat.c: Switch to gettext copyright.
37253         * intl/localealias.c: Switch to gettext copyright.
37254         Use ANSI definitions and prototypes.
37255         (_nl_expand_alias): Use PATH_SEPARATOR.
37256         * intl/ngettext.c: Switch to gettext copyright.
37257         Use ANSI definitions and prototypes.
37258         * intl/plural-exp.c: Likewise.
37259         * intl/plural-exp.h: Switch to gettext copyright.
37260         Use ANSI definitions and prototypes.
37261         (struct expression): Move definition of enum operator outside
37262         of struct definition.
37263         * intl/plural.c: Regenerate.
37264         * intl/plural.y: Switch to gettext copyright.
37265         Use ANSI definitions and prototypes.
37266         Port to bison 3.0.
37267         * intl/textdomain.c: Switch to gettext copyright.
37268         Use ANSI definitions and prototypes.
37269         Use gl_* locking primitives rather than __libc_* ones.
37271 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
37273         * debug/warning-nop.c: Add used atrribute.
37275 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
37277         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
37279         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
37280         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
37281         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
37283 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
37284             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37286         [BZ #17634]
37287         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
37288         Undefine after defining function.  Define as weak alias of
37289         __wcschr.  Use libc_hidden_weak.
37290         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
37291         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
37292         (libc_hidden_def): Also define __GI___wcschr alias.
37293         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
37294         __wcschr and define as weak alias of __wcschr.
37295         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
37296         __wcschr.
37297         [!WCSCHR] (DEFAULT_WCSCHR): Define.
37298         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
37299         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
37300         libc_hidden_weak.  Do not use libc_hidden_def.
37301         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
37302         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
37303         __GI___wcschr alias.
37304         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
37305         [IS_IN (libc)] (wcschr): Define as macro expanding to
37306         __redirect_wcschr.
37307         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
37308         [IS_IN (libc)] (__wcschr_power6): Likewise.
37309         [IS_IN (libc)] (__wcschr_power7): Likewise.
37310         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
37311         instead of wcschr.
37312         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
37313         __libc_wcschr.
37314         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
37315         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
37316         __wcschr and define as weak alias of __wcschr.  Use
37317         libc_hidden_builtin_def.
37318         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
37319         as weak alias of __wcschr.  Use libc_hidden_weak.
37320         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
37321         wcschr.
37322         * time/era.c (_nl_init_era_entries): Likewise.
37323         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
37324         variable.
37325         (test-xfail-XPG3/time.h/linknamespace): Likewise.
37326         (test-xfail-XPG4/time.h/linknamespace): Likewise.
37328 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
37330         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
37331         format for long int variable.
37333 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
37335         [BZ #10672]
37336         * manual/search.texi: (Array Sort Function): Remove claim how to make
37337         qsort stable.
37339 2014-12-10  Andreas Schwab  <schwab@suse.de>
37341         [BZ #12847]
37342         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
37343         user-controlled locks.
37345 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
37347         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
37348         register.
37350 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
37352         * configure.ac (--disable-werror): New configure option.
37353         (enable_werror): New AC_SUBST.
37354         * configure: Regenerated.
37355         * config.make.in (enable-werror): New variable.
37356         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
37357         -Wno-error=undef.
37358         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
37359         * manual/install.texi (Configuring and compiling): Document
37360         --disable-werror.
37361         * INSTALL: Regenerated.
37362         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
37363         (CFLAGS-tst-chk2.c): Likewise.
37364         (CFLAGS-tst-chk3.c): Likewise.
37365         (CFLAGS-tst-chk4.cc): Likewise.
37366         (CFLAGS-tst-chk5.cc): Likewise.
37367         (CFLAGS-tst-chk6.cc): Likewise.
37368         (CFLAGS-tst-lfschk1.c): Likewise.
37369         (CFLAGS-tst-lfschk2.c): Likewise.
37370         (CFLAGS-tst-lfschk3.c): Likewise.
37371         (CFLAGS-tst-lfschk4.cc): Likewise.
37372         (CFLAGS-tst-lfschk5.cc): Likewise.
37373         (CFLAGS-tst-lfschk6.cc): Likewise.
37375         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
37376         (main): Disable -Wdeprecated-declarations around calls to
37377         register_printf_function.
37379         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
37380         (do_test): Disable -Wdiv-by-zero around some calls to
37381         fwrite_unlocked and fread_unlocked.
37383         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
37384         (DIAG_POP_NEEDS_COMMENT): Likewise.
37385         (_DIAG_STR1): Likewise.
37386         (_DIAG_STR): Likewise.
37387         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
37388         * stdio-common/bug21.c: Include <libc-internal.h>.
37389         (do_test): Disable -Wformat around call to sscanf.
37390         * stdio-common/scanf14.c: Include <libc-internal.h>.
37391         (main): Disable -Wformat around some calls to scanf functions.
37393 2014-12-09  Torvald Riegel  <triegel@redhat.com>
37395         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
37397 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37399         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
37400         stack variable alignment.
37402 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
37404         [BZ #17682]
37405         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
37406         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
37407         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
37408         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
37409         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
37410         __getrlimit instead of getrlimit.
37411         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
37412         __gettimeofday instead of gettimeofday.
37413         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
37414         Likewise.
37415         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
37416         Likewise.
37417         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37418         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
37419         Remove variable.
37420         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
37421         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
37423 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37425         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
37426         for wide-character tests.
37428 2014-12-04  Roland McGrath  <roland@hack.frob.com>
37430         * io/openat64.c: #include <libc-internal.h>
37431         (__openat64): Prototypify.  Use ignore_value on MODE.
37432         * io/openat.c: Likewise.
37433         * misc/reboot.c: #include <libc-internal.h>
37434         (reboot): Prototypify.  Use ignore_value on HOWTO.
37435         * misc/ptrace.c: #include <libc-internal.h>
37436         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
37438 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
37440         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
37441         XPG4, UNIX98 and XOPEN2K.
37442         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
37443         Remove variable.
37444         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
37446 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37448         * libio/fileops.c: Use ISO C style for function definitions.
37449         * libio/iofopen.c: Likewise.
37450         * libio/wfileops.c: Likewise.
37452         [BZ #17653]
37453         * libio/fileops.c (_IO_new_file_underflow): Unset cached
37454         offset on EOF.
37455         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
37456         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
37457         (fgets_func): Function pointer to fgets and fgetws.
37458         (do_ftell_test): Add test to verify ftell value after read
37459         EOF.
37460         (do_test): Set fgets_func.
37462         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
37463         O_TRUNC flag for w and w+ modes.
37464         (do_rewind_test): Likewise.
37465         (do_ftell_test): Likewise.
37466         (do_write_test): Likewise.
37468         [BZ #17647]
37469         * libio/fileops.c (do_ftell): Seek only when there are
37470         unflushed writes.
37471         * libio/wfileops.c (do_ftell_wide): Likewise.
37472         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
37473         test case.
37474         (do_one_test): Call it.
37476 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
37478         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
37479         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
37480         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
37481         Remove variable.
37482         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
37483         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
37484         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
37486 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
37488         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
37489         Remove variable.
37490         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
37492         [BZ #17668]
37493         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
37494         as weak alias of __getifaddrs.  Use libc_hidden_weak.
37495         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
37496         __freeifaddrs.  Use libc_hidden_weak.
37497         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
37498         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
37499         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
37500         __freeifaddrs.  Use libc_hidden_weak.
37501         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
37502         __getifaddrs and define as weak alias of __getifaddrs.  Use
37503         libc_hidden_weak.
37504         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
37505         __freeifaddrs.  Use libc_hidden_weak.
37506         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
37507         Remove variable.
37508         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
37509         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
37511 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
37513         [BZ #17601]
37514         * sysdeps/mips/start.S (__start): Use indirect jump to call
37515         __libc_start_main.
37517 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
37519         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
37521         * nptl/tst-mutex1.c: Include <stdbool.h>.
37522         [!ATTR] (ATTR_NULL): New macro.
37523         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
37524         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
37525         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
37527         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
37528         to char *.
37530         [BZ #17665]
37531         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
37532         Change conditional to [__USE_MISC].
37534         [BZ #17664]
37535         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
37536         fgets_unlocked.
37537         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
37538         __fgets_unlocked.
37539         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
37540         fgets_unlocked.
37541         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
37542         Remove variable.
37543         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
37544         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
37545         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
37546         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
37547         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
37548         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
37549         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
37550         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
37551         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
37553         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
37555 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37557         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37558         Remove strpbrk objects.
37559         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37560         (__libc_ifunc_impl_list): Remove strpbrk implementation.
37561         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
37562         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
37563         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
37564         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
37566         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37567         Remove strcspn objects.
37568         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37569         (__libc_ifunc_impl_list): Remove strcspn implementation.
37570         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
37571         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
37572         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
37573         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
37575         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37576         Remove strspn objetcs.
37577         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37578         (__libc_ifunc_impl_list): Remove strspn implementation.
37579         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
37580         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
37581         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
37582         * sysdeps/powerpc/powerpc64/strspn.S: New file.
37584 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
37586         [BZ #17581]
37587         * malloc/hooks.c
37588         (mem2mem_check): Add a terminator to the chain of checking blocks.
37589         (malloc_check_get_size): Use it here.
37590         (mem2chunk_check): Ditto.
37592 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
37594         * sysdeps/powerpc/powerpc64/strtok.S: New file.
37595         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
37597 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
37599         * bits/ioctl-types.h: Indent preprocessor directives correctly.
37601         * nptl/nptl-init.c: Include libc-internal.h.
37602         (__pthread_initialize_minimal_internal): Use ROUND_UP.
37604         * elf/ldconfig.c (search_dir): Expand comment.
37606 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
37608         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
37609         variable.
37610         (linknamespace-symlist-stdlibs-tests): Likewise.
37611         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
37612         instead of $(objpfx)symlist-stdlibs.
37613         (linknamespace-libs-isoc): New variable.
37614         (linknamespace-libs): Use $(linknamespace-libs-isoc).
37615         (linknamespace-libs-ISO): New variable.
37616         (linknamespace-libs-ISO99): Likewise.
37617         (linknamespace-libs-ISO11): Likewise.
37618         (linknamespace-libs-XPG3): Likewise.
37619         (linknamespace-libs-XPG4): Likewise.
37620         (linknamespace-libs-POSIX): Likewise.
37621         (linknamespace-libs-UNIX98): Likewise.
37622         (linknamespace-libs-XOPEN2K): Likewise.
37623         (linknamespace-libs-POSIX2008): Likewise.
37624         (linknamespace-libs-XOPEN2K8): Likewise.
37625         ($(objpfx)symlist-stdlibs): Replace by
37626         $(linknamespace-symlist-stdlibs-tests).  Use
37627         $(linknamespace-libs-$*) as set of libraries.
37628         ($(linknamespace-header-tests)): Update dependencies.  Use
37629         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
37630         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
37631         * conform/linknamespace.pl: Remove comment about considering
37632         definitions of symbols from irrelevant libraries.
37634 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
37636         [BZ #13862]
37637         * elf/dl-tls.c: Include <atomic.h>.
37638         (oom): Remove #ifdef SHARED/#endif.
37639         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
37640         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
37641         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
37642         big enough.
37643         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
37644         * nptl/Makefile (tests): Add tst-stack4.
37645         (modules-names): Add tst-stack4mod.
37646         ($(objpfx)tst-stack4): New.
37647         (tst-stack4mod.sos): Likewise.
37648         ($(objpfx)tst-stack4.out): Likewise.
37649         ($(tst-stack4mod.sos)): Likewise.
37650         (clean): Likewise.
37651         * nptl/tst-stack4.c: New file.
37652         * nptl/tst-stack4mod.c: Likewise.
37654 2014-11-27  J. Brown  <jb999@gmx.de>
37656         * sysdeps/x86/bits/string.h: Add recent CPUs.
37658 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
37660         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
37661         sigblock.
37663         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
37664         feof.
37666         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
37667         variable.
37669 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
37671         * nscd/connections.c: Include libc-internal.h because of macro
37672         usage ignore_value.
37674 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37676         * string/bits/string3.h (__warn_memset_zero_len): Don't
37677         declare for gcc newer than 5.0.
37678         (memset): Don't test for zero-length __LEN for gcc newer than
37679         5.0.
37681 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
37683         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
37684         size_t for %zu format.
37686         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
37687         difference, not %ju.
37689 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
37691         * include/libc-internal.h (ignore_value): New macro.
37692         * nscd/connections.c (restart): Wrap calls to setuid and setgid
37693         with ignore_value.
37695         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
37696         definition.
37698         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
37699         pthread_cleanup_push to void *.
37701         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
37702         Undefine.
37704         [BZ #16619]
37705         [BZ #16740]
37706         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
37707         instead of 1L << 52.
37709         * libio/bug-rewind.c (do_test): Check fwscanf return values.
37710         * libio/bug-rewind2.c (do_test): Likewise.
37712         * debug/test-stpcpy_chk-ifunc.c: Remove file.
37713         * debug/test-strcpy_chk-ifunc.c: Likewise.
37714         * wcsmbs/test-wcschr-ifunc.c: Likewise.
37715         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37716         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37717         * wcsmbs/test-wcslen-ifunc.c: Likewise.
37718         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37719         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37720         * Rules [$(multi-arch) = no] (tests): Do not filter out
37721         $(tests-ifunc).
37722         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
37723         * debug/Makefile (tests-ifunc): Remove variable.
37724         (tests): Do not add $(tests-ifunc).
37725         * wcsmbs/Makefile (tests-ifunc): Remove variable.
37726         (tests): Do not add $(tests-ifunc).
37727         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
37728         [TEST_IFUNC]: Remove conditionals.
37729         * string/test-string.h (TEST_IFUNC): Remove macro.
37730         [TEST_IFUNC]: Remove conditionals.
37732         * string/test-strchr.c [!WIDE] (L): New macro.
37733         [WIDE] (L): Likewise.
37734         (check1): Use CHAR instead of char.  Use L on string and character
37735         constants.
37737 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
37739         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
37740         tests.
37741         * sysdeps/powerpc/bits/atomic.h
37742         (__arch_atomic_exchange_and_add_32_acq): Add definition.
37743         (__arch_atomic_exchange_and_add_32_rel): Likewise.
37744         (atomic_exchange_and_add_acq): Likewise.
37745         (atomic_exchange_and_add_rel): Likewise.
37746         * sysdeps/powerpc/powerpc32/bits/atomic.h
37747         (__arch_atomic_exchange_and_add_64_acq): Add definition.
37748         (__arch_atomic_exchange_and_add_64_rel): Likewise.
37749         * sysdeps/powerpc/powerpc64/bits/atomic.h
37750         (__arch_atomic_exchange_and_add_64_acq): Add definition.
37751         (__arch_atomic_exchange_and_add_64_rel): Likewise.
37753 2014-11-26  Torvald Riegel  <triegel@redhat.com>
37755         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
37756         Change synchronization of __sched_fifo_min_prio and
37757         __sched_fifo_max_prio.
37758         * nptl/pthread_mutexattr_getprioceiling.c
37759         (pthread_mutexattr_getprioceiling): Likewise.
37760         * nptl/pthread_mutexattr_setprioceiling.c
37761         (pthread_mutexattr_setprioceiling): Likewise.
37762         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
37763         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
37764         Likewise.
37766 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
37768         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
37769         void.
37771 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
37773         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
37774         third argument const.
37776 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
37778         fnmatch: work around GCC compiler warning bug with uninit var
37779         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
37780         This works around a bug with x86-64 GCC 4.9.2 and earlier
37781         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
37782         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
37783         used uninitialized in this function [-Wmaybe-uninitialized]".
37785 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
37787         * posix/bug-regex31.c (main): Return RES not 0.
37789 2014-11-25  Anton Blanchard <anton@samba.org>
37791         * sysdeps/powerpc/bits/atomic.h
37792         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
37794 2014-11-24  Sterling Augustine  <saugustine@google.com>
37796         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
37798 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
37800         [BZ #17608]
37801         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
37803 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
37805         [BZ #17633]
37806         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
37807         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
37808         variable.
37809         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
37810         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
37812 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
37814         * string/strncpy.c (strncpy): Improve performance by using memset.
37816 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
37818         * string/strcpy.c (strcpy):
37819         Improve performance by using strlen and memcpy.
37821 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
37823         * string/strcoll_l.c (get_next_seq): __always_inline.
37824         * string/strcoll_l.c (do_compare): __always_inline.
37826 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37828         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
37829         defined.
37830         * include/mqueue.h: Likewise.
37831         * include/stdlib.h: Likewise.
37833         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
37834         (get_null_defines): Adjust.
37835         * sunrpc/Makefile: Adjust comment.
37836         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
37837         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
37838         (CFLAGS-interp.c): Likewise.
37839         (CFLAGS-ldconfig.c): Likewise.
37840         (CPPFLAGS-.os): Likewise.
37841         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
37842         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
37843         * extra-modules.mk (extra-modules.mk): Likewise.
37844         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
37845         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
37846         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
37847         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
37848         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
37849         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
37850         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
37851         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
37852         * iconvdata/Makefile (CPPFLAGS): Likewise.
37853         (cpp-srcs-left): Add libof for all iconvdata routines.
37854         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
37855         * include/assert.h: Likewise.
37856         * include/ctype.h: Likewise.
37857         * include/errno.h: Likewise.
37858         * include/libc-symbols.h: Likewise.
37859         * include/math.h: Likewise.
37860         * include/netdb.h: Likewise.
37861         * include/resolv.h: Likewise.
37862         * include/stdio.h: Likewise.
37863         * include/stdlib.h: Likewise.
37864         * include/string.h: Likewise.
37865         * include/sys/stat.h: Likewise.
37866         * include/wctype.h: Likewise.
37867         * intl/l10nflist.c: Likewise.
37868         * libidn/idn-stub.c: Likewise.
37869         * libio/libioP.h: Likewise.
37870         * nptl/libc_multiple_threads.c: Likewise.
37871         * nptl/pthreadP.h: Likewise.
37872         * posix/regex_internal.h: Likewise.
37873         * resolv/res_hconf.c: Likewise.
37874         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
37875         * sysdeps/arm/memmove.S: Likewise.
37876         * sysdeps/arm/sysdep.h: Likewise.
37877         * sysdeps/generic/_itoa.h: Likewise.
37878         * sysdeps/generic/symbol-hacks.h: Likewise.
37879         * sysdeps/gnu/errlist.awk: Likewise.
37880         * sysdeps/gnu/errlist.c: Likewise.
37881         * sysdeps/i386/i586/memcpy.S: Likewise.
37882         * sysdeps/i386/i586/memset.S: Likewise.
37883         * sysdeps/i386/i686/memcpy.S: Likewise.
37884         * sysdeps/i386/i686/memmove.S: Likewise.
37885         * sysdeps/i386/i686/mempcpy.S: Likewise.
37886         * sysdeps/i386/i686/memset.S: Likewise.
37887         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37888         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37889         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
37890         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
37891         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37892         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37893         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
37894         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37895         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37896         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37897         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37898         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37899         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37900         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37901         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37902         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37903         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
37904         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
37905         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
37906         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37907         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37908         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37909         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37910         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37911         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37912         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37913         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
37914         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37915         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
37916         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
37917         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37918         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37919         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37920         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37921         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37922         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
37923         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37924         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37925         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
37926         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
37927         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37928         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37929         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
37930         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
37931         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37932         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37933         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
37934         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
37935         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37936         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37937         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37938         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
37939         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
37940         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37941         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37942         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
37943         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37944         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
37945         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
37946         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37947         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37948         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37949         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
37950         * sysdeps/nptl/bits/libc-lock.h: Likewise.
37951         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
37952         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
37953         * sysdeps/posix/closedir.c: Likewise.
37954         * sysdeps/posix/opendir.c: Likewise.
37955         * sysdeps/posix/readdir.c: Likewise.
37956         * sysdeps/posix/rewinddir.c: Likewise.
37957         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
37958         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
37959         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
37960         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
37961         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
37962         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
37963         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
37964         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
37965         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
37966         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
37967         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
37968         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
37969         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
37970         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
37971         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
37972         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
37973         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
37974         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
37975         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
37976         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
37977         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
37978         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
37979         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
37980         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
37981         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
37982         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
37983         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
37984         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
37985         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
37986         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
37987         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
37988         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
37989         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
37990         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
37991         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
37992         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
37993         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
37994         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
37995         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
37996         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
37997         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
37998         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
37999         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
38000         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
38001         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
38002         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
38003         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
38004         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
38005         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
38006         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
38007         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
38008         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
38009         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
38010         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
38011         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
38012         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
38013         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
38014         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
38015         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
38016         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
38017         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
38018         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
38019         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
38020         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
38021         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
38022         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
38023         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
38024         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
38025         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
38026         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
38027         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
38028         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
38029         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
38030         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
38031         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
38032         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
38033         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
38034         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
38035         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
38036         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
38037         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
38038         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
38039         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
38040         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
38041         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
38042         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
38043         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
38044         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
38045         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
38046         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38047         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
38048         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
38049         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
38050         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38051         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38052         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
38053         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38054         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38055         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
38056         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
38057         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38058         * sysdeps/unix/alpha/sysdep.S: Likewise.
38059         * sysdeps/unix/alpha/sysdep.h: Likewise.
38060         * sysdeps/unix/make-syscalls.sh: Likewise.
38061         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
38062         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
38063         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
38064         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
38065         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
38066         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
38067         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
38068         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
38069         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
38070         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
38071         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
38072         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
38073         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38074         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
38075         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
38076         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38077         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
38078         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
38079         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
38080         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
38081         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
38082         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
38083         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
38084         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
38085         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
38086         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
38087         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
38088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
38089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
38090         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
38091         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
38092         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
38093         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38094         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38095         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
38096         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
38097         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38098         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38099         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
38100         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
38101         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
38102         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
38103         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38104         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
38105         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
38106         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
38107         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38108         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38109         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
38110         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38111         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
38112         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
38113         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
38114         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
38115         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
38116         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
38117         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
38118         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38119         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
38120         * sysdeps/x86_64/memcpy.S: Likewise.
38121         * sysdeps/x86_64/memmove.c: Likewise.
38122         * sysdeps/x86_64/memset.S: Likewise.
38123         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
38124         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38125         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
38126         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
38127         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
38128         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38129         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38130         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
38131         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
38132         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
38133         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
38134         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
38135         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
38136         * sysdeps/x86_64/multiarch/memset.S: Likewise.
38137         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38138         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
38139         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
38140         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
38141         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
38142         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
38143         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
38144         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
38145         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
38146         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
38147         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
38148         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
38149         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
38150         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
38151         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
38152         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
38153         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
38154         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
38155         * sysdeps/x86_64/strcmp.S: Likewise.
38157         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
38159         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
38160         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
38161         * elf/rtld-Rules: Likewise.
38162         * elf/setup-vdso.h: Likewise.
38163         * include/assert.h: Likewise.
38164         * include/bits/stdlib-float.h: Likewise.
38165         * include/errno.h: Likewise.
38166         * include/sys/stat.h: Likewise.
38167         * include/unistd.h: Likewise.
38168         * sysdeps/aarch64/setjmp.S: Likewise.
38169         * sysdeps/alpha/setjmp.S: Likewise.
38170         * sysdeps/arm/__longjmp.S: Likewise.
38171         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
38172         * sysdeps/arm/setjmp.S: Likewise.
38173         * sysdeps/arm/sysdep.h: Likewise.
38174         * sysdeps/generic/_itoa.h: Likewise.
38175         * sysdeps/generic/dl-sysdep.h: Likewise.
38176         * sysdeps/generic/ldsodefs.h: Likewise.
38177         * sysdeps/i386/dl-tls.h: Likewise.
38178         * sysdeps/i386/setjmp.S: Likewise.
38179         * sysdeps/m68k/setjmp.c: Likewise.
38180         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
38181         * sysdeps/mach/hurd/opendir.c: Likewise.
38182         * sysdeps/posix/getcwd.c: Likewise.
38183         * sysdeps/posix/opendir.c: Likewise.
38184         * sysdeps/posix/profil.c: Likewise.
38185         * sysdeps/powerpc/dl-procinfo.h: Likewise.
38186         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38187         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38188         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
38189         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
38190         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
38191         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
38192         * sysdeps/s390/dl-tls.h: Likewise.
38193         * sysdeps/s390/s390-32/setjmp.S: Likewise.
38194         * sysdeps/s390/s390-64/setjmp.S: Likewise.
38195         * sysdeps/sh/sh3/setjmp.S: Likewise.
38196         * sysdeps/sh/sh4/setjmp.S: Likewise.
38197         * sysdeps/unix/alpha/sysdep.h: Likewise.
38198         * sysdeps/unix/arm/sysdep.S: Likewise.
38199         * sysdeps/unix/i386/sysdep.S: Likewise.
38200         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
38201         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
38202         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
38203         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
38204         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38205         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
38206         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
38207         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
38208         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
38209         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
38210         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
38211         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
38212         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
38213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38215         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
38216         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38217         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38218         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
38219         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38220         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
38221         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38222         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38223         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
38224         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
38225         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
38226         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38227         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38228         * sysdeps/x86_64/setjmp.S: Likewise.
38230         * include/math.h: Use IS_IN instead of IS_IN_libm.
38231         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
38232         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38233         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38234         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
38235         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38236         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38237         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38238         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38239         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38240         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38241         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
38242         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
38243         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
38244         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
38245         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
38246         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
38247         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
38248         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
38249         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
38250         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
38251         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
38252         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
38253         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
38254         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
38255         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
38256         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
38257         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
38258         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
38259         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
38260         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
38261         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
38262         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
38263         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
38264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
38265         Likewise.
38266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
38267         Likewise.
38268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
38269         Likewise.
38270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
38271         Likewise.
38272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
38273         Likewise.
38274         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
38275         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
38276         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
38277         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38278         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38279         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
38281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
38282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
38283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
38284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
38285         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
38286         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
38287         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
38288         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
38289         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
38290         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
38291         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
38292         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
38293         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
38294         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
38295         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
38296         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
38297         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
38298         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
38299         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38300         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
38302         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
38303         * nptl/pthreadP.h: Likewise.
38304         * nptl_db/structs.def: Likewise.
38305         * sysdeps/arm/sysdep.h: Likewise.
38306         * sysdeps/nptl/bits/libc-lock.h: Likewise.
38307         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
38308         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
38309         * sysdeps/unix/alpha/sysdep.h: Likewise.
38310         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
38311         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
38312         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
38313         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
38314         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
38315         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
38316         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38317         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
38318         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
38319         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
38320         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
38321         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
38322         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
38323         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
38324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
38325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
38326         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
38327         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
38328         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
38329         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
38330         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
38331         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
38332         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
38333         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
38334         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
38335         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
38337         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
38338         * nptl/pthreadP.h: Likewise.
38339         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
38340         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
38341         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
38342         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
38343         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
38344         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
38345         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
38346         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
38347         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
38348         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
38349         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
38350         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
38351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
38352         Likewise.
38353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
38354         Likewise.
38355         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
38356         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
38357         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
38358         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
38359         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
38360         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
38361         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
38362         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
38364         * dlfcn/dladdr.c: Use IS_IN.
38365         * dlfcn/dladdr1.c: Likewise.
38366         * dlfcn/dlclose.c: Likewise.
38367         * dlfcn/dlerror.c: Likewise.
38368         * dlfcn/dlinfo.c: Likewise.
38369         * dlfcn/dlmopen.c: Likewise.
38370         * dlfcn/dlopen.c: Likewise.
38371         * dlfcn/dlsym.c: Likewise.
38372         * dlfcn/dlvsym.c: Likewise.
38374         * include/ifaddrs.h: Use IS_IN.
38375         * inet/check_pf.c: Likewise.
38376         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
38377         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
38379         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
38380         IS_IN_ldconfig.
38381         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
38382         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
38384         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
38385         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
38386         IS_IN (libc).
38388         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
38390         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
38391         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
38392         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
38393         * include/libc-symbols.h (IS_IN_LIB): New macro.
38394         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
38395         * include/netdb.h: Likewise.
38396         * include/stap-probe.h: Remove all uses of IN_LIB.
38398         * Makeconfig (module-cppflags-real): Define MODULE_NAME
38399         instead of IN_MODULE.
38400         * include/libc-symbols.h (IN_MODULE): Define using
38401         MODULE_NAME.
38402         (PASTE_NAME, PASTE_NAME1): New macros.
38403         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
38404         of IN_LIB.
38405         (STAP_PROBE_ASM): Likewise.
38407 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38409         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
38410         __mach_init in dlopened libc.
38412 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
38414         * sysdeps/arm/preconfigure.ac: Delete EABI check.
38415         * sysdeps/arm/preconfigure: Regenerate.
38417 2014-11-21  Roland McGrath  <roland@hack.frob.com>
38419         * nptl/pthread_create.c (__pthread_create_2_1): Set
38420         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
38421         when copying values from IATTR into PD.
38423 2014-11-21  Will Newton  <will.newton@linaro.org>
38424             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
38426         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
38427         Refactor inline-asm.  Also add comment.
38429         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
38430         ElfW macro instead of hardcoded Elf64 types.
38431         (la_aarch64_gnu_pltenter): Likewise.
38432         * sysdeps/aarch64/dl-machine.h
38433         (elf_machine_runtime_setup): Use ElfW(Addr).
38435         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
38436         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
38437         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
38438         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
38439         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
38440         (R_AARCH64_TLS_DTPMOD64): Rename to ..
38441         (R_AARCH64_TLS_DTPMOD): This.
38442         (R_AARCH64_TLS_DTPREL64): Rename to ...
38443         (R_AARCH64_TLS_DTPREL): This.
38444         (R_AARCH64_TLS_TPREL64): Rename to ...
38445         (R_AARCH64_TLS_TPREL): This.
38446         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
38447         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
38448         R_AARCH64_TLS_TPREL64.
38449         (elf_machine_rela): Likewise.
38451 2014-11-21  Torvald Riegel  <triegel@redhat.com>
38453         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
38454         by setting it to 0.  64b atomics are not supported currently.
38456 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
38458         [BZ #16469]
38459         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
38460         search domain names.
38462 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
38464         [BZ #16469]
38465         * NEWS: Update.
38466         * resolv/res_query.c (__libc_res_nquerydomain): Retain
38467         trailing dot.
38468         * posix/tst-getaddrinfo5.c: New.
38469         * posix/Makefile (tests): Add it.
38471 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
38473         [BZ #14498]
38474         * NEWS: Fixed.
38475         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
38476         after parsing line but before break_if_match.
38477         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
38478         if there is a protocol mismatch.
38480 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
38482         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
38483         because the potential race is on the user-supplied stream.
38485 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
38487         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
38488         string literal if not passed a buffer.
38489         * manual/job.texi (ctermid): Update reasoning, note deviation
38490         from posix, suggest mtasurace when not passed a buffer, for
38491         future non-preliminary safety notes.
38493 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
38495         * manual/users.texi (cuserid): Fix MT-Safety note for the case
38496         of not passing it a buffer.
38497         Reported by Peng Haitao.
38499 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
38501         * manual/Makefile ($(objpfx)stamp-summary): Require
38502         check-safety.sh to pass.
38503         * manual/check-safety.sh: Wish for verification that every
38504         @deftypefn and @deftypefun is followed by a @safety remark.
38506 2014-11-20  Roland McGrath  <roland@hack.frob.com>
38508         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
38510         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
38511         PTHREAD_CANCEL_ASYNCHRONOUS.
38512         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
38513         send SIGCANCEL.
38515         * nptl/default-sched.h: New file.
38516         * sysdeps/unix/sysv/linux/default-sched.h: New file.
38517         * nptl/pthread_create.c: Include it.
38518         (__pthread_create_2_1): Use collect_default_sched instead of making
38519         Linux syscalls here directly.
38521 2014-11-20  Torvald Riegel  <triegel@redhat.com>
38523         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
38524         __pthread_once): Use C11 atomics.
38526 2014-11-20  Torvald Riegel  <triegel@redhat.com>
38528         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
38530 2014-11-20  Torvald Riegel  <triegel@redhat.com>
38532         * include/atomic.h (__atomic_link_error, __atomic_check_size,
38533         atomic_thread_fence_acquire, atomic_thread_fence_release,
38534         atomic_thread_fence_seq_cst, atomic_load_relaxed,
38535         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
38536         atomic_compare_exchange_weak_relaxed,
38537         atomic_compare_exchange_weak_acquire,
38538         atomic_compare_exchange_weak_release,
38539         atomic_exchange_acquire, atomic_exchange_release,
38540         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
38541         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
38542         atomic_fetch_and_acquire,
38543         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
38545 2014-11-20  Torvald Riegel  <triegel@redhat.com>
38547         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
38548         USE_ATOMIC_COMPILER_BUILTINS): Define.
38549         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
38550         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38551         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
38552         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38553         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
38554         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38555         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
38556         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38557         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
38558         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38559         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
38560         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38561         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
38562         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38563         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
38564         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38565         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
38566         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38567         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
38568         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38569         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
38570         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38571         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
38572         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38573         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
38574         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38575         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
38576         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38577         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
38578         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38579         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
38580         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38581         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
38582         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38583         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
38584         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38585         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
38586         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38587         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
38588         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38590 2014-11-19  Roland McGrath  <roland@hack.frob.com>
38592         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
38593         the sched_priority value here.  It was already checked when the user
38594         called pthread_attr_setschedparam.
38596         * nptl/tst-bad-schedattr.c: New file.
38597         * nptl/Makefile (tests): Add it.
38599 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
38600             Florian Weimer  <fweimer@redhat.com>
38601             Joseph Myers  <joseph@codesourcery.com>
38602             Adam Conrad  <adconrad@0c3.net>
38603             Andreas Schwab  <schwab@suse.de>
38604             Brooks  <bmoses@google.com>
38606         [BZ #17625]
38607         * wordexp-test.c (__dso_handle): Add prototype.
38608         (__register_atfork): Likewise.
38609         (__app_register_atfork): New function.
38610         (registered_forks): New global.
38611         (register_fork): New function.
38612         (test_case): Add 3 new tests for WRDE_CMDSUB.
38613         (main): Call __app_register_atfork.
38614         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
38615         fork count is non-zero fail the test.
38616         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
38617         is set.
38618         (parse_dollars): Remove check for WRDE_NOCMD.
38619         (parse_dquote): Likewise.
38621 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38623         * Makeconfig (built-modules): List non-library modules to be
38624         built.
38625         (module-cppflags): Include libc-modules.h for
38626         everything except shlib-versions.v.i.
38627         (CPPFLAGS): Use it.
38628         (before-compile): Add libc-modules.h.
38629         ($(common-objpfx)libc-modules.h,
38630         $(common-objpfx)libc-modules.stmp): New targets.
38631         (common-generated): Add libc-modules.h and libc-modules.stmp.
38632         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
38633         * include/libc-symbols.h: Don't include libc-modules.h.
38634         * include/libc-modules.h: Remove file.
38635         * scripts/gen-libc-modules.awk: New script to generate
38636         libc-modules.h.
38637         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
38638         Depend on libc-modules.stmp.
38640         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
38642         * Makeconfig (in-module): Get value of libof set for the
38643         translation unit.
38644         (CPPFLAGS): Use $(in-module).
38645         * Makerules: Don't suffix routine names for nonlib.
38646         * include/libc-modules.h: New file.
38647         * include/libc-symbols.h: Include libc-modules.h
38648         (IS_IN): New macro to replace IS_IN_* macros.
38649         * elf/Makefile: Set libof-* for each routine.
38650         * elf/rtld-Rules: Likewise.
38651         * extra-modules.mk: Likewise.
38652         * iconv/Makefile: Likewise.
38653         * iconvdata/Makefile: Likewise.
38654         * locale/Makefile: Likewise.
38655         * malloc/Makefile: Likewise.
38656         * nss/Makefile: Likewise.
38657         * sysdeps/gnu/Makefile: Likewise.
38658         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
38659         * sysdeps/unix/sysv/linux/Makefile: Likewise.
38660         * sysdeps/s390/s390-64/Makefile: Likewise.
38661         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
38662         CPPFLAGS for nscd instead of nonlib.
38664 2014-11-18  Roland McGrath  <roland@hack.frob.com>
38666         * nptl/createthread.c: New file.
38668         * nptl/createthread.c: Moved ...
38669         * sysdeps/unix/sysv/linux/createthread.c: ... here.
38671         * nptl/createthread.c: Add proper top-line comment.
38672         (do_clone): Folded into ...
38673         (create_thread): ... here.  Take new arguments STOPPED_START and
38674         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
38675         increment __nptl_threads, do event-reporting logic, do
38676         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
38677         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
38678         resource cleanup if sched_setaffinity or sched_setscheduler fails,
38679         just send SIGCANCEL.
38680         * nptl/pthread_create.c: Forward-declare create_thread before
38681         including createthread.c.
38682         (start_thread): Use new macro START_THREAD_DEFN to replace defining
38683         declaration, and new macro START_THREAD_SELF to replace argument.
38684         Remove return statement.
38685         (report_thread_creation): New function.
38686         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
38687         synchronization logic, and __nptl_nthreads increment here, around
38688         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
38689         PD->parent_cancelhandling here, before create_thread.  When
38690         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
38691         __deallocate_stack, and ENOMEM translation here.
38693 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
38695         [BZ #17616]
38696         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
38697         (mptwo): Rename to __mptwo.
38698         (__inv): Use __mptwo instead of mptwo.
38699         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
38700         (mptwo): Rename to __mptwo.
38701         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
38702         of mpone and __mptwo instead of mptwo.
38703         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
38704         instead of mpone.
38705         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38706         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
38707         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
38708         of mpone and __mptwo instead of mptwo.
38709         (__mpranred): Use __mpone instead of mpone.
38710         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
38711         variable.
38712         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
38713         (test-xfail-ISO99/math.h/linknamespace): Likewise.
38714         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
38715         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
38716         (test-xfail-ISO11/math.h/linknamespace): Likewise.
38717         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
38718         (test-xfail-XPG3/math.h/linknamespace): Likewise.
38719         (test-xfail-XPG4/math.h/linknamespace): Likewise.
38720         (test-xfail-POSIX/math.h/linknamespace): Likewise.
38721         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
38722         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
38723         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
38724         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
38725         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
38726         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
38727         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
38728         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
38729         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
38730         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
38732 2014-11-18  Tom de Vries  <tom@codesoucery.com>
38734         * manual/signal.texi (Primitives Interrupted by Signals): In section,
38735         replace BSD Handler xref with BSD Signal Handling.
38737 2014-11-17  Richard Henderson  <rth@redhat.com>
38739         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
38740         (_FP_PACK_RAW_2): Remove.
38741         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
38742         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
38743         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
38744         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
38745         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
38746         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
38747         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
38748         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
38749         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
38750         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
38751         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
38752         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
38753         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
38754         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
38755         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
38756         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
38758 2014-11-14  Roland McGrath  <roland@hack.frob.com>
38760         * signal/signal.h [__USE_MISC]
38761         (struct sigvec): Remove type.
38762         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
38763         (sigvec): Remove declaration.
38764         * sysdeps/posix/sigvec.c: Moved ...
38765         * signal/sigvec.c: ... here, replacing old file.
38766         (struct sigvec): New type, copied from old signal.h definition.
38767         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
38768         (__sigvec): Convert definition to prototype.
38769         (sigvec): Replace weak_alias with compat_symbol.
38770         * signal/Versions (libc: GLIBC_2.21): New version set.
38771         * include/signal.h: Remove __sigvec declaration.
38772         * sysdeps/unix/bsd/sigvec.c: Remove file.
38773         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
38774         * manual/signal.texi (BSD Handler): Remove subsection.
38775         Move siginterrupt up to ...
38776         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
38777         (Blocking in BSD): Fold subsection into its parent.
38778         * NEWS: Mention sigvec removal.
38780 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
38782         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
38783         (DLA_FMS): Make definition conditional only on [__FMA4__].
38784         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
38785         definition.
38787         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
38788         Make definition conditional only on [PROF].
38789         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
38790         definition.
38791         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
38792         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
38794         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
38795         !__GNUC__].
38796         * include/signal.h (__sigpause): Move declaration above call to
38797         libc_hidden_proto.
38798         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
38799         variable.
38800         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
38801         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
38803 2014-11-14  David S. Miller  <davem@davemloft.net>
38805         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
38806         Define before including <string/memcpy.c> and <string/mempcpy.c>.
38808 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
38810         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
38811         * configure: Regenerated.
38812         * manual/install.texi (Tools for Compilation): Document a
38813         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
38814         compiler verified to work.
38815         * INSTALL: Regenerated.
38817         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
38818         redeclare with asm name.
38819         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
38820         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
38821         including <string.h>.
38822         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38823         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
38824         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38825         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
38826         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38827         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
38828         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38830 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
38832         * stdlib/strtol.c (__strtol): Use prototype definition.
38834         [BZ #17594]
38835         * stdlib/strtol.c (SYM__): New macro.
38836         (SYM__1): Likewise.
38837         (__strtol): Likewise.
38838         (strtol): Rename to __strtol and define as weak alias of
38839         __strtol.  Use libc_hidden_weak.
38841 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38843         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
38844         Use numbered labels in inline assembly.
38846 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38848         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
38849         Add setjmp LIBC_PROBE.
38850         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
38851         Likewise.
38852         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
38853         Add longjmp, longjmp_target LIBC_PROBE.
38854         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
38855         Likewise.
38857 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38859         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
38860         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
38861         to get rid of unused variable warning.
38863 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38865         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
38866         Check for unwind_backtrace ==  NULL only in SHARED case.
38867         (__backchain_backtrace): Compile only in SHARED case.
38868         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
38869         Likewise.
38870         (__backchain_backtrace): Declare as static.
38872 2014-11-12  Roland McGrath  <roland@hack.frob.com>
38874         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
38875         (__libc_multiple_threads_ptr): Variable moved ...
38876         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
38878 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
38880         * conform/GlibcConform.pm: New file.
38881         * conform/conformtest.pl: Use GlibcConform module.
38882         * conform/linknamespace.pl: New file.
38883         * conform/list-header-symbols.pl: Likewise.
38884         * conform/Makefile (linknamespace-symlists-base): New variable.
38885         (linknamespace-symlists-tests): Likewise.
38886         (linknamespace-header-base): Likewise.
38887         (linknamespace-header-tests): Likewise.
38888         (tests-special): Add new tests.
38889         ($(linknamespace-symlists-tests)): New rule.
38890         (linknamespace-libs): New variable.
38891         ($(objpfx)symlist-stdlibs): New rule.
38892         ($(linknamespace-header-tests)): Likewise.
38893         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
38894         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
38895         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
38896         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
38897         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
38898         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
38899         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
38900         (test-xfail-ISO/math.h/linknamespace): Likewise.
38901         (test-xfail-ISO/signal.h/linknamespace): Likewise.
38902         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
38903         (test-xfail-ISO/time.h/linknamespace): Likewise.
38904         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
38905         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
38906         (test-xfail-ISO99/math.h/linknamespace): Likewise.
38907         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
38908         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
38909         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
38910         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
38911         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
38912         (test-xfail-ISO11/math.h/linknamespace): Likewise.
38913         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
38914         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
38915         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
38916         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
38917         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
38918         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
38919         (test-xfail-XPG3/math.h/linknamespace): Likewise.
38920         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
38921         (test-xfail-XPG3/search.h/linknamespace): Likewise.
38922         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
38923         (test-xfail-XPG3/time.h/linknamespace): Likewise.
38924         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
38925         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
38926         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
38927         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
38928         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
38929         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
38930         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
38931         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
38932         (test-xfail-XPG4/math.h/linknamespace): Likewise.
38933         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
38934         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
38935         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
38936         (test-xfail-XPG4/search.h/linknamespace): Likewise.
38937         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
38938         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
38939         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
38940         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
38941         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
38942         (test-xfail-XPG4/time.h/linknamespace): Likewise.
38943         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
38944         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
38945         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
38946         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
38947         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
38948         (test-xfail-POSIX/math.h/linknamespace): Likewise.
38949         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
38950         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
38951         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
38952         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
38953         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
38954         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
38955         (test-xfail-POSIX/time.h/linknamespace): Likewise.
38956         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
38957         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
38958         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
38959         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
38960         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
38961         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
38962         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
38963         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
38964         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
38965         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
38966         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
38967         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
38968         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
38969         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
38970         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
38971         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
38972         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
38973         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
38974         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
38975         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
38976         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
38977         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
38978         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
38979         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
38980         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
38981         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
38982         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
38983         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
38984         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
38985         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
38986         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
38987         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
38988         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
38989         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
38990         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
38991         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
38992         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
38993         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
38994         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
38995         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
38996         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
38997         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
38998         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
38999         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
39000         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
39001         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
39002         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
39003         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
39004         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
39005         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
39006         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
39007         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
39008         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
39009         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
39010         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
39011         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
39012         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
39013         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
39014         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
39015         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
39016         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
39017         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
39018         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
39019         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
39020         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
39021         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
39022         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
39023         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
39024         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
39025         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
39026         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
39027         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
39028         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
39029         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
39030         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
39031         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
39032         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
39033         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
39034         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
39035         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
39036         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
39037         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
39038         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
39039         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
39040         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
39041         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
39042         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
39043         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
39044         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
39045         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
39046         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
39047         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
39048         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
39049         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
39050         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
39051         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
39052         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
39053         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
39055         [BZ #17589]
39056         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
39057         of fgets_unlocked.
39059         [BZ #17585]
39060         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
39061         (memmem): Rename to __memmem and define as weak alias of
39062         __memmem.  Use libc_hidden_weak.
39063         (__memmem): Use libc_hidden_def.
39064         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
39065         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
39066         memmem.
39068         [BZ #17582]
39069         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
39070         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
39071         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
39072         and define as weak alias of __fgets_unlocked.  Use
39073         libc_hidden_weak.
39074         (__fgets_unlocked): Use libc_hidden_def.
39075         * include/stdio.h (__fgets_unlocked): Declare.  Use
39076         libc_hidden_proto.
39077         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
39078         __fgets_unlocked instead of fgets_unlocked.
39079         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
39080         (GET_NPROCS_CONF_PARSER): Likewise.
39081         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
39082         (GET_NPROCS_CONF_PARSER): Likewise.
39084         [BZ #17574]
39085         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
39086         weak alias of __wmemset.  Use libc_hidden_weak.
39087         (__wmemset): Use libc_hidden_def.
39088         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
39089         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
39090         of wmemset.
39092         [BZ #17573]
39093         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
39094         with asm name __mempcpy.
39095         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
39097         [BZ #17572]
39098         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
39099         and define as weak alias of __rawmemchr.
39100         (__rawmemchr): Do not define as strong alias of rawmemchr.
39102         [BZ #17571]
39103         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
39104         alias of __qsort_r.
39105         (qsort): Call __qsort_r instead of qsort_r.
39106         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
39107         (__qsort_r): Declare.  Call libc_hidden_proto.
39108         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
39109         instead of qsort_r.
39110         * nscd/gai.c (__qsort_r): Define to qsort_r.
39111         * posix/tst-rfc3484.c (__qsort_r): Likewise.
39112         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
39113         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
39115         [BZ #17570]
39116         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
39117         define as weak alias of __malloc_info.
39119         [BZ #17584]
39120         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
39121         as weak alias of __rewinddir.  Don't use libc_hidden_def.
39122         (__rewinddir): Use libc_hidden_def.
39123         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
39124         as weak alias of __rewinddir.  Don't use libc_hidden_def.
39125         (__rewinddir): Use libc_hidden_def.
39126         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
39127         weak alias of __rewinddir.  Don't use libc_hidden_def.
39128         (__rewinddir): Use libc_hidden_def.
39129         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
39130         (__rewinddir): Use libc_hidden_proto.
39131         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
39132         rewinddir.
39133         (__getcwd): Use __rewinddir instead of rewinddir.
39135         [BZ #17583]
39136         * libio/fileno.c (fileno): Rename to __fileno and define as weak
39137         alias of __fileno.  Use libc_hidden_weak.
39138         (__fileno): Use libc_hidden_def.
39139         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
39140         * libio/ftello.c (ftello): Rename to __ftello and define as weak
39141         alias of __ftello.
39142         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
39143         __ftello.
39144         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
39145         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
39146         libc_hidden_def.
39147         (fread_unlocked): Don't use libc_hidden_ver.
39148         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
39149         and define as weak alias of __fread_unlocked.  Don't use
39150         libc_hidden_def.
39151         (__fread_unlocked): Use libc_hidden_def.
39152         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
39153         (ftello): Don't use libc_hidden_proto.
39154         (__ftello): Declare.  Use libc_hidden_proto.
39155         (fread_unlocked): Don't use libc_hidden_proto.
39156         (__fread_unlocked): Declare.  Use libc_hidden_proto.
39157         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
39158         and __ftello instead of fileno, fread_unlocked and ftello.
39160 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39162         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
39163         GOT12.
39164         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
39165         Likewise.
39166         (_dl_start_user): Likewise.
39167         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
39169 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
39170             Siddhesh Poyarekar  <siddhesh@redhat.com>
39172         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
39173         Move argv and envp down instead of moving argc up.
39174         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
39176 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
39178         [BZ #17506]
39179         * test-skeleton.c (main): Return successful if one of
39180         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
39181         * string/tst-strcoll-overflow.c: Define expected status.
39183 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
39185         [BZ #17475]
39186         * locale/iso-639.def: Define Bhili and Tulu language codes.
39188 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
39190         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
39192 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
39194         [BZ #17555]
39195         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
39197 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
39199         * configure.ac: Updated check of minimal required version to
39200         2.22.
39201         * manual/install.texi (Tools for Compilation): Updated version
39202         number.
39203         * configure: Regenerated.
39204         * INSTALL: Likewise.
39206 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
39208         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
39209         __tls_get_addr.
39211 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
39213         * include/sys/wait.h (__libc_waitpid): Remove declaration.
39214         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
39215         (__waitpid): Don't define as alias.  Use libc_hidden_def not
39216         libc_hidden_weak.
39217         (waitpid): Define as alias of __waitpid.
39218         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
39219         __waitpid.
39220         (__waitpid): Don't define as alias.  Use libc_hidden_def not
39221         libc_hidden_weak.
39222         (waitpid): Define as alias of __waitpid.
39223         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
39224         __libc_waitpid alias.
39225         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
39226         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
39227         Likewise.
39228         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
39229         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
39230         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
39231         alias.
39232         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
39233         __waitpid.
39234         (__waitpid): Don't define as alias.  Use libc_hidden_def not
39235         libc_hidden_weak.
39236         (waitpid): Define as alias of __waitpid.
39238 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
39240         * manual/llio.texi: Add comment that write safety has been
39241         fixed in Linux.
39243         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
39244         (localplt-build-dso): Add elf/ld.so.
39245         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
39246         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
39247         and free for ld.so.
39248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
39249         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
39250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
39251         Likewise.
39252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
39253         Likewise.
39254         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
39255         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
39256         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
39257         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
39258         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
39259         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
39260         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
39261         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
39262         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
39263         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
39264         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
39266 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
39268         [BZ #14132]
39269         * include/libc-symbols.h (INTUSE): Remove macro.
39270         (INTDEF): Likewise.
39271         (INTVARDEF): Likewise.
39272         (_INTVARDEF): Likewise.
39273         (INTDEF2): Likewise.
39274         (INTVARDEF2): Likewise.
39275         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
39276         rtld_hidden_def instead of INTVARDEF.
39277         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
39278         (_dl_starting_up_internal): Remove declaration.
39279         (_dl_starting_up): Use rtld_hidden_proto.
39280         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
39281         declaration.
39282         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
39283         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
39284         _dl_starting_up.
39285         * elf/dl-writev.h (_dl_writev): Likewise.
39286         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
39287         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
39288         _dl_starting_up_internal.
39290 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39292         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
39293         test-skeleton.c.
39295 2014-11-05  Will Newton  <will.newton@linaro.org>
39297         * benchtests/Makefile: (bench-malloc): Add malloc thread
39298         scalability benchmark.
39299         * benchtests/bench-malloc-threads.c: New file.
39301 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
39303         * sysdeps/aarch64/strchrnul.S: New file.
39305 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39307         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
39308         definition.
39309         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
39310         Likewise.
39311         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
39312         Likewise.
39313         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
39314         Likewise.
39315         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
39316         Likewise.
39317         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
39318         Likewise.
39320 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
39322         * catgets/test-gencat.c: Use test-skeleton.c.
39323         * catgets/tst-catgets.c: Likewise.
39324         * csu/tst-empty.c: Likewise.
39325         * elf/tst-audit2.c: Likewise.
39326         * elf/tst-global1.c: Likewise.
39327         * elf/tst-pathopt.c: Likewise.
39328         * elf/tst-piemod1.c: Likewise.
39329         * elf/tst-tls10.c: Likewise.
39330         * elf/tst-tls11.c: Likewise.
39331         * elf/tst-tls12.c: Likewise.
39332         * gnulib/tst-gcc.c: Likewise.
39333         * iconvdata/tst-e2big.c: Likewise.
39334         * iconvdata/tst-loading.c: Likewise.
39335         * iconv/tst-iconv1.c: Likewise.
39336         * iconv/tst-iconv2.c: Likewise.
39337         * inet/test-inet6_opt.c: Likewise.
39338         * inet/tst-gethnm.c: Likewise.
39339         * inet/tst-network.c: Likewise.
39340         * inet/tst-ntoa.c: Likewise.
39341         * intl/tst-codeset.c: Likewise.
39342         * intl/tst-gettext2.c: Likewise.
39343         * intl/tst-gettext3.c: Likewise.
39344         * intl/tst-ngettext.c: Likewise.
39345         * intl/tst-translit.c: Likewise.
39346         * io/test-stat.c: Likewise.
39347         * libio/test-fmemopen.c: Likewise.
39348         * libio/tst-freopen.c: Likewise.
39349         * libio/tst-sscanf.c: Likewise.
39350         * libio/tst-ungetwc1.c: Likewise.
39351         * libio/tst-ungetwc2.c: Likewise.
39352         * libio/tst-widetext.c: Likewise.
39353         * localedata/tst-ctype.c: Likewise.
39354         * localedata/tst-digits.c: Likewise.
39355         * localedata/tst-leaks.c: Likewise.
39356         * localedata/tst-mbswcs1.c: Likewise.
39357         * localedata/tst-mbswcs2.c: Likewise.
39358         * localedata/tst-mbswcs3.c: Likewise.
39359         * localedata/tst-mbswcs4.c: Likewise.
39360         * localedata/tst-mbswcs5.c: Likewise.
39361         * localedata/tst-setlocale.c: Likewise.
39362         * localedata/tst-trans.c: Likewise.
39363         * localedata/tst-wctype.c: Likewise.
39364         * localedata/tst-xlocale1.c: Likewise.
39365         * login/tst-grantpt.c: Likewise.
39366         * malloc/tst-calloc.c: Likewise.
39367         * malloc/tst-malloc.c: Likewise.
39368         * malloc/tst-mallocstate.c: Likewise.
39369         * malloc/tst-mcheck.c: Likewise.
39370         * malloc/tst-mtrace.c: Likewise.
39371         * malloc/tst-obstack.c: Likewise.
39372         * math/atest-exp2.c: Likewise.
39373         * math/atest-exp.c: Likewise.
39374         * math/atest-sincos.c: Likewise.
39375         * math/test-matherr.c: Likewise.
39376         * math/test-misc.c: Likewise.
39377         * math/test-powl.c: Likewise.
39378         * math/tst-definitions.c: Likewise.
39379         * misc/tst-dirname.c: Likewise.
39380         * misc/tst-efgcvt.c: Likewise.
39381         * misc/tst-fdset.c: Likewise.
39382         * misc/tst-hsearch.c: Likewise.
39383         * misc/tst-mntent2.c: Likewise.
39384         * nptl/tst-sem7.c: Likewise.
39385         * nptl/tst-sem8.c: Likewise.
39386         * nptl/tst-sem9.c: Likewise.
39387         * nss/test-netdb.c: Likewise.
39388         * posix/tst-fnmatch.c: Likewise.
39389         * posix/tst-getlogin.c: Likewise.
39390         * posix/tst-gnuglob.c: Likewise.
39391         * posix/tst-mmap.c: Likewise.
39392         * pwd/tst-getpw.c: Likewise.
39393         * resolv/tst-inet_ntop.c: Likewise.
39394         * rt/tst-timer.c: Likewise.
39395         * stdio-common/test-fseek.c: Likewise.
39396         * stdio-common/test-popen.c: Likewise.
39397         * stdio-common/test-vfprintf.c: Likewise.
39398         * stdio-common/tst-cookie.c: Likewise.
39399         * stdio-common/tst-fileno.c: Likewise.
39400         * stdio-common/tst-gets.c: Likewise.
39401         * stdio-common/tst-obprintf.c: Likewise.
39402         * stdio-common/tst-perror.c: Likewise.
39403         * stdio-common/tst-sprintf2.c: Likewise.
39404         * stdio-common/tst-sprintf3.c: Likewise.
39405         * stdio-common/tst-sprintf.c: Likewise.
39406         * stdio-common/tst-swprintf.c: Likewise.
39407         * stdio-common/tst-tmpnam.c: Likewise.
39408         * stdio-common/tst-unbputc.c: Likewise.
39409         * stdio-common/tst-wc-printf.c: Likewise.
39410         * stdlib/tst-environ.c: Likewise.
39411         * stdlib/tst-fmtmsg.c: Likewise.
39412         * stdlib/tst-limits.c: Likewise.
39413         * stdlib/tst-rand48-2.c: Likewise.
39414         * stdlib/tst-rand48.c: Likewise.
39415         * stdlib/tst-random2.c: Likewise.
39416         * stdlib/tst-random.c: Likewise.
39417         * stdlib/tst-strtol.c: Likewise.
39418         * stdlib/tst-strtoll.c: Likewise.
39419         * stdlib/tst-tls-atexit.c: Likewise.
39420         * stdlib/tst-xpg-basename.c: Likewise.
39421         * string/test-ffs.c: Likewise.
39422         * string/tst-bswap.c: Likewise.
39423         * string/tst-inlcall.c: Likewise.
39424         * string/tst-strtok.c: Likewise.
39425         * string/tst-strxfrm.c: Likewise.
39426         * sysdeps/x86_64/tst-audit10.c: Likewise.
39427         * sysdeps/x86_64/tst-audit3.c: Likewise.
39428         * sysdeps/x86_64/tst-audit4.c: Likewise.
39429         * sysdeps/x86_64/tst-audit5.c: Likewise.
39430         * time/tst-ftime_l.c: Likewise.
39431         * time/tst-getdate.c: Likewise.
39432         * time/tst-mktime3.c: Likewise.
39433         * time/tst-mktime.c: Likewise.
39434         * time/tst-posixtz.c: Likewise.
39435         * time/tst-strptime2.c: Likewise.
39436         * time/tst-strptime3.c: Likewise.
39437         * wcsmbs/tst-btowc.c: Likewise.
39438         * wcsmbs/tst-mbrtowc.c: Likewise.
39439         * wcsmbs/tst-mbsrtowcs.c: Likewise.
39440         * wcsmbs/tst-wchar-h.c: Likewise.
39441         * wcsmbs/tst-wcpncpy.c: Likewise.
39442         * wcsmbs/tst-wcrtomb.c: Likewise.
39443         * wcsmbs/tst-wcsnlen.c: Likewise.
39444         * wcsmbs/tst-wcstof.c: Likewise.
39446 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
39448         [BZ #14132]
39449         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
39450         INTDEF.
39451         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
39452         declaration.
39453         (_dl_mcount): Use rtld_hidden_proto.
39454         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
39455         _dl_mcount.
39456         * elf/rtld.c (_rtld_global_ro): Likewise.
39458         [BZ #14132]
39459         * elf/dl-init.c (_dl_init): Don't use INTDEF.
39460         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
39461         of _dl_init_internal.
39462         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
39463         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
39464         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
39465         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
39466         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
39467         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
39468         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
39469         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
39470         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
39471         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
39472         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
39473         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
39474         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39475         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39476         * sysdeps/tile/dl-start.S (_start): Likewise.
39477         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
39478         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
39480         [BZ #14132]
39481         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
39482         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
39483         (rtld_progname): Make macro definition unconditional.
39484         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
39485         INTDEF.
39486         (dlmopen_doit): Do not use INTUSE with _dl_argv.
39487         (dl_main): Likewise.
39488         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
39489         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
39490         instead of _dl_argv_internal.
39491         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
39492         __GI__dl_argv instead of INTUSE(_dl_argv).
39493         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
39494         __GI__dl_argv instead of _dl_argv_internal.
39496         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
39497         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
39498         macro.
39499         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
39500         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
39501         New macro.
39502         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
39503         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
39504         macro.
39505         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
39506         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
39508 2014-11-04  Andreas Schwab  <schwab@suse.de>
39510         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
39512 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39514         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
39515         mtvsrd instruction in binary form.
39517 2014-11-03  Andreas Schwab  <schwab@suse.de>
39519         [BZ #17522]
39520         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
39521         for less than MB_LEN_MAX use a local buffer of that size.
39522         * libio/tst-fputws.c: New file.
39523         * libio/Makefile (tests): Add tst-fputws.
39525 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
39527         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
39528         the size of the fpu_fr.fpu_dregs[] array.
39530 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
39532         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
39533         (__nanosleep): Do not define as alias.
39534         (nanosleep): Define as alias of __nanosleep.
39535         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
39536         __libc_nanosleep name.
39538 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
39540         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
39541         install.texi in comment.
39543 2014-10-31  Torvald Riegel  <triegel@redhat.com>
39545         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
39546         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
39547         ... add here and use lwsync or sync ...
39548         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
39549         ... and add here using lwsync.
39551 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
39553         * elf/dl-machine-reject-phdr.h: New file.
39554         * elf/dl-load.c: #include that.
39555         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
39556         if that returned true.
39558 2014-10-31  Roland McGrath  <roland@hack.frob.com>
39560         [BZ #17496]
39561         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
39562         gen-as-const-headers chunk.  Add a big scare comment after the last
39563         safe place to touch before-compile.
39565 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
39567         * manual/install.texi (Tools for Compilation): Update autoconf
39568         version requirements.
39569         * INSTALL: Regenerated.
39571         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
39572         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
39573         (__libc_pselect): Likewise.
39575         [BZ #14138]
39576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
39577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
39578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
39579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
39581 2014-10-31  Torvald Riegel  <triegel@redhat.com>
39583         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
39584         correct barrier instruction.
39585         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
39586         Likewise.
39587         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
39588         Likewise.
39590 2014-10-30  Roland McGrath  <roland@hack.frob.com>
39592         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
39593         after defining inlines.  Instead, just use parens to defeat macro
39594         expansion of __isctype in its declaration.
39596 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
39598         * include/sys/uio.h (__libc_readv): Remove declaration.
39599         (__libc_writev): Likewise.
39600         * misc/readv.c (__libc_readv): Rename to __readv.
39601         (__readv): Do not define as alias.
39602         (readv): Define as alias of __readv.
39603         * misc/writev.c (__libc_writev): Rename to __writev.
39604         (__writev): Do not define as alias.
39605         (writev): Define as alias of __writev.
39606         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
39607         (__readv): Do not define as alias.
39608         (readv): Define unconditionally as alias of __readv.
39609         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
39610         (__writev): Do not define as alias.
39611         (writev): Define unconditionally as alias of __writev.
39612         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
39613         name.
39614         (writev): Do not define __libc_writev name.
39616 2014-10-30  Roland McGrath  <roland@hack.frob.com>
39618         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
39619         (convert_charseq): New function, broken out of ...
39620         (use_from_charmap): ... here.  Call it.
39621         (use_to_charmap): Use convert_charseq and free instead of duplicating
39622         its code with a variable-length stack struct.
39624 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
39626         * include/fcntl.h (__libc_creat): Remove declaration.
39627         * io/creat.c (__libc_creat): Rename to creat.
39628         (creat): Do not define as alias.
39629         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
39630         of creat instead of __libc_creat.
39631         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
39632         to creat.
39633         (creat): Do not define as alias.
39634         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
39635         __libc_creat.
39636         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
39637         __libc_creat name.
39638         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
39639         Likewise.
39641 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
39643         * manual/llio.texi: Add comments discussing why write() may be
39644         considered MT-unsafe on Linux.
39646 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
39648         * dl-load.c (local_strdup): Remove.
39649         (expand_dynamic_string_token): Use __strdup.
39650         (decompose_rpath): Likewise.
39651         (_dl_map_object): Likewise.
39653 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
39655         [BZ #14132]
39656         * sysdeps/generic/unwind-dw2-fde.c
39657         (__register_frame_info_bases_internal): Do not declare.
39658         (__register_frame_info_table_bases_internal): Likewise.
39659         (__deregister_frame_info_bases_internal): Likewise.
39660         (__register_frame_info_bases): Declare and use hidden_proto before
39661         definition.  Use hidden_def instead of INTDEF.
39662         (__register_frame_info_table_bases): Likewise.
39663         (__deregister_frame_info_bases): Likewise.
39664         (__register_frame_info): Do not use INTUSE.
39665         (__register_frame): Likewise.
39666         (__register_frame_info_table): Likewise.
39667         (__register_frame_table): Likewise.
39668         (__deregister_frame_info): Likewise.
39669         (__deregister_frame): Likewise.
39671 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
39673         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39674         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
39675         not undefine.
39676         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
39677         Likewise.
39678         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
39679         Likewise.
39681 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
39683         [BZ #14138]
39684         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
39685         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
39686         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
39687         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
39688         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
39689         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
39690         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
39691         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
39692         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
39693         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
39694         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
39695         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
39696         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
39697         syscall.
39698         (setfsuid): Likewise.
39699         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
39700         (setfsuid): Likewise.
39701         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
39702         (setfsuid): Likewise.
39703         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
39704         Likewise.
39705         (setfsuid): Likewise.
39706         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
39707         (setfsuid): Likewise.
39708         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
39709         Likewise.
39710         (setfsuid): Likewise.
39712 2014-10-27  Andreas Schwab  <schwab@suse.de>
39714         [BZ #17501]
39715         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
39716         check for Slow_SSE4_2 feature bit.
39717         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
39718         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
39719         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
39720         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
39722 2014-10-24  Roland McGrath  <roland@hack.frob.com>
39724         * configure.ac: Validate compiler version with a empirical test of
39725         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
39726         $CC -v output.
39727         * configure: Regenerated.
39729         * inet/htons.c (htons): Prototypify.
39730         * inet/htonl.c (htonl): Likewise.
39732 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39734         * string/strncat.c (strncat): Improve performance by using strlen.
39736 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39738         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
39740 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39742         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
39743         Call libc_fetestexcept_aarch64.
39745 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39747         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
39748         Call libc_feholdexcept_aarch64.
39750 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39752         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
39753         Call get_rounding_mode.
39755 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39757         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
39758         Simplify logic.
39760 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39762         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
39763         Simplify logic.
39765 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
39767         [BZ #14138]
39768         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
39769         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
39770         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
39771         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
39772         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
39773         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
39774         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
39775         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
39776         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
39777         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
39778         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
39779         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
39780         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
39781         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
39782         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
39783         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
39784         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
39785         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
39786         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
39787         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
39788         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
39789         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
39790         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
39791         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
39792         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
39793         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
39794         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
39795         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
39796         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
39797         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
39798         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
39799         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
39800         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
39801         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
39802         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
39803         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
39804         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
39805         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
39806         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
39807         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
39808         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
39809         syscall.
39810         (geteuid): Likewise.
39811         (getgid): Likewise.
39812         (getuid): Likewise.
39813         (getresgid): Likewise.
39814         (getresuid): Likewise.
39815         (getgroups): Likewise.
39816         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
39817         (geteuid): Likewise.
39818         (getgid): Likewise.
39819         (getuid): Likewise.
39820         (getresgid): Likewise.
39821         (getresuid): Likewise.
39822         (getgroups): Likewise.
39823         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
39824         (geteuid): Likewise.
39825         (getgid): Likewise.
39826         (getuid): Likewise.
39827         (getresgid): Likewise.
39828         (getresuid): Likewise.
39829         (getgroups): Likewise.
39830         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
39831         Likewise.
39832         (geteuid): Likewise.
39833         (getgid): Likewise.
39834         (getuid): Likewise.
39835         (getresgid): Likewise.
39836         (getresuid): Likewise.
39837         (getgroups): Likewise.
39838         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
39839         (geteuid): Likewise.
39840         (getgid): Likewise.
39841         (getuid): Likewise.
39842         (getresgid): Likewise.
39843         (getresuid): Likewise.
39844         (getgroups): Likewise.
39845         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
39846         Likewise.
39847         (geteuid): Likewise.
39848         (getgid): Likewise.
39849         (getuid): Likewise.
39850         (getgroups): Likewise.
39852         [BZ #14138]
39853         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
39854         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
39855         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
39856         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
39857         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
39858         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
39859         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
39860         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
39861         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
39862         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
39863         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
39864         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
39865         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
39866         __chown.
39867         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
39868         (lchown): Likewise.
39869         (fchown): Likewise.
39870         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
39871         Likewise.
39872         (lchown): Likewise.
39873         (fchown): Likewise.
39874         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
39875         (lchown): Likewise.
39876         (fchown): Likewise.
39877         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
39878         Likewise.
39879         (lchown): Likewise.
39880         (fchown): Likewise.
39882 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39884         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
39885         Simplify logic.
39887 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39889         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
39890         Cleanup logic.
39892 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39894         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
39895         Remove unused include.
39897 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39899         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
39900         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
39901         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
39902         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
39904 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
39905             Helge Deller <deller@gmx.de>
39907         [BZ #17508]
39908         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
39909         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
39910         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
39912 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
39914         [BZ #14132]
39915         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
39916         Remove macro definition.
39917         (__ashrdi3_v_glibc20): Likewise.
39918         (__lshrdi3_v_glibc20): Likewise.
39919         (__cmpdi2_v_glibc20): Likewise.
39920         (__ucmpdi2_v_glibc20): Likewise.
39921         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
39922         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
39923         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
39924         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
39925         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
39926         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
39928 2014-10-22  Roland McGrath  <roland@hack.frob.com>
39930         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
39931         old GNU extension [0] syntax.
39932         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
39933         alloca rather than an array member with variable length.
39934         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
39935         * nscd/nscd.c (invalidate_db): New function, broken out of ...
39936         (parse_opt): ... here.  Likewise use alloca there.
39937         Validate the -i argument before checking for rootness.
39938         (send_shutdown): New function, broken out of ...
39939         (parse_opt): ... here.
39941 2014-10-22  Roland McGrath  <roland@hack.frob.com>
39943         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
39944         macro to get at the _rt_local_ro field.
39945         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
39946         ([PIC] case) or _dl_hwcap ([!PIC] case).
39947         * sysdeps/arm/setjmp.S: Likewise.
39949         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
39950         * sysdeps/arm/configure.ac: New check to define it.
39951         * sysdeps/arm/configure: Regenerated.
39952         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
39953         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
39954         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
39955         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
39956         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
39957         Use move/movt pair instead of a load.
39958         (LDST_GLOBAL): Macro removed.
39959         (LDR_GLOBAL): New macro replaces it.
39960         (LDR_HIDDEN): New macro.
39961         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
39962         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
39964         * setjmp/tst-setjmp-static.c: New file.
39965         * setjmp/Makefile (tests): Add it.
39966         (tests-static): New variable.
39968 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
39970         [BZ #17485]
39971         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
39973 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
39975         [BZ #14132]
39976         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
39978 2014-10-21  Roland McGrath  <roland@hack.frob.com>
39980         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
39982 2014-10-20  Roland McGrath  <roland@hack.frob.com>
39984         * io/fts.c (dirent_not_directory): New function.
39985         (fts_build): Call it.
39987 2014-10-20  Roland McGrath  <roland@hack.frob.com>
39989         * nptl/version.c (__nptl_main): Use normal __write rather than
39990         INTERNAL_SYSCALL.
39991         (banner): Update copyright years.
39993         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
39994         gettimeofday.
39995         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
39996         * nptl/pthread_cond_timedwait.c: Likewise.
39997         * nptl/pthread_mutex_timedlock.c: Likewise.
39998         * nptl/sem_timedwait.c: Likewise.
40000         * sysdeps/nptl/bits/libc-lock.h
40001         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
40002         (__libc_lock_init_recursive): Return void, not 0.
40003         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
40004         (__libc_rwlock_init): Likewise.
40005         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
40007 2014-10-20  Torvald Riegel  <triegel@redhat.com>
40009         [BZ #15215]
40010         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
40011         (__pthread_once_slow): ... here.
40012         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
40013         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
40015 2014-10-20  Torvald Riegel  <triegel@redhat.com>
40017         [BZ #15215]
40018         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
40019         __PTHREAD_ONCE_FORK_GEN_INCR): New.
40020         * sysdeps/nptl/fork.c (__libc_fork): Use them.
40021         * nptl/pthread_once.c (__pthread_once): Likewise.
40022         Update comments.
40024 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
40026         [BZ #14138]
40027         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
40028         name.
40029         (writev): Use __libc_writev as strong name.
40030         * sysdeps/unix/sysv/linux/readv.c: Remove file.
40031         * sysdeps/unix/sysv/linux/writev.c: Likewise.
40033 2014-10-17  Roland McGrath  <roland@hack.frob.com>
40035         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
40037         * sysdeps/i386/nptl/tls.h
40038         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
40039         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
40040         New macros.
40041         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
40042         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
40043         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
40044         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
40045         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
40046         Call CHECK_THREAD_SYSINFO instead of doing an assert.
40048         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
40049         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
40050         on [__NR_futex].
40051         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
40052         broken out of ...
40053         (__pthread_mutex_init): ... here.  Call it.
40054         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
40055         Conditionalize PI cases on [__NR_futex].
40056         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
40057         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
40058         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
40060         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
40061         conditional on [SIGSETXID].
40062         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
40063         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
40064         is defined.  Likewise for SIGSETXID.
40065         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
40066         Conditionalize definitions on [SIGSETXID].
40067         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
40068         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
40069         unblocking on [SIGCANCEL].
40071         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
40072         [__NR_set_robust_list].
40074 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
40076         * string/strcoll_l.c (get_next_seq): Fix up formatting.
40077         (do_compare): Likewise.
40079 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
40081         [BZ #15884]
40082         * string/strcoll_l.c: Don't include stdio.h.
40083         (coll_seq): Remove members idxarr and rulearr.
40084         (get_next_seq_cached): Remove function.
40085         (get_next_seq): Likewise.
40086         (get_next_seq_nocache): Rename to get_next_seq.
40087         (do_compare): Remove function.
40088         (do_compare_nocache): Rename to do_compare.
40089         (STRCOLL): Remove weight and rules cache.
40091 2014-10-16  Roland McGrath  <roland@hack.frob.com>
40093         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
40094         * sysdeps/arm/sfp-machine.h: ... to here.
40095         * sysdeps/arm/Implies: Remove arm/soft-fp.
40097 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
40099         * conform/data/sys/utsname.h-data (*_t): Allow.
40100         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
40101         [POSIX] (WEXITED): Do not expect constant.
40102         [POSIX] (WSTOPPED): Likewise.
40103         [POSIX] (WNOHANG): Likewise.
40104         [POSIX] (WNOWAIT): Likewise.
40105         [POSIX] (siginfo_t): Do not expect type or elements.
40106         [POSIX] (pid_t): Do not expect type.
40107         [POSIX] (signal.h): Do not allow header.
40108         [POSIX] (sys/resource.h): Likewise.
40109         [POSIX] (si_*): Do not allow pattern.
40110         [POSIX] (W*): Likewise.
40111         [POSIX] (P_*): Likewise.
40112         [POSIX] (BUS_*): Likewise.
40113         [POSIX] (CLD_*): Likewise.
40114         [POSIX] (FPE_*): Likewise.
40115         [POSIX] (ILL_*): Likewise.
40116         [POSIX] (POLL_*): Likewise.
40117         [POSIX] (SEGV_*): Likewise.
40118         [POSIX] (SI_*): Likewise.
40119         [POSIX] (TRAP_*): Likewise.
40120         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
40121         variable.
40123 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
40125         [BZ #12926]
40126         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
40127         infinite loop when __recvmsg returns 0.
40129 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
40131         * CANCEL-FCT-WAIVE: Remove file.
40132         * CANCEL-FILE-WAIVE: Likewise.
40134         [BZ #14132]
40135         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
40136         instead of INTVARDEF.
40137         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
40138         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
40139         rtld_hidden_data_def instead of INTVARDEF.
40140         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
40141         * elf/dl-deps.c (expand_dst): Likewise.
40142         * elf/dl-load.c (_dl_dst_count): Likewise.
40143         (_dl_dst_substitute): Likewise.
40144         (decompose_rpath): Likewise.
40145         (_dl_init_paths): Likewise.
40146         (open_path): Likewise.
40147         (_dl_map_object): Likewise.
40148         * elf/rtld.c (dl_main): Likewise.
40149         (process_dl_audit): Likewise.
40150         (process_envvars): Likewise.
40151         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
40152         Remove declaration.
40153         (__libc_enable_secure): Use rtld_hidden_proto.
40155 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40157         * elf/dl-load.c
40158         (add_path): New function broken out of _dl_rtld_di_serinfo.
40159         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
40161 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
40163         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
40164         parentheses around macro arguments.
40165         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
40166         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
40167         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
40168         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
40169         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
40170         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
40171         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
40172         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
40173         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
40174         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
40175         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
40176         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
40177         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
40178         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
40179         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
40180         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
40181         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
40182         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
40183         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
40184         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
40185         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
40186         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
40187         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
40188         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
40189         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
40190         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
40191         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
40192         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
40193         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
40194         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
40195         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
40196         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
40197         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
40198         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
40199         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
40200         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
40201         Likewise.
40202         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
40203         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
40204         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
40205         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
40206         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
40207         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
40208         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
40209         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
40210         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
40211         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
40212         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
40213         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
40214         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
40215         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
40216         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
40217         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
40218         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
40219         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
40220         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
40221         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
40222         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
40223         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
40224         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
40225         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
40226         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
40227         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
40228         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
40229         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
40230         (_FP_FRAC_SRS_1): Likewise.
40231         (_FP_FRAC_CLZ_1): Likewise.
40232         (_FP_MUL_MEAT_1_imm): Likewise.
40233         (_FP_MUL_MEAT_1_wide): Likewise.
40234         (_FP_MUL_MEAT_1_hard): Likewise.
40235         (_FP_SQRT_MEAT_1): Likewise.
40236         (_FP_FRAC_ASSEMBLE_1): Likewise.
40237         (_FP_FRAC_DISASSEMBLE_1): Likewise.
40238         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
40239         (__FP_CLZ_2): Likewise.
40240         (_FP_MUL_MEAT_2_wide): Likewise.
40241         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
40242         (_FP_MUL_MEAT_2_gmp): Likewise.
40243         (_FP_MUL_MEAT_2_120_240_double): Likewise.
40244         (_FP_SQRT_MEAT_2): Likewise.
40245         (_FP_FRAC_ASSEMBLE_2): Likewise.
40246         (_FP_FRAC_DISASSEMBLE_2): Likewise.
40247         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
40248         (_FP_FRAC_CLZ_4): Likewise.
40249         (_FP_MUL_MEAT_4_wide): Likewise.
40250         (_FP_MUL_MEAT_4_gmp): Likewise.
40251         (_FP_SQRT_MEAT_4): Likewise.
40252         (_FP_FRAC_ASSEMBLE_4): Likewise.
40253         (_FP_FRAC_DISASSEMBLE_4): Likewise.
40254         * soft-fp/op-common.h (_FP_CMP): Likewise.
40255         (_FP_CMP_EQ): Likewise.
40256         (_FP_CMP_UNORD): Likewise.
40257         (_FP_TO_INT): Likewise.
40258         (_FP_FROM_INT): Likewise.
40259         [!__FP_CLZ] (__FP_CLZ): Likewise.
40260         (_FP_DIV_HELP_imm): Likewise.
40261         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
40262         Likewise.
40263         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
40264         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
40265         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
40266         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
40267         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
40268         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
40269         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
40270         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
40271         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
40272         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
40273         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
40274         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
40275         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
40276         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
40277         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
40278         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
40279         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
40280         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
40281         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
40282         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
40283         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
40284         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
40285         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
40286         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
40287         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
40288         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
40289         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
40290         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
40291         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
40292         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
40293         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
40294         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
40295         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
40296         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
40297         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
40298         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
40299         (FP_UNPACK_RAW_SP): Likewise.
40300         (FP_PACK_RAW_S): Likewise.
40301         (FP_PACK_RAW_SP): Likewise.
40302         (FP_UNPACK_S): Likewise.
40303         (FP_UNPACK_SP): Likewise.
40304         (FP_UNPACK_SEMIRAW_S): Likewise.
40305         (FP_UNPACK_SEMIRAW_SP): Likewise.
40306         (FP_PACK_S): Likewise.
40307         (FP_PACK_SP): Likewise.
40308         (FP_PACK_SEMIRAW_S): Likewise.
40309         (FP_PACK_SEMIRAW_SP): Likewise.
40310         (_FP_SQRT_MEAT_S): Likewise.
40311         (FP_CMP_S): Likewise.
40312         (FP_CMP_EQ_S): Likewise.
40313         (FP_CMP_UNORD_S): Likewise.
40314         (FP_TO_INT_S): Likewise.
40315         (FP_FROM_INT_S): Likewise.
40317         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
40319         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
40320         (FP_EX_INVALID_IMZ): Likewise.
40321         (FP_EX_INVALID_IMZ_FMA): Likewise.
40322         (FP_EX_INVALID_ISI): Likewise.
40323         (FP_EX_INVALID_ZDZ): Likewise.
40324         (FP_EX_INVALID_IDI): Likewise.
40325         (FP_EX_INVALID_SQRT): Likewise.
40326         (FP_EX_INVALID_CVI): Likewise.
40327         (FP_EX_INVALID_VC): Likewise.
40328         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
40329         "invalid" exceptions.
40330         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
40331         (_FP_ADD_INTERNAL): Likewise.
40332         (_FP_MUL): Likewise.
40333         (_FP_FMA): Likewise.
40334         (_FP_DIV): Likewise.
40335         (_FP_CMP_CHECK_NAN): Likewise.
40336         (_FP_SQRT): Likewise.
40337         (_FP_TO_INT): Likewise.
40338         (FP_EXTEND): Likewise.
40340 2014-10-09  Allan McRae  <allan@archlinux.org>
40342         * po/fr.po: Update French translation from translation project.
40344 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
40346         [BZ #14132]
40347         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
40348         of INTDEF.
40349         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
40350         (__cxa_atexit): Use libc_hidden_proto.
40351         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
40353         [BZ #14132]
40354         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
40355         declaration.
40356         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
40357         [!_ISOMAC] (__iswspace_l_internal): Likewise.
40358         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
40359         [!_ISOMAC] (__iswctype_internal): Likewise.
40360         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
40361         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
40362         alias.
40363         (fcntl): Remove __fcntl_internal alias.
40364         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
40365         __connect_internal alias.
40366         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
40367         Likewise.
40369         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
40370         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
40371         FP_DENORM_ZERO.
40372         (_FP_CHECK_FLUSH_ZERO): New macro.
40373         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
40374         (_FP_CMP): Likewise.
40375         (_FP_CMP_EQ): Likewise.
40376         (_FP_TO_INT): Do not set inexact for subnormal arguments if
40377         FP_DENORM_ZERO.
40378         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
40379         (FP_TRUNC): Likewise.
40381         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
40382         treated as invalid conversion, not as normal exponent.
40384         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
40385         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
40386         (_FP_CMP_EQ): Likewise.
40387         (_FP_CMP_UNORD): Likewise.
40388         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
40389         (FP_CMP_EQ_D): Likewise.
40390         (FP_CMP_UNORD_D): Likewise.
40391         * soft-fp/extended.h (FP_CMP_E): Likewise.
40392         (FP_CMP_EQ_E): Likewise.
40393         (FP_CMP_UNORD_E): Likewise.
40394         * soft-fp/quad.h (FP_CMP_Q): Likewise.
40395         (FP_CMP_EQ_Q): Likewise.
40396         (FP_CMP_UNORD_Q): Likewise.
40397         * soft-fp/single.h (FP_CMP_S): Likewise.
40398         (FP_CMP_EQ_S): Likewise.
40399         (FP_CMP_UNORD_S): Likewise.
40400         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
40401         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
40402         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
40403         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
40404         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
40405         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
40406         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
40407         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
40408         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
40409         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
40410         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
40411         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
40412         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
40413         to FP_CMP_Q.
40414         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
40415         FP_CMP_Q.
40416         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
40417         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
40418         FP_CMP_EQ_Q.
40419         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
40420         FP_CMP_Q.
40421         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
40422         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
40423         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
40424         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
40425         FP_CMP_EQ_Q.
40426         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
40427         FP_CMP_Q.
40428         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
40429         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
40430         FP_CMP_EQ_Q.
40431         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
40432         FP_CMP_Q.
40433         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
40434         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
40435         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
40436         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
40437         FP_CMP_EQ_Q.
40439         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
40440         a subnormal result, set the underflow exception if trapping on
40441         underflow is enabled.
40442         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
40443         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
40444         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
40445         redefine to 0.
40446         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
40447         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
40448         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
40449         * soft-fp/extendxftf2.c (__extendxftf2): Use
40450         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
40452         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
40453         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
40454         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
40455         FP_HANDLE_EXCEPTIONS.
40456         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
40457         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
40458         FP_HANDLE_EXCEPTIONS.
40459         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
40460         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
40461         FP_HANDLE_EXCEPTIONS.
40462         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
40463         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
40464         FP_HANDLE_EXCEPTIONS.
40466 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
40468         [BZ #14132]
40469         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
40470         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
40471         use INTUSE.
40472         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
40473         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
40474         Remove alias.
40475         (__adjtimex): Define using libc_hidden_ver.
40476         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
40477         Remove declaration.
40478         (ntp_gettime): Call __adjtimex directly.
40479         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
40480         Remove declaration.
40481         (ntp_gettimex): Call __adjtimex directly.
40482         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
40483         __adjtimex_internal alias.
40485 2014-10-08  Roland McGrath  <roland@hack.frob.com>
40487         [BZ #17460]
40488         * nscd/nscd.c (more_help): Rewrite list of tables collection
40489         using xstrdup and asprintf.
40491         * nscd/nscd_conf.c: Remove local xstrdup declaration.
40493 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40494             Roland McGrath  <roland@hack.frob.com>
40496         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
40497         (do_lookup_unique): ... local function 'enter' here; update callers.
40499 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
40501         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
40502         compat_symbol calls on [SHARED].
40503         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
40504         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
40505         Remove.
40506         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
40507         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
40508         (oldsetrlimit): Remove.
40509         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
40510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
40511         (lchown): New syscall entry.
40512         (oldsetrlimit): Remove.
40513         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
40514         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
40515         (oldsetrlimit): Remove.
40516         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
40518         [BZ #14138]
40519         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
40520         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
40521         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
40522         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
40523         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
40524         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
40525         (fchown): Likewise.
40526         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
40527         (fchown): Likewise.
40528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
40529         Likewise.
40531 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40533         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
40534         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
40535         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
40536         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
40537         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
40538         Likewise.
40539         (__old_sem_post): Likewise.
40541 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
40543         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
40544         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
40545         HAVE_CLOCK_GETTIME_VSYSCALL macros.
40546         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
40547         Use INLINE_VSYSCALL macro.
40548         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
40549         __vdso_clock_gettime.
40550         * sysdeps/unix/sysv/linux/tile/init-first.c
40551         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
40552         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
40553         __vdso_clock_gettime.
40555         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
40556         to set up frame more cleanly.
40558         * sysdeps/tile/memcmp.c: New file.
40560         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
40562         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
40563         * sysdeps/tile/tilegx/strcasestr.c: New file.
40564         * sysdeps/tile/tilegx/strnlen.c: New file.
40565         * sysdeps/tile/tilegx/strstr.c: New file.
40567         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
40569 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
40571         * nptl/tst-setuid3.c: Write errors to stdout.
40573 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40575         * elf/dl-deps.c
40576         (preload): New functions broken out of _dl_map_object_deps.
40577         (_dl_map_object_deps):  Remove a nested function. Update call sites.
40579 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
40581         [BZ #14138]
40582         * sysdeps/unix/sysv/linux/execve.c: Remove file.
40583         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
40585 2014-10-01  Steve Ellcey  <sellcey@mips.com>
40587         * sysdeps/mips/strcmp.S: New.
40589 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
40591         [BZ #14138]
40592         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
40593         (linkat): Likewise.
40594         (mkdirat): Likewise.
40595         (readlinkat): Likewise.
40596         (renameat): Likewise.
40597         (symlinkat): Likewise.
40598         (unlinkat): Likewise.
40599         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
40600         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
40601         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
40602         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
40603         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
40604         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
40605         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
40607 2014-09-30  Will Newton  <will.newton@linaro.org>
40609         * math/math.h: Define long double math functions if
40610         _LIBC_TEST is defined.
40611         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
40613         * localedata/Makefile: Move assignment to tests-special
40614         into an ifdef testing run-built-tests.
40615         * timezone/Makefile: Likewise.
40617 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
40619         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
40620         with $(BASH) not $(SHELL).
40622 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
40623             Matthew LeGendre  <legendre1@llnl.gov>
40625         [BZ #17411]
40626         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
40627         l_reloc_result.
40629 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40631         * stdio-common/printf_fp.c
40632         (hack_digit): New function, broken out of ...
40633         (__printf_fp): ... local function here.  Update call sites.
40634         hack_digit now takes an additional parameter that is a pointer
40635         to a struct of the referenced locals.  Those locals moved inside
40636         the struct and references updated.
40638 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
40640         * aclocal.m4: Require autoconf 2.69.
40641         * configure: Regenerated.
40642         * sysdeps/aarch64/configure: Likewise.
40643         * sysdeps/alpha/configure: Likewise.
40644         * sysdeps/arm/armv7/configure: Likewise.
40645         * sysdeps/arm/configure: Likewise.
40646         * sysdeps/ia64/configure: Likewise.
40647         * sysdeps/mach/configure: Likewise.
40648         * sysdeps/mips/configure: Likewise.
40649         * sysdeps/s390/configure: Likewise.
40650         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
40651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
40653         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
40654         file.
40655         * sysdeps/ia64/configure.ac: Likewise.
40657 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
40659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
40660         specify symbol version for ld.so.  Do not include entry for
40661         libpthread.
40662         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
40663         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
40664         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
40666         [BZ #14171]
40667         * Makeconfig [$(build-shared) = yes]
40668         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
40669         makefiles.
40670         [$(build-shared) = yes && $(soversions.mk-done) = t]
40671         ($(common-objpfx)gnu/lib-names.h): Remove rule.
40672         [$(build-shared) = yes && $(soversions.mk-done) = t]
40673         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
40674         to Makerules.
40675         [$(build-shared) = yes && $(soversions.mk-done) = t]
40676         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
40677         here.
40678         [$(build-shared) = yes && $(soversions.mk-done) = t]
40679         (common-generated): Don't append gnu/lib-names.h and
40680         gnu/lib-names.stmp here.
40681         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
40682         (lib-names-h-abi): New variable.
40683         [$(build-shared) = yes && $(soversions.mk-done) = t]
40684         (lib-names-stmp-abi): Likewise.
40685         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40686         abi-variants] (before-compile): Append
40687         $(common-objpfx)$(lib-names-h-abi).
40688         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40689         abi-variants] (common-generated): Append gnu/lib-names.h.
40690         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40691         abi-variants] (install-others-nosubdir): Depend on
40692         $(inst_includedir)/$(lib-names-h-abi).
40693         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40694         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
40695         [$(build-shared) = yes && $(soversions.mk-done) = t]
40696         ($(common-objpfx)$(lib-names-h-abi)): New rule.
40697         [$(build-shared) = yes && $(soversions.mk-done) = t]
40698         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
40699         [$(build-shared) = yes && $(soversions.mk-done) = t]
40700         (common-generated): Append $(lib-names-h-abi) and
40701         $(lib-names-stmp-abi).
40702         * scripts/lib-names.awk: Do not handle multi being set.
40703         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
40704         Remove variable.
40705         (abi-lp64_be-ld-soname): Likewise.
40706         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
40707         Likewise.
40708         (abi-hard-ld-soname): Likewise.
40709         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
40710         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
40711         Remove variable.
40712         (abi-o32_hard-ld-soname): Likewise.
40713         (abi-o32_soft_2008-ld-soname): Likewise.
40714         (abi-o32_hard_2008-ld-soname): Likewise.
40715         (abi-n32_soft-ld-soname): Likewise.
40716         (abi-n32_hard-ld-soname): Likewise.
40717         (abi-n32_soft_2008-ld-soname): Likewise.
40718         (abi-n32_hard_2008-ld-soname): Likewise.
40719         (abi-n64_soft-ld-soname): Likewise.
40720         (abi-n64_hard-ld-soname): Likewise.
40721         (abi-n64_soft_2008-ld-soname): Likewise.
40722         (abi-n64_hard_2008-ld-soname): Likewise.
40723         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
40724         Likewise.
40725         (abi-64-v2-ld-soname): Likewise.
40726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
40727         ld.so entries.
40728         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
40729         variable.
40730         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
40731         entry.
40732         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
40733         variable.
40734         (abi-64-ld-soname): Likewise.
40735         (abi-x32-ld-soname): Likewise.
40736         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
40737         entry.
40738         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
40740 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
40742         [BZ #14138]
40743         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
40744         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
40745         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
40746         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
40747         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
40748         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
40749         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
40750         syscall entry for GLIBC_2.2 symbol version.
40751         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
40752         Likewise.
40753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
40754         (setrlimit): Likewise.
40755         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
40756         Likewise.
40758 2014-09-23  Will Newton  <will.newton@linaro.org>
40760         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
40761         _LINUX_ARM_SYSDEP_H include guard too.
40762         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
40763         define.
40765 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
40767         * sysdeps/unix/sysv/linux/eventfd.c:
40768         Make first argument unsigned.
40769         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
40770         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
40772 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
40774         [BZ #16852]
40775         * socket/recvmmsg.c (recvmmsg): Drop const argument.
40776         * socket/sys/socket.h: Likewise.
40777         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
40779 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40781         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
40783 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
40785         * time/tst-ftime.c: New test.
40786         * time/Makefile (tests): Add tst-ftime.
40788 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
40790         * soft-fp/extended.h: Fix comment formatting.
40791         * soft-fp/op-1.h: Likewise.
40792         * soft-fp/op-2.h: Likewise.
40793         * soft-fp/op-4.h: Likewise.
40794         * soft-fp/op-8.h: Likewise.
40795         * soft-fp/op-common.h: Likewise.
40796         * soft-fp/soft-fp.h: Likewise.
40798         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
40800 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
40802         [BZ #6652]
40803         * Makeconfig (soversions-default-setname): Remove variable.
40804         ($(common-objpfx)soversions.i): Don't pass default_setname to
40805         soversions.awk.
40806         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
40807         oldest_abi to abi-versions.awk.
40808         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
40809         * config.make.in (oldest-abi): Remove variable.
40810         * configure.ac (--enable-oldest-abi): Remove configure option.
40811         * configure: Regenerated.
40812         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
40813         text.
40814         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
40815         * scripts/soversions.awk: Do not handle default_setname variable.
40816         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
40817         variable.
40818         * sysdeps/mach/hurd/configure: Regenerated.
40819         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
40820         variable.
40821         * sysdeps/unix/sysv/linux/configure: Regenerated.
40823 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40825         * elf/Makefile (CFLAGS-interp.c): Remove.
40826         ($(elf-objpfx)runtime-linker.h): Generate header with linker
40827         path string.
40828         * elf/interp.c: Include generated runtime-linker.h
40830         * Makerules (lib%.so): Don't include $(+interp) in
40831         prerequisites.
40832         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
40833         * dlfcn/eval.c: Remove file.
40835         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
40836         macros.
40838         [BZ #17266]
40839         * misc/sys/cdefs.h: Define __extern_always_inline for clang
40840         4.2 and newer.
40842         [BZ #17370]
40843         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
40845 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40846             Jakub Jelinek  <jakub@redhat.com>
40848         [BZ #17266]
40849         * libio/stdio.h: Check definition of __fortify_function
40850         instead of __extern_always_inline to include bits/stdio2.h.
40851         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
40852         check if __extern_always_inline is defined.
40853         [__USE_MISC || __USE_XOPEN]: Likewise.
40854         [__USE_ISOC99] Likewise.
40855         * misc/sys/cdefs.h (__fortify_function): Define only if
40856         __extern_always_inline is defined.
40857         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
40858         __extern_always_inline and __extern_inline only for g++-4.3
40859         and newer or a compatible gcc.
40861 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
40863         [BZ #17371]
40864         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
40865         last change to handle zero prefix length.
40867 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40869         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
40870         _SC_REGEX_VERSION.
40872         * posix/getconf.c (vars): Add _POSIX_IPV6 and
40873         _POSIX_RAW_SOCKETS.
40875 2014-09-13  Allan McRae  <allan@archlinux.org>
40877         * po/ru.po: Update Russian translation from translation project.
40879 2014-09-12  Roland McGrath  <roland@hack.frob.com>
40881         * locale/programs/locale.c (show_locale_vars): Inline local function
40882         into its sole call site.  Clean up some style nits.
40883         (print_item): New function, broken out of ...
40884         (show_info): ... local function here.  Clean up style nits.
40886         * locale/programs/ld-ctype.c (set_one_default): New function, broken
40887         out of ...
40888         (set_class_defaults): ... local function set_default here.
40889         Define set_default as a macro locally to pass constant parameters.
40890         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
40891         rather than a shared local.
40893         * stdlib/rpmatch.c (try): New function, broken out of ...
40894         (rpmatch): ... local function here.  Also, prototypify definition.
40896 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
40898         * scripts/soversions.awk: Do not handle configuration names.
40899         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
40900         vendor and os variables to soversions.awk.
40901         * configure.ac: Do not modify gnu-* host_os.
40902         * configure: Regenerated
40903         * shlib-versions: Remove first column with configuration names.
40904         * nptl/shlib-versions: Likewise.
40905         * nptl_db/shlib-versions: Likewise.
40906         * sysdeps/hppa/shlib-versions: Likewise.
40907         * sysdeps/m68k/shlib-versions: Likewise.
40908         * sysdeps/mach/hurd/shlib-versions: Likewise.
40909         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
40910         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
40911         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
40912         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
40913         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
40914         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
40915         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
40916         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
40917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
40918         Likewise.
40919         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
40920         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
40921         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
40922         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
40923         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
40924         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
40925         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
40926         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
40928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
40929         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
40930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
40931         Regenerated.
40932         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
40933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
40934         Condition symbol version definitions on [HAVE_ELFV2_ABI].
40936         * shlib-versions: Remove OS-specific entries.  Moved to files in
40937         sysdeps.
40938         * sysdeps/mach/hurd/shlib-versions: New file.
40939         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
40941         * nptl/shlib-versions: Remove architecture-specific entries.
40942         Moved to files in sysdeps.
40943         * shlib-versions: Likewise.
40944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
40945         file.
40946         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
40947         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
40948         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
40949         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
40951         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
40952         (UDP_NO_CHECK6_RX): Likewise.
40954 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40956         * sysdeps/posix/sysconf.c (__sysconf): Spell
40957         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
40959 2014-08-12  Florian Weimer  <fweimer@redhat.com>
40961         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
40962         loading.
40963         * iconv/Versions (__gconv_transliterate): Export for use from
40964         gconv modules.
40965         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
40966         (struct __gconv_trans_data, __gconv_trans_fct,
40967         __gconv_trans_context_fct, __gconv_trans_query_fct,
40968         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
40969         definitions.
40970         (struct __gconv_step_data): Remove __trans member.
40971         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
40972         longer hidden.  Remove unused trans_data argument.
40973         * iconv/gconv_int.h (struct trans_struct): Remove definition.
40974         (__gconv_translit_find): Remove declaration.
40975         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
40976         prototype.
40977         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
40978         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
40979         trans_data argument.  Add hidden definition.
40980         (__gconv_translit_find): Remove.
40981         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
40982         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
40983         * iconv/skeleton.c: Remove transliteration initialization.
40984         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
40985         __gconv_step_data initialization.
40986         * libio/iofwide.c (__libio_translit_): Remove.
40987         (_IO_fwide): Adjust struct __gconv_step_data initialization.
40988         * wcsmbs/btowc.c (__btowc): Likewise.
40989         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
40990         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
40991         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
40992         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
40993         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
40994         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
40995         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
40996         * wcsmbs/wctob.c (wctob): Likewise.
40998 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41000         [BZ #16194]
41001         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
41002         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
41003         register usage.
41004         * sysdeps/x86/Makefile: Adjust.
41006 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
41007             Roland McGrath  <roland@hack.frob.com>
41009         * locale/weight.h: Add include guard.
41010         (findidx): Make static rather than auto; take new parameters
41011         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
41012         * locale/weightwc.h: Likewise.
41013         * posix/fnmatch_loop.c
41014         (FCT): Change type of EXTRA from int32_t to wint_t.
41015         Don't include either header inside the function.
41016         Call FINDIDX rather than findidx, and pass new arguments.
41017         #undef FINDIDX at the end of the file.
41018         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
41019         FINDIDX before including fnmatch_loop.c for the non-wide version.
41020         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
41021         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
41022         for the wide version.
41023         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
41024         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
41025         Pass new arguments to findidx.
41026         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
41027         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
41028         Don't #include it inside the function.  Pass new arguments to findidx.
41029         * posix/regex_internal.h
41030         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
41031         (re_string_elem_size_at): Don't #include it inside the function.
41032         Pass new arguments to findidx.
41033         * string/strcoll_l.c: #include WEIGHT_H at top level.
41034         (get_next_seq): Don't #include it inside the function.
41035         Pass new arguments to findidx.
41036         (get_next_seq_nocache): Likewise.
41037         * string/strxfrm_l.c: #include WEIGHT_H at top level.
41038         (STRXFRM): Don't #include it inside the function.
41039         Pass new arguments to findidx.
41041 2014-09-11  Florian Weimer  <fweimer@redhat.com>
41043         [BZ #17344]
41044         * malloc/malloc.c (unlink): Turn asserts into a call to
41045         malloc_printerr.
41047 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
41049         [BZ #17370]
41050         * libio/wfileops (do_ftell_wide): Free OUT.
41052 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
41054         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
41056 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41058         [BZ #17363]
41059         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
41060         group if the current group is empty.
41062 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41064         * benchtests/bench-memset.c (test_main): Add more test from size
41065         from 32 to 512 bytes.
41066         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
41067         Add POWER8 memset object.
41068         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41069         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
41070         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
41071         implementation.
41072         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
41073         Likewise.
41074         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
41075         multiarch POWER8 memset optimization.
41076         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
41077         POWER8 memset optimization.
41079         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
41080         Remove bzero multiarch objects.
41081         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
41082         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
41083         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
41084         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
41085         Remove define.
41086         [__bzero]: Redefine to specific name.
41087         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
41088         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
41089         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
41090         define.
41091         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
41092         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
41094 2014-09-10  Florian Weimer  <fweimer@redhat.com>
41096         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
41097         warnings into errors.
41099         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
41100         __cxa_thread_atexit_impl prototype.
41102 2014-09-09  Steve Ellcey  <sellcey@mips.com>
41104         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
41105         Fix capitalization of error message.
41107 2014-09-09  Steve Ellcey  <sellcey@mips.com>
41109         * sysdeps/mips/preconfigure: Modify ABI tests.
41111 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
41113         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
41115 2014-09-07  Roland McGrath  <roland@hack.frob.com>
41116             Carlos O'Donell  <carlos@systemhalted.org>
41118         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
41119         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
41120         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
41121         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
41122         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
41123         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
41124         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
41125         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
41126         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
41127         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
41128         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
41129         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
41130         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
41131         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
41132         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
41133         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
41134         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
41135         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
41136         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
41137         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
41138         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
41139         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
41140         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
41141         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
41142         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
41143         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
41144         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
41145         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
41146         Deconditionalize the code that was previously under [RESET_PID].
41147         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
41148         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
41149         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
41150         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
41151         include sysdep.h.
41153 2014-09-08  Allan McRae  <allan@archlinux.org>
41155         * version.h (RELEASE): Set to "development".
41156         (VERSION): Set to "2.20.90"
41158 2014-09-07  Allan McRae  <allan@archlinux.org
41160         * version.h (RELEASE): Set to "stable".
41161         (VERSION): Set to "2.20"
41162         * include/features.h (__GLIBC_MINOR__): Set to 20.
41164         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
41165         Liebler.
41167         * po/ko.po: Update Korean translation from translation project.
41169 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
41171         [BZ #17354]
41172         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
41173         macro for handling signed relocations.
41175 2014-09-03  Florian Weimer  <fweimer@redhat.com>
41177         [BZ #17325]
41178         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
41179         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
41180         assert.
41181         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
41182         * iconvdata/ibm935.c (BODY): Likewise.
41183         * iconvdata/ibm937.c (BODY): Likewise.
41184         * iconvdata/ibm939.c (BODY): Likewise.
41185         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
41186         assert.
41187         * iconvdata/Makefile (iconv-test.out): Pass module list to test
41188         script.
41189         * iconvdata/run-iconv-test.sh: New test loop for checking for
41190         decoder crashers.
41192 2014-09-02  Khem Raj  <raj.khem@gmail.com>
41194         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
41195         libm_hidden_ver.
41197 2014-09-01  Allan McRae  <allan@archlinux.org>
41199         * po/eo.po: Update Esperanto translation from translation project.
41201         * po/ca.po: Update Catalan translation from translation project.
41203 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41205         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
41206         __proc_dostop call.
41208 2014-08-27  Mark Wielaard  <mjw@redhat.com>
41210         [BZ #17319]
41211         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
41212         to call set_thread_area instead of hand written asm.
41213         (__NR_set_thread_area): Removed define.
41214         (TLS_FLAG_WRITABLE): Likewise.
41215         (__ASSUME_SET_THREAD_AREA): Remove check.
41216         (TLS_EBX_ARG): Remove define.
41217         (TLS_LOAD_EBX): Likewise.
41219 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41221         Simplify atomicity of socket creation in bind.
41223         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
41224         looking up the name after linking the file.
41226 2014-08-27  Allan McRae  <allan@archlinux.org>
41228         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
41230 2014-08-26  Florian Weimer  <fweimer@redhat.com>
41232         [BZ #17187]
41233         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
41234         trans_compare, open_translit, __gconv_translit_find):
41235         Remove module loading code.
41237 2014-08-26  Allan McRae  <allan@archlinux.org>
41239         * po/vi.po: Update Vietnamese translation from translation project.
41241         * po/uk.po: Update Ukrainian translation from translation project.
41243         * po/fr.po: Update French translation from translation project.
41245         * po/ru.po: Update Russian translation from translation project.
41247         * po/pl.po: Update Polish translation from translation project.
41249         * po/cs.po: Update Czech translation from translation project.
41251         * po/de.po: Update German translation from translation project.
41253         * po/bg.po: Update Bulgarian translation from translation project.
41255         * po/sv.po: Update Sweedish translation from translation project.
41257         * po/nl.po: Update Dutch translation from translation project.
41259         * po/es.po: Update Spanish translation from translation project.
41261 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41263         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
41265         * catgets/Makefile (CPPFLAGS-gencat): Remove.
41266         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
41267         (CPPFLAGS-iconvconfig): Likewise.
41268         * timezone/Makefile (CPPFLAGS-zic): Likewise.
41270         * include/libc-symbols.h: Remove unnecessary check for
41271         NOT_IN_libc.
41272         * nptl/pthreadP.h: Likewise.
41273         * sysdeps/aarch64/setjmp.S: Likewise.
41274         * sysdeps/alpha/setjmp.S: Likewise.
41275         * sysdeps/arm/sysdep.h: Likewise.
41276         * sysdeps/i386/setjmp.S: Likewise.
41277         * sysdeps/m68k/setjmp.c: Likewise.
41278         * sysdeps/posix/getcwd.c: Likewise.
41279         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
41280         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
41281         * sysdeps/s390/s390-32/setjmp.S: Likewise.
41282         * sysdeps/s390/s390-64/setjmp.S: Likewise.
41283         * sysdeps/sh/sh3/setjmp.S: Likewise.
41284         * sysdeps/sh/sh4/setjmp.S: Likewise.
41285         * sysdeps/unix/alpha/sysdep.h: Likewise.
41286         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
41287         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41288         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
41289         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
41290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41292         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41293         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41294         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41295         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41296         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41297         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
41298         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41299         * sysdeps/x86_64/setjmp.S: Likewise.
41301 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
41303         [BZ #17263]
41304         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
41305         <stdint.h>.
41306         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
41307         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
41309 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
41311         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
41313         [BZ #17262]
41314         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
41315         and __x86_64__ when disabling x87 inline functions.
41317 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
41319         [BZ #17259]
41320         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
41321         asm statement with __cpuid_count.
41323 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
41325         * configure.ac: Change __ehdr_start code to dereference the struct.
41326         Run readelf on the output to look for relocations.
41327         * configure: Regenerated.
41329 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
41331         [BZ #17261]
41332         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
41333         value to 0.
41334         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
41336 2014-08-12  Roland McGrath  <roland@hack.frob.com>
41338         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
41340 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
41342         [BZ #16892]
41343         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
41344         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
41346 2014-08-12  Sean Anderson  <seanga2@gmail.com>
41348         * malloc/malloc.c: Fix typo in comment.
41350 2014-08-09  Allan McRae  <allan@archlinux.org>
41352         * Regenerate libc.po.
41354 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
41356         * intl/tst-gettext2.sh: Check every lang file for creation.
41358 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
41360         * sysdeps/aarch64/fpu/math_private.h
41361         (libc_feholdsetround_noex_aarch64_ctx): New function.
41363 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
41365         * sysdeps/arm/armv6/strcpy.S (strcpy):
41366         Fix performance issue in misaligned cases.
41368 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41370         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
41371         Move definition from termios.h.
41372         (struct termio): Likewise.
41373         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
41374         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
41375         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
41376         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
41377         Likewise.
41378         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
41379         Move definition to ioctl-types.h
41380         (struct termio): Likewise.
41381         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
41382         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
41383         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
41384         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
41385         Likewise.
41387 2014-08-05  Richard Henderson  <rth@redhat.com>
41389         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
41390         exceptions.
41391         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
41392         Add fraiseexcpt.
41393         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
41394         Use __feraiseexcept.
41395         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
41396         Protect libm symbols with IS_IN_libm.
41398         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
41400 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
41402         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
41404 2014-08-04  Will Newton  <will.newton@linaro.org>
41406         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
41407         file.
41409 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
41411         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
41412         variants for each function.
41414 2014-08-04  Roland McGrath  <roland@hack.frob.com>
41416         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
41417         appended ...
41418         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
41419         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
41420         appended ...
41421         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
41422         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
41423         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
41424         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
41425         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
41426         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
41427         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
41428         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
41429         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
41430         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
41431         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
41432         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
41433         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
41434         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
41435         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
41436         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
41437         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
41438         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
41439         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
41440         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
41441         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
41442         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
41443         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
41444         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
41445         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
41446         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
41447         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
41448         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
41449         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
41450         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
41451         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
41452         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
41453         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
41454         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
41455         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
41456         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
41457         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
41458         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
41459         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
41460         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
41461         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
41462         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
41463         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
41464         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
41465         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
41466         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
41467         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
41468         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
41469         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
41470         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
41471         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
41472         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
41473         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
41474         Update #include.
41475         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
41476         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
41478 2014-08-04  Roland McGrath  <roland@hack.frob.com>
41480         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
41481         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
41482         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
41483         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
41484         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
41485         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
41487 2014-08-04  Roland McGrath  <roland@hack.frob.com>
41489         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
41490         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
41491         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
41492         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
41494 2014-08-04  Roland McGrath  <roland@hack.frob.com>
41496         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
41497         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
41498         (__libc_vfork): Define function under this name.
41499         (__vfork): Define as an alias.
41500         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
41501         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
41503 2014-08-04  Roland McGrath  <roland@hack.frob.com>
41505         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
41506         that was previously under [RESET_PID].
41507         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
41509 2014-08-04  Andreas Schwab  <schwab@suse.de>
41511         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
41513 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
41515         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
41516         (main): Likewise.
41518 2014-08-01  Roland McGrath  <roland@hack.frob.com>
41520         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
41522 2014-08-01  Richard Henderon  <rth@redhat.com>
41524         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
41525         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
41526         typo in exact zero test.
41527         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41528         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41529         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41531 2014-08-01  Roland McGrath  <roland@hack.frob.com>
41533         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
41534         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
41535         * sysdeps/arm/sysdep.h: ... here.
41536         [!__ASSEMBLER__]: Include <stdint.h>.
41538 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
41540         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
41541         (HAVE_WCTYPE_H): Likewise.
41542         (HAVE_ISWCTYPE): Likewise.
41543         (ENABLE_NLS): Likewise.
41544         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
41545         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
41547         * posix/regex_internal.c: Check if DEBUG is defined and is
41548         set.
41550         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
41551         (HAVE_MBSRTOWCS): Likewise.
41552         * posix/fnmatch.c: Include string.h unconditionally.
41554 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
41556         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
41557         reversal.
41559 2014-07-31  Roland McGrath  <roland@hack.frob.com>
41561         * sysdeps/generic/safe-fatal.h: New file.
41562         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
41563         * nptl/forward.c: Include it.
41564         (__pthread_unwind): Use __safe_fatal as default action, rather
41565         than a bogus use of INTERNAL_SYSCALL that could never work.
41567         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
41568         * configure.ac (libc_cv_builtin_trap): New test.
41569         * configure: Regenerated.
41570         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
41571         (ABORT_INSTRUCTION): Define using __builtin_trap.
41573         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
41574         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
41575         * sysdeps/nptl/nptl-signals.h: New file.
41576         * nptl/pthreadP.h: Include <nptl-signals.h>.
41578 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
41580         * sysdeps/s390/s390-64/utf16-utf32-z9.c
41581         (ONE_DIRECTION): Define.
41582         * sysdeps/s390/s390-64/utf8-utf16-z9.c
41583         (ONE_DIRECTION): Define.
41584         * sysdeps/s390/s390-64/utf8-utf32-z9.c
41585         (ONE_DIRECTION): Define.
41587 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
41589         * sysdeps/s390/Makefile: Delete file.
41590         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
41591         * sysdeps/s390/__longjmp.c: Delete file.
41592         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
41593         Remove fields __flags and __reserved.
41594         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
41595         and add versioning.
41596         * sysdeps/s390/rtld-__longjmp.c: Delete file.
41597         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
41598         * sysdeps/s390/rtld-setjmp.S: Likewise.
41599         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
41600         * sysdeps/s390/s390-32/__longjmp.c: ... here.
41601         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
41602         * sysdeps/s390/s390-32/setjmp.S: ... here.
41603         Add versioning.
41604         (__sigsetjmp): Remove setting __flags field.
41605         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
41606         * sysdeps/s390/s390-64/__longjmp.c: ... here.
41607         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
41608         * sysdeps/s390/s390-64/setjmp.S: ... here.
41609         Add versioning.
41610         (__sigsetjmp): Remove setting __flags field.
41611         * sysdeps/s390/setjmp.S: Delete file.
41612         * sysdeps/s390/sigjmp.c: Likewise.
41613         * sysdeps/s390/v1-longjmp.c: Likewise.
41614         * sysdeps/s390/v1-setjmp.h: Likewise.
41615         * sysdeps/s390/v1-sigjmp.c: Likewise.
41616         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
41617         Remove v1-longjmp_chk.
41618         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
41619         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
41620         Include debug/longjmp_chk.c and add versioning.
41621         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
41622         Include nptl/pt-longjmp.c and add versioning.
41623         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
41624         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
41625         Include __longjmp.c.
41626         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
41627         Move to ...
41628         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
41629         (__getcontext): Remove setting __flags field.
41630         Add versioning.
41631         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
41632         Don't restore upper high grps.
41633         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
41634         Likewise.
41635         (__swapcontext): Remove setting uc_flags field.
41636         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
41637         Delete file.
41638         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
41639         Include __longjmp.c.
41640         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
41641         Move to ...
41642         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
41643         (__getcontext): Remove setting __flags field.
41644         Add versioning.
41645         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
41646         (__swapcontext): Remove setting uc_flags field.
41647         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
41648         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
41649         Remove fields uc_high_gprs and __reserved.
41650         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
41651         New file with reverted content.
41652         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
41653         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
41654         Regenerated.
41655         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
41656         Regenerated.
41658 2014-07-31  Andreas Schwab  <schwab@suse.de>
41660         * config.h.in (HAVE_IFUNC): Define to 0.
41661         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
41662         definedness.
41664 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
41666         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41667         memmove-avx-unaligned, memcpy-avx-unaligned and
41668         mempcpy-avx-unaligned.
41669         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41670         Add tests for AVX memcpy functions.
41671         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
41672         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
41673         memcpy_chk.
41674         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
41675         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
41676         memmove_chk.
41677         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
41678         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
41679         mempcpy_chk.
41680         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
41681         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
41682         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
41684 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41686         [BZ #17213]
41687         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
41688         powerpc64le.
41690 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
41692         [BZ #16839]
41693         * manual/llio.texi: Add section about open file description locks.
41694         * manual/examples/ofdlocks.c: Example of open file description
41695         lock usage.
41696         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
41697         F_OFD_SETLK, and F_OFD_SETLKW.
41699 2014-07-23  Allan McRae  <allan@archlinux.org>
41701         * po/es.po: Update Spanish translation from translation project.
41703 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
41705         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
41707 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
41709         [BZ #17078]
41710         * sysdeps/arm/dl-machine.h (elf_machine_rela)
41711         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
41712         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
41714 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
41716         [BZ #17088]
41717         * math/fesetenv.c (__fesetenv)
41718         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
41719         * math/feupdateenv.c (__feupdateenv)
41720         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
41722         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
41723         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
41724         (__ASSUME_SOCKETCALL): Do not define.
41726         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
41727         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
41728         (__ASSUME_SOCKETCALL): Do not define.
41729         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
41730         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
41731         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41732         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
41733         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41734         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
41735         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41736         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41738         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
41739         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
41740         (__ASSUME_SOCKETCALL): Do not define.
41741         (__ASSUME_IPC64): Define unconditionally.
41742         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
41743         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41744         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
41745         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41746         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
41747         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41748         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
41749         Likewise.
41751         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
41752         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
41753         (__ASSUME_SOCKETCALL): Do not define.
41754         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
41755         (__ASSUME_FUTEX_LOCK_PI): Likewise.
41756         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41757         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
41758         (__ASSUME_REQUEUE_PI): Define unconditionally.
41759         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
41760         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
41761         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41762         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
41763         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41764         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41766         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
41767         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
41768         (__ASSUME_SOCKETCALL): Do not define.
41769         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
41770         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41771         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41772         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
41773         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41774         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41776         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
41777         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
41778         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41779         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
41780         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41781         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
41782         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41783         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
41784         (__ASSUME_GETCPU_SYSCALL): Likewise.
41786         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
41787         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
41788         cases for individual architectures.
41789         * sysdeps/gnu/configure: Regenerated.
41790         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
41791         LIBC_SLIBDIR_RTLDDIR.
41792         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
41793         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
41794         LIBC_SLIBDIR_RTLDDIR.
41795         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
41796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
41797         LIBC_SLIBDIR_RTLDDIR.
41798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
41799         Regenerated.
41800         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
41801         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
41802         file.
41803         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
41804         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
41805         file.
41806         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
41807         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
41808         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
41809         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
41811         * sysdeps/aarch64/shlib-versions: Move to ...
41812         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
41813         * sysdeps/alpha/shlib-versions: Move to ...
41814         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
41815         * sysdeps/arm/shlib-versions: Move to ...
41816         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
41817         * sysdeps/hppa/shlib-versions: Move all contents except for
41818         libgcc_s entry to ...
41819         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
41820         entry from ...
41821         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
41822         * sysdeps/ia64/shlib-versions: Move to ...
41823         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
41824         entry from ...
41825         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
41826         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
41827         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
41828         * sysdeps/microblaze/shlib-versions: Move to ...
41829         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
41830         * sysdeps/mips/shlib-versions: Move to ...
41831         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
41832         entry from ...
41833         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
41834         * sysdeps/tile/shlib-versions: Move to ...
41835         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
41836         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
41837         from ...
41838         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
41839         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
41840         entry from ...
41841         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
41843 2014-07-17  Will Newton  <will.newton@linaro.org>
41845         * sysdeps/arm/bits/atomic.h
41846         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
41847         (__arch_compare_and_exchange_bool_16_int): Likewise.
41848         (__arch_compare_and_exchange_bool_64_int): Likewise.
41850         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
41851         into an #else block.
41853 2014-07-16  Roland McGrath  <roland@hack.frob.com>
41855         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
41856         just Linux configurations.  Test empirically that the compiler sets
41857         __ARM_EABI__, rather than using the tuple to decide.
41858         * sysdeps/arm/preconfigure: Regenerated.
41859         * sysdeps/unix/sysv/linux/arm/configure: File removed.
41860         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
41861         contents appended ...
41862         * sysdeps/arm/configure.ac: ... here.
41863         * sysdeps/arm/configure: Regenerated.
41865 2014-07-15  Roland McGrath  <roland@hack.frob.com>
41867         * nptl/pthread_kill.c: New file.
41868         * nptl/pthread_sigmask.c: New file.
41869         * nptl/pthread_sigqueue.c: New file.
41871         * sysdeps/nptl/lowlevellock.h: New file.
41872         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
41873         * sysdeps/nptl/lowlevellock-futex.h: New file.
41875         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
41876         Remove dead declarations.
41878 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
41880         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
41881         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
41882         config-cflags-avx2.
41883         * sysdeps/x86_64/configure.ac: Likewise.
41884         * sysdeps/i386/configure: Regenerated.
41885         * sysdeps/x86_64/configure: Likewise.
41886         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41887         memset-avx2 only if config-cflags-avx2 is yes.
41888         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41889         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
41890         defined.
41891         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
41892         only if HAVE_AVX2_SUPPORT is defined.
41893         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41895 2014-07-14  Alan Modra  <amodra@gmail.com>
41897         [BZ #17153]
41898         * elf/elf.h (DT_PPC64_NUM): Correct value.
41899         * NEWS: Add to fixed bug list.
41901 2014-07-13  Jim Meyering  <meyering@fb.com>
41903         [BZ 17150]
41904         regex: don't deref NULL upon heap allocation failure
41905         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
41906         failure in one more place.
41907         To trigger the segfault, configure grep -with-included-regex,
41908         build it, and run these commands:
41909         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
41911 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
41913         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
41915 2014-07-11  Richard Henderson  <rth@redhat.com>
41917         * sysdeps/aarch64/libm-test-ulps: Update.
41919 2014-07-10  Florian Weimer  <fweimer@redhat.com>
41921         [BZ #17135]
41922         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
41923         * nptl/allocatestack.c (__nptl_setxid_error): New function.
41924         (__nptl_setxid): Initialize error member.  Call
41925         __nptl_setxid_error.
41926         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
41927         * nptl/descr.h (struct xid_command): Add error member.
41928         * nptl/tst-setuid3.c: New file.
41929         * nptl/Makefile (tests): Add it.
41931 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41933         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
41934         New define.
41935         (__lll_trylock): Use __lll_base_trylock.
41936         (__lll_cond_trylock): Likewise.
41938 2014-07-10  Roland McGrath  <roland@hack.frob.com>
41940         * nptl/pthread_create.c (start_thread): Use atomic_or and
41941         lll_futex_wake directly rather than lll_robust_dead.
41942         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
41943         (lll_robust_dead): Macro removed.
41944         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
41945         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
41946         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
41947         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
41948         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
41949         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
41950         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
41951         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
41952         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
41953         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
41954         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
41955         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41956         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
41957         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
41958         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
41960         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
41961         Use atomic_compare_and_exchange_val_acq directly rather than
41962         lll_robust_trylock.
41963         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
41964         (__lll_robust_trylock, lll_robust_trylock): Removed.
41965         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
41966         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
41967         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
41968         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
41969         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
41970         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
41971         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
41972         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
41973         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
41974         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
41975         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41976         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
41977         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
41978         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
41980 2014-07-02  Florian Weimer  <fweimer@redhat.com>
41982         * manual/locale.texi (Locale Names): New section documenting
41983         locale name syntax.  Adjust menu and node chaining accordingly.
41984         (Choosing Locale): Reference Locale Names, Locale Categories.
41985         Mention setting LC_ALL=C.  Reflect that name syntax is now
41986         documented.
41987         (Locale Categories): New section title.  Reference Locale Names.
41988         LC_ALL is an environment variable, but not a category.
41989         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
41990         description, now in Locale Name.  Reference that section.  Locale
41991         name syntax is now documented.
41993 2014-07-02  Florian Weimer  <fweimer@redhat.com>
41995         [BZ #17137]
41996         * locale/findlocale.c (name_present, valid_locale_name): New
41997         functions.
41998         (_nl_find_locale): Use the loc_name variable to store name
41999         candidates.  Call name_present and valid_locale_name to check and
42000         validate locale names.  Return an error if the locale is invalid.
42002 2014-07-02  Florian Weimer  <fweimer@redhat.com>
42004         * locale/setlocale.c (setlocale): Use strdup for allocating
42005         composite name copy.
42007 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42009         Sync up with gnulib.
42010         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
42011         [!_LIBC && ENABLE_NLS]: Include gettext.h.
42012         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
42013         and _GL_ARG_NONNULL.
42014         [USE_UNLOCKED_IO]: Include unlocked-io.h.
42015         [!_LIBC]: Include code for Windows and Cygwin.
42016         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
42017         Include prototype for int strerror_r.
42018         [!_LIBC] (is_open): New function.
42019         (flush_stdout): New function.
42020         (print_errno_message): Use it.
42021         (error): Likewise.
42022         (error_at_line): Likewise.
42023         (error_tail) Add function attribute macros.  Use
42024         __builtin_expect.
42026         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
42028         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
42030         * io/ftw.c: Include sys/param.h unconditionally.
42032         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
42034         [BZ #17125]
42035         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
42036         libc_freeres_ptr.
42037         (freecache): New function to free CACHE on exit.
42039         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
42040         initialization.
42042 2014-07-09  David S. Miller  <davem@davemloft.net>
42044         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42046         * sysdeps/sparc/nptl/internaltypes.h: Delete.
42047         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
42048         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
42049         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
42050         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
42051         * sysdeps/sparc/nptl/sem_init.c: Likewise.
42052         * sysdeps/sparc/nptl/sem_post.c: Likewise.
42053         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
42054         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
42055         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
42056         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
42057         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
42058         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
42060 2014-07-09  Andreas Schwab  <schwab@suse.de>
42062         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
42063         output.
42064         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
42065         (do_test): Likewise.
42067         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
42069 2014-07-09  Will Newton  <will.newton@linaro.org>
42071         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
42072         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
42073         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
42074         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
42075         * sysdeps/hppa/start.S (_start): Likewise.
42077 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
42079         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
42081         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
42082         defined.
42084 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
42086         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
42087         after checking that it is non-NULL.
42089         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
42091 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42093         * sysdeps/powerpc/memmove.c: Remove file.
42094         * sysdeps/powerpc/powerpc32/power4/memcopy.h
42095         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
42096         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
42097         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
42098         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
42099         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
42100         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
42101         string memmove instead of removed powerpc one.
42103         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
42104         [weak_alias]: Fix compiler warning due trailing data.
42105         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
42106         [weak_alias]: Likewise.
42107         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
42108         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
42110         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42111         (__libc_ifunc_impl_list): Add memmove functions.
42113 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
42115         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
42116         Remove code.
42117         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
42118         Likewise.
42119         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
42120         Likewise.
42121         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
42122         Likewise.
42123         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
42124         Likewise.
42125         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
42126         Likewise.
42127         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
42128         Likewise.
42129         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
42130         Likewise.
42131         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
42132         Likewise.
42133         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
42134         Likewise.
42135         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
42136         Likewise.
42137         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
42138         Likewise.
42139         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
42140         Likewise.
42141         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
42142         Likewise.
42143         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
42144         Likewise.
42145         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
42146         Likewise.
42147         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
42148         Likewise.
42150 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42152         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
42153         to avoid alignment traps in non-cacheable memory.
42154         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
42156         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
42157         multiarch objects.
42158         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
42159         file: multiarch power7 memmove.
42160         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
42161         multiarch default memmove.
42162         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
42163         multiarch memove for powerpc32/power4.
42165         * string/bcopy.c: Use full path to include memmove.c.
42166         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
42167         multiarch objects.
42168         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
42169         bcopy for powerpc64.
42170         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
42171         bcopy for powerpc64.
42172         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
42173         and memmove implementations.
42174         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
42175         optimized multiarch memmove for POWER7/powerpc64.
42176         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
42177         default multiarch memmove for powerpc64.
42178         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
42179         multiarch for powerpc64.
42180         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
42181         for POWER7/powerpc64.
42182         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
42183         memmove for POWER7/powerpc64.
42185         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
42186         glibc default one.
42188         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
42189         __ELF_NATIVE_CLASS equal to 64.
42191 2014-07-07  Roland McGrath  <roland@hack.frob.com>
42193         * sysdeps/nptl/lowlevellock.h: File removed.
42195         * NEWS: NPTL is no longer an add-on!
42196         * nptl/internaltypes.h: Moved ...
42197         * sysdeps/nptl/internaltypes.h: ... here.
42198         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
42199         * sysdeps/nptl/fork.c: Likewise.
42200         * sysdeps/nptl/gai_misc.h: Likewise.
42201         * sysdeps/nptl/librt-cancellation.c: Likewise.
42202         * sysdeps/nptl/jmp-unwind.c: Likewise.
42203         * sysdeps/nptl/setxid.h: Likewise.
42204         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
42205         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
42206         * sysdeps/unix/sysv/linux/arm/Implies: New file.
42207         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
42208         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
42209         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
42210         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
42211         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
42212         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
42213         * sysdeps/unix/sysv/linux/mips/Implies: New file.
42214         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
42215         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
42216         * sysdeps/unix/sysv/linux/sh/Implies: New file.
42217         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
42218         * sysdeps/unix/sysv/linux/tile/Implies: New file.
42219         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
42220         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
42221         * nptl/Makeconfig: Moved ...
42222         * sysdeps/nptl/Makeconfig: ... here.
42223         * nptl/configure: File removed.
42224         * nptl/ANNOUNCE: File removed.
42225         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
42226         * sysdeps/unix/sysv/linux/configure: Regenerated.
42228         * nptl/Makefile (routines): Add libc_pthread_init,
42229         libc_multiple_threads, register-atfork and unregister-atfork.
42230         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
42231         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
42232         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
42233         pthread-pi-defines.sym, structsem.sym.
42234         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
42235         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
42236         [$(subdir) = nptl] (tests): Add tst-setgetname.
42237         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
42238         * sysdeps/unix/sysv/linux/sigaction.c: Just include
42239         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
42240         [!LIBC_SIGACTION]: Remove aliases.
42241         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
42242         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
42243         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
42244         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
42245         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
42246         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
42247         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42248         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42249         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
42250         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
42251         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
42252         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
42253         __libc_allocate_rtsig_private.
42254         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
42255         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
42256         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
42257         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
42258         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
42259         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
42260         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
42261         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
42262         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
42263         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
42264         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
42265         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
42266         * nptl/internaltypes.h: ... here.
42267         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
42268         * sysdeps/nptl/jmp-unwind.c: ... here.
42269         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
42270         * nptl/libc-lowlevellock.c: ... here.
42271         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
42272         * nptl/libc_multiple_threads.c: ... here.
42273         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
42274         * nptl/libc_pthread_init.c: ... here.
42275         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
42276         * nptl/lowlevelbarrier.sym: ... here.
42277         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
42278         * nptl/lowlevelcond.sym: ... here.
42279         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
42280         * nptl/lowlevellock.c: ... here.
42281         * nptl/lowlevellock.h: Moved ...
42282         * sysdeps/nptl/lowlevellock.h: ... here.
42283         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
42284         * nptl/lowlevelrobustlock.c: ... here.
42285         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
42286         * nptl/lowlevelrobustlock.sym: ... here.
42287         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
42288         * nptl/lowlevelrwlock.sym: ... here.
42289         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
42290         * nptl/pt-fork.c: ... here.
42291         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
42292         * nptl/pthread-pi-defines.sym: ... here.
42293         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
42294         * nptl/pthread_attr_getaffinity.c: ... here.
42295         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
42296         * nptl/pthread_attr_setaffinity.c: ... here.
42297         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
42298         * nptl/pthread_mutex_cond_lock.c: ... here.
42299         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
42300         Update #include.
42301         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
42302         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
42303         * nptl/pthread_once.c: ... here, replacing old file.
42304         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
42305         * nptl/pthread_yield.c: ... here.
42306         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
42307         * nptl/register-atfork.c: ... here.
42308         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
42309         * nptl/sem_post.c: ... here.
42310         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
42311         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
42312         * nptl/sem_timedwait.c: ... here.
42313         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
42314         * nptl/sem_trywait.c: ... here.
42315         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
42316         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
42317         * nptl/sem_wait.c: ... here.
42318         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
42319         * nptl/structsem.sym: ... here.
42320         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
42321         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
42322         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
42323         * nptl/unregister-atfork.c: ... here.
42324         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
42325         * nptl/unwindbuf.sym: ... here.
42326         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
42327         * sysdeps/nptl/fork.c: ... here.
42328         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
42329         * sysdeps/nptl/fork.h: ... here.
42330         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
42331         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
42332         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
42333         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
42334         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
42335         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
42336         * sysdeps/unix/sysv/linux/getpid.c: ... here.
42337         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
42338         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
42339         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
42340         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
42341         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
42342         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
42343         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
42344         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
42345         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
42346         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
42347         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
42348         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
42349         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
42350         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
42351         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
42352         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
42353         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
42354         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
42355         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
42356         * sysdeps/unix/sysv/linux/raise.c: ... here.
42357         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
42358         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
42359         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
42360         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
42361         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
42362         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
42363         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
42364         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
42365         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
42366         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
42367         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
42368         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
42369         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
42370         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
42371         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
42373 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42375         * sysdeps/generic/memcopy.h: Add comment for
42376         MEMCPY_OK_FOR_FWD_MEMMOVE.
42378 2014-07-04  Will Newton  <will.newton@linaro.org>
42380         * string/memchr.c: Merge from gnulib.
42381         [_LIBC]: Remove conditionals.
42382         (__ptr_t): Remove define.
42383         (LONG_MAX_32_BITS): Likewise.
42384         (LONG_MAX): Likewise.
42385         (MEMCHR): Use ANSI prototype and optimize algorithm.
42387         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
42389 2014-07-03  Roland McGrath  <roland@hack.frob.com>
42391         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
42392         (lll_futex_timed_wait_bitset): Fix syscall argument count.
42394         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
42395         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
42396         in a bare environment with no <stdlib.h> installed.
42397         * sysdeps/nptl/configure: Regenerated.
42399         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
42401         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
42402         AC_EGREP_CPP for kernel header checks, so they only succeed if
42403         including <linux/version.h> actually works right.
42404         * sysdeps/unix/sysv/linux/configure: Regenerated.
42406         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
42407         value so it's not diagnosed as unused.
42409         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
42410         thing) with "ifeq ($(subdir),rt)".
42412 2014-07-03  Richard Henderson  <rth@redhat.com>
42414         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
42415         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
42416         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
42418         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
42419         (math_force_eval): New.
42421         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
42422         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
42424         * sysdeps/alpha/fpu/s_round.c: Remove file.
42425         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
42427         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
42428         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
42429         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
42430         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
42431         (_dl_start, print_statistics): Likewise.
42432         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
42433         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
42435         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42436         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42437         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42438         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42439         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
42440         (HP_SMALL_TIMING_AVAIL): Define.
42441         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42442         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
42443         (HP_SMALL_TIMING_AVAIL): Define.
42444         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42445         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42447         * sysdeps/aarch64/hp-timing.h: New file.
42449         * sysdeps/generic/hp-timing.h: Remove dead comment.
42450         * sysdeps/generic/hp-timing-common.h: New file.
42451         * sysdeps/alpha/hp-timing.h: Include it.
42452         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
42453         * sysdeps/i386/i686/hp-timing.h: Likewise.
42454         * sysdeps/ia64/hp-timing.h: Likewise.
42455         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
42456         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42457         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
42458         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
42459         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
42460         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
42461         (hp_timing_t): New.
42463         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
42464         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
42465         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
42466         * elf/rtld.c (_dl_start_final): Likewise.
42467         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
42468         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
42469         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
42470         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
42471         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
42472         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
42473         (HP_TIMING_DIFF_INIT): Remove.
42474         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
42475         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
42476         (HP_TIMING_DIFF_INIT): Remove.
42477         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
42478         * sysdeps/i386/i686/hp-timing.c: Remove file.
42479         * sysdeps/x86_64/hp-timing.c: Remove file.
42480         * sysdeps/ia64/hp-timing.c: Remove file.
42481         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
42482         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
42483         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
42484         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
42486         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
42487         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
42488         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
42489         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
42490         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
42491         (HP_TIMING_ACCUM): Remove.
42492         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
42493         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
42494         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
42496         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
42497         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
42498         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
42499         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
42500         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
42501         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
42502         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
42503         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
42505         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
42507 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
42509         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
42511 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42513         Sync up with gettext.
42514         * intl/loadmsgcat.c: Define O_BINARY if not defined.
42515         [_MSC_VER]: Include malloc.h
42516         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
42517         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
42518         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
42519         TEMP_FAILURE_RETRY.  Cast return of alloca.
42520         [!_LIBC] Call gl_rwlock_init.
42521         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
42523 2014-07-02  Roland McGrath  <roland@hack.frob.com>
42525         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
42526         before checking its value.
42528 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42530         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
42532         * debug/memcpy_chk.c: Don't include pagecopy.h.
42533         * debug/mempcpy_chk.c: Likewise.
42534         * string/memcpy.c: Likewise.
42535         * string/memmove.c: Likewise.
42536         * sysdeps/powerpc/memmove.c: Likewise.
42537         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
42538         definition of PAGE_COPY_FWD_MAYBE here...
42539         * sysdeps/generic/pagecopy.h: ... from here.
42540         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
42542 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
42543             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42545         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
42546         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
42547         optimizations.
42548         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42549         (__libc_ifunc_impl_list): Likewise.
42550         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
42551         multiarch strcat for PPC64.
42552         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
42553         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
42555 2014-07-02  Roland McGrath  <roland@hack.frob.com>
42557         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
42559 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42561         * intl/loadmsgcat.c: Remove declaration of
42562         get_sysdep_segment_value.
42563         (get_sysdep_segment_value): Use ISO C style.
42564         (_nl_load_domain): Use ISO C style.  Get rid of redundant
42565         semicolon.  Fix typo and formatting in comment.
42566         (_nl_unload_domain): Use ISO C style.
42568         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
42570 2014-07-02  Will Newton  <will.newton@linaro.org>
42572         * malloc/obstack.c: Merge from gnulib master.
42573         [HAVE_CONFIG_H]: Remove conditional code.
42574         [!_LIBC]: Include config.h.
42575         [!ELIDE_CODE]: Don't include inttypes.h, include
42576         stdint.h unconditionally.
42577         (print_and_abort): Mark as _Noreturn.
42578         (_obstack_allocated_p): Mark as __attribute_pure__.
42579         (obstack_free): Rename to __obstack_free.
42580         [!__attribute__]: Remove conditional code.
42581         * malloc/obstack.h: Merge from gnulib master.
42582         [__cplusplus]: Move conditional down.
42583         [!__attribute_pure__]: Define __attribute_pure__ here
42584         if it is not already defined.
42585         (_obstack_memory_used): Mark as __attribute_pure__.
42586         [!__obstack_free]: Define as obstack_free.
42587         [__GNUC__]: Remove check for ancient NeXT gcc.
42589 2014-07-02  Will Newton  <will.newton@linaro.org>
42590             Paul Eggert  <eggert@cs.ucla.edu>
42592         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
42594 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42596         * resolv/gethnamaddr.c: Add comment warning that the file is
42597         not maintained.
42599 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
42601         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
42602         entries.
42604         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
42605         entry for aio_cancel and aio_cancel64.
42606         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
42607         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
42608         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
42609         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
42610         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
42611         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
42612         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
42613         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
42614         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
42615         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
42616         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
42617         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
42618         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
42620 2014-07-01  Roland McGrath  <roland@hack.frob.com>
42622         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
42623         * nptl/pthread_mutex_lock.c: Likewise.
42624         * nptl/pthread_mutex_timedlock.c: Likewise.
42625         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
42627 2014-07-01  Richard henderson  <rth@redhat.com>
42629         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
42630         (__isnan, __isnanl): Remove.
42631         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
42633         * sysdeps/alpha/fpu/libm-test-ulps: Update.
42635 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
42637         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42639 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
42641         * resolv/nss_dns/dns-host.c (getanswer_r)
42642         [MULTI_PTRS_ARE_ALIASES]: Remove code.
42644 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
42646         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42647         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
42648         undefine.
42649         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
42650         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
42652 2014-07-01  Roland McGrath <roland@hack.frob.com>
42654         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
42655         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
42657         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
42658         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
42660         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
42661         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
42662         ... here.
42663         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
42664         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
42666         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
42667         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
42668         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
42669         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
42671         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
42672         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
42673         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
42674         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
42675         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
42676         Moved ...
42677         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
42678         ... here.
42679         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
42680         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
42681         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
42682         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
42683         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
42684         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
42685         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
42686         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
42687         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
42688         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
42689         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
42690         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
42691         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
42692         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
42693         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
42694         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
42695         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
42696         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
42697         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
42698         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
42699         ... here.
42700         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
42701         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
42702         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
42703         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
42704         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
42705         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
42706         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
42707         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
42709 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
42711         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
42712         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
42713         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
42714         Add sysdep.
42716 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42718         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42720 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
42722         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
42723         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
42725         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42727         * sysdeps/arm/libm-test-ulps: Regenerated.
42729 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
42730             Roland McGrath <roland@hack.frob.com>
42732         * test-skeleton.c (signal_handler): Kill the whole process group
42733         before killing the child individually.
42734         (main): Report any failure on `setpgid'.
42736 2014-06-30  Roland McGrath  <roland@hack.frob.com>
42738         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
42739         from _TLS_H to _ARM_NPTL_TLS_H.
42740         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
42741         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
42743 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
42745         [BZ #16539]
42746         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
42747         (__expm1l): Return argument unchanged when small but not
42748         subnormal.
42750         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
42751         include macro name.
42752         (_FP_UNPACK_RAW_1_P): Likewise.
42753         (_FP_PACK_RAW_1): Likewise.
42754         (_FP_PACK_RAW_1_P): Likewise.
42755         (_FP_MUL_MEAT_1_wide): Likewise.
42756         (_FP_MUL_MEAT_DW_1_hard): Likewise.
42757         (_FP_MUL_MEAT_1_hard): Likewise.
42758         (_FP_DIV_MEAT_1_imm): Likewise.
42759         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
42760         (_FP_DIV_MEAT_1_udiv): Likewise.
42761         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
42762         (_FP_UNPACK_RAW_2): Likewise.
42763         (_FP_UNPACK_RAW_2_P): Likewise.
42764         (_FP_PACK_RAW_2): Likewise.
42765         (_FP_PACK_RAW_2_P): Likewise.
42766         (_FP_MUL_MEAT_DW_2_wide): Likewise.
42767         (_FP_MUL_MEAT_2_wide): Likewise.
42768         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
42769         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
42770         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
42771         (_FP_MUL_MEAT_2_gmp): Likewise.
42772         (_FP_DIV_MEAT_2_udiv): Likewise.
42773         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
42774         (_FP_FRAC_SRL_4): Likewise.
42775         (_FP_FRAC_SRST_4): Likewise.
42776         (_FP_FRAC_SRS_4): Likewise.
42777         (_FP_UNPACK_RAW_4): Likewise.
42778         (_FP_UNPACK_RAW_4_P): Likewise.
42779         (_FP_PACK_RAW_4): Likewise.
42780         (_FP_PACK_RAW_4_P): Likewise.
42781         (_FP_MUL_MEAT_DW_4_wide): Likewise.
42782         (_FP_MUL_MEAT_4_wide): Likewise.
42783         (_FP_MUL_MEAT_4_gmp): Likewise.
42784         (umul_ppppmnnn): Likewise.
42785         (_FP_DIV_MEAT_4_udiv): Likewise.
42786         (__FP_FRAC_ADD_4): Likewise.
42787         (__FP_FRAC_SUB_3): Likewise.
42788         (__FP_FRAC_SUB_4): Likewise.
42789         (__FP_FRAC_DEC_3): Likewise.
42790         (__FP_FRAC_DEC_4): Likewise.
42791         (__FP_FRAC_ADDI_4): Likewise.
42792         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
42793         (_FP_FRAC_SRL_8): Likewise.
42794         (_FP_FRAC_SRS_8): Likewise.
42796         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
42797         include macro name.
42798         (FP_UNPACK_RAW_EP): Likewise.
42799         (FP_PACK_RAW_E): Likewise.
42800         (FP_PACK_RAW_EP): Likewise.
42801         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
42802         (_FP_ISSIGNAN): Likewise.
42803         (_FP_ADD_INTERNAL): Likewise.
42804         (_FP_FMA): Likewise.
42805         (_FP_CMP): Likewise.
42806         (_FP_SQRT): Likewise.
42807         (_FP_TO_INT): Likewise.
42808         (_FP_FROM_INT): Likewise.
42809         (FP_EXTEND): Likewise.
42810         (_FP_DIV_MEAT_N_loop): Likewise.
42812 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
42814         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
42815         throughout.
42817 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
42819         [BZ #17097]
42820         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
42821         result with correct sign in case of exponents that produce
42822         overflow except for X very close to 1.
42824 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
42826         mktime: merge #if/#ifdef usage from glibc
42827         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
42828         as that works with both Glibc's and Gnulib's style.
42829         See thread starting at Siddhesh Poyarekar's bug report at:
42830         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
42832 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42834         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
42835         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
42836         * sysdeps/tile/tilegx/memmove.c: Remove file.
42838 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
42840         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
42841         abi-name definition.
42842         * scripts/soversions.awk: Do not handle or generate ABI lines.
42843         * shlib-versions: Remove ABI entries.
42844         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
42845         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
42847 2014-06-27  Roland McGrath  <roland@hack.frob.com>
42849         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
42850         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
42851         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
42852         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
42853         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
42854         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
42855         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
42856         Moved ...
42857         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
42858         ... here.
42859         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
42860         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
42861         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
42862         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
42863         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
42864         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
42865         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
42866         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
42867         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
42868         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
42869         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
42870         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
42871         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
42872         Moved ...
42873         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
42874         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
42875         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
42876         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
42877         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
42878         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
42879         Moved ...
42880         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
42881         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
42882         Moved ...
42883         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
42884         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
42885         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
42886         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
42887         Moved ...
42888         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
42889         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
42890         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
42891         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
42892         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
42893         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
42894         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
42895         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
42896         Moved ...
42897         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
42898         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
42899         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
42900         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
42901         Moved ...
42902         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
42903         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
42904         Moved ...
42905         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
42906         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
42907         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
42908         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
42909         Moved ...
42910         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
42911         ... here.
42912         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
42913         Identical file removed.
42914         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
42915         Moved ...
42916         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
42917         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
42918         Identical file removed.
42919         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
42920         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
42921         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
42922         Moved ...
42923         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
42924         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
42925         Identical file removed.
42926         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
42927         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
42928         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
42929         Identical file removed.
42930         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
42931         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
42932         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
42933         Identical file removed.
42934         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
42935         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
42936         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
42937         Identical file removed.
42938         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
42939         Moved ...
42940         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
42941         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
42942         Identical file removed.
42943         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
42944         Moved ...
42945         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
42946         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
42947         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
42948         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
42949         Identical file removed.
42950         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
42951         Moved ...
42952         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
42953         ... here.
42954         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
42955         Identical file removed.
42956         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
42957         Moved ...
42958         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
42959         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
42960         Identical file removed.
42961         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
42962         Moved ...
42963         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
42964         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
42965         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
42966         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
42967         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
42968         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
42969         Moved ...
42970         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
42971         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
42972         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
42974         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
42975         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
42976         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
42977         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
42978         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
42980 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
42982         [BZ #17092]
42983         * nscd/nscd.c (monitor_child): Return exit status of child
42984         instead of return value from wait syscall.
42986 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
42988         * configure.ac (libc_commonpagesize): Remove variable.
42989         (libc_relro_required): Likewise.
42990         (libc_cv_z_relro): Remove configure test.
42991         * configure: Regenerated.
42992         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
42993         variable.
42994         (libc_relro_required): Likewise.
42995         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
42996         (libc_relro_required): Likewise.
42997         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
42998         (libc_relro_required): Likewise.
42999         * sysdeps/arm/preconfigure: Regenerated.
43000         * sysdeps/ia64/preconfigure: Remove file.
43001         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
43002         variable.
43003         (libc_relro_required): Likewise.
43005         [BZ #16561]
43006         [BZ #16562]
43007         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
43008         (__ieee754_yn): Set FE_TONEAREST mode internally and then
43009         recompute overflowing results in original rounding mode.
43010         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
43011         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
43012         recompute overflowing results in original rounding mode.
43013         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
43014         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
43015         recompute overflowing results in original rounding mode.
43016         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
43017         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
43018         recompute overflowing results in original rounding mode.
43019         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
43020         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
43021         recompute overflowing results in original rounding mode.
43022         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
43023         (libc_feholdsetround_ctx): New macro.
43024         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
43025         * sysdeps/i386/fpu/libm-test-ulps: Update.
43026         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
43028 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
43030         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
43031         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
43032         corresponding .cpsetup call.
43034 2014-06-26  Roland McGrath  <roland@hack.frob.com>
43036         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
43037         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
43038         * sysdeps/arm/Makefile [$(subdir) = csu]
43039         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
43040         (static-only-routines): Add aeabi_read_tp here.
43041         (shared-only-routines): Add libc-aeabi_read_tp here.
43042         (CFLAGS-libc-start.c): Add -fexceptions here.
43043         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
43044         (sysdep_routines, static-only-routines, shared-only-routines):
43045         Don't add to these here.
43046         (CFLAGS-libc-start.c): Likewise.
43048         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
43049         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
43050         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
43051         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
43052         * sysdeps/arm/Makefile [$(subdir) = rt]
43053         (librt-sysdep_routines, librt-shared-only-routines):
43054         Append rt-aeabi_unwind_cpp_pr1 here.
43055         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
43056         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
43057         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
43058         (libpthread-sysdep_routines, libpthread-shared-only-routines):
43059         Append nptl-aeabi_unwind_cpp_pr1 here.
43060         (tests): Filter out tst-cleanupx4 here.
43061         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
43062         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
43063         Don't do those here.
43065 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
43067         * scripts/list-sources.sh: Do not handle ports specially.
43069 2014-06-26  Roland McGrath  <roland@hack.frob.com>
43071         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
43072         * sysdeps/arm/feupdateenv.c: Likewise.
43074         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
43076 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
43078         * manual/texinfo.tex: Update to version 2014-05-05.10 with
43079         trailing whitespace removed.
43080         * scripts/config.guess: Update to version 2014-03-23.
43081         * scripts/config.sub: Update to version 2014-05-01
43082         * scripts/install-sh: Update to version 2013-12-25.23.
43083         * scripts/move-if-change: Update from gnulib.
43085 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43087         * debug/memmove_chk.c: Remove pagecopy.h include.
43089 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
43091         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
43092         identical to gnulib mktime.
43094 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
43096         * configure.ac: Do not test for machine being rs6000.  Do not test
43097         for powerpc*-*soft.
43098         * configure: Regenerated.
43100         [BZ #11505]
43101         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
43102         test.
43103         * configure: Regenerated.
43104         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
43105         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
43106         Remove configure test.
43107         * sysdeps/arm/configure: Regenerated.
43108         * sysdeps/nptl/configure.ac: Do not check
43109         libc_cv_asm_cfi_directives.
43110         * sysdeps/nptl/configure: Regenerated.
43111         * sysdeps/x86_64/nptl/configure.ac: Remove file.
43112         * sysdeps/x86_64/nptl/configure: Remove generated file.
43113         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
43114         unconditional.
43115         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
43117 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43119         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
43120         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
43121         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
43122         it is defined.
43124         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
43125         instead of whether it is defined.
43126         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
43127         * sysdeps/hppa/dl-machine.h: Likewise.
43128         * sysdeps/ia64/dl-machine.h: Likewise.
43129         * sysdeps/m68k/dl-machine.h: Likewise.
43130         * sysdeps/microblaze/dl-machine.h: Likewise.
43131         * sysdeps/mips/dl-machine.: Likewise.
43132         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43133         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43134         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43135         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43136         * sysdeps/sh/dl-machine.h: Likewise.
43137         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43138         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43139         * sysdeps/tile/dl-machine.h: Likewise.
43140         * sysdeps/x86_64/dl-machine.h: Likewise.
43142         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
43143         code.
43144         (verify_persistent_db): Likewise.
43146 2014-06-26  Roland McGrath  <roland@hack.frob.com>
43148         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
43149         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
43150         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
43151         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
43152         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
43153         Moved ...
43154         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
43155         ... here.
43156         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
43157         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
43158         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
43159         Identical file removed.
43160         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
43161         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
43162         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
43163         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
43164         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
43165         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
43166         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
43167         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
43168         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
43169         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
43170         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43171         Moved ...
43172         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
43173         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
43174         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
43175         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
43176         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
43177         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
43178         Moved ...
43179         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
43180         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
43181         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
43182         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
43183         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
43184         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
43185         Identical file removed.
43186         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
43187         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
43188         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
43189         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
43190         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
43191         Moved ...
43192         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
43193         ... here.
43194         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
43195         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
43196         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
43197         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
43198         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
43199         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
43200         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
43201         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
43202         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
43203         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
43204         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43205         Moved ...
43206         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
43207         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
43208         Moved ...
43209         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
43210         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
43211         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
43212         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
43213         Moved ...
43214         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
43215         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
43216         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
43218         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
43219         folded into ...
43220         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
43221         * sysdeps/unix/sysv/linux/s390/Versions
43222         (libpthread: GLIBC_2.19): New version set.
43223         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
43224         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
43225         (librt: GLIBC_2.3.3): New version set.
43226         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
43227         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
43228         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
43229         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
43230         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
43231         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
43232         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
43233         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
43234         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
43235         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
43236         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
43237         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
43238         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
43239         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
43240         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
43241         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
43242         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
43243         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
43244         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
43245         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
43246         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
43247         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
43248         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
43249         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
43250         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
43251         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
43252         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
43253         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
43254         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
43255         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
43256         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
43257         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
43258         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
43259         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
43260         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
43261         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
43262         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
43263         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
43264         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
43265         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
43266         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
43267         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
43268         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
43269         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
43270         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
43272         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
43273         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
43274         (__libc_vfork): Define the function under this name.
43275         [!NOT_IN_libc] (__vfork): Make this an alias.
43276         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
43277         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
43278         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
43279         (__libc_vfork): Define the function under this name.
43280         [!NOT_IN_libc] (__vfork): Make this an alias.
43281         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
43282         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
43283         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
43284         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
43285         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
43286         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
43288         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
43289         code that was previously under [RESET_PID].
43290         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
43291         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
43292         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
43294         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
43295         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
43296         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
43297         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
43298         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
43299         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
43300         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
43301         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
43302         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
43303         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
43304         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
43305         Moved ...
43306         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
43307         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
43308         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
43309         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
43310         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
43311         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
43312         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
43313         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
43314         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
43315         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
43316         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
43317         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
43318         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
43319         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
43320         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
43321         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
43322         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
43323         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
43324         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
43325         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
43326         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
43327         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
43328         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
43329         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
43330         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
43331         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
43332         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
43333         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
43334         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
43336 2014-06-25  Roland McGrath  <roland@hack.frob.com>
43338         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
43339         that was previously under [RESET_PID].
43340         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
43342 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
43344         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
43345         not undefine and redefine.
43346         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
43347         [O_CLOEXEC]: Make code unconditional.
43348         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
43349         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
43350         <kernel-features.h>.
43351         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
43352         conditional variable definition.
43353         (shm_open) [O_CLOEXEC]: Make code unconditional.
43354         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
43355         code.
43357         * configure.ac (USE_REGPARMS): Don't define here.
43358         * configure: Regenerated.
43359         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
43360         * sysdeps/i386/configure: Regenerated.
43362         * nptl/createthread.c: Don't include kernel-features.h.
43363         * nptl/pthread_cancel.c: Likewise.
43364         * nptl/pthread_condattr_setclock.c: Likewise.
43365         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
43366         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
43367         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
43368         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
43369         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
43370         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
43371         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
43372         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
43373         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
43374         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
43375         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
43376         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
43377         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
43378         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
43379         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
43380         * nscd/gai.c: Likewise.
43381         * nss/nss_db/db-open.c: Likewise.
43382         * sysdeps/generic/ldsodefs.h: Likewise.
43383         * sysdeps/sh/nptl/tls.h: Likewise.
43384         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
43385         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
43386         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
43387         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
43388         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
43389         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
43390         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
43391         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
43392         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
43393         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
43394         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
43395         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
43396         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
43397         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
43398         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
43399         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
43400         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
43401         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
43402         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
43403         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
43404         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
43405         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
43406         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
43407         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
43408         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
43409         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
43410         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
43411         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
43412         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
43413         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
43414         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
43415         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
43416         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
43417         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
43418         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
43419         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
43420         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
43421         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
43422         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
43423         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
43424         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
43425         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
43426         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
43427         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
43428         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
43429         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
43430         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
43431         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
43432         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
43433         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
43434         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
43435         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
43436         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
43437         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
43438         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
43439         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
43440         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
43441         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
43442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
43443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
43444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
43445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
43446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
43447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
43448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
43449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
43450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
43451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
43452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
43453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
43454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
43455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
43456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
43457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
43458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
43459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
43460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
43461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
43462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
43463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
43464         * sysdeps/unix/sysv/linux/pread.c: Likewise.
43465         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
43466         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
43467         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
43468         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
43469         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
43470         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
43471         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
43472         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
43473         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
43474         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
43475         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
43476         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
43477         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
43478         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
43479         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
43480         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
43481         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
43482         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
43483         * sysdeps/unix/sysv/linux/system.c: Likewise.
43484         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
43485         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
43486         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
43487         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
43488         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
43489         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
43490         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
43492         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
43493         * configure: Regenerated.
43494         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
43496         * configure.ac (base_machine): Do not set specially for particular
43497         machines here.
43498         * configure: Regenerated.
43499         * sysdeps/powerpc/preconfigure: Move machine and base_machine
43500         settings from configure.ac.
43501         * sysdeps/i386/preconfigure: New file.
43502         * sysdeps/s390/preconfigure: Likewise.
43503         * sysdeps/sh/preconfigure: Likewise.
43504         * sysdeps/sparc/preconfigure: Likewise.
43506 2014-06-25  Roland McGrath  <roland@hack.frob.com>
43508         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
43509         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
43510         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
43511         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
43512         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
43513         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
43514         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
43515         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
43516         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
43517         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
43518         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
43519         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
43520         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
43521         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
43522         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
43523         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
43524         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
43525         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
43526         * sysdeps/sparc/sparc64/Makefile: ... appended here.
43528         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
43529         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
43530         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
43531         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
43532         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
43533         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
43534         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
43535         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
43536         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
43537         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
43538         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
43539         * sysdeps/sparc/sparc32/sem_post.c: ... here.
43540         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
43541         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
43542         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
43543         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
43544         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
43545         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
43546         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
43547         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
43548         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
43549         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
43550         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
43551         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
43552         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
43553         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
43554         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
43555         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
43556         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
43557         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
43558         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
43559         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
43560         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
43561         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
43562         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
43563         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
43564         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
43565         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
43567         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
43568         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
43569         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
43570         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
43571         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
43572         Moved ...
43573         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
43574         ... here.
43575         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
43576         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
43577         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
43578         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
43579         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
43580         Moved ...
43581         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
43582         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
43583         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
43584         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
43585         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
43586         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
43587         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
43588         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43589         Moved ...
43590         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
43591         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
43592         Moved ...
43593         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
43594         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
43595         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
43596         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
43597         Moved ...
43598         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
43599         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
43600         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
43601         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
43602         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
43603         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
43604         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
43605         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
43606         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
43607         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
43608         Moved ...
43609         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
43610         ... here.
43611         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
43612         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
43613         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
43614         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
43615         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
43616         Moved ...
43617         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
43618         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
43619         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
43620         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
43621         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
43622         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
43623         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
43624         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43625         Moved ...
43626         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
43627         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
43628         Moved ...
43629         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
43630         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
43631         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
43632         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
43633         Moved ...
43634         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
43635         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
43636         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
43637         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
43638         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
43640 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
43642         * timezone/checktab.awk: Update from tzcode 2014e.
43643         * timezone/private.h: Likewise.
43644         * timezone/tzfile.h: Likewise.
43645         * timezone/zdump.c: Likewise.
43646         * timezone/zic.c: Likewise.
43648         * sysdeps/unix/sysv/linux/kernel-features.h
43649         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
43650         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
43651         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
43652         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
43653         Remove conditional code.
43655 2014-06-25  Will Newton  <will.newton@linaro.org>
43657         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
43658         (_dl_arm_cap_flags): Add HWCAP2 values.
43659         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
43660         (_DL_HWCAP_COUNT): Increase to 37.
43661         (_DL_HWCAP_LAST): New define.
43662         (_DL_HWCAP2_LAST): New define.
43663         (_dl_procinfo): Add support for printing
43664         AT_HWCAP2 entries.
43665         (_dl_string_hwcap): Use _dl_hwcap_string.
43667 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43669         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43671 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
43673         * README: Do not mention ports directory.
43675         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
43676         Remove macro.
43677         * sysdeps/unix/sysv/linux/futimes.c: Do not include
43678         <kernel-features.h>.
43679         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
43680         conditional variable definition.
43681         (__futimes): Update comment.
43682         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
43683         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
43685         [BZ #16560]
43686         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
43687         arguments close to 0.
43688         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
43689         Likewise.
43690         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
43691         Likewise.
43692         * math/auto-libm-test-in: Add more tests of exp10.
43693         * math/auto-libm-test-out: Regenerated.
43694         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43696         * sysdeps/unix/sysv/linux/kernel-features.h
43697         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
43698         * sysdeps/unix/sysv/linux/readv.c: Do not include
43699         <kernel-features.h>.
43700         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
43701         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
43702         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
43703         unconditional.
43704         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
43705         conditional code.
43706         * sysdeps/unix/sysv/linux/writev.c: Do not include
43707         <kernel-features.h>.
43708         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
43709         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
43710         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
43711         unconditional.
43712         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
43713         conditional code.
43715 2014-06-25  Will Newton  <will.newton@linaro.org>
43717         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
43718         comment changes throughout the file.  Remove checks
43719         for HAVE_*_H definitions that are not required.
43720         (__gen_tempname): Call abort if an unknown kind value is
43721         passed.
43723 2014-06-25  Andreas Schwab  <schwab@suse.de>
43725         [BZ #17086]
43726         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
43727         scalbln, scalblnf, scalblnl in libc.
43729 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43731         [BZ #17086]
43732         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
43733         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
43734         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
43736 2014-06-24  Roland McGrath  <roland@hack.frob.com>
43738         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
43739         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
43740         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
43741         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
43742         Update #include.
43743         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
43744         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
43745         Update #include.
43746         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
43747         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
43748         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
43749         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
43750         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
43751         * sysdeps/x86/bits/pthreadtypes.h: ... here.
43752         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
43753         * sysdeps/x86/bits/semaphore.h: ... here.
43754         * sysdeps/x86/nptl/elide.h: Moved ...
43755         * sysdeps/x86/elide.h: ... here.
43756         * sysdeps/x86_64/nptl/Implies: File removed.
43757         * sysdeps/i386/nptl/Implies: File removed.
43759 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
43761         [BZ #16539]
43762         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
43763         return the argument for normal arguments with exponent below -64.
43764         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
43765         Likewise.
43766         * math/auto-libm-test-in: Add another test of expm1.
43767         * math/auto-libm-test-out: Regenerated.
43769         [BZ #16287]
43770         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
43771         calling __erfcl for arguments at least 16.
43772         * math/auto-libm-test-in: Add more tests of erf.
43773         * math/auto-libm-test-out: Regenerated.
43775         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
43776         individual architectures.
43777         * sysdeps/unix/sysv/linux/configure: Regenerated.
43778         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
43779         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
43780         * sysdeps/unix/sysv/linux/powerpc/configure.ac
43781         (ldd_rewrite_script): Define variable.
43782         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
43783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
43784         file.
43785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
43786         generated file.
43787         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
43788         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
43789         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
43790         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
43791         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
43792         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
43793         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
43794         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
43796 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43798         [BZ #17084]
43799         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
43800         Rename member __data.d to __data.__elision_data.
43802 2014-06-24  Wilco  <wdijkstr@arm.com>
43804         * NEWS: Add 16918 to fixed bug list.
43806 2014-06-24  Wilco  <wdijkstr@arm.com>
43808         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
43810 2014-06-24  Wilco  <wdijkstr@arm.com>
43812         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
43813         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
43814         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
43815         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
43816         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
43817         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
43818         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
43819         Use _FPU_MASK_RM.
43821 2014-06-24  Wilco  <wdijkstr@arm.com>
43823         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
43825 2014-06-24  Wilco  <wdijkstr@arm.com>
43827         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
43828         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
43829         * sysdeps/arm/fesetround.c (fesetround): Remove space.
43830         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
43832 2014-06-24  Wilco  <wdijkstr@arm.com>
43834         [BZ #16918]
43835         * sysdeps/arm/feupdateenv.c (feupdateenv):
43836         Rewrite to reduce FPSCR accesses and fix return value.
43838 2014-06-24  Wilco  <wdijkstr@arm.com>
43840         * sysdeps/arm/fclrexcpt.c (feclearexcept):
43841         Optimize to avoid unnecessary FPSCR writes.
43842         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
43843         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
43844         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
43845         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
43847 2014-06-24  Wilco  <wdijkstr@arm.com>
43849         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
43850         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
43851         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
43852         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
43853         Call libc_fetestexcept_vfp.
43854         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
43855         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
43856         __SOFTFP__ ifdef so that they can be built for softfp.
43858 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43860         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
43861         argument type signed char.
43863         * Makerules (check-abi): Dump diff of symlist if the test
43864         fails.
43866 2014-06-23  Roland McGrath  <roland@hack.frob.com>
43868         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
43869         using abort.
43871         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
43872         Remove unused variable ST.
43874 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
43876         [BZ #16354]
43877         [BZ #17061]
43878         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
43879         small arguments before calling __expm1.
43880         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
43881         small arguments before calling __expm1f.
43882         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
43883         small arguments before calling __expm1l.
43884         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
43885         Likewise.
43886         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
43887         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
43888         spurious underflow for some cosh tests.
43889         * math/auto-libm-test-out: Regenerated.
43890         * sysdeps/i386/fpu/libm-test-ulps: Update.
43892         [BZ #17050]
43893         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
43894         (__ieee754_y1): Set errno if return value overflows.
43895         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
43896         (__ieee754_y1f): Set errno if return value overflows.
43897         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
43898         (__ieee754_y1l): Set errno if return value overflows.
43899         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
43900         (__ieee754_y1l): Set errno if return value overflows.
43901         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
43902         * math/auto-libm-test-out: Regenerated.
43904         * math/gen-auto-libm-tests.c: Document use of
43905         ignore-zero-inf-sign.
43906         (input_flag_type): Add value flag_ignore_zero_inf_sign.
43907         (input_flags): Add ignore-zero-inf-sign.
43908         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
43909         * math/gen-libm-test.pl (generate_testfile): Handle
43910         ignore-zero-inf-sign.
43911         * math/auto-libm-test-in: Mark some cpow tests with
43912         ignore-zero-inf-sign and some with xfail-rounding.
43913         * math/auto-libm-test-out: Regenerated.
43914         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
43915         * sysdeps/i386/fpu/libm-test-ulps: Update.
43916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43918         [BZ #16315]
43919         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
43920         overflowing or underflowing operations take place with sign of
43921         result.
43922         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43923         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
43924         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
43925         (__ieee754_pow): Recompute overflowing and underflowing results in
43926         original rounding mode.
43927         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
43928         (__powl_helper): Allow negative argument X and scale negated value
43929         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
43930         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
43931         overflowing or underflowing operations take place with sign of
43932         result.
43933         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
43934         Include <math.h>.
43935         * math/auto-libm-test-in: Add more tests of pow.
43936         * math/auto-libm-test-out: Regenerated.
43937         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
43938         (pow_tonearest_test_data): Remove.
43939         (pow_test_tonearest): Likewise.
43940         (pow_towardzero_test_data): Likewise.
43941         (pow_test_towardzero): Likewise.
43942         (pow_downward_test_data): Likewise.
43943         (pow_test_downward): Likewise.
43944         (pow_upward_test_data): Likewise.
43945         (pow_test_upward): Likewise.
43946         (main): Don't call removed functions.
43947         * sysdeps/i386/fpu/libm-test-ulps: Update.
43948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43950 2014-06-23  Roland McGrath  <roland@hack.frob.com>
43952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
43953         Moved ...
43954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
43955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43956         Moved ...
43957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
43958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
43959         Moved ...
43960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
43961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
43962         Moved ...
43963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
43964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
43965         File removed.
43966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
43967         File removed.
43968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
43969         File removed.
43970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
43971         File removed.
43972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
43973         File removed.
43974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
43975         File removed.
43976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
43977         File removed.
43978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43979         File removed.
43980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
43981         File removed.
43982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43983         File removed.
43984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
43985         File removed.
43986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
43987         File removed.
43988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
43989         Moved ...
43990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
43991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
43992         Moved ...
43993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
43994         ... here.
43995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
43996         Moved ...
43997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
43998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
43999         Moved ...
44000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
44001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
44002         Moved ...
44003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
44004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
44005         Moved ...
44006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
44007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
44008         Moved ...
44009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
44010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
44011         Moved ...
44012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
44013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
44014         Moved ...
44015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
44016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
44017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
44018         ... here.
44019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
44020         Moved ...
44021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
44022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
44023         Moved ...
44024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
44025         ... here.
44026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
44027         Moved ...
44028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
44029         ... here.
44030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
44031         Moved ...
44032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
44033         ... here.
44034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
44035         Moved ...
44036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
44037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
44038         Moved ...
44039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
44040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
44041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
44042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
44043         Moved ...
44044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
44045         ... here.
44046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
44047         Moved ...
44048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
44049         ... here.
44050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
44051         Moved ...
44052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
44053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
44054         Moved ...
44055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
44056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
44057         Moved ...
44058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
44059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44060         Moved ...
44061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
44062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
44063         Moved ...
44064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
44065         ... here.
44066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
44067         Moved ...
44068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
44069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
44070         Moved ...
44071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
44072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
44073         Moved ...
44074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
44075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
44076         Moved ...
44077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
44078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
44079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
44080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
44081         Moved ...
44082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
44083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
44084         Moved ...
44085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
44086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
44087         Moved ...
44088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
44089         ... here.
44090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44091         Moved ...
44092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
44093         ... here.
44094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
44095         Moved ...
44096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
44097         ... here.
44098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
44099         Moved ...
44100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
44101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
44102         Moved ...
44103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
44104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
44105         Moved ...
44106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
44107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
44108         Moved ...
44109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
44110         ... here.
44111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
44112         Moved ...
44113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
44114         ... here.
44115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
44116         Moved ...
44117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
44118         ... here.
44119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
44120         Moved ...
44121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
44122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
44123         Moved ...
44124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
44126 2014-06-23  Will Newton  <will.newton@linaro.org>
44127             Wilco  <wdijkstr@arm.com>
44129         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
44130         implementation.  Include get-rounding-mode.h.
44131         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
44132         [!libc_feholdsetround_noex_ctx]: Define
44133         libc_feholdsetround_noex_ctx.
44134         [!libc_feholdsetround_noexf_ctx]: Define
44135         libc_feholdsetround_noexf_ctx.
44136         [!libc_feholdsetround_noexl_ctx]: Define
44137         libc_feholdsetround_noexl_ctx.
44138         (libc_feholdsetround_ctx): New function.
44139         (libc_feresetround_ctx): New function.
44140         (libc_feholdsetround_noex_ctx): New function.
44141         (libc_feresetround_noex_ctx): New function.
44143 2014-06-23  Roland McGrath  <roland@hack.frob.com>
44145         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
44146         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
44147         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
44148         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
44149         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
44150         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
44152         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
44153         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
44154         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
44155         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
44156         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
44157         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
44158         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
44159         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
44160         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
44161         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
44162         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
44163         Moved ...
44164         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
44165         ... here.
44166         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
44167         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
44168         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
44169         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
44170         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
44171         Moved ...
44172         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
44173         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
44174         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
44175         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
44176         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
44177         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
44178         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
44179         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
44180         Moved ...
44181         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
44182         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
44183         Moved ...
44184         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
44185         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
44186         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
44187         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
44188         Moved ...
44189         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
44190         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
44191         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
44192         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
44193         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
44194         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
44195         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
44196         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
44197         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
44198         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
44199         Moved ...
44200         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
44201         ... here.
44202         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
44203         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
44204         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
44205         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
44206         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
44207         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
44208         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
44209         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
44210         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
44211         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
44212         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
44213         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
44214         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
44215         Moved ...
44216         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
44217         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
44218         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
44219         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
44220         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
44221         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
44222         Moved ...
44223         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
44224         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
44225         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
44226         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
44227         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
44229         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
44230         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
44231         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
44232         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
44233         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
44234         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
44235         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
44236         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
44237         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
44238         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
44239         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
44240         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
44241         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
44242         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
44243         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
44244         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
44245         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
44246         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
44247         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
44248         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
44249         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
44250         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
44251         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
44252         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
44253         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
44254         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
44255         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
44256         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
44258 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
44260         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
44261         (FALLOC_FL_COLLAPSE_RANGE): New macro.
44262         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
44263         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
44264         (IPV6_PMTUDISC_INTERFACE): Likewise.
44265         (IPV6_PMTUDISC_OMIT): Likewise.
44267 2014-06-23  Andreas Schwab  <schwab@suse.de>
44269         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
44270         Remove unused errout label.
44272 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44274         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
44275         macro: hardware supports Vector Crypto instructions.
44277 2014-06-23  Will Newton  <will.newton@linaro.org>
44279         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
44280         rather than __builtin_expect.
44282         * elf/dl-lookup.c (undefined_msg): Remove variable.
44283         (_dl_lookup_symbol_x): Replace undefined_msg with string
44284         literal.
44286         * elf/dl-lookup.c (do_lookup_unique): New function.
44287         (do_lookup_x): Move STB_GNU_UNIQUE handling code
44288         to a separate function.
44290 2014-06-23  Andreas Schwab  <schwab@suse.de>
44292         [BZ #17079]
44293         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
44294         before reading the next line.
44296 2014-06-23  Will Newton  <will.newton@linaro.org>
44298         * test-skeleton.c (signal_handler): Use printf and %m
44299         rather than perror.  Use printf rather than fprintf to
44300         stderr.  Use puts rather than fputs to stderr.
44301         (main): Likewise.
44303 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
44305         * nscd/nscd.c (thread_info_t): Remove typedef.
44306         (thread_info): Remove variable.
44308 2014-06-21  Allan McRae  <allan@archlinux.org>
44310         * NEWS: Mention CVE-2014-4043.
44312 2014-06-20  Roland McGrath  <roland@hack.frob.com>
44314         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
44315         * nptl/smp.h: ... here.
44317         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
44319         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
44320         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
44321         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
44322         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
44324         * nptl/allocatestack.c: Include <stack-aliasing.h>.
44325         * nptl/stack-aliasing.h: New file.
44326         * sysdeps/i386/i686/stack-aliasing.h: New file.
44327         * sysdeps/i386/i686/nptl/Makefile: File removed.
44328         * sysdeps/x86_64/stack-aliasing.h: New file.
44329         * sysdeps/x86_64/nptl/Makefile
44330         (CFLAGS-pthread_create.c): Variable removed.
44332         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
44333         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
44334         old file.
44335         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
44336         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
44337         old file.
44339 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
44341         * sysdeps/unix/sysv/linux/arm/kernel-features.h
44342         (__ASSUME_SIGFRAME_V2): Remove macro.
44343         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
44344         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
44345         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
44346         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
44347         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
44348         Declare as function.  Remove conditional macro definitions.
44349         (__default_rt_sa_restorer): Likewise.
44350         (__default_sa_restorer_v1): Remove declaration.
44351         (__default_sa_restorer_v2): Likewise.
44352         (__default_rt_sa_restorer_v1): Likewise.
44353         (__default_rt_sa_restorer_v2): Likewise.
44354         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
44355         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
44356         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
44358 2014-06-20  Roland McGrath  <roland@hack.frob.com>
44360         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
44361         (libpthread-routines): Add sysdep.
44362         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
44363         * sysdeps/unix/sysv/linux/sparc/Versions
44364         (libpthread: GLIBC_2.3.3): New version set.
44365         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
44366         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
44367         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
44368         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
44369         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
44370         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
44371         Moved ...
44372         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
44373         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
44374         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
44375         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
44376         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
44377         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
44378         * sysdeps/sparc/nptl/sem_init.c: ... here.
44379         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
44380         * sysdeps/sparc/nptl/sem_post.c: ... here.
44381         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
44382         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
44383         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
44384         * sysdeps/sparc/nptl/sem_wait.c: ... here.
44385         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
44386         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
44387         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
44388         (libpthread-routines): Add cpu_relax.
44389         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
44390         File removed.
44391         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
44392         (librt: GLIBC_2.3.3): New version set.
44393         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
44394         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
44395         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
44396         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
44397         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
44398         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
44399         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
44400         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
44401         Moved ...
44402         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
44403         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
44404         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
44405         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
44406         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
44407         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
44408         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
44409         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
44410         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
44411         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
44412         Moved ...
44413         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
44414         Update #include.
44415         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
44416         Moved ...
44417         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
44418         Update #include.
44419         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
44420         Moved ...
44421         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
44422         Update #include.
44423         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
44424         Moved ...
44425         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
44426         Update #include.
44427         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
44428         Moved ...
44429         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
44430         Update #include.
44431         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
44432         Moved ...
44433         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
44434         Update #include.
44435         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
44436         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
44437         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
44438         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
44439         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
44440         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
44441         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
44442         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
44443         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
44444         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
44445         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
44446         Moved ...
44447         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
44448         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
44449         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
44450         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
44451         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
44453 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
44455         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
44456         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
44457         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
44458         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
44459         * nscd/nscd.c: Likewise.
44460         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
44461         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
44462         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
44463         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
44465         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
44466         <kernel-features.h>.
44467         (init_mq_netlink): Remove conditional have_sock_cloexec
44468         definitions.  Remove code conditional on have_sock_cloexec < 0.
44469         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
44470         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
44471         * sysdeps/unix/sysv/linux/opensock.c: Do not include
44472         <kernel-features.h>.
44473         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
44474         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
44476 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
44478         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44479         Add tests for memset_chk and memset.
44481         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
44482         with AVX2_Usable.
44484 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
44486         [BZ #16046]
44487         * elf/tst-dl-iter-static.c: New file.
44488         * elf/Makefile (tests-static): Add tst-dl-iter-static.
44490         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
44491         error.
44493 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
44495         * sysdeps/unix/sysv/linux/kernel-features.h
44496         (__ASSUME_F_GETOWN_EX): Remove macro.
44497         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
44498         <kernel-features.h>.
44499         (miss_F_GETOWN_EX): Remove variable or macro.
44500         (do_fcntl): Do not check miss_F_GETOWN_EX.
44501         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
44503         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
44504         Remove macro.
44505         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
44506         [!__ASSUME_AT_RANDOM]: Remove conditional code.
44507         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
44509         * sysdeps/unix/sysv/linux/kernel-features.h
44510         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
44511         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
44512         [ADJ_OFFSET_SS_READ]: Make code unconditional.
44513         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
44515 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
44517         [BZ #17075]
44518         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
44519         Fix calculation of the symbol's value.
44520         * sysdeps/arm/tst-armtlsdescloc.c: New file.
44521         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
44522         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
44523         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
44524         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
44525         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
44526         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
44527         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
44528         (modules-names): Add `tst-armtlsdescmod',
44529         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
44530         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
44531         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
44532         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
44533         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
44534         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
44535         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
44536         ($(objpfx)tst-armtlsdescloc): New dependency.
44537         ($(objpfx)tst-armtlsdescextnow): Likewise.
44538         ($(objpfx)tst-armtlsdescextlazy): Likewise.
44539         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
44540         TLS scheme support.
44541         * sysdeps/arm/configure: Regenerate.
44543 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
44545         * include/fcntl.h (__atfct_seterrno): Remove prototype.
44546         (__atfct_seterrno_2): Likewise.
44547         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
44548         <kernel-features.h>.
44549         (__ASSUME_ATFCTS): Do not undefine and redefine.
44550         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
44551         (__have_atfcts): Remove conditional definition.
44552         (__fxstatat([__NR_fstatat64]: Make code unconditional.
44553         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
44554         unreachable if [__ASSUME_ATFCTS].
44555         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
44556         not undefine and redefine.
44557         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
44558         <kernel-features.h>.
44559         (faccessat) [__NR_faccessat]: Make code unconditional.
44560         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
44561         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
44562         <kernel-features.h>.
44563         (fchmodat) [__NR_fchmodat]: Make code unconditional.
44564         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
44565         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
44566         <kernel-features.h>.
44567         (fchownat) [__NR_fchownat]: Make code unconditional.
44568         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
44569         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
44570         <kernel-features.h>.
44571         (futimesat) [__NR_futimesat]: Make code unconditional.
44572         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
44573         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
44574         <kernel-features.h>.
44575         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
44576         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
44577         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
44578         <kernel-features.h>.
44579         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
44580         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
44581         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
44582         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
44583         <kernel-features.h>.
44584         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
44585         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
44586         * sysdeps/unix/sysv/linux/linkat.c: Do not include
44587         <kernel-features.h>.
44588         (linkat) [__NR_linkat]: Make code unconditional.
44589         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
44590         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
44591         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
44592         <kernel-features.h>.
44593         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
44594         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
44595         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
44596         <kernel-features.h>.
44597         (mkdirat) [__NR_mkdirat]: Make code unconditional.
44598         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
44599         * sysdeps/unix/sysv/linux/openat.c: Do not include
44600         <kernel-features.h>.
44601         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
44602         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
44603         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
44604         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
44605         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
44606         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
44607         <kernel-features.h>.
44608         (readlinkat) [__NR_readlinkat]: Make code unconditional.
44609         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
44610         result of INLINE_SYSCALL directly, not via int variable.
44611         * sysdeps/unix/sysv/linux/renameat.c: Do not include
44612         <kernel-features.h>.
44613         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
44614         (renameat) [__NR_renameat]: Make code unconditional.
44615         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
44616         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
44617         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
44618         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
44619         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
44620         (__ASSUME_ATFCTS): Do not undefine and redefine.
44621         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
44622         <kernel-features.h>.
44623         (symlinkat) [__NR_symlinkat]: Make code unconditional.
44624         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
44625         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
44626         <kernel-features.h>.
44627         (unlinkat) [__NR_unlinkat]: Make code unconditional.
44628         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
44629         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
44630         (__ASSUME_ATFCTS): Do not undefine and redefine.
44631         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
44632         <kernel-features.h>.
44633         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
44634         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
44635         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
44636         <kernel-features.h>.
44637         (__xmknodat) [__NR_mknodat]: Make code unconditional.
44638         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
44640 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
44642         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
44644 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
44646         [BZ #17069]
44647         * posix/regcomp.c (parse_reg_exp): Deallocate partially
44648         constructed tree before returning error.
44649         * posix/bug-regexp36.c: Expand test case.
44651 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
44653         [BZ #6803]
44654         * math/libm-test.inc (scalbln_test_date):
44655         Add errno expectations.
44656         * math/w_scalblnf.c: New File.
44657         Add wrapper which checks for setting errno to ERANGE.
44658         Add weak_alias for corresponding scalbln function.
44659         * math/w_scalbln.c: Likewise.
44660         * math/w_scalblnl.c: Likewise.
44661         * math/Makefile (libm-calls): Add w_scalbln.
44662         * sysdeps/ieee754/flt-32/s_scalblnf.c:
44663         Remove weak_alias for corresponding scalbln function.
44664         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44665         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
44666         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44667         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44668         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
44669         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
44670         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
44671         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
44672         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
44673         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
44674         Remove long_double_symbol for scalblnl function in libm, libc.
44675         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
44676         Add wrapper which checks for setting errno to ERANGE.
44677         Add long_double_symbol for scalblnl function in libm, libc.
44678         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
44679         Remove long_double_symbol for scalblnl in libm.
44680         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
44681         Add wrapper which checks for setting errno to ERANGE.
44682         Add long_double_symbol for scalblnl function in libm.
44683         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
44684         Do not use wrapper because of own implementation.
44686 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
44688         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
44689         3 bytes for __pad1 for x32.
44690         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
44692 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
44693             H.J. Lu  <hongjiu.lu@intel.com>
44695         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
44696         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
44697         * sysdeps/x86_64/multiarch/memset.S: Likewise.
44698         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44699         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
44701 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
44703         [BZ #17069]
44704         * posix/regcomp.c (parse_expression): Deallocate partially
44705         constructed tree before returning error.
44706         * posix/Makefile.c (tests): Add bug-regex36.
44707         (generated): Add bug-regex36.mtrace.
44708         (tests-special): Add $(objpfx)bug-regex36-mem.out
44709         (bug-regex36-ENV): New variable.
44710         ($(objpfx)bug-regex36-mem.out): New rule.
44711         * posix/bug-regex36.c: New file.
44713 2014-06-19  Will Newton  <will.newton@linaro.org>
44715         * malloc/malloc.c (systrim): If extra is zero then return
44716         early.
44718 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44720         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
44722 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
44724         * sysdeps/aarch64/strchr.S: New file.
44726 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
44728         [BZ #17022]
44729         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
44730         from arguments -2 or below.
44731         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
44732         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
44734 2014-06-18  Andreas Schwab  <schwab@suse.de>
44736         [BZ #17062]
44737         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
44738         of a bracket expr not to run off the end of the string.
44739         * posix/Makefile (tests): Add tst-fnmatch3.
44740         * posix/tst-fnmatch3.c: New file.
44742 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
44744         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
44745         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
44746         [$(cross-compiling) = no]: Likewise.
44747         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
44748         [$(cross-compiling) = no]: Likewise.
44750 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
44752         [BZ #17031]
44753         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
44754         double, adjusted for any remainder from the high double.
44755         * math/libm-test.inc (nearbyint): Add tests.
44756         (rint): Likewise.
44758 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44760         * nptl/sysdeps/powerpc/Makefile: Moved ...
44761         * sysdeps/powerpc/nptl/Makefile: ... here.
44762         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
44763         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
44764         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
44765         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
44766         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
44767         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
44768         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
44769         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
44770         * nptl/sysdeps/powerpc/tls.h: Moved ...
44771         * sysdeps/powerpc/nptl/tls.h: ... here.
44773 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
44775         [BZ #16681]
44776         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
44777         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
44778         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
44779         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
44780         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
44781         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
44782         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
44783         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
44784         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
44786 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
44788         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
44790 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
44792         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
44793         defined operator.
44795         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
44796         $TIMEOUTFACTOR.
44798 2014-06-16  Florian Weimer  <fweimer@redhat.com>
44800         [BZ #17058]
44801         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
44802         non-executed part of the test.
44804 2014-06-16  Andreas Schwab  <schwab@suse.de>
44806         * string/bits/string2.h (strdup, strndup): Update feature guard.
44808 2014-06-14  David S. Miller  <davem@davemloft.net>
44810         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44812 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
44814         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
44815         that was previously under [RESET_PID].
44816         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
44818         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
44819         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
44820         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
44821         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
44822         (__libc_vfork): New strong alias.
44823         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
44825 2014-06-14 Andi Kleen  <ak@linux.intel.com>
44827         * sysdeps/generic/elide.h: New file.
44829 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
44831         * Makefile (installed-headers): Adjust path of pthread.h header.
44833 2014-06-13  Roland McGrath  <roland@hack.frob.com>
44835         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
44836         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
44837         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
44838         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
44840         * nptl/sysdeps/s390/Makefile: Moved ...
44841         * sysdeps/s390/nptl/Makefile: ... here.
44842         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
44843         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
44844         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
44845         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
44846         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
44847         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
44848         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
44849         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
44850         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
44851         * sysdeps/s390/nptl/pthreaddef.h: ... here.
44852         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
44853         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
44854         * nptl/sysdeps/s390/tls.h: Moved ...
44855         * sysdeps/s390/nptl/tls.h: ... here.
44857         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
44858         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
44860 2014-06-13  David S. Miller  <davem@davemloft.net>
44862         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
44863         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
44864         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
44865         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
44866         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
44867         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
44868         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
44869         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
44870         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
44871         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
44872         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
44873         Remove RESET_PID cpp guards.
44874         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
44875         Remove RESET_PID cpp guards.
44876         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
44878 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
44880         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
44881         __sp to uintptr_t.
44883 2014-06-13  Andi Kleen  <ak@linux.intel.com>
44885         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
44886         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
44887         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
44888         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
44889         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
44890         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
44891         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
44892         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
44893         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
44894         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
44895         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
44896         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
44897         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
44898         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
44899         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
44900         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
44901         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
44902         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
44903         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
44904         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
44906         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
44907         (pthread_rwlock_rdlock): Add elision.
44908         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
44909         (pthread_rwlock_wrlock): Add elision.
44910         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
44911         (pthread_rwlock_trywrlock): Add elision.
44912         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
44913         (pthread_rwlock_tryrdlock): Add elision.
44914         * nptl/pthread_rwlock_unlock.c: Include elide.h.
44915         (pthread_rwlock_tryrdlock): Add elision unlock.
44916         * nptl/sysdeps/pthread/pthread.h:
44917         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
44918         (PTHREAD_RWLOCK_INITIALIZER,
44919         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
44920         Handle new elision field.
44921         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
44922         * sysdeps/arm/nptl/bits/pthreadtypes.h
44923         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44924         * sysdeps/sh/nptl/bits/pthreadtypes.h
44925         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44926         * sysdeps/tile/nptl/bits/pthreadtypes.h
44927         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44928         * sysdeps/a/nptl/bits/pthreadtypes.h
44929         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44930         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
44931         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44932         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
44933         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44934         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
44935         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44936         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
44937         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44938         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
44939         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44940         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
44941         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44942         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
44943         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44944         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
44945         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44946         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
44947         (elision_init): Set try_xbegin to zero when no RTM.
44948         * sysdeps/x86/nptl/bits/pthreadtypes.h
44949         (pthread_rwlock_t): Change __pad1 to __rwelision.
44950         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44952 2014-06-13  Andi Kleen  <ak@linux.intel.com>
44954         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
44955         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
44956         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
44957         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
44959 2014-06-13  Meador Inge  <meadori@codesourcery.com>
44961         [BZ #16996]
44962         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
44963         that the cached result has been set before returning it.
44965 2014-06-12  Roland McGrath  <roland@hack.frob.com>
44967         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
44968         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
44969         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
44970         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
44971         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
44972         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
44974         * nptl/sysdeps/sparc/Makefile: Moved ...
44975         * sysdeps/sparc/nptl/Makefile: ... here.
44976         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
44977         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
44978         * nptl/sysdeps/sparc/tls.h: Moved ...
44979         * sysdeps/sparc/nptl/tls.h: ... here.
44980         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
44981         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
44982         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
44983         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
44984         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
44985         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
44986         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
44987         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
44988         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
44989         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
44990         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
44991         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
44992         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
44993         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
44994         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
44995         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
44996         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
44997         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
44998         Update #include.
44999         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
45000         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
45001         Update #include.
45002         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
45003         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
45004         Update #include.
45005         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
45006         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
45007         Update #include.
45009         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
45011         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
45012         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
45014         * sysdeps/pthread/posix-timer.h: Include <list.h>.
45015         (struct list_links): Type removed.
45016         (struct thread_node, struct timer_node): Replace struct list_links
45017         with struct list_head.
45018         (list_unlink_ip): Likewise.
45019         * sysdeps/pthread/timer_routines.c
45020         (timer_free_list, thread_free_list, thread_active_list): Likewise.
45021         (list_append, list_insbefore): Likewise.
45022         (list_init): Function removed.
45023         (thread_init, init_module): Use INIT_LIST_HEAD instead.
45024         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
45025         * sysdeps/pthread/Makefile: ... here, new file.
45027         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
45028         * sysdeps/nptl/Implies: ... here.
45029         * sysdeps/unix/sysv/linux/Implies: Add nptl.
45030         * nptl/sysdeps/pthread/list.h: Moved ...
45031         * include/list.h: ... here.
45032         * nptl/sysdeps/pthread/createthread.c: Moved ...
45033         * nptl/createthread.c: ... here.
45034         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
45035         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
45036         * nptl/pt-longjmp.c: ... here.
45037         * nptl/sysdeps/pthread/Makefile: Moved ...
45038         * sysdeps/nptl/Makefile: ... here.
45039         * nptl/sysdeps/pthread/Subdirs: Moved ...
45040         * sysdeps/nptl/Subdirs: ... here.
45041         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
45042         * sysdeps/nptl/aio_misc.h: ... here.
45043         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
45044         * sysdeps/nptl/bits/libc-lock.h: ... here.
45045         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
45046         * sysdeps/nptl/bits/libc-lockP.h: ... here.
45047         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
45048         * sysdeps/nptl/bits/stdio-lock.h: ... here.
45049         * nptl/sysdeps/pthread/configure: Moved ...
45050         * sysdeps/nptl/configure: ... here.
45051         * nptl/sysdeps/pthread/configure.ac: Moved ...
45052         * sysdeps/nptl/configure.ac: ... here.
45053         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
45054         * sysdeps/nptl/gai_misc.h: ... here.
45055         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
45056         * sysdeps/nptl/librt-cancellation.c: ... here.
45057         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
45058         * sysdeps/nptl/malloc-machine.h: ... here.
45059         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
45060         * sysdeps/nptl/pthread-functions.h: ... here.
45061         * nptl/sysdeps/pthread/pthread.h: Moved ...
45062         * sysdeps/nptl/pthread.h: ... here.
45063         * nptl/sysdeps/pthread/setxid.h: Moved ...
45064         * sysdeps/nptl/setxid.h: ... here.
45065         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
45066         * sysdeps/nptl/sigfillset.c: ... here.
45067         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
45068         * sysdeps/nptl/tcb-offsets.h: ... here.
45069         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
45070         * sysdeps/nptl/tst-mqueue8x.c: ... here.
45071         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
45072         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
45073         * nptl/sysdeps/pthread/allocalim.h: Moved ...
45074         * sysdeps/pthread/allocalim.h: ... here.
45075         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
45076         * sysdeps/pthread/bits/sigthread.h: ... here.
45077         * nptl/sysdeps/pthread/flockfile.c: Moved ...
45078         * sysdeps/pthread/flockfile.c: ... here.
45079         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
45080         * sysdeps/pthread/ftrylockfile.c: ... here.
45081         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
45082         * sysdeps/pthread/funlockfile.c: ... here.
45083         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
45084         * sysdeps/pthread/posix-timer.h: ... here.
45085         * nptl/sysdeps/pthread/timer_create.c: Moved ...
45086         * sysdeps/pthread/timer_create.c: ... here.
45087         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
45088         * sysdeps/pthread/timer_delete.c: ... here.
45089         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
45090         * sysdeps/pthread/timer_getoverr.c: ... here.
45091         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
45092         * sysdeps/pthread/timer_gettime.c: ... here.
45093         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
45094         * sysdeps/pthread/timer_routines.c: ... here.
45095         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
45096         * sysdeps/pthread/timer_settime.c: ... here.
45097         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
45098         * sysdeps/pthread/tst-timer.c: ... here.
45099         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
45100         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
45102         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
45103         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
45105         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
45106         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
45107         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
45108         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
45109         Update #include target.
45110         * nptl/sysdeps/i386/i686/Makefile: Moved ...
45111         * sysdeps/i386/i686/nptl/Makefile: ... here.
45112         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
45113         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
45114         Update #include target.
45115         * nptl/sysdeps/i386/i686/tls.h: Moved ...
45116         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
45117         * nptl/sysdeps/i386/Makefile: Moved ...
45118         * sysdeps/i386/nptl/Makefile: ... here.
45119         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
45120         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
45121         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
45122         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
45123         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
45124         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
45125         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
45126         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
45127         * sysdeps/i386/nptl/pthreaddef.h: ... here.
45128         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
45129         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
45130         * nptl/sysdeps/i386/tls.h: Moved ...
45131         * sysdeps/i386/nptl/tls.h: ... here.
45133         * sysdeps/sh/Makefile [$(subdir) = csu]
45134         (gen-as-const-headers): Add tcb-offsets.sym.
45135         * nptl/sysdeps/sh/Makefile: File removed.
45136         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
45137         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
45138         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
45139         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
45140         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
45141         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
45142         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
45143         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
45144         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
45145         * sysdeps/sh/nptl/pthreaddef.h: ... here.
45146         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
45147         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
45148         * nptl/sysdeps/sh/tls.h: Moved ...
45149         * sysdeps/sh/nptl/tls.h: ... here.
45150         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
45151         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
45152         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
45153         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
45154         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
45155         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
45156         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
45157         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
45158         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
45159         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
45160         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
45161         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
45162         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
45163         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
45164         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
45165         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
45166         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
45167         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
45168         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
45169         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
45170         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
45171         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
45172         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
45173         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
45174         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
45175         Moved ...
45176         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
45177         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
45178         Moved ...
45179         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
45180         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
45181         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
45182         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
45183         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
45184         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
45185         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
45186         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
45187         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
45188         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
45189         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
45190         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
45191         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
45192         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
45193         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
45194         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
45195         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
45196         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
45197         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
45199 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
45201         * posix/spawn_faction_addopen.c: Include string.h.
45203 2014-06-11  Roland McGrath  <roland@hack.frob.com>
45205         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
45206         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
45207         * nptl/sysdeps/x86_64/Makefile: Moved ...
45208         * sysdeps/x86_64/nptl/Makefile: ... here.
45209         * nptl/sysdeps/x86_64/configure: Moved ...
45210         * sysdeps/x86_64/nptl/configure: ... here.
45211         * nptl/sysdeps/x86_64/configure.ac: Moved ...
45212         * sysdeps/x86_64/nptl/configure.ac: ... here.
45213         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
45214         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
45215         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
45216         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
45217         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
45218         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
45219         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
45220         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
45221         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
45222         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
45223         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
45224         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
45225         * nptl/sysdeps/x86_64/tls.h: Moved ...
45226         * sysdeps/x86_64/nptl/tls.h: ... here.
45227         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
45228         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
45229         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
45230         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
45232         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
45234 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45236         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45238 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
45240         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
45241         type.
45242         [POSIX] (off_t): Likewise.
45243         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
45244         [POSIX] (S_ISBLK): Require macro.
45245         [POSIX] (S_ISCHR): Likewise.
45246         [POSIX] (S_ISDIR): Likewise.
45247         [POSIX] (S_ISFIFO): Likewise.
45248         [POSIX] (S_ISREG): Likewise.
45249         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
45250         optional-macro.
45251         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
45252         type.
45253         [POSIX] (time_t): Likewise.
45254         [POSIX] (timer_t): Likewise.
45256 2014-06-11  Florian Weimer  <fweimer@redhat.com>
45258         [BZ #17048]
45259         * posix/spawn_int.h (struct __spawn_action): Make the path string
45260         non-const to support deallocation.
45261         * posix/spawn_faction_addopen.c
45262         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
45263         * posix/spawn_faction_destroy.c
45264         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
45265         path in all spawn_do_open actions.
45266         * posix/tst-spawn.c (do_test): Exercise the copy operation in
45267         posix_spawn_file_actions_addopen.
45269 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
45271         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
45272         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
45273         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
45274         conditional code always true.
45275         (__libc_vfork): New alias.
45277 2014-06-11  Roland McGrath  <roland@hack.frob.com>
45279         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45280         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
45282         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
45284         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45285         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
45287         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
45288         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
45290         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45291         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
45293 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
45295         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
45296         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
45297         multiarch strcmp for PPC64.
45298         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
45299         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
45300         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
45301         multiarch optimizations.
45302         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45303         (__libc_ifunc_impl_list): Likewise.
45305 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45307         * benchtests/scripts/validate_benchout.py: New script.
45308         * benchtests/Makefile (bench-func): Call it.
45309         * benchtests/scripts/benchout.schema.json: New file.
45311 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
45313         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
45314         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
45315         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
45316         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
45317         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
45318         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
45319         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
45320         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
45321         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
45322         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
45323         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
45324         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
45325         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
45326         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
45327         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
45328         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
45329         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
45330         Moved ...
45331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
45332         ... here.
45333         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
45334         Moved ...
45335         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
45336         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
45337         Moved ...
45338         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
45339         ... here.
45340         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
45341         Moved ...
45342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
45343         ... here.
45344         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
45345         Moved ...
45346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
45347         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
45348         Moved ...
45349         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
45350         ... here.
45351         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
45352         Moved ...
45353         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
45354         ... here.
45355         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
45356         Moved ...
45357         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
45358         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
45359         Moved ...
45360         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
45361         ... here.
45362         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
45363         Moved ...
45364         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
45365         ... here.
45366         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
45367         Moved ...
45368         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
45369         ... here.
45370         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
45371         Moved ...
45372         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
45373         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
45374         Moved ...
45375         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
45376         ... here.
45377         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
45378         Moved ...
45379         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
45380         ... here.
45381         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
45382         Moved ...
45383         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
45384         ... here.
45385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
45386         Moved ...
45387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
45388         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
45389         Moved ...
45390         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
45391         ... here.
45392         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
45393         Moved ...
45394         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
45395         ... here.
45396         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
45397         Moved ...
45398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
45399         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
45400         Moved ...
45401         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
45402         ... here.
45403         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
45404         Moved ...
45405         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
45406         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
45407         Moved ...
45408         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
45409         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
45410         Moved ...
45411         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
45412         ... here.
45413         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
45414         Moved ...
45415         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
45416         ... here.
45417         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
45418         Moved ...
45419         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
45420         ... here.
45421         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
45422         Moved ...
45423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
45424         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
45425         Moved ...
45426         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
45427         ... here.
45428         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
45429         Moved ...
45430         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
45431         ... here.
45432         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
45433         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
45434         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
45435         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
45436         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
45437         Moved ...
45438         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
45439         ... here.
45440         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
45441         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
45442         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
45443         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
45444         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
45445         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
45446         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
45447         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
45448         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
45449         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
45450         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
45451         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
45452         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
45453         Moved ...
45454         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
45455         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
45456         Moved ...
45457         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
45458         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
45459         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
45460         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
45461         Moved ...
45462         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
45463         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
45464         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
45465         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
45466         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
45467         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
45468         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
45470 2014-06-10  Wilco  <wdijkstr@arm.com>
45472         * math/test-fenv-return.c: New file.
45473         * math/Makefile: Add new test test-fenv-return.
45475 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
45477         [BZ #17042]
45478         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
45479         when x - 1 is zero.
45480         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
45481         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
45482         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
45483         0.0L for an argument of 1.0L.
45484         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
45485         Likewise.
45486         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
45487         value when x - 1 is zero.
45488         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
45489         * sysdeps/i386/fpu/libm-test-ulps: Update.
45490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45492 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
45494         [BZ #15119]
45495         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
45497 2014-06-09  Roland McGrath  <roland@hack.frob.com>
45499         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
45500         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
45502 2014-06-09  Roland McGrath  <roland@hack.frob.com>
45504         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45505         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
45507         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45508         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
45510         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45511         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
45513         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45514         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
45516         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
45517         if not already defined.
45518         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
45519         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
45520         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
45521         (TLS_INIT_TP): Use it.
45522         (TLS_DEFINE_INIT_TP): New macro.
45523         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
45525 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
45527         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
45528         constant.
45529         [POSIX] (IXANY): Likewise.
45530         [POSIX] (OLCUC): Likewise.
45531         [POSIX || POSIX2008] (CBAUD): Do not allow.
45532         [POSIX || POSIX2008] (DEFECHO): Likewise.
45533         [POSIX || POSIX2008] (ECHOCTL): Likewise.
45534         [POSIX || POSIX2008] (ECHOKE): Likewise.
45535         [POSIX || POSIX2008] (ECHOPRT): Likewise.
45536         [POSIX || POSIX2008] (EXTA): Likewise.
45537         [POSIX || POSIX2008] (EXTB): Likewise.
45538         [POSIX || POSIX2008] (FLUSHO): Likewise.
45539         [POSIX || POSIX2008] (LOBLK): Likewise.
45540         [POSIX || POSIX2008] (PENDIN): Likewise.
45541         [POSIX || POSIX2008] (SWTCH): Likewise.
45542         [POSIX || POSIX2008] (VDISCARD): Likewise.
45543         [POSIX || POSIX2008] (VDSUSP): Likewise.
45544         [POSIX || POSIX2008] (VLNEXT): Likewise.
45545         [POSIX || POSIX2008] (VREPRINT): Likewise.
45546         [POSIX || POSIX2008] (VSTATUS): Likewise.
45547         [POSIX || POSIX2008] (VWERASE): Likewise.
45548         (B*): Change to B[0123456789]*.
45549         * conform/data/time.h-data [POSIX || UNIX98]
45550         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
45551         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
45552         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
45553         [POSIX] (tm_*): Do not allow.
45555 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
45557         * Makefile (install): Don't set LANGUAGE.
45558         * Makefile.in (install): Likewise.
45559         * assert/Makefile (test-assert-ENV): Remove variable.
45560         (test-assert-perr-ENV): Likewise.
45561         * elf/Makefile (neededtest4-ENV): Likewise.
45562         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
45563         [$(cross-compiling) = no]: Don't set LANGUAGE.
45564         * io/ftwtest-sh (LANG): Remove variable.
45565         * libio/Makefile (tst-widetext-ENV): Likewise.
45566         * manual/install.texi (Running make install): Don't refer to
45567         environment settings for make install.
45568         * INSTALL: Regenerated.
45569         * nptl/tst-tls6.sh: Don't set LANG.
45570         * posix/globtest.sh (LANG): Remove variable.
45571         * string/Makefile (tester-ENV): Likewise.
45572         (inl-tester-ENV): Likewise.
45573         (noinl-tester-ENV): Likewise.
45574         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
45575         [$(cross-compiling) = no]: Don't set LANGUAGE.
45576         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
45577         without explicit environment settings.
45579 2014-06-06  Roland McGrath  <roland@hack.frob.com>
45581         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
45582         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
45583         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
45584         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
45586 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
45588         * crypt/crypt-private.h [DOS]: Add some includes taken from the
45589         other files in the crypt directory.
45590         * crypt/crypt.c: Remove duplicate includes.
45591         * crypt/crypt-entry.c: Likewise.
45592         * crypt/crypt_util.c: Likewise.
45594 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
45596         * Makeconfig (run-program-env): New variable.
45597         (run-program-prefix-before-env): Likewise.
45598         (run-program-prefix-after-env): Likewise.
45599         (run-program-prefix): Define in terms of new variables.
45600         (built-program-cmd-before-env): New variable.
45601         (built-program-cmd-after-env): Likewise.
45602         (built-program-cmd): Define in terms of new variables.
45603         (test-program-prefix-before-env): New variable.
45604         (test-program-prefix-after-env): Likewise.
45605         (test-program-prefix): Define in terms of new variables.
45606         (test-program-cmd-before-env): New variable.
45607         (test-program-cmd-after-env): Likewise.
45608         (test-program-cmd): Define in terms of new variables.
45609         * Rules (make-test-out): Use $(run-program-env).
45610         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
45611         (help): Do not mention environment variables.  Mention
45612         --timeoutfactor option.
45613         (timeoutfactor): New variable.
45614         (blacklist_exports): Remove function.
45615         (exports): Remove variable.
45616         (command): Do not include ${exports}.
45617         * manual/install.texi (Configuring and compiling): Do not mention
45618         test wrappers preserving environment variables.  Mention that last
45619         assignment to a variable must take precedence.
45620         * INSTALL: Regenerated.
45621         * benchtests/Makefile (run-bench): Use $(run-program-env).
45622         * catgets/Makefile ($(objpfx)test1.cat): Use
45623         $(built-program-cmd-before-env), $(run-program-env) and
45624         $(built-program-cmd-after-env).
45625         ($(objpfx)test2.cat): Do not specify environment variables
45626         explicitly.
45627         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
45628         $(run-program-env) and $(built-program-cmd-after-env).
45629         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
45630         $(run-program-env) and $(test-program-cmd-after-env).
45631         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
45632         explicitly.
45633         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
45634         run_program_env and test_program_cmd_after_env arguments.
45635         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
45636         * elf/tst-pathopt.sh: Use run_program_env argument.
45637         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
45638         $(test-wrapper-env) and $(run-program-env).
45639         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
45640         run_program_env arguments.
45641         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
45642         * intl/Makefile ($(objpfx)tst-gettext.out): Use
45643         $(test-program-prefix-before-env), $(run-program-env) and
45644         $(test-program-prefix-after-env).
45645         ($(objpfx)tst-gettext2.out): Likewise.
45646         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
45647         run_program_env and test_program_prefix_after_env arguments.
45648         * intl/tst-gettext2.sh: Likewise.
45649         * intl/tst-gettext4.sh: Do not set environment variables
45650         explicitly.
45651         * intl/tst-gettext6.sh: Likewise.
45652         * intl/tst-translit.sh: Likewise.
45653         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
45654         $(test-program-prefix-before-env), $(run-program-env) and
45655         $(test-program-prefix-after-env).
45656         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
45657         run_program_env and test_program_prefix_after_env arguments.
45658         * math/Makefile (run-regen-ulps): Use $(run-program-env).
45659         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
45660         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
45661         explicitly with each use of ${test_wrapper_env}.
45662         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
45663         $(test-program-prefix-before-env), $(run-program-env) and
45664         $(test-program-prefix-after-env).
45665         * posix/tst-getconf.sh: Do not set environment variables
45666         explicitly.
45667         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
45668         run_program_env and test_program_prefix_after_env arguments.
45669         * stdio-common/tst-printf.sh: Do not set environment variables
45670         explicitly.
45671         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
45672         $(test-program-prefix-before-env), $(run-program-env) and
45673         $(test-program-prefix-after-env).
45674         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
45675         run_program_env and test_program_prefix_after_env arguments.
45676         Split $test calls into $test_pre and $test.
45677         * timezone/Makefile (build-testdata): Use
45678         $(built-program-cmd-before-env), $(run-program-env) and
45679         $(built-program-cmd-after-env).
45681 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45683         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
45684         strlen for non SHARED builds.
45686 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45688         * nptl/allocatestack.c (check_list): Inlined function...
45689         (__reclaim_stacks): ... here.
45691 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
45693         [BZ #15698]
45694         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
45695         memory overrun.
45697 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
45699         * Rules (make-test-out): Include
45700         LOCPATH=$(common-objpfx)localedata in default environment.
45701         * debug/Makefile (tst-chk1-ENV): Remove variable.
45702         (tst-chk2-ENV): Likewise.
45703         (tst-chk3-ENV): Likewise.
45704         (tst-chk4-ENV): Likewise.
45705         (tst-chk5-ENV): Likewise.
45706         (tst-chk6-ENV): Likewise.
45707         (tst-lfschk1-ENV): Likewise.
45708         (tst-lfschk2-ENV): Likewise.
45709         (tst-lfschk3-ENV): Likewise.
45710         (tst-lfschk4-ENV): Likewise.
45711         (tst-lfschk5-ENV): Likewise.
45712         (tst-lfschk6-ENV): Likewise.
45713         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
45714         (tst-iconv7-ENV): Likewise.
45715         * intl/Makefile (LOCPATH-ENV): Likewise.
45716         (tst-codeset-ENV): Likewise.
45717         (tst-gettext3-ENV): Likewise.
45718         (tst-gettext5-ENV): Likewise.
45719         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
45720         (tst-fopenloc-ENV): Likewise.
45721         (tst-fgetws-ENV): Remove variable.
45722         (tst-ungetwc1-ENV): Likewise.
45723         (tst-ungetwc2-ENV): Likewise.
45724         (bug-ungetwc2-ENV): Likewise.
45725         (tst-swscanf-ENV): Likewise.
45726         (bug-ftell-ENV): Likewise.
45727         (tst-fgetwc-ENV): Likewise.
45728         (tst-fseek-ENV): Likewise.
45729         (tst-ftell-partial-wide-ENV): Likewise.
45730         (tst-ftell-active-handler-ENV): Likewise.
45731         (tst-ftell-append-ENV): Likewise.
45732         * posix/Makefile (tst-fnmatch-ENV): Likewise.
45733         (tst-regexloc-ENV): Likewise.
45734         (bug-regex1-ENV): Likewise.
45735         (tst-regex-ENV): Likewise.
45736         (tst-regex2-ENV): Likewise.
45737         (bug-regex5-ENV): Likewise.
45738         (bug-regex6-ENV): Likewise.
45739         (bug-regex17-ENV): Likewise.
45740         (bug-regex18-ENV): Likewise.
45741         (bug-regex19-ENV): Likewise.
45742         (bug-regex20-ENV): Likewise.
45743         (bug-regex22-ENV): Likewise.
45744         (bug-regex23-ENV): Likewise.
45745         (bug-regex25-ENV): Likewise.
45746         (bug-regex26-ENV): Likewise.
45747         (bug-regex30-ENV): Likewise.
45748         (bug-regex32-ENV): Likewise.
45749         (bug-regex33-ENV): Likewise.
45750         (bug-regex34-ENV): Likewise.
45751         (bug-regex35-ENV): Likewise.
45752         (tst-rxspencer-ENV): Likewise.
45753         (tst-rxspencer-no-utf8-ENV): Likewise.
45754         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
45755         (tst-sscanf-ENV): Likewise.
45756         (tst-swprintf-ENV): Likewise.
45757         (tst-swscanf-ENV): Likewise.
45758         (test-vfprintf-ENV): Likewise.
45759         (scanf13-ENV): Likewise.
45760         (bug14-ENV): Likewise.
45761         (tst-grouping-ENV): Likewise.
45762         * stdlib/Makefile (tst-strtod-ENV): Likewise.
45763         (tst-strtod3-ENV): Likewise.
45764         (tst-strtod4-ENV): Likewise.
45765         (tst-strtod5-ENV): Likewise.
45766         (testmb2-ENV): Likewise./
45767         * string/Makefile (tst-strxfrm-ENV): Likewise.
45768         (tst-strxfrm2-ENV): Likewise.
45769         (bug-strcoll1-ENV): Likewise.
45770         (test-strcasecmp-ENV): Likewise.
45771         (test-strncasecmp-ENV): Likewise.
45772         * time/Makefile (tst-strptime-ENV): Likewise.
45773         (tst-ftime_l-ENV): Likewise.
45774         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
45775         (tst-mbrtowc-ENV): Likewise.
45776         (tst-wcrtomb-ENV): Likewise.
45777         (tst-mbrtowc2-ENV): Likewise.
45778         (tst-c16c32-1-ENV): Likewise.
45779         (tst-mbsnrtowcs-ENV): Likewise.
45781 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
45783         * manual/resource.texi (How to get information about the memory
45784         subsystem?): Fix typo.
45785         Reported by Peon de la Parra Ivan <peon@keba.com>
45787 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
45789         [BZ #16882]
45790         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
45791         (pthread_spin_lock): Branch out of spin loop to proper location.
45792         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
45793         (pthread_spin_lock): Likewise.
45795         * nptl/tst-spin4.c: New test.
45796         * nptl/Makefile (tests): Add tst-spin4.
45798 2014-06-03  Andreas Schwab  <schwab@suse.de>
45800         [BZ #15946]
45801         * resolv/res_send.c (send_dg): Reload file descriptor after
45802         calling reopen.
45804 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
45806         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45808 2014-06-03  Richard Henderson  <rth@redhat.com>
45810         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
45811         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
45812         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
45813         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
45814         in the SAVE_PID block.
45815         (__libc_vfork): New alias.
45816         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
45818         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
45819         child in registers, not on the stack.  Remove RESET_PID conditionals.
45820         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
45822 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
45824         * sysdeps/aarch64/libm-test-ulps: Regenerate.
45826 2014-06-03  Wilco  <wdijkstr@arm.com>
45828         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
45829         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
45830         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
45831         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
45832         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
45833         Likewise.
45835 2014-06-03  Wilco  <wdijkstr@arm.com>
45837         * sysdeps/aarch64/fpu/math_private.h
45838         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
45839         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
45840         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
45841         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
45842         Fix declarations.
45844 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45846         * crypt/crypt-private.h: Include ufc-crypt.h.
45847         (__b64_from_24bit): Declare extern.
45848         * crypt/crypt_util.c(__b64_from_24bit): New function.
45849         (b64t): New static const variable.
45850         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
45851         (b64t): Remove variable.
45852         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
45853         * crypt/sha256-crypt.c: Include crypt-private.h.
45854         (b64t): Remove variable.
45855         (__sha256_crypt_r): Remove b64_from_24bit and replace
45856         with __b64_from_24bit.
45857         * crypt/sha512-crypt.c: Likewise.
45859 2014-06-02  Roland McGrath  <roland@hack.frob.com>
45861         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
45862         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
45863         Label the code __libc_vfork rather than __vfork.
45864         [!NOT_IN_libc] (vfork): Define as weak alias.
45865         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
45866         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
45867         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
45869 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45871         * malloc/malloc.c (malloc_info): Fix format specifier for
45872         n_mmaps.
45874 2014-06-02  Wilco  <wdijkstr@arm.com>
45876         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
45877         FPCR write.
45879 2014-06-02  Wilco  <wdijkstr@arm.com>
45881         [BZ #17009]
45882         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
45883         Rewrite to reduce FPCR/FPSR accesses.
45885 2014-06-01  David S. Miller  <davem@davemloft.net>
45887         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45889 2014-05-31  David S. Miller  <davem@davemloft.net>
45891         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
45892         to occur in round to nearest mode when |x| >= 2.0
45894 2014-05-30  Richard Henderson  <rth@twiddle.net>
45896         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
45897         (PSEUDO_RET_NOERRNO): Remove.
45898         (ret): Don't redefine.
45899         (ret_NOERRNO): Define in terms of ret.
45900         (ret_ERRVAL): Likewise.
45902         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
45903         use of PSEUDO_RET; perform the error check directly.
45905 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
45907         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
45908         with __int128_t.
45910 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45912         * malloc/malloc (malloc_info): Fix formatting.
45914 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45915             Roland McGrath  <roland@hack.frob.com>
45917         * malloc/malloc (malloc_info): Also print mmapped statistics.
45919 2014-05-30  Roland McGrath  <roland@hack.frob.com>
45921         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
45922         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
45924 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
45926         * malloc/malloc.c (malloc_info): Inline mi_arena.
45928 2014-05-29  Richard Henderson  <rth@twiddle.net>
45930         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
45931         Remove comma before expanding ASM_ARGS_##nr.
45932         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
45933         Make _x0 a strict output; make _x8 a strict input; adjust expansion
45934         of ASM_ARGS_##nr.
45935         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
45936         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
45937         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
45938         (ASM_ARGS_1): Add leading comma.
45940         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
45941         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
45942         to __errno_location.
45943         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
45944         Remove the expected plt for __errno_location.
45946         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45947         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
45948         call to __read_tp.
45950         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45951         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
45952         it and break it down.
45953         (DOCARGS_0, DOCARGS_1): Do nothing.
45954         (DOCARGS_2): Update to store into the new stack frame.
45955         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
45956         (UNDOCARGS_1): Update to restore from the new stack frame.
45957         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
45958         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
45960         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45961         (SINGLE_THREAD_P): New parameter for result regno.
45962         (PSEUDO): Update to match; use cbz instead of beq.
45964         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45965         Use ENTRY to define the _nocancel entry point.  Share the syscall
45966         and syscall error check paths with the cancel path.
45967         (PSEUDO_END): New.
45969         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
45970         whitespace; tabs before and after asm mnemonics.
45972 2014-05-29  Eric Wong  <normalperson@yhbt.net>
45974         [BZ #15132]
45975         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45976         Call fstat64 or stat64 internally, depending on arguments passed.
45977         Replace stat buffer argument with file descriptor argument.
45978         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
45979         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
45980         Pass fd to __internal_statvfs instead of calling fstat64.
45981         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
45982         Pass fd to __internal_statvfs64 instead of calling fstat64.
45983         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
45984         Pass -1 to __internal_statvfs instead of calling stat64.
45985         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
45986         Pass -1 to __internal_statvfs64 instead of calling stat64.
45988 2014-05-28  Roland McGrath  <roland@hack.frob.com>
45990         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
45991         that was previously under [RESET_PID].
45992         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
45994         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
45995         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
45997 2014-05-27  Roland McGrath  <roland@hack.frob.com>
45999         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
46001         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
46002         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
46004 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
46006         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
46008 2014-05-27  Andreas Schwab  <schwab@suse.de>
46010         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
46011         TLS_INIT_TP macro.
46012         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
46013         * elf/rtld.c (init_tls, dl_main): Likewise.
46014         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
46015         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
46016         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
46017         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
46018         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
46019         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
46020         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
46021         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
46022         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
46023         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
46024         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
46025         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
46026         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
46027         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
46028         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
46029         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
46030         * sysdeps/generic/tls.h: Update description.
46032 2014-05-27  Will Newton  <will.newton@linaro.org>
46034         [BZ #16990]
46035         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
46036         and restore r2 rather than just restoring.
46038 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46040         [BZ #16724]
46041         * libio/tst-ftell-append.c: New test case.
46042         * libio/Makefile (tests): Add test case.
46043         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
46044         append mode.
46045         * libio/wfileops.c (do_ftell_wide): Likewise.
46047 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46049         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46051         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
46052         ...
46053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
46054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
46055         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
46056         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
46057         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
46058         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
46059         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
46060         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
46061         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
46062         Moved ...
46063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
46064         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
46065         Moved ...
46066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
46067         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
46068         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
46069         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
46070         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
46071         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
46072         ...
46073         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
46074         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
46075         Moved ...
46076         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
46077         here.
46078         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
46079         ...
46080         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
46081         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
46082         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
46084         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
46085         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
46086         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
46087         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
46089         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
46090         merge into ...
46091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
46092         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
46093         ...
46094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
46095         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
46096         ...
46097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
46098         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
46099         Moved ...
46100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
46101         here.
46102         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
46103         Moved ...
46104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
46105         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
46106         Moved ...
46107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
46109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
46110         conditional [RESET_PID].
46111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
46112         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
46113         removed.
46114         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
46115         removed.
46117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
46118         <tcb-offsets.h>.
46119         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46120         (__libc_vfork): New strong alias.
46121         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
46122         removed.
46123         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
46124         Removed.
46126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
46127         <tcb-offsets.h>.
46128         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
46129         (__libc_vfork): New strong alias.
46130         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
46131         removed.
46132         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
46133         removed.
46135 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
46137         * malloc/malloc.c (mi_arena): New function.
46138         (malloc_info): Remove nested function mi_arena. Call non-nosted
46139         function mi_arena.
46141 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46143         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
46144         by insrwi.
46145         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
46146         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
46147         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
46148         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
46149         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
46150         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
46151         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
46153 2014-05-26  Andreas Schwab  <schwab@suse.de>
46155         [BZ #16984]
46156         * locale/programs/repertoire.c (repertoire_read): Add slash
46157         between I18NPATH element and file name.
46158         * locale/programs/locfile.c (locfile_read): Likewise.
46160 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
46162         * nptl/pthread_mutexattr_settype.c
46163         (__pthread_mutexattr_settype):
46164         Disable lock elision for PTHREAD_MUTEX_NORMAL.
46166 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
46168         * nptl/tst-mutex5 (do_test):
46169         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
46171 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46173         * benchtests/README: Document 'init' directive.
46174         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
46175         BENCH_INIT.
46176         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
46177         (parse_file): Recognize 'init' directive.
46179 2014-05-26  Kyle McMartin  <kyle@redhat.com>
46181         [BZ #16796]
46182         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
46183         alignment of struct pthread.
46185 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46187         [BZ #16878]
46188         * nscd/netgroupcache.c (addgetnetgrentX): Look for
46189         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
46190         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
46191         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
46193 2014-05-25  Richard Henderson  <rth@twiddle.net>
46195         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
46196         (SINGLE_THREAD_P_PIC): Remove.
46197         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
46198         (SINGLE_THREAD_P_PIC): Remove.
46200         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
46201         branch to syscall error ...
46202         (PSEUDO): ... here.
46203         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
46204         from __local_syscall_error to .Lsyscall_error.
46205         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
46206         (SYSCALL_ERROR): Update label name.
46208         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
46209         Do not use DOARGS/UNDOARGS.
46210         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
46211         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
46212         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
46213         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
46214         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
46216         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
46217         block comment.
46219         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
46220         define if !NOT_IN_libc.
46221         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
46222         define with non-default symbol versions.
46224 2014-05-23  Richard Henderson  <rth@twiddle.net>
46226         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
46227         (vfork, __vfork): Define via compat_symbol.
46229         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
46230         [!HAVE_IFUNC] (vfork_compat): Remove.
46231         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
46233 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
46235         [BZ #16978]
46236         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
46237         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
46238         variable.
46240 2014-05-23  Richard Henderson  <rth@twiddle.net>
46242         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
46243         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
46244         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
46245         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
46247         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
46248         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
46249         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
46250         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
46251         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
46252         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
46253         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
46254         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
46255         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
46256         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
46257         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
46258         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
46259         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
46260         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
46261         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
46262         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
46263         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
46264         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
46265         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
46266         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
46267         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
46268         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
46269         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
46270         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
46271         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
46272         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
46273         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
46274         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
46275         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
46276         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
46277         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
46278         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
46279         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
46280         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
46281         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
46282         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
46283         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
46284         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
46285         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
46286         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
46287         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
46288         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
46289         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
46290         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
46291         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
46292         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
46293         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
46294         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
46295         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
46296         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
46297         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
46298         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
46299         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
46300         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
46301         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
46302         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
46304         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
46305         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
46306         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
46307         before exiting on error.
46308         (__libc_vfork): New strong alias.
46309         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
46310         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
46312         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
46313         that was previously under [RESET_PID].
46314         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
46316         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
46318 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
46320         [BZ #16977]
46321         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
46322         value when x - 1 is zero.
46323         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
46324         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
46325         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
46326         0.0L for an argument of 1.0L.
46327         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
46328         Likewise.
46329         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
46330         value when x - 1 is zero.
46331         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
46332         * sysdeps/i386/fpu/libm-test-ulps: Update.
46333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46335 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
46337         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
46338         alphasort and versionsort.
46340 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46342         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
46343         macro.
46344         [copysignf]: Likewise.
46346 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
46348         * crypt/md5-crypt.c: Fix formatting.
46350 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
46352         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
46353         (b64_from_24bit): New function.
46355 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46357         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
46358         libc_hidden_builtin_def to ifunc.
46359         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
46360         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
46362 2014-05-21  Roland McGrath  <roland@hack.frob.com>
46364         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
46365         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
46367 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
46369         * nscd/Depend (linuxthreads): Remove.
46370         (nptl): Add.
46371         * resolv/Depend (linuxthreads): Remove.
46372         * rt/Depend (linuxthreads): Remove.
46374         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
46375         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
46376         $(common-objpfx)elf/.
46377         (link-libc-before-gnulib): Likewise.
46378         (elfobjdir): Remove variable.
46379         * Makefile (install): Use $(elf-objpfx) instead of
46380         $(common-objpfx)elf/.
46381         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
46382         $(elfobjdir)/.
46383         (link-libc-deps): Likewise.
46384         ($(common-objpfx)libc.so): Likewise.
46385         ($(common-objpfx)linkobj/libc.so): Likewise.
46386         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
46387         instead of $(common-objpfx)elf/.
46388         (symbolic-link-list): Likewise.
46389         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
46390         [$(cross-compiling) = no]: Likewise.
46391         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
46392         $(elfobjdir)/.
46393         (static-gnulib-arch): Likewise.
46394         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
46395         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
46396         $(common-objpfx)elf/.
46398 2014-05-21  Richard Henderson  <rth@redhat.com>
46400         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
46401         (SINGLE_THREAD_P): Use the correct width load.  Fold
46402         into the ldr offset.
46404         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
46405         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
46407 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
46409         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
46410         (libgcc_s_resume): Use __attribute_used__.
46411         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
46412         Likewise.
46414 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46416         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
46417         optimization when used with float constants.
46419         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46421 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
46423         [BZ #16915]
46424         * locale/nl_langinfo_l.c: Make direct reference to every
46425         _nl_current_CATEGORY symbol.
46426         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
46427         (tests-static): Add tst-langinfo-static.
46428         (tests-special): Add tst-langinfo-static.out.
46429         ($(objpfx)tst-langinfo.out): Redirect output.
46430         ($(objpfx)tst-langinfo-static.out): New.
46431         * localedata/tst-langinfo.sh: Send output to stdout.
46432         * localedata/tst-langinfo-static.c: New file.
46434         [BZ #16965]
46435         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
46436         when the shift amount is modulo the limb size.
46438 2014-05-20  Richard Henderson  <rth@redhat.com>
46440         [BZ #16967]
46441         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
46442         Change type of sa_flags from unsigned int to int.
46444         [BZ #16966]
46445         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
46447         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
46449 2014-05-20  Will Newton  <will.newton@linaro.org>
46451         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
46452         Test the return value of the system call in the nocancel case.
46454 2014-05-20  Will Newton  <will.newton@linaro.org>
46455             Yvan Roux  <yvan.roux@linaro.org>
46457         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
46458         #include of asm/ptrace.h.
46459         (PTRACE_GET_THREAD_AREA): Remove #undef.
46460         (PTRACE_GETHBPREGS): Likewise.
46461         (PTRACE_SETHBPREGS): Likewise.
46462         (struct user_regs_struct): New structure.
46463         (struct user_fpsimd_struct): New structure.
46464         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
46465         #include of asm/ptrace.h and second #include of sys/user.h.
46466         (PTRACE_GET_THREAD_AREA): Remove #undef.
46467         (PTRACE_GETHBPREGS): Likewise.
46468         (PTRACE_SETHBPREGS): Likewise.
46469         (ELF_NGREG): Use new struct user_regs_struct.
46470         (elf_fpregset_t): Use new struct user_fpsimd_struct.
46472 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46474         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
46475         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
46477 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
46479         [BZ #16958]
46480         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
46481         membar to avoid block loads/stores to overlap previous stores.
46483 2014-05-17  Richard Henderson  <rth@redhat.com>
46485         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
46486         Create the __##syscall_name##_nocancel entry point.
46487         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
46488         Remove; let the sysdep-cancel.h code create it.
46490 2014-05-17  David S. Miller  <davem@davemloft.net>
46492         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
46493         Protect with __USE_GNU.
46494         (TIOCSET_TEMPT): Likewise.
46495         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
46496         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
46497         these are already provided in bits/ioctl-types.h
46499 2014-05-16  Roland McGrath  <roland@hack.frob.com>
46501         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
46502         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
46504         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
46505         Use wait4 regardless of [__NR_waitpid].
46507 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
46509         PR libgcc/60166
46510         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
46511         (_FP_NANSIGN_Q): Set the quiet bit.
46513 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
46515         * benchtests/Makefile
46516         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
46517         not $(common-objpfx)math/libm.so.
46518         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
46519         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
46520         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
46521         $(common-objpfx)dlfcn/libdl.so.
46522         ($(objpfx)tst-audit8): Depend on $(libm), not
46523         $(common-objpfx)math/libm.so.
46524         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
46525         not $(common-objpfx)dlfcn/libdl.so.
46526         * math/Makefile
46527         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
46528         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
46529         [$(build-shared) = yes].
46530         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
46531         $(common-objpfx)nptl/libpthread.so.
46532         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
46533         $(common-objpfx)math/libm.so$(libm.so-version) or
46534         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
46535         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
46536         $(common-objpfx)dlfcn/libdl.so.
46537         * setjmp/Makefile (link-libm): Remove variable.
46538         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
46539         * stdio-common/Makefile (link-libm): Remove variable.
46540         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
46541         * stdlib/Makefile (link-libm): Remove variable.
46542         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
46543         ($(objpfx)tst-strtod-round): Likewise.
46544         ($(objpfx)tst-tininess): Likewise.
46545         ($(objpfx)tst-strtod-underflow): Likewise.
46546         ($(objpfx)tst-strtod6): Likewise.
46547         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
46548         $(libdl), not $(common-objpfx)nptl/libpthread.so and
46549         $(common-objpfx)dlfcn/libdl.so.
46551 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46553         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
46554         BSD terminal modes definitions.
46556 2014-05-16  Roland McGrath  <roland@hack.frob.com>
46558         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
46559         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
46561         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
46562         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
46563         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
46564         Don't do #include_next.
46565         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
46566         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
46567         Don't do #include_next.
46568         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
46569         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
46570         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
46571         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
46573 2014-05-16  Allan McRae  <allan@archlinux.org>
46575         * po/sv.po: Update Swedish translation from translation project.
46577         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
46578         in sed expression.
46580 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
46582         [BZ #16917]
46583         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
46584         errno if the TIOCGPTN ioctl fails with an error different than
46585         EINVAL.
46586         * login/tst-ptsname.c: New file.
46587         * login/Makefile (tests): Add tst-ptsname.
46589         [BZ #16943]
46590         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
46591         and prlimit64.
46593 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46595         [BZ #16849]
46596         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
46597         herrno to return EAI_AGAIN.
46599 2014-05-14  Roland McGrath  <roland@hack.frob.com>
46601         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
46602         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
46603         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
46604         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
46605         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
46606         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
46607         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
46608         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
46609         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
46610         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
46611         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
46612         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
46613         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
46614         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
46615         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
46616         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
46617         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
46618         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
46619         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
46620         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
46621         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
46622         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
46623         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
46624         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
46625         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
46626         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
46627         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
46628         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
46629         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
46630         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
46631         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
46632         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
46633         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
46634         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
46635         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
46636         Moved ...
46637         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
46638         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
46639         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
46640         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
46641         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
46642         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
46643         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
46644         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
46645         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
46646         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
46647         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
46648         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
46649         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
46650         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
46651         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
46652         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
46653         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
46654         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
46655         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
46656         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
46657         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
46658         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
46659         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
46660         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
46661         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
46662         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
46663         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
46664         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
46665         Moved ...
46666         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
46667         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
46668         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
46669         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
46670         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
46671         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
46672         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
46673         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
46674         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
46675         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
46676         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
46677         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
46678         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
46679         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
46680         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
46681         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
46682         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
46683         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
46684         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
46685         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
46686         Moved ...
46687         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
46688         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
46689         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
46691         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
46692         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
46693         (libpthread-sysdep_routines): Add elision-related stuff here instead.
46694         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
46695         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
46696         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
46697         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
46698         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
46699         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
46700         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
46701         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
46702         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
46703         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
46704         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
46705         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
46706         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
46707         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
46708         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
46709         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
46710         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
46711         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
46712         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
46713         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
46714         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
46715         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
46716         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
46717         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
46718         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
46719         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
46720         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
46721         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
46723         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
46724         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
46726         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
46727         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
46728         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
46729         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
46730         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
46731         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
46732         Moved ...
46733         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
46734         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
46735         Moved ...
46736         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
46737         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
46738         Moved ...
46739         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
46740         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
46741         Moved ...
46742         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
46743         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
46744         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
46745         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
46746         Moved ...
46747         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
46748         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
46749         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
46750         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
46751         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
46752         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
46753         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
46754         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
46755         Moved ...
46756         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
46757         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
46758         Moved ...
46759         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
46760         ... here.
46761         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
46762         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
46763         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
46764         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
46765         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
46766         Moved ...
46767         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
46768         ... here.
46769         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
46770         Moved ...
46771         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
46772         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
46773         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
46774         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
46775         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
46776         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
46777         Moved ...
46778         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
46779         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
46780         Moved ...
46781         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
46782         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
46783         Moved ...
46784         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
46785         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
46786         Moved ...
46787         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
46788         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
46789         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
46790         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
46791         Moved ...
46792         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
46793         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
46794         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
46795         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
46796         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
46797         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
46798         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
46799         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
46800         Moved ...
46801         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
46802         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
46803         Moved ...
46804         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
46805         ... here.
46806         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
46807         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
46808         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
46809         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
46810         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
46811         Moved ...
46812         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
46813         ... here.
46814         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
46815         Moved ...
46816         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
46817         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
46818         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
46819         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
46820         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
46821         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
46822         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
46823         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
46824         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
46825         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
46826         Moved ...
46827         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
46828         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
46829         Moved ...
46830         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
46831         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
46832         Moved ...
46833         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
46834         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
46835         Moved ...
46836         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
46837         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
46838         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
46839         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
46840         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
46841         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
46842         Moved ...
46843         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
46844         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
46845         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
46846         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
46847         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
46848         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
46849         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
46850         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
46851         Moved ...
46852         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
46853         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
46854         Moved ...
46855         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
46856         ... here.
46857         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
46858         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
46859         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
46860         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
46861         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
46862         Moved ...
46863         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
46864         ... here.
46865         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
46866         Moved ...
46867         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
46868         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
46869         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
46870         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
46871         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
46872         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
46873         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
46874         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
46875         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
46876         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
46877         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
46879         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
46880         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
46882         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
46883         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
46885         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
46886         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
46887         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
46888         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
46889         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
46890         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
46891         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
46892         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
46893         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
46894         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
46895         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
46896         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
46897         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
46898         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
46899         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
46900         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
46901         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
46902         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
46903         Moved ...
46904         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
46905         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
46906         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
46907         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
46908         Moved ...
46909         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
46910         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
46911         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
46912         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
46913         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
46914         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
46915         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
46916         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
46917         Moved ...
46918         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
46919         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
46920         Moved ...
46921         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
46922         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
46923         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
46924         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
46925         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
46926         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
46927         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
46928         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
46929         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
46930         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
46931         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
46932         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
46933         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
46934         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
46935         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
46936         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
46937         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
46939         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
46940         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
46941         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
46942         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
46943         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
46945         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
46946         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
46947         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
46948         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
46949         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
46950         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
46951         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
46952         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
46953         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
46954         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
46956         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
46957         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
46959         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
46960         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
46961         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
46962         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
46963         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
46964         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
46965         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
46966         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
46967         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
46968         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
46969         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
46970         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
46971         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
46972         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
46973         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
46974         Update #include.
46975         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
46976         Likewise.
46977         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
46978         Likewise.
46979         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
46980         Likewise.
46981         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
46982         Likewise.
46983         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
46984         Likewise.
46985         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
46986         Likewise.
46987         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
46988         Likewise.
46989         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
46990         Likewise.
46991         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
46992         Likewise.
46993         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
46994         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
46995         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
46996         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
46997         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
46998         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
46999         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
47000         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
47001         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
47002         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
47003         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
47004         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
47005         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
47006         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
47007         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
47009         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
47010         that was previously under [RESET_PID].
47011         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
47012         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
47013         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
47015         * sysdeps/i386/nptl/Implies: New file.
47016         * sysdeps/x86_64/nptl/Implies: New file.
47017         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
47018         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
47019         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
47020         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
47022         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
47023         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
47024         (__libc_vfork): New strong alias.
47025         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
47026         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
47028         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
47029         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
47030         (__libc_vfork): New strong alias.
47031         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
47032         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
47034         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
47035         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
47036         (__libc_vfork): New strong alias.
47037         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
47038         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
47039         * nptl/pt-vfork.c: New file.
47040         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
47041         (libpthread: GLIBC_2.20): New version set (empty).
47043 2014-05-14  Will Newton  <will.newton@linaro.org>
47045         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
47046         rather than #if.
47048 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
47050         [BZ #16564]
47051         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
47052         arguments with exponent 65 or above.
47053         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
47054         arguments 0x1p113L or above.
47055         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
47056         to arguments 0x1p107L or above.
47057         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
47058         positive arguments with exponent 65 or above.
47059         * math/auto-libm-test-in: Add more tests of log1p.
47060         * math/auto-libm-test-out: Regenerated.
47062         [BZ #16928]
47063         * math/s_cacos.c (__cacos): Ensure zero real part of result from
47064         non-finite arguments is +0.
47065         * math/s_cacosf.c (__cacosf): Likewise.
47066         * math/s_cacosl.c (__cacosl): Likewise.
47067         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
47068         * sysdeps/i386/fpu/libm-test-ulps: Update.
47069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47071         [BZ #16927]
47072         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
47073         value.
47074         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
47075         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
47076         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
47077         for explicit high bit of mantissa when testing for argument equal
47078         to 1.
47079         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
47080         * sysdeps/i386/fpu/libm-test-ulps: Update.
47081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47083         [BZ #16516]
47084         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
47085         (__erf): Scale by 16 instead of 8 in potentially underflowing
47086         case.  Ensure exception if result actually underflows.
47087         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
47088         (__erff): Scale by 16 instead of 8 in potentially underflowing
47089         case.  Ensure exception if result actually underflows.
47090         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
47091         (efx8): Remove variable.
47092         (__erfl): Scale by 16 instead of 8 in potentially underflowing
47093         case.  Ensure exception if result actually underflows.
47094         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
47095         (efx8): Remove variable.
47096         (__erfl): Scale by 16 instead of 8 in potentially underflowing
47097         case.  Ensure exception if result actually underflows.
47098         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
47099         (efx8): Remove variable.
47100         (__erfl): Scale by 16 instead of 8 in potentially underflowing
47101         case.  Ensure exception if result actually underflows.
47102         * math/auto-libm-test-in: Add more tests of erf.
47103         * math/auto-libm-test-out: Regenerated.
47105 2014-05-14  Andreas Schwab  <schwab@suse.de>
47107         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
47108         Remove code conditionalized on USE___THREAD.
47110         * config.h.in (HAVE_PT_CHOWN): Define as 0.
47111         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
47112         not definedness.
47114 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
47116         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
47117         Define unconditionally.
47118         (__ASSUME_O_CLOEXEC): Likewise.
47119         (__ASSUME_SOCK_CLOEXEC): Likewise.
47120         (__ASSUME_IN_NONBLOCK): Likewise.
47121         (__ASSUME_PIPE2): Likewise.
47122         (__ASSUME_EVENTFD2): Likewise.
47123         (__ASSUME_SIGNALFD4): Likewise.
47124         (__ASSUME_DUP3): Likewise.
47125         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
47126         (__ASSUME_DUP3): Do not define.
47127         (__ASSUME_EVENTFD2): Likewise.
47128         (__ASSUME_IN_NONBLOCK): Likewise.
47129         (__ASSUME_O_CLOEXEC): Likewise.
47130         (__ASSUME_PIPE2): Likewise.
47131         (__ASSUME_SIGNALFD4): Likewise.
47132         (__ASSUME_SOCK_CLOEXEC): Likewise.
47133         (__ASSUME_UTIMES): Undefine.
47134         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
47135         (__ASSUME_UTIMES): Do not define.
47136         (__ASSUME_O_CLOEXEC): Likewise.
47137         (__ASSUME_SOCK_CLOEXEC): Likewise.
47138         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
47139         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
47140         0x020621].
47141         (__ASSUME_PIPE2): Likewise.
47142         (__ASSUME_EVENTFD2): Likewise.
47143         (__ASSUME_SIGNALFD4): Likewise.
47144         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
47145         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
47146         Do not define.
47147         (__ASSUME_EVENTFD2): Likewise.
47148         (__ASSUME_SIGNALFD4): Likewise.
47149         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
47150         (__ASSUME_32BITUIDS): Likewise.
47151         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
47152         (__ASSUME_IPC64): Likewise.
47153         (__ASSUME_ST_INO_64_BIT): Likewise.
47154         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
47155         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
47156         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
47157         (__ASSUME_UTIMES): Do not define.
47158         (__ASSUME_PSELECT): Likewise.
47159         (__ASSUME_PPOLL): Likewise.
47160         (__ASSUME_O_CLOEXEC): Likewise.
47161         (__ASSUME_SOCK_CLOEXEC): Likewise.
47162         (__ASSUME_IN_NONBLOCK): Likewise.
47163         (__ASSUME_PIPE2): Likewise.
47164         (__ASSUME_EVENTFD2): Likewise.
47165         (__ASSUME_SIGNALFD4): Likewise.
47166         (__ASSUME_DUP3): Likewise.
47167         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
47168         (__ASSUME_UTIMES): Likewise.
47169         (__ASSUME_O_CLOEXEC): Likewise.
47170         (__ASSUME_SOCK_CLOEXEC): Likewise.
47171         (__ASSUME_IN_NONBLOCK): Likewise.
47172         (__ASSUME_PIPE2): Likewise.
47173         (__ASSUME_EVENTFD2): Likewise.
47174         (__ASSUME_SIGNALFD4): Likewise.
47175         (__ASSUME_DUP3): Likewise.
47176         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47177         (__ASSUME_UTIMES): Likewise.
47178         (__ASSUME_O_CLOEXEC): Likewise.
47179         (__ASSUME_SOCK_CLOEXEC): Likewise.
47180         (__ASSUME_IN_NONBLOCK): Likewise.
47181         (__ASSUME_PIPE2): Likewise.
47182         (__ASSUME_EVENTFD2): Likewise.
47183         (__ASSUME_SIGNALFD4): Likewise.
47184         (__ASSUME_DUP3): Likewise.
47185         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
47186         Likewise.
47187         (__ASSUME_UTIMES): Likewise.
47188         (__ASSUME_EVENTFD2): Likewise.
47189         (__ASSUME_SIGNALFD4): Likewise.
47190         * sysdeps/unix/sysv/linux/tile/kernel-features.h
47191         (__ASSUME_O_CLOEXEC): Likewise.
47192         (__ASSUME_SOCK_CLOEXEC): Likewise.
47193         (__ASSUME_IN_NONBLOCK): Likewise.
47194         (__ASSUME_PIPE2): Likewise.
47195         (__ASSUME_EVENTFD2): Likewise.
47196         (__ASSUME_SIGNALFD4): Likewise.
47197         (__ASSUME_DUP3): Likewise.
47198         (__ASSUME_UTIMES): Undefine.
47200         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
47201         feclearexcept.  Remove symbol versioning code.
47202         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
47203         symbol versioning code.
47204         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
47205         symbol versioning code.
47206         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
47207         feupdateenv.  Remove symbol versioning code.
47208         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
47209         fegetexceptflag.  Remove symbol versioning code.
47210         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
47211         fesetexceptflag.  Remove symbol versioning code.
47212         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
47213         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
47214         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
47215         (__posix_fadvise64_l32): Remove prototype.
47216         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
47217         code.
47219 2014-05-13  Roland McGrath  <roland@hack.frob.com>
47221         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
47222         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
47223         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
47224         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
47226 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
47228         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
47229         current working directory
47231 2014-05-13  Roland McGrath  <roland@hack.frob.com>
47233         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
47234         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
47235         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
47236         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
47237         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
47238         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
47239         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
47240         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
47241         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
47242         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
47243         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
47244         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
47245         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
47246         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
47247         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
47248         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
47249         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
47250         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
47251         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
47252         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
47253         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
47254         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
47255         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
47256         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
47257         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
47258         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
47259         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
47260         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
47261         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
47262         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
47263         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
47264         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
47265         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
47266         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
47267         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
47268         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
47269         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
47270         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
47271         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
47272         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
47273         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
47274         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
47276         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
47277         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
47279         * sysdeps/unix/sysv/linux/arm/Makefile
47280         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
47281         Add rt-aeabi_unwind_cpp_pr1.
47282         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
47283         Add nptl-aeabi_unwind_cpp_pr1.
47284         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
47285         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
47286         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
47287         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
47288         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
47289         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
47291         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
47292         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
47293         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
47294         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
47296         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
47297         Deconditionalize the code that was previously under [RESET_PID].
47298         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
47300         * sysdeps/generic/exit-thread.h: New file.
47301         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
47302         * include/unistd.h (__exit_thread): Remove declaration.
47303         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
47304         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
47305         * csu/libc-start.c: Include <exit-thread.h>.
47306         (LIBC_START_MAIN): Pass no argument to __exit_thread.
47307         * nptl/pthread_create.c: Include <exit-thread.h>.
47308         (start_thread): Call __exit_thread in place of __exit_thread_inline.
47309         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
47310         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
47311         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
47312         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
47313         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
47314         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
47315         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
47316         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
47317         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
47318         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
47319         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
47320         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
47321         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
47322         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
47323         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
47324         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
47326 2014-05-13  Andreas Schwab  <schwab@suse.de>
47328         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
47330 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
47332         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
47333         (__ASSUME_UTIMES): Do not condition on kernel version.
47334         (__ASSUME_PSELECT): Define unconditionally.
47335         (__ASSUME_PPOLL): Likewise.
47336         (__ASSUME_ATFCTS): Likewise.
47337         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
47338         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
47339         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
47340         (__ASSUME_UTIMENSAT): Define unconditionally.
47341         (__ASSUME_PRIVATE_FUTEX): Likewise.
47342         (__ASSUME_FALLOCATE): Likewise.
47343         (__ASSUME_O_CLOEXEC): Likewise.
47344         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
47345         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
47346         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
47347         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
47348         (__ASSUME_IN_NONBLOCK): Likewise.
47349         (__ASSUME_PIPE2): Likewise.
47350         (__ASSUME_EVENTFD2): Likewise.
47351         (__ASSUME_SIGNALFD4): Likewise.
47352         (__ASSUME_DUP3): Likewise.
47353         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
47354         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
47355         (__ASSUME_AT_RANDOM): Likewise.
47356         (__ASSUME_PREADV): Likewise.
47357         (__ASSUME_PWRITEV): Likewise.
47358         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
47359         (__ASSUME_F_GETOWN_EX): Define unconditionally.
47360         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
47361         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
47362         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
47363         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
47364         (__ASSUME_O_CLOEXEC): Define unconditionally.
47365         (__ASSUME_PSELECT): Do not undefine conditionally.
47366         (__ASSUME_PPOLL): Likewise.
47367         (__ASSUME_ATFCTS): Likewise.
47368         (__ASSUME_SET_ROBUST_LIST): Likewise.
47369         (__ASSUME_UTIMENSAT): Likewise.
47370         (__ASSUME_FDATASYNC): Define unconditionally.
47371         * sysdeps/unix/sysv/linux/arm/kernel-features.h
47372         (__ASSUME_SIGFRAME_V2): Likewise.
47373         )__ASSUME_EVENTFD2): Likewise.
47374         (__ASSUME_SIGNALFD4): Likewise.
47375         (__ASSUME_PSELECT): Do not undefine conditionally.
47376         (__ASSUME_PPOLL): Likewise.
47377         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
47378         (__ASSUME_PSELECT): Define unconditionally.
47379         (__ASSUME_PPOLL): Likewise.
47380         (__ASSUME_O_CLOEXEC): Likewise.
47381         (__ASSUME_SOCK_CLOEXEC): Likewise.
47382         (__ASSUME_IN_NONBLOCK): Likewise.
47383         (__ASSUME_PIPE2): Likewise.
47384         (__ASSUME_EVENTFD2): Likewise.
47385         (__ASSUME_SIGNALFD4): Likewise.
47386         (__ASSUME_DUP3): Likewise.
47387         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
47388         (__ASSUME_O_CLOEXEC): Likewise.
47389         (__ASSUME_SOCK_CLOEXEC): Likewise.
47390         (__ASSUME_IN_NONBLOCK): Likewise.
47391         (__ASSUME_PIPE2): Likewise.
47392         (__ASSUME_EVENTFD2): Likewise.
47393         (__ASSUME_SIGNALFD4): Likewise.
47394         (__ASSUME_DUP3): Likewise.
47395         * sysdeps/unix/sysv/linux/mips/kernel-features.h
47396         (__ASSUME_EVENTFD2): Likewise.
47397         (__ASSUME_SIGNALFD4): Likewise.
47398         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
47400 2014-05-12  Andreas Schwab  <schwab@suse.de>
47402         [BZ #16932]
47403         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
47404         (_nss_nis_gethostbyname4_r): Return error if item length is larger
47405         than maximum RPC packet size.
47406         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
47407         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
47408         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
47409         (_nss_nis_getservbyport_r): Likewise.
47411 2014-05-12  Will Newton  <will.newton@linaro.org>
47413         * malloc/Makefile (tests): Add tst-mallopt.
47414         * malloc/tst-mallopt.c: New file.
47416 2014-05-09  Roland McGrath  <roland@hack.frob.com>
47418         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
47419         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
47421 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47423         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
47424         (tst-tlsmod6.so): Likewise.
47426 2014-05-09  Roland McGrath  <roland@hack.frob.com>
47428         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
47430 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
47432         [BZ #16064]
47433         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
47434         and <dl-procinfo.h>.
47435         (__fegetenv): Save SSE state in envp->__eip if supported.
47436         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
47437         envp->__eip if supported.
47438         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
47439         and <dl-procinfo.h>.
47440         (__fesetenv): Always set __eip, __cs_selector, __opcode,
47441         __data_offset and __data_selector in environment to 0.  Set SSE
47442         state if supported.
47443         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
47444         test-fenv-sse.
47445         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
47446         -mfpmath=sse.
47447         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
47449 2014-05-09  Will Newton  <will.newton@linaro.org>
47451         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
47452         and libc_relro_required for ARM.
47453         * sysdeps/arm/preconfigure: Regenerate.
47455 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
47456             Stefan Liebler  <stli@linux.vnet.ibm.com>
47458         * config.make.in (enable-lock-elision): New Makefile variable.
47459         * configure.ac: Likewise.
47460         * configure: Regenerate.
47461         * sysdeps/s390/configure.ac:
47462         Add check for gcc transactions support.
47463         * sysdeps/s390/configure: Regenerate.
47464         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
47465         Build elision files if enabled.
47466         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
47467         Add lock elision support for s390.
47468         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
47469         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
47470         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
47471         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
47472         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
47473         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
47474         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
47475         Likewise.
47476         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
47477         Likewise.
47478         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
47479         Likewise.
47480         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
47481         Likewise.
47482         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
47483         (__lll_timedlock_elision, __lll_lock_elision)
47484         (__lll_unlock_elision, __lll_trylock_elision)
47485         (lll_timedlock_elision, lll_lock_elision)
47486         (lll_unlock_elision, lll_trylock_elision): Add.
47487         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
47488         (pthread_mutex_t): Add lock elision support for s390.
47490 2014-05-14  Wilco  <wdijkstr@arm.com>
47492         * sysdeps/arm/fclrexcpt.c: Cleanup.
47493         * sysdeps/arm/fedisblxcpt.c: Cleanup.
47494         * sysdeps/arm/feenablxcpt.c: Cleanup.
47495         * sysdeps/arm/fegetenv.c: Cleanup.
47496         * sysdeps/arm/fegetexcept.c: Cleanup.
47497         * sysdeps/arm/fegetround.c: Cleanup.
47498         * sysdeps/arm/feholdexcpt.c: Cleanup.
47499         * sysdeps/arm/fesetenv.c: Cleanup.
47500         * sysdeps/arm/fesetround.c: Cleanup.
47501         * sysdeps/arm/feupdateenv.c: Cleanup.
47502         * sysdeps/arm/fgetexcptflg.c: Cleanup.
47503         * sysdeps/arm/fraiseexcpt.c: Cleanup.
47504         * sysdeps/arm/fsetexcptflg.c: Cleanup.
47505         * sysdeps/arm/ftestexcept.c: Cleanup.
47506         * sysdeps/arm/get-rounding-mode.h: Cleanup.
47507         * sysdeps/arm/setfpucw.c: Cleanup.
47509 2014-05-09  Will Newton  <will.newton@linaro.org>
47511         * sysdeps/arm/armv7/strcmp.S: New file.
47512         * NEWS: Mention addition of ARMv7 optimized strcmp.
47514 2014-05-08  Roland McGrath  <roland@hack.frob.com>
47516         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
47517         look for %.ac rather than %.in.
47519         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
47520         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
47521         * sysdeps/mach/hurd/configure: Regenerated.
47522         * sysdeps/unix/sysv/linux/configure: Regenerated.
47524         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
47526 2014-05-07  Steve Ellcey  <sellcey@mips.com>
47528         [BZ #16922]
47529         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
47530         (LONG_SUB): Ditto.
47531         (PTR_SUB): Ditto.
47533 2014-05-07  Andreas Schwab  <schwab@suse.de>
47535         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
47536         when skipping over non-matching result from nscd.
47538 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
47540         [BZ #16876]
47541         * nptl/sockperf.c (client): Check socket return value.
47543         [BZ #16877]
47544         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
47545         nscd security class.
47547 2014-05-06  Roland McGrath  <roland@hack.frob.com>
47549         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
47550         * sysdeps/arm/unwind.h: ... here.
47552 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
47554         [BZ #16916]
47555         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
47556         Define.
47558 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47560         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
47561         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
47562         multiarch strncpy for PPC64.
47563         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
47564         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
47565         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
47566         multiarch optimizations.
47567         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47568         (__libc_ifunc_impl_list): Likewise.
47569         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
47570         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
47571         multiarch stpncpy for PPC64.
47572         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
47573         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
47575 2014-05-06  Andreas Schwab  <schwab@suse.de>
47577         [BZ #16912]
47578         * gmon/mcount.c (_MCOUNT_DECL): Use
47579         atomic_compare_and_exchange_bool_acq instead of
47580         catomic_compare_and_exchange_bool_acq.
47582 2014-05-05  Roland McGrath  <roland@hack.frob.com>
47584         * elf/Makefile (others, install-bin): Remove pldd.
47585         (pldd-modules): Variable removed.
47586         ($(objpfx)pldd): Target removed.
47587         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
47588         (others, install-bin): Append pldd here.
47589         ($(objpfx)pldd): New target.
47591         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
47592         to 0, so the first #if test emitted later doesn't see it undefined.
47593         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
47594         * sysdeps/gnu/errlist.c: Regenerated.
47596 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47598         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
47599         [libc_hidden_builtin_def]: Define to empty value.
47600         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
47601         [libc_hidden_builtin_def]: Likewise.
47602         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
47603         [libc_hidden_builtin_def]: Likewise.
47604         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
47605         [libc_hidden_builtin_def]: Likewise.
47606         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
47607         __redirect_memcpy and define ifunc as default hidden symbol.
47608         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
47609         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
47611 2014-05-04  Adam Conrad  <adconrad@0c3.net>
47613         * locale/iso-4217.def: Reintroduce XDR currency.
47615 2014-05-04  Allan McRae  <allan@archlinux.org>
47617         * po/eo.po: Update Esperanto translation from translation project.
47619 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
47621         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
47622         and FEATURE_INDEX_MAX to 1.
47623         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
47625 2014-05-01  Steve Ellcey  <sellcey@mips.com>
47627         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
47628         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
47629         * iconvdata/big5.c (ONE_DIRECTION): Define.
47630         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
47631         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
47632         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
47633         * iconvdata/cp932.c (ONE_DIRECTION): Define.
47634         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
47635         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
47636         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
47637         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
47638         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
47639         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
47640         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
47641         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
47642         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
47643         * iconvdata/gbk.c (ONE_DIRECTION): Define.
47644         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
47645         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
47646         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
47647         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
47648         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
47649         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
47650         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
47651         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
47652         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
47653         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
47654         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
47655         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
47656         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
47657         * iconvdata/iso646.c (ONE_DIRECTION): Define.
47658         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
47659         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
47660         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
47661         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
47662         * iconvdata/johab.c (ONE_DIRECTION): Define.
47663         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
47664         * iconvdata/sjis.c (ONE_DIRECTION): Define.
47665         * iconvdata/t.61.c (ONE_DIRECTION): Define.
47666         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
47667         * iconvdata/tscii.c (ONE_DIRECTION): Define.
47668         * iconvdata/uhc.c (ONE_DIRECTION): Define.
47669         * iconvdata/unicode.c (ONE_DIRECTION): Define.
47670         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
47671         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
47672         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
47674 2014-05-01  Roland McGrath  <roland@hack.frob.com>
47676         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
47677         (_IO_JUMPS_OFFSET): Define to 0.
47679         * nptl/sysdeps/pthread/bits/libc-lock.h
47680         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
47681         (__libc_lock_define_initialized_recursive): Always define using
47682         initializer.  Modern compilers treat uninitialized (implicit zero) and
47683         explicit zero initializers the same (i.e. put the datum in bss).
47685 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
47687         * nscd/nscd-client.h: Include <string.h>.
47689 2014-05-01  David S. Miller  <davem@davemloft.net>
47691         [BZ #16885]
47692         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
47693         multiple zero bytes exist at the end of a string.
47694         Reported by Aurelien Jarno <aurelien@aurel32.net>
47696         * string/test-strcmp.c (check): Add explicit test for situations where
47697         there are multiple zero bytes after the first.
47699 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
47701         [BZ #16890]
47702         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
47703         when compiling wprintf.
47704         * stdio-common/tstdiomisc.c (t3): New function.
47705         (main): Call it.
47707 2014-05-01  Steve Ellcey  <sellcey@mips.com>
47709         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
47710         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
47711         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
47712         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
47714 2014-05-01  Steve Ellcey  <sellcey@mips.com>
47716         * stdlib/longlong.h: Updated from GCC.
47718 2014-05-01  Will Newton  <will.newton@linaro.org>
47719             Bernard Ogden  <bernie.ogden@linaro.org>
47721         * NEWS: Update fixed bug list.
47723         [BZ #15119]
47724         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
47726 2014-04-30  David S. Miller  <davem@davemloft.net>
47728         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
47729         (libc_feholdexcept_setround_sparc_ctx): New function.
47730         (libc_fesetenv_sparc_ctx): Likewise.
47731         (libc_feupdateenv_sparc_ctx): Likewise.
47732         (libc_feholdsetround_sparc_ctx): Likewise.
47733         (libc_feholdexcept_setround_ctx): Define.
47734         (libc_feholdexcept_setroundf_ctx): Likewise.
47735         (libc_feholdexcept_setroundl_ctx): Likewise.
47736         (libc_fesetenv_ctx): Likewise.
47737         (libc_fesetenvf_ctx): Likewise.
47738         (libc_fesetenvl_ctx): Likewise.
47739         (libc_feupdateenv_ctx): Likewise.
47740         (libc_feupdateenvf_ctx): Likewise.
47741         (libc_feupdateenvl_ctx): Likewise.
47742         (libc_feresetround_ctx): Likewise.
47743         (libc_feresetroundf_ctx): Likewise.
47744         (libc_feresetroundl_ctx): Likewise.
47745         (libc_feholdsetround_ctx): Likewise.
47746         (libc_feholdsetroundf_ctx): Likewise.
47747         (libc_feholdsetroundl_ctx): Likewise.
47749         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
47750         with __USE_GNU instead of XOPEN cpp guards.
47752         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
47753         0.
47755         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
47756         with XOPEN cpp guards.
47758 2014-04-30  Julian Brown  <julian@codesourcery.com>
47760         [BZ #16888]
47761         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
47762         handling.
47764 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
47766         [BZ #9894]
47767         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
47768         Change to 2.6.32.
47769         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
47770         * sysdeps/unix/sysv/linux/configure: Regenerated.
47771         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
47772         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
47773         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
47774         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
47775         * README: Update reference to required Linux kernel version.
47776         * manual/install.texi (Linux): Update reference to required Linux
47777         kernel headers version.
47778         * INSTALL: Regenerated.
47780         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
47781         header inclusion.
47782         [POSIX] (limits.h): Likewise.
47783         [POSIX] (math.h): Likewise.
47784         [POSIX] (sys/wait.h): Likewise.
47785         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
47786         function.
47787         [POSIX] (stddef.h): Do not allow header inclusion.
47789 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47791         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
47793 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
47795         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
47796         Return immediately after lll_futex_wake.
47798 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47800         [BZ #16791]
47801         * nscd/nscd-client.h (datahead_init_common): Initialize entire
47802         structure.
47803         (datahead_init_pos): Call datahead_init_common early.
47804         (datahead_init_neg): Likewise.
47806         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
47807         datahead_init_neg): New functions.
47808         * nscd/aicache.c (addhstaiX): Use them.
47809         * nscd/grpcache.c (cache_addgr): Likewise.
47810         * nscd/hstcache.c (cache_addhst): Likewise.
47811         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47812         * nscd/netgroupcache.c (do_notfound): Likewise.
47813         (addgetnetgrentX): Likewise.
47814         (addinnetgrX): Likewise.
47815         * nscd/pwdcache.c (cache_addpw): Likewise.
47816         * nscd/servicescache.c (cache_addserv): Likewise.
47818 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47819             Atsushi Onoe  <atsushi@onoe.org>
47821         [BZ #14308]
47822         [BZ #12994]
47823         [BZ #13651]
47824         * resolv/res_query.c (__libc_res_nsearch): Return if at least
47825         one response is valid.
47826         * resolv/res_send.c (send_dg): Check for validity of other
47827         response if the current response is a referral.
47829 2014-04-29  Steve Ellcey  <sellcey@mips.com>
47831         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
47833 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
47835         [BZ #16823]
47836         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
47837         Always divide by positive zero when computing -Inf result.
47838         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
47839         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
47841 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47843         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
47844         FPSCR if value do not change.
47845         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
47846         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
47847         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
47848         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
47849         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
47850         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
47851         function.
47853 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
47855         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
47856         * sysdeps/unix/sysv/linux/hppa: Move directory from
47857         ports/systeps/unix/sysv/linux/hppa.
47858         * README: Update listing for hppa-*-linux-gnu.
47860 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
47862         [BZ #16754]
47863         * manual/stdio.texi (Hook functions): Fix types of stream hook
47864         functions.
47865         [BZ #16854]
47866         * socket/sys/socket.h: Fix typo in comment.
47868 2014-04-28  Wilco  <wdijkstr@arm.com>
47870         * sysdeps/arm/fenv_private.h: New file.
47871         * sysdeps/arm/math_private.h: New file.
47872         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
47874 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
47876         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
47877         with __int128_t.
47878         (La_x86_64_retval): Likewise.
47880 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
47882         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
47883         fpsr if value didn't change.
47884         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
47885         to fpcr if value didn't change.
47886         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
47887         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
47888         fpsr or fpcr if value didn't change.
47889         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
47890         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
47891         fpcr if value didn't change.
47892         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
47893         to fpsr if value didn't change.
47895 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
47897         * nptl/tst-sem3.c: Use test-skeleton.c
47898         (main): Rename to do_test.  Use return instead of
47899         exit.
47900         * nptl/tst-sem4.c: Use test-skeleton.c
47901         (main): Rename to do_test.
47903 2014-04-22  David S. Miller  <davem@davemloft.net>
47905         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
47906         (struct sigaction): New struct member __glibc_reserved0, change
47907         type of sa_flags to int.
47909 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
47911         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
47912         (COUNT_LEADING_ZEROS_0): Define for AArch64.
47914 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47916         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
47917         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
47919 2014-04-22  Will Newton  <will.newton@linaro.org>
47920             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
47922         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
47923         (__longjmp): Add longjmp and longjmp_target SystemTap
47924         probes.
47925         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
47926         (__sigsetjmp): Add setjmp SystemTap probe.
47928 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
47930         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
47931         match manual order.
47933 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47935         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
47937         * sysdeps/powerpc/fpu/fenv_private.h
47938         (libc_feholdexcept_setroundl_ctx): Define to
47939         libc_feholdexcept_setround_ppc_ctx.
47940         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
47941         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
47942         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
47943         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
47945 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
47947         * sysdeps/aarch64/math-tests.h: New file.
47949 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
47951         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
47952         New.
47953         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47954         Check and set bit_AVX2_Usable.
47955         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
47956         macro.
47957         (bit_AVX2): Likewise.
47958         (index_AVX2_Usable): Likewise.
47959         (CPUID_AVX2): Likewise.
47960         (HAS_AVX2): Likewise.
47962 2014-04-17  Will Newton  <will.newton@linaro.org>
47964         * manual/setjmp.texi (System V contexts): Add note that
47965         calling setcontext on a context created by a call to a
47966         signal handler is undefined.  Update text to note that
47967         setcontext from a signal handler is possible but not
47968         recommended.
47970         [BZ #16629]
47971         * stdlib/tst-setcontext.c: Include signal.h.
47972         (main): Check that the signal stack before and
47973         after swapcontext is the same.
47975         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
47976         Re-implement to restore registers in user code and avoid
47977         rt_sigreturn system call.
47979 2014-04-17  Wilco  <wdijkstr@arm.com>
47981         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
47982         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
47983         * math/test-fenv.c: Skip exception trap tests on targets which only
47984         support non-stop mode.
47986 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
47987             Wilco Dijkstra  <wilco.dijkstra@arm.com>
47989         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
47990         (libc_feholdsetround_aarch64_ctx)
47991         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
47992         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
47993         (libc_feresetround_ctx, libc_feresetroundf_ctx)
47994         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
47995         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
47996         (libc_feresetround_noexl_ctx): Define.
47998 2014-04-16  Richard Henderson  <rth@redhat.com>
48000         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
48002         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
48003         unwind tables.
48005         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
48006         const from the non-libc, non-ldso copy.
48008         * sysdeps/alpha/libm-test-ulps: Regenerate.
48010 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
48011             Wilco Dijkstra  <wilco.dijkstra@arm.com>
48013         * sysdeps/aarch64/fpu/math_private.h: New file.
48015 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
48017         * sysdeps/aarch64/libm-test-ulps: Regenerate.
48019 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
48021         [BZ #16275]
48022         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
48023         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
48024         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
48025         Intel MPX bound registers before _dl_profile_fixup.
48026         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
48027         registers after _dl_profile_fixup.  Save and restore bound
48028         registers bnd0/bnd1 when calling _dl_call_pltexit.
48029         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
48030         (LR_BND_OFFSET): Likewise.
48031         (LRV_BND0_OFFSET): Likewise.
48032         (LRV_BND1_OFFSET): Likewise.
48034 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48036         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
48037         to...
48038         * sysdeps/mach/hurd/i386/tls.h: ... here.
48039         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
48040         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
48041         fields.
48043 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48045         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
48047 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
48049         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
48051 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
48053         [BZ #14770]
48054         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
48055         * sysdeps/s390/configure: Regenerate.
48057         [BZ #16824]
48058         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
48059         Set round-to-nearest internally to reduce error accumulation.
48061 2014-04-16  Alan Modra  <amodra@gmail.com>
48063         [BZ #16740]
48064         [BZ #16619]
48065         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
48066         * math/libm-test.inc (frexp_test_data): Add tests.
48067         * NEWS: Update fixed bug list.
48069 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48071         * benchtests/Makefile: Depend on libraries in build directory.
48072         (bench-math): Separate out math tests.
48073         (bench-pthread): Separate out pthread tests.
48074         (bench): Include math and pthread tests.
48076 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
48078         [BZ #16831]
48079         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
48080         _dl_debug_initialize.
48082         * configure.ac: Remove SELinux header check.
48083         * configure: Regenerate.
48084         * nscd/selinux.c (perms): Array of const char* to permission names.
48085         (nscd_request_avc_has_perm): Call security_deny_unknown to find
48086         default policy. Call string_to_security_class and string_to_av_perm to
48087         translate strings. Enforce default policy and call avs_has_perm with
48088         results of translated strings.
48090 2014-04-13  David S. Miller  <davem@davemloft.net>
48092         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48094 2014-04-12  Allan McRae  <allan@archlinux.org>
48096         [BZ #16838]
48097         * manual/string.texi (Collation Functions): Fix qsort argument
48098         order in example.
48099         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
48101 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
48103         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
48104         Make the test a no-op if there are no exceptions defined.
48106 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
48108         * elf/Makefile (tests): make tst-dlopen-aout conditional on
48109         enable-hardcoded-path-in-tests
48111 2014-04-11  Will Newton  <will.newton@linaro.org>
48113         * benchtests/Makefile (extra-objs): Add json-lib.o.
48114         (bench-func): Tidy up JSON output.
48115         * benchtests/bench-skeleton.c: Include json-lib.h.
48116         (main): Use JSON library functions to do output of
48117         benchmark results.
48118         * benchtests/bench-timing-type.c (main): Output the
48119         timing type simply, leaving formatting to the user.
48120         * benchtests/json-lib.c: New file.
48121         * benchtests/json-lib.h: Likewise.
48123 2014-04-11  Torvald Riegel  <triegel@redhat.com>
48125         [BZ #15215]
48126         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
48127         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
48128         memory barriers.  Add comments.
48129         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
48130         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
48131         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
48132         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
48133         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
48134         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
48136 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
48138         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
48139         * sysdeps/s390/s390-64/configure.ac: ... this ...
48140         * sysdeps/s390/configure.ac: ... to here.
48141         * sysdeps/s390/s390-32/configure: Delete file.
48142         * sysdeps/s390/s390-64/configure: Delete file.
48143         * sysdeps/s390/configure: Regenerate.
48145 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
48147         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
48149 2014-04-11  Will Newton  <will.newton@linaro.org>
48151         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
48152         to zero if it is not defined elsewhere.  (mtrim): Test
48153         the value of MALLOC_DEBUG with #if rather than #ifdef.
48155 2014-04-10 Torvald Riegel  <triegel@redhat.com>
48157         * benchtests/pthread_once-inputs: New file.
48158         * benchtests/pthread_once-source.c: New file.
48159         * benchtests/README: Update documentation.
48161 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
48162             H.J. Lu  <hongjiu.lu@intel.com>
48164         [BZ #16275]
48165         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
48166         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
48167         * sysdeps/x86_64/configure: Regenerated.
48168         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
48169         macro.
48170         (REGISTER_SAVE_RAX): Likewise.
48171         (REGISTER_SAVE_RCX): Likewise.
48172         (REGISTER_SAVE_RDX): Likewise.
48173         (REGISTER_SAVE_RSI): Likewise.
48174         (REGISTER_SAVE_RDI): Likewise.
48175         (REGISTER_SAVE_R8): Likewise.
48176         (REGISTER_SAVE_R9): Likewise.
48177         (REGISTER_SAVE_BND0): Likewise.
48178         (REGISTER_SAVE_BND1): Likewise.
48179         (REGISTER_SAVE_BND2): Likewise.
48180         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
48181         bound registers when calling _dl_fixup.
48183 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48185         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
48186         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
48187         of its definition.
48188         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
48189         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
48190         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
48191         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
48192         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
48193         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
48194         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
48196 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
48198         [BZ #15514]
48199         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
48200         pathconf(_PC_NAME_MAX).
48202 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48204         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
48205         Remove macro usage.
48206         (__PTHREAD_SPINS): Move definition to ...
48207         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
48208         (__PTHREAD_SPINS): ... here.
48209         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
48210         (__PTHREAD_SPIN): Likewise.
48211         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
48212         (__PTHREAD_SPIN): Likewise.
48213         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
48214         (__PTHREAD_SPIN): Likewise.
48215         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
48216         (__PTHREAD_SPIN): Likewise.
48217         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
48218         (__PTHREAD_SPIN): Likewise.
48219         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
48220         (__PTHREAD_SPIN): Likewise.
48221         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
48222         (__PTHREAD_SPIN): Likewise.
48223         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
48224         (__PTHREAD_SPIN): Likewise.
48225         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
48226         (__PTHREAD_SPIN): Likewise.
48227         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
48228         (__PTHREAD_SPIN): Likewise.
48229         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
48230         (__PTHREAD_SPIN): Likewise.
48231         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
48232         (__PTHREAD_SPIN): Likewise.
48234         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
48235         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
48236         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
48237         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
48238         imply folder.
48239         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
48240         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
48241         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
48242         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
48243         correct imply path.
48244         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
48245         strlen symbol for non multi-arch builds.
48246         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
48247         missing hidden_def and weak_alias.
48249 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
48251         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
48253 2014-04-07  Will Newton  <will.newton@linaro.org>
48255         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
48256         and contents.  [!_LIBC] Remove #ifndef and contents.
48257         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
48258         * string/memccpy.c (__memccpy): Use ANSI prototype.
48259         * string/memfrob.c (memfrob): Likewise.
48260         * string/strcoll.c (STRCOLL): Likewise.
48261         * string/strlen.c (strlen): Likewise.
48262         * string/strtok.c (STRTOK): Likewise.
48263         * string/strcat.c: Remove unused #include of memcopy.h.
48264         (strcat): Use ANSI prototype.
48265         * string/strchr.c: Remove unused #include of memcopy.h.
48266         (strchr): Use ANSI prototype.
48267         * string/strcmp.c: Remove unused #include of memcopy.h.
48268         (strcmp): Use ANSI prototype.
48269         * string/strcpy.c: Remove unused #include of memcopy.h.
48270         (strcpy): Use ANSI prototype.
48272 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48274         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
48275         * config.make.in (config-extra-cppflags): Set it from
48276         libc_extra_cppflags.
48277         * configure.ac (libc_extra_cflags): Make it accumulate over
48278         configure fragments.
48279         (libc_extra_cppflags): New flag.
48280         * configure. Regenerate.
48281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
48282         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
48283         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
48284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
48286         [BZ #16815]
48287         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
48288         result for FE_DOWNWARD rounding mode.
48289         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
48290         Likewise.
48291         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48293 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
48295         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
48296         in function argument name.
48298 2014-04-03  David Svoboda  <svoboda@cert.org>
48300         [BZ #5666]
48301         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
48302         explicitly.
48304 2014-04-03  Roland McGrath  <roland@hack.frob.com>
48306         * elf/dl-unmap-segments.h: New file.
48307         * sysdeps/generic/ldsodefs.h
48308         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
48309         * elf/dl-close.c: Include <dl-unmap-segments.h>.
48310         * elf/dl-fptr.c: Likewise.
48311         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
48312         * sysdeps/aarch64/tlsdesc.c: Likewise.
48313         * sysdeps/arm/tlsdesc.c: Likewise.
48314         * sysdeps/i386/tlsdesc.c: Likewise.
48315         * sysdeps/tile/dl-runtime.c: Likewise.
48316         * sysdeps/x86_64/tlsdesc.c: Likewise.
48317         * elf/dl-load.h: New file.
48318         * elf/dl-load.c: Include it.
48319         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
48320         Macros moved to dl-load.h.
48321         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
48322         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
48323         Use _dl_unmap_segments in place of __munmap.
48324         Break out segment-mapping loop into ...
48325         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
48327 2014-04-03  Will Newton  <will.newton@linaro.org>
48329         * elf/dl-lookup.c (do_lookup_x): Remove comment
48330         referring to nested function and move variable
48331         declarations down to before first use.
48333 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
48335         [BZ #16799]
48336         [BZ #16800]
48337         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
48338         with 0 numerator.
48339         * math/s_catanf.c (__catanf): Likewise.
48340         * math/s_catanh.c (__catanh): Likewise.
48341         * math/s_catanhf.c (__catanhf): Likewise.
48342         * math/s_catanhl.c (__catanhl): Likewise.
48343         * math/s_catanl.c (__catanl): Likewise.
48344         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
48345         by positive zero when computing -Inf result.
48346         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
48347         (catanh_test): Likewise.
48348         * sysdeps/i386/fpu/libm-test-ulps: Update.
48349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48351         [BZ #16789]
48352         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
48353         instead of using underflowing value in computing result.
48354         * math/s_clog10.c (__clog10): Likewise.
48355         * math/s_clog10f.c (__clog10f): Likewise.
48356         * math/s_clog10l.c (__clog10l): Likewise.
48357         * math/s_clogf.c (__clogf): Likewise.
48358         * math/s_clogl.c (__clogl): Likewise.
48359         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
48360         (clog10_test): Likewise.
48361         * sysdeps/i386/fpu/libm-test-ulps: Update.
48362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48364 2014-04-02  Alan Modra  <amodra@gmail.com>
48366         [BZ #16739]
48367         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
48368         output when value is near a power of two.  Use int64_t for lx and
48369         remove casts.  Use decimal rather than hex exponent constants.
48370         Don't use long double multiplication when double will suffice.
48371         * math/libm-test.inc (nextafter_test_data): Add tests.
48372         * NEWS: Add 16739 and 16786 to bug list.
48374         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
48376         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
48378 2014-04-01  Will Newton  <will.newton@linaro.org>
48380         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
48381         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
48383 2014-04-01  Florian Weimer  <fweimer@redhat.com>
48385         [BZ #13347]
48386         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
48387         * nptl/tst-setuid2.c: New file.
48388         * nptl/Makefile (xtests): Add tst-setuid2.
48390 2014-04-01  Alan Modra  <amodra@gmail.com>
48392         [BZ #16786]
48393         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
48395 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
48397         [BZ #6803]
48398         [BZ #6804]
48399         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
48400         set errno as appropriate.
48401         * math/w_scalbf.c (__scalbf): Likewise.
48402         * math/w_scalbl.c (__scalbl): Likewise.
48403         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
48404         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
48405         * math/libm-test.inc (scalb_test_data): Add errno expectations.
48406         Add more NaN tests.
48408         [BZ #16349]
48409         * math/w_atan2.c: Include <errno.h>.
48410         (__atan2): Set errno for result underflowing to zero.
48411         * math/w_atan2f.c: Include <errno.h>.
48412         (__atan2f): Set errno for result underflowing to zero.
48413         * math/w_atan2l.c: Include <errno.h>.
48414         (__atan2l): Set errno for result underflowing to zero.
48415         * math/auto-libm-test-in: Don't allow missing errno for some atan2
48416         tests.
48417         * math/auto-libm-test-out: Regenerated.
48419 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48421         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
48422         Encode instruction correctly in little endian.
48423         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
48424         Likewise.
48425         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
48426         Likewise.
48427         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
48428         Likewise.
48429         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
48430         Likewise.
48432 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
48434         [BZ #9894]
48435         * sysdeps/unix/sysv/linux/kernel-features.h
48436         [__sparc__ && !__arch64__ && !__sparc_v9__]
48437         (__ASSUME_SET_ROBUST_LIST): Do not define.
48438         [__sparc__ && !__arch64__ && !__sparc_v9__]
48439         (__ASSUME_FUTEX_LOCK_PI): Likewise.
48440         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
48441         Likewise.
48442         * sysdeps/unix/sysv/linux/arm/kernel-features.h
48443         (__ASSUME_FUTEX_LOCK_PI): Undefine.
48444         (__ASSUME_REQUEUE_PI): Likewise.
48445         (__ASSUME_SET_ROBUST_LIST): Likewise.
48446         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
48447         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
48448         Undefine.
48449         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48450         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
48451         Likewise.
48452         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
48453         Likewise.
48454         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
48455         Likewise.
48456         * sysdeps/unix/sysv/linux/mips/kernel-features.h
48457         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
48458         Undefine.
48459         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
48460         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
48461         Likewise.
48463         [BZ #16648]
48464         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48465         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
48466         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
48468 2014-03-31  Will Newton  <will.newton@linaro.org>
48470         * benchtests/Makefile (bench): Add ffs and ffsll to list
48471         of tests.
48472         * benchtests/ffs-inputs: New file.
48473         * benchtests/ffsll-inputs: Likewise.
48475 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
48477         [BZ #16770]
48478         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
48479         too large before casting to int.
48480         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
48481         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
48482         * math/libm-test.inc (scalb_test_data): Add more tests.
48484 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48486         * benchtests/Makefile (DETAILED_OPT): New make option.
48487         (bench-func): Run benchmark program with -d if DETAILED_OPT is
48488         set.
48489         * benchtests/bench-skeleton.c: Include stdbool.h.
48490         (main): Store and print timings per input.
48491         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
48492         member to each argument value.
48493         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
48494         (_print_arg_data): Initialize per-input timing to 0.
48496         * benchtests/Makefile (timing-type): New binary.
48497         (bench-clean): Also remove bench-timing-type.
48498         (bench): New target for timing-type.
48499         (bench-func): Print output in JSON format.
48500         * benchtests/bench-skeleton.c (main): Print output in JSON
48501         format.
48502         * benchtests/bench-timing-type.c: New file.
48503         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
48504         (TIMING_PRINT_STATS): Remove.
48505         * benchtests/scripts/bench.py (_print_arg_data): Store variant
48506         name separately.
48508         * benchtests/bench-modf.c: Remove.
48509         * benchtests/modf-inputs: New inputs file.
48511 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
48513         [BZ #16362]
48514         * math/s_clog10.c (M_PI_LOG10E): New macro.
48515         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
48516         imaginary parts are 0.
48517         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
48518         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
48519         imaginary parts are 0.
48520         * math/s_clog10l.c (M_PI_LOG10El): New macro.
48521         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
48522         imaginary parts are 0.
48523         * math/libm-test.inc (clog10_test_data): Update expected results
48524         for when real and imaginary parts are 0.
48526 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
48528         * elf/dl-load.c: Finish conversion of __builtin_expect into
48529         __glibc_{un}likely.
48531 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
48533         [BZ #16348]
48534         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
48535         1+x for argument with exponent below -67.
48536         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
48537         Likewise.
48538         * math/auto-libm-test-in: Add more tests of exp.
48539         * math/auto-libm-test-out: Regenerated.
48541 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48543         [BZ #16759]
48544         * inet/getnetgrent_r.c (get_nonempty_val): New function.
48545         (nscd_getnetgrent): Use it.
48547         [BZ #16760]
48548         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
48549         of stpcpy.
48551 2014-03-27  Andi Kleen  <ak@linux.intel.com>
48553         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
48554         (lll_robust_lock, lll_cond_lock, lll_timedlock)
48555         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
48556         (lll_robust_unlock): Remove out of line section. Use cfi
48557         intrinsics.
48558         (LLL_STUB_UNWIND_INFO*): Remove.
48559         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
48560         (lll_robust_lock, lll_cond_lock, lll_timedlock)
48561         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
48562         (lll_robust_unlock): Remove out of line section. Use cfi
48563         intrinsics.
48564         (LLL_STUB_UNWIND_INFO*): Remove.
48566 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48568         [BZ #16758]
48569         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
48570         blank values.
48572 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
48574         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
48576 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
48578         [BZ #16198]
48579         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
48580         fnstenv.
48581         * math/test-fenv-preserve.c: New file.
48582         * math/Makefile (tests): Add test-fenv-preserve.
48584 2014-03-26  Will Newton <will.newton@linaro.org>
48586         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
48588 2014-03-25  Roland McGrath  <roland@hack.frob.com>
48590         * scripts/versionlist.awk: Partition the version sets and emit all
48591         GLIBC_* (sorted) before all others (sorted).
48593 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
48595         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
48596         GLIBC_2.2.5 version.
48598 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48600         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
48601         calls.
48603         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
48604         previous change.
48606         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48608 2014-03-25  Andreas Schwab  <schwab@suse.de>
48610         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
48611         label to be used after in6ailist is initialized.
48613 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48615         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
48616         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
48618 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
48620         [BZ #16357]
48621         [BZ #16599]
48622         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
48623         min_plus_half.
48624         (fp_formats): Update initializers.
48625         (init_fp_formats): Initialize new field.
48626         (output_for_one_input_case): Allow underflow for results up to
48627         min_plus_half.
48628         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
48629         * math/auto-libm-test-in: Don't mark some underflows from asin and
48630         atanh as spurious.
48631         * math/auto-libm-test-out: Regenerated.
48632         * sysdeps/i386/fpu/libm-test-ulps: Update.
48633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48635 2014-03-25  Andreas Schwab  <schwab@suse.de>
48637         * libio/Makefile (tst-ftell-partial-wide-ENV)
48638         (tst-ftell-active-handler-ENV): Define.
48640 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
48642         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
48644 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
48646         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
48648 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
48650         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
48651         * sysdeps/x86_64/fpu/multiarch/e_exp.c
48652         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
48654 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
48656         [BZ #16634]
48657         * elf/dl-load.c (open_verify): Add mode parameter.
48658         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
48659         (open_path): Change from boolean 'secure' to complete flag 'mode'
48660         (_dl_map_object): Adjust.
48661         * elf/Makefile (tests): Add tst-dlopen-aout.
48662         * elf/tst-dlopen-aout.c: New test.
48664 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
48666         [BZ #16714]
48667         * sysdeps/unix/sysv/linux/s390/bits/stat.h
48668         (struct stat): Rename member pad0 to __glibc_reserved0.
48670         [BZ #16712]
48671         * sysdeps/s390/s390-32/bits/wordsize.h
48672         (__WORDSIZE32_SIZE_ULONG): New define.
48673         * sysdeps/s390/s390-64/bits/wordsize.h
48674         (__WORDSIZE32_SIZE_ULONG): Likewise.
48675         * sysdeps/generic/stdint.h (SIZE_MAX):
48676         Define as UL if __WORDSIZE32_SIZE_ULONG.
48678         [BZ #16713]
48679         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
48680         (__glibc_reserved0): New variable.
48681         (sa_flags): Change type to int.
48683         * posix/Makefile (before-compile): Use += before-compile instead
48684         of a :=.
48686         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
48687         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
48689 2014-03-20  Andreas Schwab  <schwab@suse.de>
48691         [BZ #16743]
48692         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
48693         non-matching result from nscd.
48695 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48697         * scripts/bench.py: Moved to ...
48698         * benchtests/scripts/bench.py: ... here.
48699         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
48701 2014-03-24  Andreas Schwab  <schwab@suse.de>
48703         [BZ #16002]
48704         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
48705         alloca_account and account alloca use for struct in6ailist.
48707 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
48709         [BZ #16284]
48710         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
48711         rounding mode to recompute results that overflow to infinity or
48712         underflow to zero.
48713         * math/auto-libm-test-in: Don't mark tests as expected to fail for
48714         bug 16284.
48715         * math/auto-libm-test-out: Regenerated.
48716         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
48717         (ccosh_test): Likewise.
48718         (csin_test_data): Use plus_oflow.
48719         (csin_test): Use ALL_RM_TEST.
48720         (csinh_test_data): Use plus_oflow.
48721         (csinh_test): Use ALL_RM_TEST.
48722         * sysdeps/i386/fpu/libm-test-ulps: Update.
48723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48725 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
48727         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
48728         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
48729         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
48731         [BZ #16731]
48732         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
48733         when x - 1 is zero.
48734         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
48735         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
48736         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
48737         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
48738         argument is 1.
48739         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
48740         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
48741         zero.
48742         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
48743         * sysdeps/i386/fpu/libm-test-ulps: Update.
48744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48746 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48748         * scripts/bench.pl: Remove file.
48749         * scripts/bench.py: New benchmark script.
48750         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
48751         * benchtests/README: Mention python dependency.
48752         * scripts/pylintrc: New file.
48753         * scripts/pylint: New file.
48755         * bits/mathdef.h: Use #ifdef instead of #if.
48756         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
48757         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
48758         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
48759         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
48760         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
48761         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
48763 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48764             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48766         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
48767         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
48768         and strpbrk-ppc64 objects.
48769         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48770         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
48771         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
48772         multiarch strpbrk for POWER7.
48773         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
48774         multiarch strpbrk for PPC64.
48775         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
48776         ifunc selector.
48777         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
48778         strpbrk for POWER7.
48780 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
48782         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
48783         (atan_test): Likewise.
48784         (atanh_test_data): Use NO_TEST_INLINE for two tests.
48785         (atanh_test): Use ALL_RM_TEST.
48786         (atan2_test_data): Likewise.
48787         (cabs_test): Likewise.
48788         (cacosh_test): Likewise.
48789         (carg_test): Likewise.
48790         (casin_test): Likewise.
48791         (casinh_test): Likewise.
48792         (cbrt_test): Likewise.
48793         (csqrt_test): Likewise.
48794         (erf_test): Likewise.
48795         (erfc_test): Likewise.
48796         (pow10_test): Likewise.
48797         (exp2_test): Likewise.
48798         (hypot_test): Likewise.
48799         (j0_test): Likewise.
48800         (j1_test): Likewise.
48801         (lgamma_test): Likewise.
48802         (gamma_test): Likewise.
48803         (sincos_test): Likewise.
48804         (tanh_test): Likewise.
48805         (y0_test): Likewise.
48806         (y1_test): Likewise.
48807         * sysdeps/i386/fpu/libm-test-ulps: Update.
48808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48810 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48812         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
48813         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
48814         and strcspn-ppc64 objects.
48815         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48816         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
48817         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
48818         multiarch strcspn for POWER7.
48819         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
48820         multiarch strcspn for PPC64.
48821         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
48822         ifunc selector.
48823         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
48824         strcspn for POWER7.
48826 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
48828         * math/gen-libm-test.pl (generate_testfile): Expect only function
48829         name as argument to AUTO_TESTS_* and pass results for all rounding
48830         modes to parse_args.
48831         (parse_auto_input): Separate inputs of automatic tests from
48832         outputs before storing in %auto_tests.
48833         * math/libm-test.inc (acos_test_data): Update call to
48834         AUTO_TESTS_f_f.
48835         (acos_test): Use ALL_RM_TEST.
48836         (acos_tonearest_test_data): Remove.
48837         (acos_test_tonearest): Likewise.
48838         (acos_towardzero_test_data): Likewise.
48839         (acos_test_towardzero): Likewise.
48840         (acos_downward_test_data): Likewise.
48841         (acos_test_downward): Likewise.
48842         (acos_upward_test_data): Likewise.
48843         (acos_test_upward): Likewise.
48844         (acosh_test_data): Update call to AUTO_TESTS_f_f.
48845         (asin_test_data): Likewise.
48846         (asin_test): Use ALL_RM_TEST.
48847         (asin_tonearest_test_data): Remove.
48848         (asin_test_tonearest): Likewise.
48849         (asin_towardzero_test_data): Likewise.
48850         (asin_test_towardzero): Likewise.
48851         (asin_downward_test_data): Likewise.
48852         (asin_test_downward): Likewise.
48853         (asin_upward_test_data): Likewise.
48854         (asin_test_upward): Likewise.
48855         (asinh_test_data): Update call to AUTO_TESTS_f_f.
48856         (atan_test_data): Likewise.
48857         (atanh_test_data): Likewise.
48858         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
48859         (cabs_test_data): Update call to AUTO_TESTS_c_f.
48860         (carg_test_data): Likewise.
48861         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
48862         (ccos_test_data): Update call to AUTO_TESTS_c_c.
48863         (ccosh_test_data): Likewise.
48864         (cexp_test_data): Likewise.
48865         (clog_test_data): Likewise.
48866         (clog10_test_data): Likewise.
48867         (cos_test_data): Update call to AUTO_TESTS_f_f.
48868         (cos_test): Use ALL_RM_TEST.
48869         (cos_tonearest_test_data): Remove.
48870         (cos_test_tonearest): Likewise.
48871         (cos_towardzero_test_data): Likewise.
48872         (cos_test_towardzero): Likewise.
48873         (cos_downward_test_data): Likewise.
48874         (cos_test_downward): Likewise.
48875         (cos_upward_test_data): Likewise.
48876         (cos_test_upward): Likewise.
48877         (cosh_test_data): Update call to AUTO_TESTS_f_f.
48878         (cosh_test): Use ALL_RM_TEST.
48879         (cosh_tonearest_test_data): Remove.
48880         (cosh_test_tonearest): Likewise.
48881         (cosh_towardzero_test_data): Likewise.
48882         (cosh_test_towardzero): Likewise.
48883         (cosh_downward_test_data): Likewise.
48884         (cosh_test_downward): Likewise.
48885         (cosh_upward_test_data): Likewise.
48886         (cosh_test_upward): Likewise.
48887         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
48888         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
48889         (ctan_test_data): Likewise.
48890         (ctan_test): Use ALL_RM_TEST.
48891         (ctan_tonearest_test_data): Remove.
48892         (ctan_test_tonearest): Likewise.
48893         (ctan_towardzero_test_data): Likewise.
48894         (ctan_test_towardzero): Likewise.
48895         (ctan_downward_test_data): Likewise.
48896         (ctan_test_downward): Likewise.
48897         (ctan_upward_test_data): Likewise.
48898         (ctan_test_upward): Likewise.
48899         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
48900         (ctanh_test): Use ALL_RM_TEST.
48901         (ctanh_tonearest_test_data): Remove.
48902         (ctanh_test_tonearest): Likewise.
48903         (ctanh_towardzero_test_data): Likewise.
48904         (ctanh_test_towardzero): Likewise.
48905         (ctanh_downward_test_data): Likewise.
48906         (ctanh_test_downward): Likewise.
48907         (ctanh_upward_test_data): Likewise.
48908         (ctanh_test_upward): Likewise.
48909         (erf_test_data): Update call to AUTO_TESTS_f_f.
48910         (erfc_test_data): Likewise.
48911         (exp_test_data): Likewise.
48912         (exp_test): Use ALL_RM_TEST.
48913         (exp_tonearest_test_data): Remove.
48914         (exp_test_tonearest): Likewise.
48915         (exp_towardzero_test_data): Likewise.
48916         (exp_test_towardzero): Likewise.
48917         (exp_downward_test_data): Likewise.
48918         (exp_test_downward): Likewise.
48919         (exp_upward_test_data): Likewise.
48920         (exp_test_upward): Likewise.
48921         (exp10_test_data): Update call to AUTO_TESTS_f_f.
48922         (exp10_test): Use ALL_RM_TEST.
48923         (exp10_tonearest_test_data): Remove.
48924         (exp10_test_tonearest): Likewise.
48925         (exp10_towardzero_test_data): Likewise.
48926         (exp10_test_towardzero): Likewise.
48927         (exp10_downward_test_data): Likewise.
48928         (exp10_test_downward): Likewise.
48929         (exp10_upward_test_data): Likewise.
48930         (exp10_test_upward): Likewise.
48931         (exp2_test_data): Update call to AUTO_TESTS_f_f.
48932         (expm1_test_data): Likewise.
48933         (expm1_test): Use ALL_RM_TEST.
48934         (expm1_tonearest_test_data): Remove.
48935         (expm1_test_tonearest): Likewise.
48936         (expm1_towardzero_test_data): Likewise.
48937         (expm1_test_towardzero): Likewise.
48938         (expm1_downward_test_data): Likewise.
48939         (expm1_test_downward): Likewise.
48940         (expm1_upward_test_data): Likewise.
48941         (expm1_test_upward): Likewise.
48942         (fma_test_data): Update call to AUTO_TESTS_fff_f.
48943         (fma_test): Use ALL_RM_TEST.
48944         (fma_towardzero_test_data): Remove.
48945         (fma_test_towardzero): Likewise.
48946         (fma_downward_test_data): Likewise.
48947         (fma_test_downward): Likewise.
48948         (fma_upward_test_data): Likewise.
48949         (fma_test_upward): Likewise.
48950         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
48951         (j0_test_data): Update call to AUTO_TESTS_f_f.
48952         (j1_test_data): Likewise.
48953         (jn_test_data): Update call to AUTO_TESTS_if_f.
48954         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
48955         (log_test_data): Update call to AUTO_TESTS_f_f.
48956         (log10_test_data): Likewise.
48957         (log1p_test_data): Likewise.
48958         (log2_test_data): Likewise.
48959         (pow_test_data): Update call to AUTO_TESTS_ff_f.
48960         (pow_tonearest_test_data): Likewise.
48961         (sin_test_data): Update call to AUTO_TESTS_f_f.
48962         (sin_test): Use ALL_RM_TEST.
48963         (sin_tonearest_test_data): Remove.
48964         (sin_test_tonearest): Likewise.
48965         (sin_towardzero_test_data): Likewise.
48966         (sin_test_towardzero): Likewise.
48967         (sin_downward_test_data): Likewise.
48968         (sin_test_downward): Likewise.
48969         (sin_upward_test_data): Likewise.
48970         (sin_test_upward): Likewise.
48971         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
48972         (sinh_test_data): Update call to AUTO_TESTS_f_f.
48973         (sinh_test): Use ALL_RM_TEST.
48974         (sinh_tonearest_test_data): Remove.
48975         (sinh_test_tonearest): Likewise.
48976         (sinh_towardzero_test_data): Likewise.
48977         (sinh_test_towardzero): Likewise.
48978         (sinh_downward_test_data): Likewise.
48979         (sinh_test_downward): Likewise.
48980         (sinh_upward_test_data): Likewise.
48981         (sinh_test_upward): Likewise.
48982         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
48983         (sqrt_test): Use ALL_RM_TEST.
48984         (sqrt_tonearest_test_data): Remove.
48985         (sqrt_test_tonearest): Likewise.
48986         (sqrt_towardzero_test_data): Likewise.
48987         (sqrt_test_towardzero): Likewise.
48988         (sqrt_downward_test_data): Likewise.
48989         (sqrt_test_downward): Likewise.
48990         (sqrt_upward_test_data): Likewise.
48991         (sqrt_test_upward): Likewise.
48992         (tan_test_data): Update call to AUTO_TESTS_f_f.
48993         (tan_test): Use ALL_RM_TEST.
48994         (tan_tonearest_test_data): Remove.
48995         (tan_test_tonearest): Likewise.
48996         (tan_towardzero_test_data): Likewise.
48997         (tan_test_towardzero): Likewise.
48998         (tan_downward_test_data): Likewise.
48999         (tan_test_downward): Likewise.
49000         (tan_upward_test_data): Likewise.
49001         (tan_test_upward): Likewise.
49002         (tanh_test_data): Update call to AUTO_TESTS_f_f.
49003         (tgamma_test_data): Likewise.
49004         (y0_test_data): Likewise.
49005         (y1_test_data): Likewise.
49006         (yn_test_data): Update call to AUTO_TESTS_if_f.
49007         (main): Do not call removed functions.
49009 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
49011         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
49012         (ldexp_test_data): Remove.
49013         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
49014         scalbn_test_data.
49015         (scalb_test): Use ALL_RM_TEST.
49017 2014-03-19  Andreas Schwab  <schwab@suse.de>
49019         * nscd/nscd.service: Also invalidate netgroup cache on reload.
49021 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
49023         [BZ #16649]
49024         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49025         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
49026         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
49027         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49028         (__ASSUME_PREADV): Undefine.
49029         (__ASSUME_PWRITEV): Likewise.
49031 2014-03-18  Roland McGrath  <roland@hack.frob.com>
49033         * bits/mman-linux.h: Add comment about non-Linux use.
49034         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
49035         bits/mman-linux.h resting place.
49037         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
49038         * bits/mman-linux.h: ... here.
49040 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49042         * conform/conformtest.pl: Add standard definition when calling C
49043         preprocessor on data files.
49044         (checknamespace): Remove unused variable.
49046 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
49048         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
49049         minus_oflow, plus_uflow and minus_uflow in expected results.
49050         * math/libm-test.inc (scalbn_test_data): Add more tests of
49051         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
49052         minus_uflow.
49053         (scalbn_test): Use ALL_RM_TEST.
49054         (scalbln_test_data): Add more tests of negative arguments.  Use
49055         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
49056         (scalbln_test): Use ALL_RM_TEST.
49058 2014-03-18  Roland McGrath  <roland@hack.frob.com>
49060         * scripts/abilist.awk: Ignore symbols marked with .hidden.
49062 2014-03-18  Will Newton  <will.newton@linaro.org>
49064         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
49065         inaccurate comment.
49067 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
49069         * Makerules [!subdir] (check-abi): Exit with error status if a
49070         test failed.
49072 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
49074         * math/libm-test.inc (nearbyint_test_data): Include all tests used
49075         for rint.  Include results for all rounding modes.
49076         (nearbyint_test): Use ALL_RM_TEST.
49077         (rint_test_data): Include all tests used for nearbyint.
49079 2014-03-17  Will Newton  <will.newton@linaro.org>
49081         * nptl/sysdeps/pthread/pthread.h: Revert previous
49082         change.
49084         * sysdeps/generic/ldsodefs.h: Revert previous
49085         change.
49087         * libio/genops.c: Revert previous change.
49088         * libio/libioP.h: Likewise.
49089         * stdio-common/vfprintf.c: Likewise.
49091         * sysdeps/generic/math_private.h: Revert previous
49092         change.
49094         * sysdeps/generic/math_private.h: Check whether
49095         HAVE_RM_CTX is defined with #ifdef rather
49096         than #if.
49098         * argp/argp-fmtstream.h: Check whether
49099         __STRICT_ANSI__ is defined with #ifdef rather
49100         than #if.
49101         * argp/argp.h: Likewise.
49103         * libio/genops.c: Check whether
49104         _IO_JUMPS_OFFSET is defined with #ifdef rather
49105         than #if.
49106         * libio/libioP.h: Likewise.
49107         * stdio-common/vfprintf.c: Likewise.
49109         * sysdeps/generic/ldsodefs.h: Check whether
49110         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
49111         than #if.
49113         * nptl/sysdeps/pthread/pthread.h: Check
49114         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
49115         its value.
49117 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
49119         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
49120         setting O_APPEND.
49121         * libio/tst-ftell-active-handler.c (do_append_test): Add a
49122         test case.
49124         [BZ #16680]
49125         * libio/fileops.c (_IO_file_open): Seek to end of file but
49126         don't cache the offset.
49127         (get_file_offset): Remove function.
49128         (do_ftell): Use cached offset when available.
49129         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
49130         don't cache the offset.
49131         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
49132         case.
49133         (do_one_test): Call it.
49134         (do_ftell_test): Fix up expected old offset for a+ mode.
49135         * libio/wfileops.c (do_ftell_wide): Used cached offset when
49136         available.
49138         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
49139         up test status with function return status.
49140         (do_write_test): Likewise.
49141         (do_append_test): Likewise.
49143         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
49144         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
49145         Remove.
49147 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
49149         * math/gen-libm-test.pl (parse_args): Handle results specified for
49150         each rounding mode separately.
49151         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
49152         tests and results from lrint_tonearest_test_data,
49153         lrint_towardzero_test_data, lrint_downward_test_data and
49154         lrint_upward_test_data.
49155         (lrint_test): Use ALL_RM_TEST.
49156         (lrint_tonearest_test_data): Remove.
49157         (lrint_test_tonearest): Likewise.
49158         (lrint_towardzero_test_data): Likewise.
49159         (lrint_test_towardzero): Likewise.
49160         (lrint_downward_test_data): Likewise.
49161         (lrint_test_downward): Likewise.
49162         (lrint_upward_test_data): Likewise.
49163         (lrint_test_upward): Likewise.
49164         (llrint_test_data): Merge in per-rounding-mode tests and results
49165         from llrint_tonearest_test_data, llrint_towardzero_test_data,
49166         llrint_downward_test_data and llrint_upward_test_data.
49167         (llrint_test): Use ALL_RM_TEST.
49168         (llrint_tonearest_test_data): Remove.
49169         (llrint_test_tonearest): Likewise.
49170         (llrint_towardzero_test_data): Likewise.
49171         (llrint_test_towardzero): Likewise.
49172         (llrint_downward_test_data): Likewise.
49173         (llrint_test_downward): Likewise.
49174         (llrint_upward_test_data): Likewise.
49175         (llrint_test_upward): Likewise.
49176         (rint_test_data): Merge in per-rounding-mode tests and results
49177         from rint_tonearest_test_data, rint_towardzero_test_data,
49178         rint_downward_test_data and rint_upward_test_data.  Add
49179         per-rounding-mode results for tests not in those arrays.
49180         (rint_test): Use ALL_RM_TEST.
49181         (rint_tonearest_test_data): Remove.
49182         (rint_test_tonearest): Likewise.
49183         (rint_towardzero_test_data): Likewise.
49184         (rint_test_towardzero): Likewise.
49185         (rint_downward_test_data): Likewise.
49186         (rint_test_downward): Likewise.
49187         (rint_upward_test_data): Likewise.
49188         (rint_test_upward): Likewise.
49189         (main): Don't call removed functions.
49191 2014-03-14  Roland McGrath  <roland@hack.frob.com>
49193         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
49194         "Compiled on ..." crapola.  It is anti-useful.
49196 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
49198         * scripts/evaluate-test.sh: Handle fourth argument to determine
49199         whether test run should stop on failure.
49200         * Makeconfig (stop-on-test-failure): New variable.
49201         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
49202         $(stop-on-test-failure).
49203         * Makefile (tests): Give a summary of results from testing and
49204         exit with failure status if they include an ERROR or FAIL.
49205         (xtests): Likewise.
49206         * manual/install.texi (Configuring and compiling): Mention
49207         stop-on-test-failure=y.
49208         * INSTALL: Regenerated.
49210 2014-03-14  Roland McGrath  <roland@hack.frob.com>
49212         * scripts/versionlist.awk: New file.
49213         * Makerules [$(build-shared) = yes]
49214         (postclean-generated): Add Versions.def, not Versions.def.v and
49215         Versions.def.v.i.
49216         ($(common-objpfx)Versions.def.v.i): Target removed.
49217         ($(common-objpfx)Versions.def): New target.
49218         ($(common-objpfx)Versions.all): Depend on that rather that
49219         $(common-objpfx)Versions.def.v.
49220         * Versions.def: File removed.
49222         * Makeconfig (+gccwarn): Add -Wundef.
49223         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
49224         a dl-sysdep.h breaking its contract.
49225         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
49226         * include/stackinfo.h: New file.
49227         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
49228         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
49229         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
49230         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
49231         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
49232         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
49233         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49234         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49235         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49236         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49237         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49238         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
49239         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49240         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49241         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49243 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49245         [BZ #16707]
49246         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
49247         implementation.
49248         * math/libm-test.inc (round_test_data): Add more tests.
49250         [BZ #16706]
49251         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
49252         implementation.
49253         * math/libm-test.inc (nearbyint_test_data): Add more tests.
49255         [BZ #16701]
49256         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
49257         implementation.
49258         * math/libm-test.inc (ceil_test_data): Add more tests.
49260         * math/libm-test.inc (trunc_test_data): Add more tests related to
49261         BZ#16414.
49263 2014-03-14  Roland McGrath  <roland@hack.frob.com>
49265         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
49266         with #if rather than #ifdef.
49267         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
49269 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
49271         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
49272         first.  Disable AVX-512 GCC support if assembler doesn't support
49273         it.
49274         * sysdeps/x86_64/configure: Regenerated.
49276 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
49278         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
49279         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
49280         (__old_pthread_attr_setstack): Likewise.
49281         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
49282         [!_STACK_GROWS_DOWN]: Likewise.
49284 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
49286         * config.make.in (have-bash2): Delete.
49287         * configure.ac (libc_cv_have_bash2): Delete.
49288         * configure: Regenerate.
49289         * elf/Makefile (common-ldd-rewrite): Rename to ...
49290         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
49291         (sh-ldd-rewrite): Delete.
49292         (bash-ldd-rewrite): Delete.
49293         (have-bash2): Delete checks.
49294         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
49295         ldd-rewrite.
49297         * config.make.in (have-ksh): Delete.
49298         (KSH): Delete.
49299         * configure.ac (libc_cv_have_ksh): Delete.
49300         * configure: Regenerate.
49302         * elf/Makefile: Delete $(have-ksh) check.
49303         ($(objpfx)sotruss): Change KSH to BASH.
49304         * elf/sotruss.ksh: Rename to ...
49305         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
49306         function style to match POSIX.  Drop ksh vim mode setting.
49308         * manual/time.texi (Specifying the Time Zone with TZ): Change
49309         Tuesday to Thursday.
49311         * debug/tst-longjmp_chk2.c: Update header comment.
49312         (stackoverflow_handler): Add comment.  Call assert on pass value.
49314 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
49316         [BZ #16194]
49317         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
49318         (HAVE_AVX512_ASM_SUPPORT): Likewise.
49319         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
49320         (La_x86_64_vector): Add zmm.
49321         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
49322         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
49323         ($(objpfx)tst-audit10): New target.
49324         ($(objpfx)tst-audit10.out): Likewise.
49325         (tst-audit10-ENV): New.
49326         (AVX512-CFLAGS): Likewise.
49327         (CFLAGS-tst-audit10.c): Likewise.
49328         (CFLAGS-tst-auditmod10a.c): Likewise.
49329         (CFLAGS-tst-auditmod10b.c): Likewise.
49330         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
49331         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
49332         * sysdeps/x86_64/configure: Regenerated.
49333         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
49334         AVX-512 zmm register support.
49335         (_dl_x86_64_save_sse): Likewise.
49336         (_dl_x86_64_restore_sse): Likewise.
49337         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
49338         size vector registers.
49339         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
49340         (ZMM_SIZE): Likewise.
49341         * sysdeps/x86_64/tst-audit10.c: New file.
49342         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
49343         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
49345 2014-03-13  Roland McGrath  <roland@hack.frob.com>
49347         * configure.ac (HAVE_EHDR_START): New check.
49348         * configure: Regenerated.
49349         * config.h.in (HAVE_EHDR_START): New #undef.
49350         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
49351         assuming the lowest-addressed segment maps the start of the file.
49353 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
49355         * INSTALL: Regenerated.
49357 2014-03-13  Will Newton  <will.newton@linaro.org>
49359         * manual/setjmp.texi (System V contexts): Improve
49360         clarity and grammar of documentation.
49362 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
49364         [BZ #16381]
49365         * elf/Makefile (tests): Add tst-pie2.
49366         (tests-pie): Add tst-pie2.
49367         * elf/tst-pie2.c: New file.
49368         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
49369         for ET_EXEC.
49370         * elf/rtld.c (map_doit): Load executable as lt_executable.
49371         (dl_main): Likewise.
49373 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
49375         [BZ #16642]
49376         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49377         (__ASSUME_PSELECT): Undefine.
49379 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49381         [BZ #16689]
49382         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
49383         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
49384         static build.
49385         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
49386         selector for static builds.
49388 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
49390         [BZ #16695]
49391         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
49392         key in the buffer.
49394 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49396         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
49397         IFUNC selector for static builds.
49399 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
49401         * sysdeps/mips/math_private.h [__mips_hard_float]
49402         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
49403         libc_feresetround_mips_ctx.
49404         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
49405         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
49406         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
49408         [BZ #16677]
49409         * math/s_nextafter.c (__nextafter): Do not return value from
49410         overflowing computation.
49411         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
49412         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
49413         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
49414         Likewise.
49415         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
49416         Likewise.
49417         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
49418         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
49420 2014-03-11  Roland McGrath  <roland@hack.frob.com>
49422         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
49423         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
49424         Move sfi_sp use from the load-multiple (that no longer sets sp) to
49425         the new mov targetting sp.
49427 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49429         [BZ #16683]
49430         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
49431         Define it for static builds as well.
49432         (NO_BZERO_IMPL): Likewise.
49434 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
49436         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
49437         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
49438         multiarch strspn for PPC64.
49439         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
49440         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
49441         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49442         (__libc_ifunc_impl_list): Likewise.
49443         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
49444         multiarch optimizations
49445         * string/strspn.c (strspn): Using macro to redefine symbol name.
49447 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
49448             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49450         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
49451         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
49452         multiarch strncat for PPC64.
49453         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
49454         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
49455         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49456         (__libc_ifunc_impl_list): Likewise.
49457         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
49458         multiarch optimizations
49460 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49462         [BZ #16639]
49463         * nscd/nscd.service: Make service type forking.
49465 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49467         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
49468         sign in non default rounding modes.
49469         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
49471 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
49473         * math/libm-test.inc (ALL_RM_TEST): New macro.
49474         (ceil_test): Use ALL_RM_TEST.
49475         (cimag_test): Likewise.
49476         (conj_test): Likewise.
49477         (copysign_test): Likewise.
49478         (cproj_test): Likewise.
49479         (creal_test): Likewise.
49480         (fabs_test): Likewise.
49481         (floor_test): Likewise.
49482         (fmax_test): Likewise.
49483         (fmin_test): Likewise.
49484         (fmod_test): Likewise.
49485         (fpclassify_test): Likewise.
49486         (frexp_test): Likewise.
49487         (ilogb_test): Likewise.
49488         (isfinite_test): Likewise.
49489         (finite_test): Likewise.
49490         (isgreater_test): Likewise.
49491         (isgreaterequal_test): Likewise.
49492         (isinf_test): Likewise.
49493         (isless_test): Likewise.
49494         (islessequal_test): Likewise.
49495         (islessgreater_test): Likewise.
49496         (isnan_test): Likewise.
49497         (isnormal_test): Likewise.
49498         (issignaling_test): Likewise.
49499         (isunordered_test): Likewise.
49500         (logb_test): Likewise.
49501         (logb_downward_test_data): Remove.
49502         (logb_test_downward): Likewise.
49503         (lround_test): Use ALL_RM_TEST.
49504         (llround_test): Likewise.
49505         (modf_test): Likewise.
49506         (nexttoward_test): Likewise.
49507         (remainder_test): Likewise.
49508         (drem_test): Likewise.
49509         (remainder_tonearest_test_data): Likewise.
49510         (remainder_test_tonearest): Likewise.
49511         (drem_test_tonearest): Likewise.
49512         (remainder_towardzero_test_data): Likewise.
49513         (remainder_test_towardzero): Likewise.
49514         (drem_test_towardzero): Likewise.
49515         (remainder_downward_test_data): Likewise.
49516         (remainder_test_downward): Likewise.
49517         (drem_test_downward): Likewise.
49518         (remainder_upward_test_data): Likewise.
49519         (remainder_test_upward): Likewise.
49520         (drem_test_upward): Likewise.
49521         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
49522         (round_test): Use ALL_RM_TEST.
49523         (signbit_test): Likewise.
49524         (trunc_test): Likewise.
49525         (significand_test): Likewise.
49526         (main): Don't call removed functions.
49528 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
49530         [BZ #16674]
49531         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
49532         || __USE_XOPEN2K8].
49533         (ILL_ILLOPN): Likewise.
49534         (ILL_ILLADR): Likewise.
49535         (ILL_ILLTRP): Likewise.
49536         (ILL_PRVOPC): Likewise.
49537         (ILL_PRVREG): Likewise.
49538         (ILL_COPROC): Likewise.
49539         (ILL_BADSTK): Likewise.
49540         (FPE_INTDIV): Likewise.
49541         (FPE_INTOVF): Likewise.
49542         (FPE_FLTDIV): Likewise.
49543         (FPE_FLTOVF): Likewise.
49544         (FPE_FLTUND): Likewise.
49545         (FPE_FLTRES): Likewise.
49546         (FPE_FLTINV): Likewise.
49547         (FPE_FLTSUB): Likewise.
49548         (SEGV_MAPERR): Likewise.
49549         (SEGV_ACCERR): Likewise.
49550         (BUS_ADRALN): Likewise.
49551         (BUS_ADRERR): Likewise.
49552         (BUS_OBJERR): Likewise.
49553         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49554         (TRAP_TRACE): Likewise.
49555         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49556         __USE_XOPEN2K8].
49557         (CLD_KILLED): Likewise.
49558         (CLD_DUMPED): Likewise.
49559         (CLD_TRAPPED): Likewise.
49560         (CLD_STOPPED): Likewise.
49561         (CLD_CONTINUED): Likewise.
49562         (POLL_IN): Likewise.
49563         (POLL_OUT): Likewise.
49564         (POLL_MSG): Likewise.
49565         (POLL_ERR): Likewise.
49566         (POLL_PRI): Likewise.
49567         (POLL_HUP): Likewise.
49568         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
49569         Likewise.
49570         (ILL_ILLOPN): Likewise.
49571         (ILL_ILLADR): Likewise.
49572         (ILL_ILLTRP): Likewise.
49573         (ILL_PRVOPC): Likewise.
49574         (ILL_PRVREG): Likewise.
49575         (ILL_COPROC): Likewise.
49576         (ILL_BADSTK): Likewise.
49577         (FPE_INTDIV): Likewise.
49578         (FPE_INTOVF): Likewise.
49579         (FPE_FLTDIV): Likewise.
49580         (FPE_FLTOVF): Likewise.
49581         (FPE_FLTUND): Likewise.
49582         (FPE_FLTRES): Likewise.
49583         (FPE_FLTINV): Likewise.
49584         (FPE_FLTSUB): Likewise.
49585         (SEGV_MAPERR): Likewise.
49586         (SEGV_ACCERR): Likewise.
49587         (BUS_ADRALN): Likewise.
49588         (BUS_ADRERR): Likewise.
49589         (BUS_OBJERR): Likewise.
49590         (BUS_MCEERR_AR): Likewise.
49591         (BUS_MCEERR_AO): Likewise.
49592         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49593         (TRAP_TRACE): Likewise.
49594         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49595         __USE_XOPEN2K8].
49596         (CLD_KILLED): Likewise.
49597         (CLD_DUMPED): Likewise.
49598         (CLD_TRAPPED): Likewise.
49599         (CLD_STOPPED): Likewise.
49600         (CLD_CONTINUED): Likewise.
49601         (POLL_IN): Likewise.
49602         (POLL_OUT): Likewise.
49603         (POLL_MSG): Likewise.
49604         (POLL_ERR): Likewise.
49605         (POLL_PRI): Likewise.
49606         (POLL_HUP): Likewise.
49607         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
49608         (ILL_ILLOPN): Likewise.
49609         (ILL_ILLADR): Likewise.
49610         (ILL_ILLTRP): Likewise.
49611         (ILL_PRVOPC): Likewise.
49612         (ILL_PRVREG): Likewise.
49613         (ILL_COPROC): Likewise.
49614         (ILL_BADSTK): Likewise.
49615         (FPE_INTDIV): Likewise.
49616         (FPE_INTOVF): Likewise.
49617         (FPE_FLTDIV): Likewise.
49618         (FPE_FLTOVF): Likewise.
49619         (FPE_FLTUND): Likewise.
49620         (FPE_FLTRES): Likewise.
49621         (FPE_FLTINV): Likewise.
49622         (FPE_FLTSUB): Likewise.
49623         (SEGV_MAPERR): Likewise.
49624         (SEGV_ACCERR): Likewise.
49625         (BUS_ADRALN): Likewise.
49626         (BUS_ADRERR): Likewise.
49627         (BUS_OBJERR): Likewise.
49628         (BUS_MCEERR_AR): Likewise.
49629         (BUS_MCEERR_AO): Likewise.
49630         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49631         (TRAP_TRACE): Likewise.
49632         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49633         __USE_XOPEN2K8].
49634         (CLD_KILLED): Likewise.
49635         (CLD_DUMPED): Likewise.
49636         (CLD_TRAPPED): Likewise.
49637         (CLD_STOPPED): Likewise.
49638         (CLD_CONTINUED): Likewise.
49639         (POLL_IN): Likewise.
49640         (POLL_OUT): Likewise.
49641         (POLL_MSG): Likewise.
49642         (POLL_ERR): Likewise.
49643         (POLL_PRI): Likewise.
49644         (POLL_HUP): Likewise.
49645         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
49646         Likewise.
49647         (ILL_ILLOPN): Likewise.
49648         (ILL_ILLADR): Likewise.
49649         (ILL_ILLTRP): Likewise.
49650         (ILL_PRVOPC): Likewise.
49651         (ILL_PRVREG): Likewise.
49652         (ILL_COPROC): Likewise.
49653         (ILL_BADSTK): Likewise.
49654         (ILL_BADIADDR): Likewise.
49655         (ILL_BREAK): Likewise.
49656         (FPE_INTDIV): Likewise.
49657         (FPE_INTOVF): Likewise.
49658         (FPE_FLTDIV): Likewise.
49659         (FPE_FLTOVF): Likewise.
49660         (FPE_FLTUND): Likewise.
49661         (FPE_FLTRES): Likewise.
49662         (FPE_FLTINV): Likewise.
49663         (FPE_FLTSUB): Likewise.
49664         (FPE_DECOVF): Likewise.
49665         (FPE_DECDIV): Likewise.
49666         (FPE_DECERR): Likewise.
49667         (FPE_INVASC): Likewise.
49668         (FPE_INVDEC): Likewise.
49669         (SEGV_MAPERR): Likewise.
49670         (SEGV_ACCERR): Likewise.
49671         (SEGV_PSTKOVF): Likewise.
49672         (BUS_ADRALN): Likewise.
49673         (BUS_ADRERR): Likewise.
49674         (BUS_OBJERR): Likewise.
49675         (BUS_MCEERR_AR): Likewise.
49676         (BUS_MCEERR_AO): Likewise.
49677         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49678         (TRAP_TRACE): Likewise.
49679         (TRAP_BRANCH): Likewise.
49680         (TRAP_HWBKPT): Likewise.
49681         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49682         __USE_XOPEN2K8].
49683         (CLD_KILLED): Likewise.
49684         (CLD_DUMPED): Likewise.
49685         (CLD_TRAPPED): Likewise.
49686         (CLD_STOPPED): Likewise.
49687         (CLD_CONTINUED): Likewise.
49688         (POLL_IN): Likewise.
49689         (POLL_OUT): Likewise.
49690         (POLL_MSG): Likewise.
49691         (POLL_ERR): Likewise.
49692         (POLL_PRI): Likewise.
49693         (POLL_HUP): Likewise.
49694         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
49695         (ILL_ILLOPN): Likewise.
49696         (ILL_ILLADR): Likewise.
49697         (ILL_ILLTRP): Likewise.
49698         (ILL_PRVOPC): Likewise.
49699         (ILL_PRVREG): Likewise.
49700         (ILL_COPROC): Likewise.
49701         (ILL_BADSTK): Likewise.
49702         (FPE_INTDIV): Likewise.
49703         (FPE_INTOVF): Likewise.
49704         (FPE_FLTDIV): Likewise.
49705         (FPE_FLTOVF): Likewise.
49706         (FPE_FLTUND): Likewise.
49707         (FPE_FLTRES): Likewise.
49708         (FPE_FLTINV): Likewise.
49709         (FPE_FLTSUB): Likewise.
49710         (SEGV_MAPERR): Likewise.
49711         (SEGV_ACCERR): Likewise.
49712         (BUS_ADRALN): Likewise.
49713         (BUS_ADRERR): Likewise.
49714         (BUS_OBJERR): Likewise.
49715         (BUS_MCEERR_AR): Likewise.
49716         (BUS_MCEERR_AO): Likewise.
49717         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49718         (TRAP_TRACE): Likewise.
49719         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49720         __USE_XOPEN2K8].
49721         (CLD_KILLED): Likewise.
49722         (CLD_DUMPED): Likewise.
49723         (CLD_TRAPPED): Likewise.
49724         (CLD_STOPPED): Likewise.
49725         (CLD_CONTINUED): Likewise.
49726         (POLL_IN): Likewise.
49727         (POLL_OUT): Likewise.
49728         (POLL_MSG): Likewise.
49729         (POLL_ERR): Likewise.
49730         (POLL_PRI): Likewise.
49731         (POLL_HUP): Likewise.
49732         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
49733         (ILL_ILLOPN): Likewise.
49734         (ILL_ILLADR): Likewise.
49735         (ILL_ILLTRP): Likewise.
49736         (ILL_PRVOPC): Likewise.
49737         (ILL_PRVREG): Likewise.
49738         (ILL_COPROC): Likewise.
49739         (ILL_BADSTK): Likewise.
49740         (FPE_INTDIV): Likewise.
49741         (FPE_INTOVF): Likewise.
49742         (FPE_FLTDIV): Likewise.
49743         (FPE_FLTOVF): Likewise.
49744         (FPE_FLTUND): Likewise.
49745         (FPE_FLTRES): Likewise.
49746         (FPE_FLTINV): Likewise.
49747         (FPE_FLTSUB): Likewise.
49748         (SEGV_MAPERR): Likewise.
49749         (SEGV_ACCERR): Likewise.
49750         (BUS_ADRALN): Likewise.
49751         (BUS_ADRERR): Likewise.
49752         (BUS_OBJERR): Likewise.
49753         (BUS_MCEERR_AR): Likewise.
49754         (BUS_MCEERR_AO): Likewise.
49755         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49756         (TRAP_TRACE): Likewise.
49757         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49758         __USE_XOPEN2K8].
49759         (CLD_KILLED): Likewise.
49760         (CLD_DUMPED): Likewise.
49761         (CLD_TRAPPED): Likewise.
49762         (CLD_STOPPED): Likewise.
49763         (CLD_CONTINUED): Likewise.
49764         (POLL_IN): Likewise.
49765         (POLL_OUT): Likewise.
49766         (POLL_MSG): Likewise.
49767         (POLL_ERR): Likewise.
49768         (POLL_PRI): Likewise.
49769         (POLL_HUP): Likewise.
49770         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
49771         (ILL_ILLOPN): Likewise.
49772         (ILL_ILLADR): Likewise.
49773         (ILL_ILLTRP): Likewise.
49774         (ILL_PRVOPC): Likewise.
49775         (ILL_PRVREG): Likewise.
49776         (ILL_COPROC): Likewise.
49777         (ILL_BADSTK): Likewise.
49778         (FPE_INTDIV): Likewise.
49779         (FPE_INTOVF): Likewise.
49780         (FPE_FLTDIV): Likewise.
49781         (FPE_FLTOVF): Likewise.
49782         (FPE_FLTUND): Likewise.
49783         (FPE_FLTRES): Likewise.
49784         (FPE_FLTINV): Likewise.
49785         (FPE_FLTSUB): Likewise.
49786         (SEGV_MAPERR): Likewise.
49787         (SEGV_ACCERR): Likewise.
49788         (BUS_ADRALN): Likewise.
49789         (BUS_ADRERR): Likewise.
49790         (BUS_OBJERR): Likewise.
49791         (BUS_MCEERR_AR): Likewise.
49792         (BUS_MCEERR_AO): Likewise.
49793         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49794         (TRAP_TRACE): Likewise.
49795         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49796         __USE_XOPEN2K8].
49797         (CLD_KILLED): Likewise.
49798         (CLD_DUMPED): Likewise.
49799         (CLD_TRAPPED): Likewise.
49800         (CLD_STOPPED): Likewise.
49801         (CLD_CONTINUED): Likewise.
49802         (POLL_IN): Likewise.
49803         (POLL_OUT): Likewise.
49804         (POLL_MSG): Likewise.
49805         (POLL_ERR): Likewise.
49806         (POLL_PRI): Likewise.
49807         (POLL_HUP): Likewise.
49808         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
49809         (ILL_ILLOPN): Likewise.
49810         (ILL_ILLADR): Likewise.
49811         (ILL_ILLTRP): Likewise.
49812         (ILL_PRVOPC): Likewise.
49813         (ILL_PRVREG): Likewise.
49814         (ILL_COPROC): Likewise.
49815         (ILL_BADSTK): Likewise.
49816         (ILL_DBLFLT): Likewise.
49817         (ILL_HARDWALL): Likewise.
49818         (FPE_INTDIV): Likewise.
49819         (FPE_INTOVF): Likewise.
49820         (FPE_FLTDIV): Likewise.
49821         (FPE_FLTOVF): Likewise.
49822         (FPE_FLTUND): Likewise.
49823         (FPE_FLTRES): Likewise.
49824         (FPE_FLTINV): Likewise.
49825         (FPE_FLTSUB): Likewise.
49826         (SEGV_MAPERR): Likewise.
49827         (SEGV_ACCERR): Likewise.
49828         (BUS_ADRALN): Likewise.
49829         (BUS_ADRERR): Likewise.
49830         (BUS_OBJERR): Likewise.
49831         (BUS_MCEERR_AR): Likewise.
49832         (BUS_MCEERR_AO): Likewise.
49833         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49834         (TRAP_TRACE): Likewise.
49835         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49836         __USE_XOPEN2K8].
49837         (CLD_KILLED): Likewise.
49838         (CLD_DUMPED): Likewise.
49839         (CLD_TRAPPED): Likewise.
49840         (CLD_STOPPED): Likewise.
49841         (CLD_CONTINUED): Likewise.
49842         (POLL_IN): Likewise.
49843         (POLL_OUT): Likewise.
49844         (POLL_MSG): Likewise.
49845         (POLL_ERR): Likewise.
49846         (POLL_PRI): Likewise.
49847         (POLL_HUP): Likewise.
49848         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
49849         (ILL_ILLOPN): Likewise.
49850         (ILL_ILLADR): Likewise.
49851         (ILL_ILLTRP): Likewise.
49852         (ILL_PRVOPC): Likewise.
49853         (ILL_PRVREG): Likewise.
49854         (ILL_COPROC): Likewise.
49855         (ILL_BADSTK): Likewise.
49856         (FPE_INTDIV): Likewise.
49857         (FPE_INTOVF): Likewise.
49858         (FPE_FLTDIV): Likewise.
49859         (FPE_FLTOVF): Likewise.
49860         (FPE_FLTUND): Likewise.
49861         (FPE_FLTRES): Likewise.
49862         (FPE_FLTINV): Likewise.
49863         (FPE_FLTSUB): Likewise.
49864         (SEGV_MAPERR): Likewise.
49865         (SEGV_ACCERR): Likewise.
49866         (BUS_ADRALN): Likewise.
49867         (BUS_ADRERR): Likewise.
49868         (BUS_OBJERR): Likewise.
49869         (BUS_MCEERR_AR): Likewise.
49870         (BUS_MCEERR_AO): Likewise.
49871         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49872         (TRAP_TRACE): Likewise.
49873         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49874         __USE_XOPEN2K8].
49875         (CLD_KILLED): Likewise.
49876         (CLD_DUMPED): Likewise.
49877         (CLD_TRAPPED): Likewise.
49878         (CLD_STOPPED): Likewise.
49879         (CLD_CONTINUED): Likewise.
49880         (POLL_IN): Likewise.
49881         (POLL_OUT): Likewise.
49882         (POLL_MSG): Likewise.
49883         (POLL_ERR): Likewise.
49884         (POLL_PRI): Likewise.
49885         (POLL_HUP): Likewise.
49886         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
49887         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
49889         [BZ #16670]
49890         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
49891         before #include of <time.h>.
49892         [!__USE_XOPEN2K] (__need_timespec): Likewise.
49893         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
49894         (test-xfail-UNIX98/sched.h/conform): Likewise.
49896 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
49898         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
49899         error absence of trapping exception support.
49900         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
49902 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
49904         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
49905         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
49906         * timezone/Makefile (testdata): Move definition above include of
49907         Rules.
49908         (test-zones): New variable.
49909         (tests-special): Add zone files.
49910         (build-testdata): Use $(evaluate-test).
49912         * elf/Makefile (tests-special): Rename tests to end with .out.
49913         ($(objpfx)noload-mem): Likewise.
49914         ($(objpfx)tst-leaks1-mem): Likewise.
49915         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
49916         * iconv/Makefile (xtests-special): Change test-iconvconfig to
49917         $(objpfx)test-iconvconfig.out.
49918         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
49919         set -e inside subshell and redirect output to file.
49920         * iconvdata/Makefile (generated): Rename tests to end with .out.
49921         Correct type.
49922         (tests-special): Rename tests to end with .out.
49923         ($(objpfx)mtrace-tst-loading): Likewise.
49924         * intl/Makefile (generated): Likewise.
49925         (tests-special): Likewise.
49926         ($(objpfx)mtrace-tst-gettext): Likewise.
49927         * misc/Makefile (generated): Likewise.
49928         (tests-special): Likewise.
49929         ($(objpfx)tst-error1-mem): Likewise.
49930         * nptl/Makefile (tests-special): Likewise.
49931         ($(objpfx)tst-stack3-mem): Likewise.
49932         (generated): Likewise.
49933         * posix/Makefile (generated): Likewise.
49934         (tests-special): Likewise.
49935         (xtests-special): Likewise.
49936         ($(objpfx)tst-fnmatch-mem): Likewise.
49937         ($(objpfx)bug-regex2-mem): Likewise.
49938         ($(objpfx)bug-regex14-mem): Likewise.
49939         ($(objpfx)bug-regex21-mem): Likewise.
49940         ($(objpfx)bug-regex31-mem): Likewise.
49941         ($(objpfx)tst-vfork3-mem): Likewise.
49942         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
49943         ($(objpfx)tst-pcre-mem): Likewise.
49944         ($(objpfx)tst-boost-mem): Likewise.
49945         ($(objpfx)bug-ga2-mem): Likewise.
49946         ($(objpfx)bug-glob2-mem): Likewise.
49947         * resolv/Makefile (generate): Likewise.
49948         (tests-special): Likewise.
49949         (xtests-special): Likewise.
49950         (generated): Likewise.
49951         ($(objpfx)mtrace-tst-leaks): Likewise.
49952         ($(objpfx)mtrace-tst-leaks2): Likewise.
49954         * scripts/merge-test-results.sh: New file.
49955         * Makefile (tests-special-notdir): New variable.
49956         (tests): Run merge-test-results.sh.
49957         (xtests): Likewise.
49958         * Rules (tests-special-notdir): New variable.
49959         (xtests-special-notdir): Likewise.
49960         (tests): Run merge-test-results.sh
49961         (xtests): Likewise.
49963         * Makeconfig (test-xfail-name): New variable.
49964         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
49965         compute variable name for expected failures.
49966         * conform/Makefile (conformtest-headers-data): New variable.
49967         (conformtest-standards): Likewise.
49968         (conformtest-headers-ISO): Likewise.
49969         (conformtest-headers-ISO99): Likewise.
49970         (conformtest-headers-ISO11): Likewise.
49971         (conformtest-headers-POSIX): Likewise.
49972         (conformtest-headers-XPG3): Likewise.
49973         (conformtest-headers-XPG4): Likewise.
49974         (conformtest-headers-UNIX98): Likewise.
49975         (conformtest-headers-XOPEN2K): Likewise.
49976         (conformtest-headers-POSIX2008): Likewise.
49977         (conformtest-headers-XOPEN2K8): Likewise.
49978         (conformtest-header-list-base): Likewise.
49979         (conformtest-header-list-tests): Likewise.
49980         (conformtest-header-base): Likewise.
49981         (conformtest-header-tests): Likewise.
49982         (tests-special): Add $(conformtest-header-list-tests).  If
49983         [$(fast-check) && !$(cross-compiling)], add
49984         $(conformtest-header-tests) instead of
49985         $(objpfx)run-conformtest.out.
49986         (generated): Add $(conformtest-header-list-base).  If
49987         [$(fast-check) && !$(cross-compiling)], add
49988         $(conformtest-header-base).  Remove previous setting.
49989         ($(conformtest-header-list-tests)): New target.
49990         (test-xfail-run-conformtest): Remove variable.
49991         ($(objpfx)run-conformtest.out): Remove target.
49992         (test-xfail-ISO11/complex.h/conform): New variable.
49993         (test-xfail-ISO11/stdalign.h/conform): Likewise.
49994         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
49995         (test-xfail-XPG3/varargs.h/conform): Likewise.
49996         (test-xfail-XPG4/varargs.h/conform): Likewise.
49997         (test-xfail-UNIX98/varargs.h/conform): Likewise.
49998         (test-xfail-XPG4/ndbm.h/conform): Likewise.
49999         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
50000         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
50001         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
50002         (test-xfail-XPG3/fcntl.h/conform): Likewise.
50003         (test-xfail-XPG3/ftw.h/conform): Likewise.
50004         (test-xfail-XPG3/grp.h/conform): Likewise.
50005         (test-xfail-XPG3/langinfo.h/conform): Likewise.
50006         (test-xfail-XPG3/limits.h/conform): Likewise.
50007         (test-xfail-XPG3/pwd.h/conform): Likewise.
50008         (test-xfail-XPG3/search.h/conform): Likewise.
50009         (test-xfail-XPG3/signal.h/conform): Likewise.
50010         (test-xfail-XPG3/stdio.h/conform): Likewise.
50011         (test-xfail-XPG3/stdlib.h/conform): Likewise.
50012         (test-xfail-XPG3/string.h/conform): Likewise.
50013         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
50014         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
50015         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
50016         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
50017         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
50018         (test-xfail-XPG3/sys/types.h/conform): Likewise.
50019         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
50020         (test-xfail-XPG3/termios.h/conform): Likewise.
50021         (test-xfail-XPG3/time.h/conform): Likewise.
50022         (test-xfail-XPG3/unistd.h/conform): Likewise.
50023         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
50024         (test-xfail-XPG4/fcntl.h/conform): Likewise.
50025         (test-xfail-XPG4/langinfo.h/conform): Likewise.
50026         (test-xfail-XPG4/netdb.h/conform): Likewise.
50027         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
50028         (test-xfail-XPG4/signal.h/conform): Likewise.
50029         (test-xfail-XPG4/stdio.h/conform): Likewise.
50030         (test-xfail-XPG4/stdlib.h/conform): Likewise.
50031         (test-xfail-XPG4/stropts.h/conform): Likewise.
50032         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
50033         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
50034         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
50035         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
50036         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
50037         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
50038         (test-xfail-XPG4/sys/time.h/conform): Likewise.
50039         (test-xfail-XPG4/sys/types.h/conform): Likewise.
50040         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
50041         (test-xfail-XPG4/termios.h/conform): Likewise.
50042         (test-xfail-XPG4/ucontext.h/conform): Likewise.
50043         (test-xfail-XPG4/unistd.h/conform): Likewise.
50044         (test-xfail-XPG4/utmpx.h/conform): Likewise.
50045         (test-xfail-POSIX/sched.h/conform): Likewise.
50046         (test-xfail-POSIX/signal.h/conform): Likewise.
50047         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
50048         (test-xfail-POSIX/tar.h/conform): Likewise.
50049         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
50050         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
50051         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
50052         (test-xfail-UNIX98/netdb.h/conform): Likewise.
50053         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
50054         (test-xfail-UNIX98/sched.h/conform): Likewise.
50055         (test-xfail-UNIX98/signal.h/conform): Likewise.
50056         (test-xfail-UNIX98/stdio.h/conform): Likewise.
50057         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
50058         (test-xfail-UNIX98/stropts.h/conform): Likewise.
50059         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
50060         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
50061         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
50062         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
50063         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
50064         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
50065         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
50066         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
50067         (test-xfail-UNIX98/unistd.h/conform): Likewise.
50068         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
50069         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
50070         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
50071         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
50072         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
50073         (test-xfail-XOPEN2K/math.h/conform): Likewise.
50074         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
50075         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
50076         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
50077         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
50078         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
50079         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
50080         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
50081         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
50082         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
50083         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
50084         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
50085         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
50086         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
50087         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
50088         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
50089         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
50090         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
50091         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
50092         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
50093         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
50094         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
50095         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
50096         (test-xfail-POSIX2008/signal.h/conform): Likewise.
50097         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
50098         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
50099         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
50100         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
50101         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
50102         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
50103         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
50104         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
50105         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
50106         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
50107         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
50108         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
50109         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
50110         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
50111         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
50112         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
50113         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
50114         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
50115         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
50116         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
50117         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
50118         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
50119         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
50120         (conformtest-cc-flags): Likewise.
50121         ($(conformtest-header-tests): New target.
50122         * conform/check-header-lists.sh: New file.
50123         * conform/run-conformtest.sh: Remove.
50125         * conform/conformtest.pl: Allow ' and \ in values given for
50126         constants.
50127         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
50128         inclusion.
50129         [POSIX] (sys/types.h): Likewise.
50130         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
50131         inclusion.
50132         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
50133         inclusion.
50134         * conform/data/signal.h-data (SIGIO): Remove expectation.
50135         [XPG3] (SIGBUS): Do not expect.
50136         [POSIX || XPG3] (SIGPOLL): Likewise.
50137         [POSIX || XPG3] (SIGPROF): Likewise.
50138         [POSIX || XPG3] (SIGSYS): Likewise.
50139         [XPG3] (SIGTRAP): Likewise.
50140         [POSIX || XPG3] (SIGURG): Likewise.
50141         [POSIX || XPG3] (SIGVTALRM): Likewise.
50142         [POSIX || XPG3] (SIGXCPU): Likewise.
50143         [POSIX || XPG3] (SIGXFSZ): Likewise.
50144         [POSIX] (SA_SIGINFO): Expect.
50145         [XPG3] (siginfo_t): Do not expect type or contents.
50146         [POSIX] (si_pid): Do not expect element.
50147         [POSIX] (si_uid): Likewise.
50148         [POSIX] (si_addr): Likewise.
50149         [POSIX] (si_status): Likewise.
50150         [POSIX] (si_band): Likewise.
50151         [XPG4] (si_value): Likewise.
50152         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
50153         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
50154         [POSIX || XPG3] (ILL_ILLADR): Likewise.
50155         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
50156         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
50157         [POSIX || XPG3] (ILL_PRVREG): Likewise.
50158         [POSIX || XPG3] (ILL_COPROC): Likewise.
50159         [POSIX || XPG3] (ILL_BADSTK): Likewise.
50160         [POSIX || XPG3] (FPE_INTDIV): Likewise.
50161         [POSIX || XPG3] (FPE_INTOVF): Likewise.
50162         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
50163         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
50164         [POSIX || XPG3] (FPE_FLTUND): Likewise.
50165         [POSIX || XPG3] (FPE_FLTRES): Likewise.
50166         [POSIX || XPG3] (FPE_FLTINV): Likewise.
50167         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
50168         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
50169         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
50170         [POSIX || XPG3] (BUS_ADRALN): Likewise.
50171         [POSIX || XPG3] (BUS_ADRERR): Likewise.
50172         [POSIX || XPG3] (BUS_OBJERR): Likewise.
50173         [POSIX || XPG3] (CLD_EXITED): Likewise.
50174         [POSIX || XPG3] (CLD_KILLED): Likewise.
50175         [POSIX || XPG3] (CLD_DUMPED): Likewise.
50176         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
50177         [POSIX || XPG3] (CLD_STOPPED): Likewise.
50178         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
50179         [POSIX || XPG3] (POLL_IN): Likewise.
50180         [POSIX || XPG3] (POLL_OUT): Likewise.
50181         [POSIX || XPG3] (POLL_MSG): Likewise.
50182         [POSIX || XPG3] (POLL_ERR): Likewise.
50183         [POSIX || XPG3] (POLL_PRI): Likewise.
50184         [POSIX || XPG3] (POLL_HUP): Likewise.
50185         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
50186         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
50187         (SIG*): Do not allow.
50188         [XPG3] (si_*): Likewise.
50189         [XPG3] (SI_*): Likewise.
50190         [XPG3 || XPG4] (sigev_*): Likewise.
50191         [XPG3 || XPG4] (SIGEV_*): Likewise.
50192         [XPG3 || XPG4] (sival_*): Likewise.
50193         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
50194         [POSIX || XPG3] (BUS_*): Likewise.
50195         [POSIX || XPG3] (CLD_*): Likewise.
50196         [POSIX || XPG3] (FPE_*): Likewise.
50197         [POSIX || XPG3] (ILL_*): Likewise.
50198         [POSIX || XPG3] (POLL_*): Likewise.
50199         [POSIX || XPG3] (SEGV_*): Likewise.
50200         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
50201         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
50202         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
50203         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
50204         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
50205         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
50206         Specify type and value.
50207         (TVERSLEN): Likewise.
50208         (REGTYPE): Likewise.
50209         (AREGTYPE): Likewise.
50210         (LNKTYPE): Likewise.
50211         (SYMTYPE): Likewise.
50212         (CHRTYPE): Likewise.
50213         (BLKTYPE): Likewise.
50214         (DIRTYPE): Likewise.
50215         (FIFOTYPE): Likewise.
50216         (CONTTYPE): Likewise.
50217         (TSUID): Likewise.
50218         (TSGID): Likewise.
50219         (TSVTX): Likewise.
50220         (TUREAD): Likewise.
50221         (TUWRITE): Likewise.
50222         (TUEXEC): Likewise.
50223         (TGREAD): Likewise.
50224         (TGWRITE): Likewise.
50225         (TGEXEC): Likewise.
50226         (TOREAD): Likewise.
50227         (TOWRITE): Likewise.
50228         (TOEXEC): Likewise.
50229         [POSIX] (TSVTX): Expect constant.
50231 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
50233         * Makefile (tests): Change dependencies to ....
50234         (tests-special): ... additions to this variable.
50235         (tests): Depend on $(tests-special).
50236         * Makerules (check-abi-list): New variable.
50237         (check-abi): Depend on $(check-abi-list).
50238         [$(subdir) = elf] (tests-special): Add
50239         $(objpfx)check-abi-libc.out.
50240         [$(build-shared) = yes && subdir] (tests-special): Add
50241         $(check-abi-list).
50242         [$(build-shared) = yes && subdir] (tests): Do not depend on
50243         check-abi.
50244         * Rules (tests): Depend on $(tests-special).
50245         (xtests): Depend on $(xtests-special).
50246         * catgets/Makefile (tests): Change dependencies to ....
50247         (tests-special): ... additions to this variable.
50248         * conform/Makefile (tests): Change dependencies to ....
50249         (tests-special): ... additions to this variable.
50250         * elf/Makefile (tests): Change dependencies to ....
50251         (tests-special): ... additions to this variable.
50252         * grp/Makefile (tests): Change dependencies to ....
50253         (tests-special): ... additions to this variable.
50254         * iconv/Makefile (xtests): Change dependencies to ....
50255         (xtests-special): ... additions to this variable.
50256         * iconvdata/Makefile (tests): Change dependencies to ....
50257         (tests-special): ... additions to this variable.
50258         * intl/Makefile (tests): Change dependencies to ....
50259         (tests-special): ... additions to this variable.  Also add
50260         $(objpfx)tst-gettext.out.
50261         * io/Makefile (tests): Change dependencies to ....
50262         (tests-special): ... additions to this variable.
50263         * libio/Makefile (tests): Change dependencies to ....
50264         (tests-special): ... additions to this variable.
50265         * malloc/Makefile (tests): Change dependencies to ....
50266         (tests-special): ... additions to this variable.
50267         * misc/Makefile (tests): Change dependencies to ....
50268         (tests-special): ... additions to this variable.
50269         * nptl/Makefile (tests): Change dependencies to ....
50270         (tests-special): ... additions to this variable.
50271         * nptl_db/Makefile (tests): Change dependencies to ....
50272         (tests-special): ... additions to this variable.
50273         * posix/Makefile (tests): Change dependencies to ....
50274         (tests-special): ... additions to this variable.
50275         (xtests): Change dependencies to ....
50276         (xtests-special): ... additions to this variable.
50277         * resolv/Makefile (tests): Change dependencies to ....
50278         (tests-special): ... additions to this variable.
50279         (xtests): Change dependencies to ....
50280         (xtests-special): ... additions to this variable.
50281         * stdio-common/Makefile (tests): Change dependencies to ....
50282         (tests-special): ... additions to this variable.
50283         (do-tst-unbputc): Remove target.
50284         (do-tst-printf): Likewise.
50285         * stdlib/Makefile (tests): Change dependencies to ....
50286         (tests-special): ... additions to this variable.
50287         * string/Makefile (tests): Change dependencies to ....
50288         (tests-special): ... additions to this variable.
50289         * sysdeps/x86/Makefile (tests): Change dependencies to ....
50290         (tests-special): ... additions to this variable.
50292         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
50293         whole file.
50294         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
50295         whole file.
50296         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
50297         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
50299         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
50300         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
50301         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
50302         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
50303         * conform/data/libgen.h-data [XPG3]: Likewise.
50304         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
50305         * conform/data/ndbm.h-data [XPG3]: Likewise.
50306         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
50307         * conform/data/netdb.h-data [XPG3]: Likewise.
50308         * conform/data/netinet/in.h-data [XPG3]: Likewise.
50309         * conform/data/poll.h-data [XPG3]: Likewise.
50310         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
50311         * conform/data/strings.h-data [XPG3]: Likewise.
50312         * conform/data/stropts.h-data [XPG3]: Likewise.
50313         * conform/data/sys/mman.h-data [XPG3]: Likewise.
50314         * conform/data/sys/resource.h-data [XPG3]: Likewise.
50315         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
50316         Likewise.
50317         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
50318         * conform/data/sys/time.h-data [XPG3]: Likewise.
50319         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
50320         * conform/data/sys/uio.h-data [XPG3]: Likewise.
50321         * conform/data/sys/un.h-data [XPG3]: Likewise.
50322         * conform/data/syslog.h-data [XPG3]: Likewise.
50323         * conform/data/ucontext.h-data [XPG3]: Likewise.
50324         * conform/data/utmpx.h-data [XPG3]: Likewise.
50325         * conform/data/varargs.h-data [UNIX98]: Enable file.
50327         * manual/Makefile (INSTALL_INFO): Remove variable setting.
50329         * math/libm-test.inc (struct test_f_f_data): Move expected results
50330         into structure for each rounding mode.
50331         (struct test_ff_f_data): Likewise.
50332         (struct test_ff_f_data_nexttoward): Likewise.
50333         (struct test_fi_f_data): Likewise.
50334         (struct test_fl_f_data): Likewise.
50335         (struct test_if_f_data): Likewise.
50336         (struct test_fff_f_data): Likewise.
50337         (struct test_c_f_data): Likewise.
50338         (struct test_f_f1_data): Likewise.
50339         (struct test_fF_f1_data): Likewise.
50340         (struct test_ffI_f1_data): Likewise.
50341         (struct test_c_c_data): Likewise.
50342         (struct test_cc_c_data): Likewise.
50343         (struct test_f_i_data): Likewise.
50344         (struct test_ff_i_data): Likewise.
50345         (struct test_f_l_data): Likewise.
50346         (struct test_f_L_data): Likewise.
50347         (struct test_fFF_11_data): Likewise.
50348         (RM_): New macro.
50349         (RM_FE_DOWNWARD): Likewise.
50350         (RM_FE_TONEAREST): Likewise.
50351         (RM_FE_TOWARDZERO): Likewise.
50352         (RM_FE_UPWARD): Likewise.
50353         (RUN_TEST_LOOP_f_f): Update references to expected results.
50354         (RUN_TEST_LOOP_2_f): Likewise.
50355         (RUN_TEST_LOOP_fff_f): Likewise.
50356         (RUN_TEST_LOOP_c_f): Likewise.
50357         (RUN_TEST_LOOP_f_f1): Likewise.
50358         (RUN_TEST_LOOP_fF_f1): Likewise.
50359         (RUN_TEST_LOOP_fI_f1): Likewise.
50360         (RUN_TEST_LOOP_ffI_f1): Likewise.
50361         (RUN_TEST_LOOP_c_c): Likewise.
50362         (RUN_TEST_LOOP_cc_c): Likewise.
50363         (RUN_TEST_LOOP_f_i): Likewise.
50364         (RUN_TEST_LOOP_f_i_tg): Likewise.
50365         (RUN_TEST_LOOP_ff_i_tg): Likewise.
50366         (RUN_TEST_LOOP_f_b): Likewise.
50367         (RUN_TEST_LOOP_f_b_tg): Likewise.
50368         (RUN_TEST_LOOP_f_l): Likewise.
50369         (RUN_TEST_LOOP_f_L): Likewise.
50370         (RUN_TEST_LOOP_fFF_11): Likewise.
50371         * math/gen-libm-test.pl (parse_args): Output four copies of
50372         expected results for each test.
50374         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50375         (__ASSUME_UTIMES): Remove.
50376         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50377         (__ASSUME_UTIMES): Likewise.
50379         * math/gen-auto-libm-tests.c: Update comment on output format.
50380         (output_for_one_input_case): Generate before-rounding and
50381         after-rounding information as conditions on output flags not
50382         floating-point format.
50383         * math/auto-libm-test-out: Regenerated.
50384         * math/gen-libm-test.pl (cond_value): New function.
50385         (or_cond_value): Use cond_value.
50386         (generate_testfile): Handle conditional exceptions.
50388 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
50390         * math/libm-test.inc (max_valid_error): New variable.
50391         (init_max_error): Take new argument specifying whether function
50392         results are exactly determined.  Set max_valid_error and bound
50393         other variables for errors based on this argument.
50394         (set_max_error): Do not record results above max_valid_error.
50395         (check_float_internal): Only accept errors of up to 0.5ulps if
50396         also at most max_valid_error.
50397         (START): Take new argument EXACT and pass it to init_max_error.
50398         (acos_test): Update call to START.
50399         (acos_test_tonearest): Likewise.
50400         (acos_test_towardzero): Likewise.
50401         (acos_test_downward): Likewise.
50402         (acos_test_upward): Likewise.
50403         (acosh_test): Likewise.
50404         (asin_test): Likewise.
50405         (asin_test_tonearest): Likewise.
50406         (asin_test_towardzero): Likewise.
50407         (asin_test_downward): Likewise.
50408         (asin_test_upward): Likewise.
50409         (asinh_test): Likewise.
50410         (atan_test): Likewise.
50411         (atanh_test): Likewise.
50412         (atan2_test): Likewise.
50413         (cabs_test): Likewise.
50414         (cacos_test): Likewise.
50415         (cacosh_test): Likewise.
50416         (carg_test): Likewise.
50417         (casin_test): Likewise.
50418         (casinh_test): Likewise.
50419         (catan_test): Likewise.
50420         (catanh_test): Likewise.
50421         (cbrt_test): Likewise.
50422         (ccos_test): Likewise.
50423         (ccosh_test): Likewise.
50424         (ceil_test): Likewise.
50425         (cexp_test): Likewise.
50426         (cimag_test): Likewise.
50427         (clog_test): Likewise.
50428         (clog10_test): Likewise.
50429         (conj_test): Likewise.
50430         (copysign_test): Likewise.
50431         (cos_test): Likewise.
50432         (cos_test_tonearest): Likewise.
50433         (cos_test_towardzero): Likewise.
50434         (cos_test_downward): Likewise.
50435         (cos_test_upward): Likewise.
50436         (cosh_test): Likewise.
50437         (cosh_test_tonearest): Likewise.
50438         (cosh_test_towardzero): Likewise.
50439         (cosh_test_downward): Likewise.
50440         (cosh_test_upward): Likewise.
50441         (cpow_test): Likewise.
50442         (cproj_test): Likewise.
50443         (creal_test): Likewise.
50444         (csin_test): Likewise.
50445         (csinh_test): Likewise.
50446         (csqrt_test): Likewise.
50447         (ctan_test): Likewise.
50448         (ctan_test_tonearest): Likewise.
50449         (ctan_test_towardzero): Likewise.
50450         (ctan_test_downward): Likewise.
50451         (ctan_test_upward): Likewise.
50452         (ctanh_test): Likewise.
50453         (ctanh_test_tonearest): Likewise.
50454         (ctanh_test_towardzero): Likewise.
50455         (ctanh_test_downward): Likewise.
50456         (ctanh_test_upward): Likewise.
50457         (erf_test): Likewise.
50458         (erfc_test): Likewise.
50459         (exp_test): Likewise.
50460         (exp_test_tonearest): Likewise.
50461         (exp_test_towardzero): Likewise.
50462         (exp_test_downward): Likewise.
50463         (exp_test_upward): Likewise.
50464         (exp10_test): Likewise.
50465         (exp10_test_tonearest): Likewise.
50466         (exp10_test_towardzero): Likewise.
50467         (exp10_test_downward): Likewise.
50468         (exp10_test_upward): Likewise.
50469         (pow10_test): Likewise.
50470         (exp2_test): Likewise.
50471         (expm1_test): Likewise.
50472         (expm1_test_tonearest): Likewise.
50473         (expm1_test_towardzero): Likewise.
50474         (expm1_test_downward): Likewise.
50475         (expm1_test_upward): Likewise.
50476         (fabs_test): Likewise.
50477         (fdim_test): Likewise.
50478         (floor_test): Likewise.
50479         (fma_test): Likewise.
50480         (fma_test_towardzero): Likewise.
50481         (fma_test_downward): Likewise.
50482         (fma_test_upward): Likewise.
50483         (fmax_test): Likewise.
50484         (fmin_test): Likewise.
50485         (fmod_test): Likewise.
50486         (fpclassify_test): Likewise.
50487         (frexp_test): Likewise.
50488         (hypot_test): Likewise.
50489         (ilogb_test): Likewise.
50490         (isfinite_test): Likewise.
50491         (finite_test): Likewise.
50492         (isgreater_test): Likewise.
50493         (isgreaterequal_test): Likewise.
50494         (isinf_test): Likewise.
50495         (isless_test): Likewise.
50496         (islessequal_test): Likewise.
50497         (islessgreater_test): Likewise.
50498         (isnan_test): Likewise.
50499         (isnormal_test): Likewise.
50500         (issignaling_test): Likewise.
50501         (isunordered_test): Likewise.
50502         (j0_test): Likewise.
50503         (j1_test): Likewise.
50504         (jn_test): Likewise.
50505         (ldexp_test): Likewise.
50506         (lgamma_test): Likewise.
50507         (gamma_test): Likewise.
50508         (lrint_test): Likewise.
50509         (lrint_test_tonearest): Likewise.
50510         (lrint_test_towardzero): Likewise.
50511         (lrint_test_downward): Likewise.
50512         (lrint_test_upward): Likewise.
50513         (llrint_test): Likewise.
50514         (llrint_test_tonearest): Likewise.
50515         (llrint_test_towardzero): Likewise.
50516         (llrint_test_downward): Likewise.
50517         (llrint_test_upward): Likewise.
50518         (log_test): Likewise.
50519         (log10_test): Likewise.
50520         (log1p_test): Likewise.
50521         (log2_test): Likewise.
50522         (logb_test): Likewise.
50523         (logb_test_downward): Likewise.
50524         (lround_test): Likewise.
50525         (llround_test): Likewise.
50526         (modf_test): Likewise.
50527         (nearbyint_test): Likewise.
50528         (nextafter_test): Likewise.
50529         (nexttoward_test): Likewise.
50530         (pow_test): Likewise.
50531         (pow_test_tonearest): Likewise.
50532         (pow_test_towardzero): Likewise.
50533         (pow_test_downward): Likewise.
50534         (pow_test_upward): Likewise.
50535         (remainder_test): Likewise.
50536         (drem_test): Likewise.
50537         (remainder_test_tonearest): Likewise.
50538         (drem_test_tonearest): Likewise.
50539         (remainder_test_towardzero): Likewise.
50540         (drem_test_towardzero): Likewise.
50541         (remainder_test_downward): Likewise.
50542         (drem_test_downward): Likewise.
50543         (remainder_test_upward): Likewise.
50544         (drem_test_upward): Likewise.
50545         (remquo_test): Likewise.
50546         (rint_test): Likewise.
50547         (rint_test_tonearest): Likewise.
50548         (rint_test_towardzero): Likewise.
50549         (rint_test_downward): Likewise.
50550         (rint_test_upward): Likewise.
50551         (round_test): Likewise.
50552         (scalb_test): Likewise.
50553         (scalbn_test): Likewise.
50554         (scalbln_test): Likewise.
50555         (signbit_test): Likewise.
50556         (sin_test): Likewise.
50557         (sin_test_tonearest): Likewise.
50558         (sin_test_towardzero): Likewise.
50559         (sin_test_downward): Likewise.
50560         (sin_test_upward): Likewise.
50561         (sincos_test): Likewise.
50562         (sinh_test): Likewise.
50563         (sinh_test_tonearest): Likewise.
50564         (sinh_test_towardzero): Likewise.
50565         (sinh_test_downward): Likewise.
50566         (sinh_test_upward): Likewise.
50567         (sqrt_test): Likewise.
50568         (sqrt_test_tonearest): Likewise.
50569         (sqrt_test_towardzero): Likewise.
50570         (sqrt_test_downward): Likewise.
50571         (sqrt_test_upward): Likewise.
50572         (tan_test): Likewise.
50573         (tan_test_tonearest): Likewise.
50574         (tan_test_towardzero): Likewise.
50575         (tan_test_downward): Likewise.
50576         (tan_test_upward): Likewise.
50577         (tanh_test): Likewise.
50578         (tgamma_test): Likewise.
50579         (trunc_test): Likewise.
50580         (y0_test): Likewise.
50581         (y1_test): Likewise.
50582         (yn_test): Likewise.
50583         (significand_test): Likewise.
50585         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
50586         individual tests in comment.
50587         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
50588         (prev_max_error): New variable.
50589         (prev_real_max_error): Likewise.
50590         (prev_imag_max_error): Likewise.
50591         (compare_ulp_data): Don't refer to test names in comment.
50592         (find_test_ulps): Remove function.
50593         (find_function_ulps): Likewise.
50594         (find_complex_function_ulps): Likewise.
50595         (init_max_error): Take function name as argument.  Look up ulps
50596         for that function.
50597         (print_ulps): Remove function.
50598         (print_max_error): Use prev_max_error instead of calling
50599         find_function_ulps.
50600         (print_complex_max_error): Use prev_real_max_error and
50601         prev_imag_max_error instead of calling find_complex_function_ulps.
50602         (check_float_internal): Take max_ulp parameter instead of calling
50603         find_test_ulps.  Don't call print_ulps.
50604         (check_float): Update call to check_float_internal.
50605         (check_complex): Update calls to check_float_internal.
50606         (START): Pass argument to init_max_error.
50607         * math/gen-libm-test.pl (%results): Don't include "kind"
50608         information.
50609         (parse_ulps): Don't handle ulps of individual tests.
50610         (print_ulps_file): Likewise.
50611         (output_ulps): Likewise.
50612         * math/README.libm-test: Update.
50613         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
50614         individual tests.
50615         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
50616         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
50617         * sysdeps/arm/libm-test-ulps: Likewise.
50618         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
50619         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
50620         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
50621         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
50622         * sysdeps/microblaze/libm-test-ulps: Likewise.
50623         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
50624         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
50625         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50626         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
50627         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50628         * sysdeps/sh/libm-test-ulps: Likewise.
50629         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50630         * sysdeps/tile/libm-test-ulps: Likewise.
50631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50633 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
50635         * math/libm-test.inc (print_complex_max_error): Check separately
50636         whether real and imaginary errors are within allowed range and
50637         pass 0 to print_complex_function_ulps instead of value within
50638         allowed range.
50640 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
50642         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
50643         formatting.
50644         (get_handles_fopen): Likewise.
50645         (do_write_test): Likewise.
50647         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
50649         * libio/fileops.c (do_ftell): Use cached offset when
50650         available.
50651         * libio/iofwide.c (do_ftell_wide): Likewise.
50652         * libio/iofdopen.c (_IO_new_fdopen): Don't use
50653         _IO_file_attach.
50654         * libio/wfileops.c (_IO_fwide): Don't cache offset.
50656         [BZ #16532]
50657         * libio/libioP.h (get_file_offset): New function.
50658         * libio/fileops.c (get_file_offset): Likewise.
50659         (do_ftell): Likewise.
50660         (_IO_new_file_seekoff): Split out ftell logic.
50661         * libio/wfileops.c (do_ftell_wide): Likewise.
50662         (_IO_wfile_seekoff): Split out ftell logic.
50663         * libio/tst-ftell-active-handler.c: New test case.
50664         * libio/Makefile (tests): Add it.
50666 2014-03-03  Roland McGrath  <roland@hack.frob.com>
50668         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
50669         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
50671 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
50673         [BZ #16639]
50674         * nscd/connections.c (nscd_init): Call do_exit.
50675         (start_threads): Call do_exit and notify_parent.
50676         (begin_drop_privileges): Call do_exit.
50677         (finish_drop_privileges): Likewise.
50678         * nscd/selinux.c (preserve_capabilities): Likewise.
50679         (install_real_capabilities): Likewise.
50680         (nscd_selinux_enabled): Likewise.
50681         (avc_create_thread): Likewise.
50682         (avc_alloc_lock): Likewise.
50683         (nscd_avc_init): Likewise.
50684         * nscd/nscd.c (parent_fd): New static variable.
50685         (main): Create a pipe between parent and child processes.
50686         Skip closing parent_fd.
50687         (monitor_child): New function.
50688         (do_exit): Likewise.
50689         (notify_parent): Likewise.
50690         * nscd/nscd.h (notify_parent): Likewise.
50691         (do_exit): Likewise.
50693 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
50695         * malloc/malloc.c (__libc_calloc): Revert last change.
50697 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50699         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50701 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
50703         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
50704         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
50705         implementation.
50706         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50707         (__libc_ifunc_impl_list): Likewise.
50708         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
50709         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
50710         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
50711         * string/strrchr.c: Define STRRCHR.
50713 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
50715         * benchtest/bench-strtok.c (simple_strtok): Delete.
50716         (strtok_string): Use as benchmark.
50717         * string/strtok (STRTOK): New macro.
50719 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
50721         * manual/threads.texi: Add header and standard comments to all
50722         functions.
50724         * elf/dl-lookup.c (check_match): New function.
50725         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
50726         (do_lookup_x): Remove nested function check_match. Use non-nested
50727         function check_match.
50729 2014-02-28  Roland McGrath  <roland@hack.frob.com>
50731         * csu/Makefile (generated, before-compile): Use += rather than =.
50732         * catgets/Makefile (generated, generated-dirs): Likewise.
50733         * debug/Makefile (generated): Likewise.
50734         * dlfcn/Makefile (generated): Likewise.
50735         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
50736         * iconvdata/Makefile (before-compile, generated): Likewise.
50737         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
50738         * libio/Makefile (generated): Likewise.
50739         * malloc/Makefile (generated): Likewise.
50740         * manual/Makefile (generated, generated-dirs): Likewise.
50741         * misc/Makefile (generated): Likewise.
50742         * posix/Makefile (generated): Likewise.
50743         * resolv/Makefile (generated): Likewise.
50744         * sunrpc/Makefile (generated, generated-dirs): Likewise.
50745         * timezone/Makefile (generated, generated-dirs): Likewise.
50747         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
50749 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50751         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
50752         power8 implementation.
50753         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
50754         file: POWER8 llround ifunc implementation.
50755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
50756         (__lllround): Add POWER8 implementation.
50757         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
50758         POWER8 llround implementation.
50760         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
50761         power8 implementation.
50762         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
50763         file: POWER8 llrint ifunc implementation.
50764         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
50765         Add POWER8 implementation.
50766         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
50767         POWER8 llrint implementation.
50769         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
50770         power8 implementation.
50771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
50772         file: POWER8 finite ifunc implementation.
50773         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
50774         Add POWER8 implementation.
50775         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
50776         Likewise.
50777         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
50778         POWER8 finite implementation.
50779         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
50781         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
50782         power8 implementation.
50783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
50784         file: POWER8 isinf ifunc implementation.
50785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
50786         POWER8 implementation.
50787         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
50788         Likewise.
50789         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
50790         isinf implementation.
50791         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
50793         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
50794         (INIT_ARCH): Add hwcap2 initialization.
50795         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
50796         power8 implementation.
50797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
50798         file: POWER8 isnan ifunc implementation.
50799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
50800         POWER8 implementation.
50801         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
50802         Likewise.
50803         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
50804         isnan implementation.
50805         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
50807 2014-02-27  Joey Ye  <joey.ye@arm.com>
50809         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
50810         (_FP_NANFRAC_Q): Set to zero.
50812 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50814         [BZ #16623]
50815         * math/auto-libm-test-in: New test inputs.
50816         * math/auto-libm-test-out: Regenerate.
50817         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
50818         and DA.
50819         (__cos): Likewise.
50820         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
50822 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
50824         * scripts/evaluate-test.sh: Take new argument indicating whether
50825         failure is expected.
50826         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
50827         indicating whether failure is expected.
50828         * conform/Makefile (test-xfail-run-conformtest): New variable.
50829         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
50830         level.
50831         * posix/Makefile (test-xfail-annexc): New variable.
50832         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
50834 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
50836         * argp/Makefile: Include Makeconfig immediately after defining
50837         subdir.
50838         * assert/Makefile: Likewise.
50839         * benchtests/Makefile: Likewise.
50840         * catgets/Makefile: Likewise.
50841         * conform/Makefile: Likewise.
50842         * crypt/Makefile: Likewise.
50843         * csu/Makefile: Likewise.
50844         (all): Remove target.
50845         * ctype/Makefile: Include Makeconfig immediately after defining
50846         subdir.
50847         * debug/Makefile: Likewise.
50848         * dirent/Makefile: Likewise.
50849         * dlfcn/Makefile: Likewise.
50850         * gmon/Makefile: Likewise.
50851         * gnulib/Makefile: Likewise.
50852         * grp/Makefile: Likewise.
50853         * gshadow/Makefile: Likewise.
50854         * hesiod/Makefile: Likewise.
50855         * hurd/Makefile: Likewise.
50856         (all): Remove target.
50857         * iconvdata/Makefile: Include Makeconfig immediately after
50858         defining subdir.
50859         * inet/Makefile: Likewise.
50860         * intl/Makefile: Likewise.
50861         * io/Makefile: Likewise.
50862         * libio/Makefile: Likewise.
50863         (all): Remove target.
50864         * locale/Makefile: Include Makeconfig immediately after defining
50865         subdir.
50866         * login/Makefile: Likewise.
50867         * mach/Makefile: Likewise.
50868         (all): Remove target.
50869         * malloc/Makefile: Include Makeconfig immediately after defining
50870         subdir.
50871         (all): Remove target.
50872         * manual/Makefile: Include Makeconfig immediately after defining
50873         subdir.
50874         * math/Makefile: Likewise.
50875         * misc/Makefile: Likewise.
50876         * nis/Makefile: Likewise.
50877         * nss/Makefile: Likewise.
50878         * po/Makefile: Likewise.
50879         (all): Remove target.
50880         * posix/Makefile: Include Makeconfig immediately after defining
50881         subdir.
50882         * pwd/Makefile: Likewise.
50883         * resolv/Makefile: Likewise.
50884         * resource/Makefile: Likewise.
50885         * rt/Makefile: Likewise.
50886         * setjmp/Makefile: Likewise.
50887         * shadow/Makefile: Likewise.
50888         * signal/Makefile: Likewise.
50889         * socket/Makefile: Likewise.
50890         * soft-fp/Makefile: Likewise.
50891         * stdio-common/Makefile: Likewise.
50892         * stdlib/Makefile: Likewise.
50893         * streams/Makefile: Likewise.
50894         * string/Makefile: Likewise.
50895         * sunrpc/Makefile: Likewise.
50896         (all): Remove target.
50897         * sysvipc/Makefile: Include Makeconfig immediately after defining
50898         subdir.
50899         * termios/Makefile: Likewise.
50900         * time/Makefile: Likewise.
50901         * timezone/Makefile: Likewise.
50902         (all): Remove target.
50903         * wcsmbs/Makefile: Include Makeconfig immediately after defining
50904         subdir.
50905         * wctype/Makefile: Likewise.
50907 2014-02-26  Steve Ellcey  <sellcey@mips.com>
50909         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
50910         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
50911         (libc_feholdexcept_setround_mips): Ditto.
50912         (libc_feholdsetround): New.
50913         (libc_feholdsetroundf): New.
50914         (libc_feholdsetroundl): New.
50915         (libc_feupdateenv_test_mips): New.
50916         (libc_feupdateenv_test): New.
50917         (libc_feupdateenv_testf): New.
50918         (libc_feupdateenv_testl): New.
50919         (libc_feresetround): New.
50920         (libc_feresetroundf): New.
50921         (libc_feresetroundl): New.
50922         (libc_fetestexcept_mips): New.
50923         (libc_fetestexcept): New.
50924         (libc_fetestexceptf): New.
50925         (libc_fetestexceptl): New.
50926         (HAVE_RM_CTX): New.
50927         (libc_feholdexcept_setround_mips_ctx): New.
50928         (libc_feholdexcept_setround_ctx): New.
50929         (libc_feholdexcept_setroundf_ctx): New.
50930         (libc_feholdexcept_setroundl_ctx): New.
50931         (libc_fesetenv_mips_ctx): New.
50932         (libc_fesetenv_ctx): New.
50933         (libc_fesetenv_ctxf): New.
50934         (libc_fesetenv_ctxl): New.
50935         (libc_feupdateenv_mips_ctx): New.
50936         (libc_feupdateenv_ctx): New.
50937         (libc_feupdateenvf_ctx): New.
50938         (libc_feupdateenvl_ctx): New.
50939         (libc_feholdsetround_mips_ctx): New.
50940         (libc_feholdsetround_ctx): New.
50941         (libc_feholdsetroundf_ctx): New.
50942         (libc_feholdsetroundl_ctx): New.
50943         (libc_feresetround_mips_ctx): New.
50944         (libc_feresetround_ctx): New.
50945         (libc_feresetroundf_ctx): New.
50946         (libc_feresetroundl_ctx): New.
50948 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
50950         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
50952         * manual/ipc.texi: New file.
50953         * manual/Makefile (chapters): Add ipc.
50954         * manual/job.texi: Add "Inter-Process Communication" to next.
50955         * manual/process.texi: Add "Inter-Process Communication" to prev.
50957 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50959         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50961 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
50963         * malloc/malloc.c (__libc_calloc): Simplify implementation.
50965         * manual/arith.texi: Fix spaces after sentences.
50966         * manual/charset.texi: Likewise.
50967         * manual/errno.texi: Likewise.
50968         * manual/install.texi: Likewise.
50969         * manual/llio.texi: Likewise.
50970         * manual/locale.texi: Likewise.
50971         * manual/maint.texi: Likewise.
50972         * manual/math.texi: Likewise.
50973         * manual/memory.texi: Likewise.
50974         * manual/message.texi: Likewise.
50975         * manual/probes.texi: Likewise.
50976         * manual/resource.texi: Likewise.
50977         * manual/signal.texi: Likewise.
50978         * manual/socket.texi: Likewise.
50979         * manual/stdio.texi: Likewise.
50980         * manual/string.texi: Likewise.
50981         * manual/time.texi: Likewise.
50982         * manual/users.texi: Likewise.
50984 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
50986         [BZ #16632]
50987         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
50988         _DEFAULT_SOURCE is defined.
50990 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
50991             Carlos O'Donell  <carlos@redhat.com>
50993         [BZ #16613]
50994         * elf/dl-tls.c (_dl_count_modids): New function.
50995         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
50996         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
50997         audit library and increment generation counter.
50998         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
50999         * elf/tst-audit9.c: New file.
51000         * elf/tst-auditmod9a.c: New file.
51001         * elf/tst-auditmod9b.c: New file.
51002         * elf/Makefile: Add rules to build and run tst-audit9.
51004 2014-02-25  Florian Weimer  <fweimer@redhat.com>
51006         [BZ #15347]
51007         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
51009 2014-02-25  Will Newton  <will.newton@linaro.org>
51011         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
51012         (__longjmp): Restore sp and lr before restoring callee
51013         saved registers.  Add longjmp and longjmp_target
51014         SystemTap probe point.
51015         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
51016         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
51017         Define to zero to match jmpbuf layout.
51018         * sysdeps/arm/setjmp.S: Include stap-probe.h.
51019         (__sigsetjmp): Save sp and lr before saving callee
51020         saved registers.  Add setjmp SystemTap probe point.
51022 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
51024         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
51026 2014-02-24  Andreas Schwab  <schwab@suse.de>
51028         [BZ #15804]
51029         * elf/pldd.c (wait_for_ptrace_stop): New function.
51030         (main): Call it after attaching.
51032 2014-02-22  Roland McGrath  <roland@hack.frob.com>
51034         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
51035         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
51036         Versions files is now verboten.
51037         * hurd/Versions (libc: GLIBC_2.0):
51038         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
51039         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
51040         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
51041         * mach/Versions: Likewise.
51043         * csu/Versions: Remove unused %include.
51044         * resolv/Versions: Likewise.
51046 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
51048         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
51049         ($(objpfx)check-local-headers.out): Likewise.
51050         ($(objpfx)begin-end-check.out): Likewise.
51051         * Makerules (check-abi-%.out): Likewise.
51052         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
51053         ($(objpfx)test2.cat): Likewise.
51054         ($(objpfx)de/libc.cat): Likewise.
51055         ($(objpfx)test-gencat.out): Likewise.
51056         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
51057         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
51058         ($(objpfx)noload-mem): Likewise.
51059         ($(objpfx)tst-pathopt.out): Likewise.
51060         ($(objpfx)tst-rtld-load-self.out): Likewise.
51061         ($(objpfx)tst-array1-cmp.out): Likewise.
51062         ($(objpfx)tst-array1-static-cmp.out): Likewise.
51063         ($(objpfx)tst-array2-cmp.out): Likewise.
51064         ($(objpfx)tst-array3-cmp.out): Likewise.
51065         ($(objpfx)tst-array4-cmp.out): Likewise.
51066         ($(objpfx)tst-array5-cmp.out): Likewise.
51067         ($(objpfx)tst-array5-static-cmp.out): Likewise.
51068         ($(objpfx)check-textrel.out): Likewise.
51069         ($(objpfx)check-execstack.out): Likewise.
51070         ($(objpfx)check-localplt.out): Likewise.
51071         ($(objpfx)order2-cmp.out): Likewise.
51072         ($(objpfx)tst-leaks1-mem): Likewise.
51073         ($(objpfx)tst-leaks1-static-mem): Likewise.
51074         ($(objpfx)tst-initorder-cmp.out): Likewise.
51075         ($(objpfx)tst-initorder2-cmp.out): Likewise.
51076         ($(objpfx)tst-unused-dep.out): Likewise.
51077         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
51078         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
51079         * iconv/Makefile (test-iconvconfig): Likewise.
51080         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
51081         ($(objpfx)iconv-test.out): Likewise.
51082         ($(objpfx)tst-tables.out): Likewise.
51083         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
51084         ($(objpfx)tst-gettext.out): Likewise.
51085         ($(objpfx)tst-translit.out): Likewise.
51086         ($(objpfx)tst-gettext2.out): Likewise.
51087         ($(objpfx)tst-gettext4.out): Likewise.
51088         ($(objpfx)tst-gettext6.out): Likewise.
51089         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
51090         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
51091         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
51092         ($(objpfx)tst-fopenloc-mem.out): Likewise.
51093         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
51094         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
51095         * posix/Makefile ($(objpfx)globtest.out): Likewise.
51096         ($(objpfx)wordexp-tst.out): Likewise.
51097         ($(objpfx)annexc.out): Likewise.
51098         ($(objpfx)tst-fnmatch-mem): Likewise.
51099         ($(objpfx)bug-regex2-mem): Likewise.
51100         ($(objpfx)bug-regex14-mem): Likewise.
51101         ($(objpfx)bug-regex21-mem): Likewise.
51102         ($(objpfx)bug-regex31-mem): Likewise.
51103         ($(objpfx)tst-vfork3-mem): Likewise.
51104         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
51105         ($(objpfx)tst-pcre-mem): Likewise.
51106         ($(objpfx)tst-boost-mem): Likewise.
51107         ($(objpfx)tst-getconf.out): Likewise.
51108         ($(objpfx)bug-ga2-mem): Likewise.
51109         ($(objpfx)bug-glob2-mem): Likewise.
51110         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
51111         ($(objpfx)mtrace-tst-leaks2): Likewise.
51112         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
51113         ($(objpfx)tst-printf.out): Likewise.
51114         ($(objpfx)tst-setvbuf1.out): Likewise.
51115         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
51116         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
51117         ($(objpfx)tst-fmtmsg.out): Likewise.
51118         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
51119         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
51121         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
51122         * bits/sigaction.h [__USE_MISC]: Likewise.
51123         * bits/waitstatus.h: Update #endif comments.
51124         * ctype/ctype.h: Likewise.
51125         * dirent/dirent.h: Likewise.
51126         [__USE_MISC]: Remove redundant conditionals.
51127         * grp/grp.h: Update #endif comments.
51128         [__USE_GNU]: Remove redundant conditionals.
51129         [__USE_MISC]: Likewise.
51130         * inet/netinet/in.h [__USE_GNU]: Likewise.
51131         * io/sys/stat.h [__USE_MISC]: Likewise.
51132         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
51133         * libio/bits/stdio.h: Update #endif comments.
51134         [__USE_MISC]: Remove redundant conditionals.
51135         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
51136         * libio/stdio.h: Update #endif comments.
51137         [__USE_MISC]: Remove redundant conditionals.
51138         * math/bits/math-finite.h [__USE_MISC]: Likewise.
51139         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
51140         * math/math.h: Update #else and #endif comments.
51141         [__USE_MISC]: Remove redundant conditionals.
51142         * misc/sys/uio.h: Update #endif comments.
51143         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
51144         * posix/glob.h [__USE_MISC]: Likewise.
51145         * posix/sys/types.h: Update #endif comments.
51146         [__USE_MISC]: Remove redundant conditionals.
51147         * posix/sys/wait.h: Update #endif comments.
51148         [__USE_MISC]: Remove redundant conditionals.
51149         * posix/unistd.h: Update #endif comments.
51150         [__USE_MISC]: Remove redundant conditionals.
51151         * pwd/pwd.h [__USE_GNU]: Likewise.
51152         [__USE_MISC]: Likewise.
51153         * resolv/netdb.h [__USE_GNU]: Likewise.
51154         * signal/signal.h: Update #endif comments.
51155         [__USE_MISC]: Remove redundant conditionals.
51156         * stdlib/stdlib.h: Update #else and #endif comments.
51157         [__USE_MISC]: Remove redundant conditionals.
51158         [__USE_GNU]: Likewise.
51159         * string/bits/string2.h [__USE_MISC]: Likewise.
51160         * string/string.h: Update #endif comments.
51161         [__USE_MISC]: Remove redundant conditionals.
51162         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
51163         Likewise.
51164         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
51165         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
51166         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
51167         Likewise.
51168         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
51169         Likewise.
51170         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
51171         comments.
51172         [__USE_MISC]: Remove redundant conditionals.
51173         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
51174         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
51175         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
51176         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
51177         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
51178         Likewise.
51179         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
51180         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
51181         Likewise.
51182         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
51183         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
51184         Likewise.
51185         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
51186         Likewise.
51187         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
51188         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
51189         Likewise.
51190         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
51191         Likewise.
51192         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
51193         * sysdeps/x86/bits/string.h: Update #endif comments.
51194         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
51195         conditionals.
51196         * time/sys/time.h: Update #endif comments.
51197         * time/time.h: Likewise.
51198         [__USE_MISC]: Remove redundant conditionals.
51200 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
51202         [BZ #16600]
51203         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
51205 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
51207         * Versions.def (librt): Add GLIBC_2.17.
51209 2014-02-21  Adam Conrad  <adconrad@0c3.net>
51211         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
51212         synonym for _SYS_AUXV_H to allow direct inclusion.
51213         * sysdeps/sparc/bits/hwcap.h: Likewise.
51214         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
51215         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
51216         * sysdeps/sparc/sysdep.h: Likewise.
51218 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51220         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
51222 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
51224         * benchtests/bench-strrchr.c: Print length instead of position.
51226 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
51228         [BZ #16611]
51229         * sysdeps/unix/sysv/linux/kernel-features.h
51230         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
51231         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
51232         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
51233         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
51234         Likewise.
51235         [__i386__ || __powerpc__ || __sh__ || __sparc__]
51236         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
51237         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
51238         (__ASSUME_SENDMMSG): Define instead of using previous
51239         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
51240         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
51241         (__ASSUME_SENDMMSG_SYSCALL): Define.
51242         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
51243         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
51244         Likewise.
51245         * sysdeps/unix/sysv/linux/arm/kernel-features.h
51246         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
51247         Likewise.
51248         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
51249         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
51250         Likewise.
51251         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
51252         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
51253         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
51254         [__ASSUME_SENDMMSG]: Change conditionals to
51255         [__ASSUME_SENDMMSG_SOCKETCALL].
51256         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51257         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
51258         Define.
51259         * sysdeps/unix/sysv/linux/mips/kernel-features.h
51260         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
51261         Likewise.
51262         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
51263         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
51264         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
51265         [!__ASSUME_SENDMMSG]: Change conditional to
51266         [!__ASSUME_SENDMMSG_SOCKETCALL].
51267         * sysdeps/unix/sysv/linux/tile/kernel-features.h
51268         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
51269         Define.
51271         [BZ #16610]
51272         * sysdeps/unix/sysv/linux/kernel-features.h
51273         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
51274         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
51275         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
51276         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
51277         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
51278         [__i386__ || __sparc__]
51279         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
51280         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
51281         (__ASSUME_RECVMMSG): Define instead of using previous
51282         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
51283         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
51284         (__ASSUME_RECVMMSG_SYSCALL): Define.
51285         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
51286         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
51287         Likewise.
51288         * sysdeps/unix/sysv/linux/arm/kernel-features.h
51289         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
51290         Likewise.
51291         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
51292         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
51293         Likewise.
51294         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
51295         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
51296         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
51297         [__ASSUME_RECVMMSG]: Change condition to
51298         [__ASSUME_RECVMMSG_SOCKETCALL].
51299         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51300         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
51301         Define.
51302         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
51303         * sysdeps/unix/sysv/linux/mips/kernel-features.h
51304         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
51305         Likewise.
51306         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
51307         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
51308         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
51309         [!__ASSUME_RECVMMSG]: Change condition to
51310         [!__ASSUME_RECVMMSG_SOCKETCALL].
51311         * sysdeps/unix/sysv/linux/tile/kernel-features.h
51312         (__ASSUME_RECVMMSG_SYSCALL): Define.
51314         [BZ #16609]
51315         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
51316         __powerpc__ || __s390__ || __sh__ || __sparc__]
51317         (__ASSUME_SOCKETCALL): Define.
51318         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
51319         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
51320         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
51321         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
51322         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
51323         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
51324         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
51325         (__ASSUME_ACCEPT4): Define instead of using previous
51326         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
51327         __powerpc__ || __sparc__ || __s390__)] condition.
51328         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
51329         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
51330         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
51331         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
51332         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
51333         [!__ASSUME_ACCEPT4]: Change condition to
51334         [!__ASSUME_ACCEPT4_SOCKETCALL].
51335         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
51336         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
51337         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
51338         * sysdeps/unix/sysv/linux/arm/kernel-features.h
51339         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
51340         __ASSUME_ACCEPT4_SYSCALL.
51341         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
51342         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
51343         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
51344         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
51345         __ASSUME_ACCEPT4_SYSCALL.
51346         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
51347         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
51348         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
51349         [__ASSUME_ACCEPT4]: Change condition to
51350         [__ASSUME_ACCEPT4_SOCKETCALL].
51351         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
51352         (__ASSUME_SOCKETCALL): Define.
51353         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
51354         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51355         (__ASSUME_SOCKETCALL): Define.
51356         (__ASSUME_ACCEPT4): Remove.
51357         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
51358         Define.
51359         * sysdeps/unix/sysv/linux/mips/kernel-features.h
51360         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
51361         Likewise.
51362         * sysdeps/unix/sysv/linux/tile/kernel-features.h
51363         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
51365         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
51366         macro.
51367         (HWCAP_ARM_LPAE): Likewise.
51368         (HWCAP_ARM_EVTSTRM): Likewise.
51369         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
51370         Add vpfd32, lpae and evtstrm.
51371         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
51372         Increase to 22.
51374 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
51376         * math/auto-libm-test-in: Add tests of clog10.
51377         * math/auto-libm-test-out: Regenerated.
51378         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
51379         * sysdeps/i386/fpu/libm-test-ulps: Update.
51380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51382 2014-02-18  Andreas Schwab  <schwab@suse.de>
51384         [BZ #16574]
51385         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
51386         Store non-zero if the second buffer was newly allocated.
51387         (send_dg): Likewise.
51388         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
51389         to send_vc and send_dg.
51390         (res_nsend): Pass NULL for ansp2_malloced.
51391         * resolv/res_query.c (__libc_res_nquery): Add parameter
51392         answerp2_malloced and pass it down to __libc_res_nsend.
51393         (res_nquery): Pass additional NULL to __libc_res_nquery.
51394         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
51395         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
51396         second answer buffer if answerp2_malloced was set.
51397         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
51398         (__libc_res_nquerydomain): Add parameter
51399         answerp2_malloced and pass it down to __libc_res_nquery.
51400         (res_nquerydomain): Pass additional NULL to
51401         __libc_res_nquerydomain.
51402         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
51403         additional NULL to __libc_res_nsend and __libc_res_nquery.
51404         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
51405         additional NULL to __libc_res_nsearch.
51406         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
51407         parameter of __libc_res_nsearch to check for separately allocated
51408         second buffer.
51409         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
51410         __libc_res_nquery.
51411         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
51412         additional NULL to __libc_res_nquery.
51413         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
51414         __libc_res_nsearch.
51415         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
51416         * include/resolv.h: Update prototypes of __libc_res_nquery,
51417         __libc_res_nsearch, __libc_res_nsend.
51419 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
51421         * math/auto-libm-test-in: Add tests of fma.
51422         * math/auto-libm-test-out: Regenerated.
51423         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
51424         (fma_towardzero_test_data): Likewise.
51425         (fma_downward_test_data): Likewise.
51426         (fma_upward_test_data): Likewise.
51427         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
51428         mpc_mode.
51429         (rounding_modes): Add values for new field.
51430         (func_calc_method): Add value mpfr_fff_f.
51431         (func_calc_desc): Add mpfr_fff_f union field.
51432         (test_function): Add field exact_args.
51433         (FUNC): Add macro argument EXACT_ARGS.
51434         (FUNC_mpfr_f_f): Update call to FUNC.
51435         (FUNC_mpfr_f_f): Likewise.
51436         (FUNC_mpfr_ff_f): Likewise.
51437         (FUNC_mpfr_if_f): Likewise.
51438         (FUNC_mpc_c_f): Likewise.
51439         (FUNC_mpc_c_c): Likewise.
51440         (test_functions): Add fma.  Update calls to FUNC.
51441         (handle_input_arg): Add argument exact_args.
51442         (add_test): Update call to handle_input_arg.
51443         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
51444         (output_for_one_input_case): Update call to calc_generic_results.
51445         Recalculate exact zero results in each rounding mode.
51447         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
51448         non-negative before setting low bit.
51449         * math/auto-libm-test-in: Mark one asin test possibly having
51450         spurious underflow.
51451         * math/auto-libm-test-out: Regenerated.
51452         * sysdeps/i386/fpu/libm-test-ulps: Update.
51453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51455 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
51457         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
51458         * sysdeps/unix/sysv/linux/microblaze: Move directory from
51459         ports/sysdeps/unix/sysv/linux/microblaze.
51460         * README: Add missing listing for microblaze*-*-linux-gnu.
51462 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
51464         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
51465         duplicate code
51467 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
51469         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
51470         * sysdeps/unix/sysv/linux/ia64: Move directory from
51471         ports/sysdeps/unix/sysv/linux/ia64.
51472         * README: Update listing for ia64-*-linux-gnu.
51474 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
51475             Joseph Myers  <joseph@codesourcery.com>
51477         * Makeconfig (test-name): New variable.
51478         (evaluate-test): Likewise.
51479         * Makerules (do-test-clean): Remove .test-result files.
51480         (common-mostlyclean): Likewise.
51481         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
51482         * scripts/evaluate-test.sh: New file.
51484 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
51486         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
51487         separate $(objpfx)tst-fopenloc-cmp.out and
51488         $(objpfx)tst-fopenloc-mem.out targets.
51489         (tests): Update dependencies.
51490         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
51491         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
51492         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
51493         (tst-rxspencer-no-utf8-ARGS): New variable.
51494         (tst-rxspencer-no-utf8-ENV): Likewise.
51495         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
51496         instead of $(objpfx)tst-rxspencer-mem.
51497         ($(objpfx)tst-rxspencer-mem): Change target to
51498         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
51499         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
51500         * posix/tst-rxspencer-no-utf8.c: New file.
51502         * elf/Makefile ($(objpfx)order.out): Remove rule.
51503         [$(run-built-tests) = yes] (tests): Depend on
51504         $(objpfx)order-cmp.out.
51505         ($(objpfx)order-cmp.out): New rule.
51506         [$(run-built-tests) = yes] (tests): Depend on
51507         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
51508         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
51509         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
51510         $(objpfx)tst-array5-static-cmp.out.
51511         ($(objpfx)tst-array1.out): Remove rule.
51512         ($(objpfx)tst-array1-cmp.out): New rule.
51513         ($(objpfx)tst-array1-static.out): Remove rule.
51514         ($(objpfx)tst-array1-static-cmp.out): New rule.
51515         ($(objpfx)tst-array2.out): Remove rule.
51516         ($(objpfx)tst-array2-cmp.out): New rule.
51517         ($(objpfx)tst-array3.out): Remove rule.
51518         ($(objpfx)tst-array3-cmp.out): New rule.
51519         ($(objpfx)tst-array4.out): Remove rule.
51520         ($(objpfx)tst-array4-cmp.out): New rule.
51521         ($(objpfx)tst-array5.out): Remove rule.
51522         ($(objpfx)tst-array5-cmp.out): New rule.
51523         ($(objpfx)tst-array5-static.out): Remove rule.
51524         ($(objpfx)tst-array5-static-cmp.out): New rule.
51525         [$(run-built-tests) = yes] (tests): Depend on
51526         $(objpfx)order2-cmp.out.
51527         ($(objpfx)order2.out): Remove rule.
51528         ($(objpfx)order2-cmp.out): New rule.
51529         ($(objpfx)tst-initorder.out): Remove rule.
51530         [$(run-built-tests) = yes] (tests): Depend on
51531         $(objpfx)tst-initorder-cmp.out.
51532         ($(objpfx)tst-initorder-cmp.out): New rule.
51533         ($(objpfx)tst-initorder2.out): Remove rule.
51534         [$(run-built-tests) = yes] (tests): Depend on
51535         $(objpfx)tst-initorder2-cmp.out.
51536         ($(objpfx)tst-initorder2-cmp.out): New rule.
51537         [$(run-built-tests) = yes] (tests): Depend on
51538         $(objpfx)tst-unused-dep-cmp.out.
51539         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
51540         ($(objpfx)tst-unused-dep-cmp.out): New rule.
51541         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
51542         on $(objpfx)tst-setvbuf1-cmp.out.
51543         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
51544         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
51545         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
51546         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
51547         ($(objpfx)tst-svc.out): Remove rule.
51548         ($(objpfx)tst-svc-cmp.out): New rule.
51550 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
51552         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
51553         * ctype/ctype.h [__USE_MISC]: Likewise.
51554         * dirent/dirent.h [__USE_MISC]: Likewise.
51555         * grp/grp.h [__USE_MISC]: Likewise.
51556         * io/fcntl.h [__USE_MISC]: Likewise.
51557         * io/sys/stat.h [__USE_MISC]: Likewise.
51558         * libio/stdio.h [__USE_MISC]: Likewise.
51559         * posix/unistd.h [__USE_MISC]: Likewise.
51560         * pwd/pwd.h [__USE_MISC]: Likewise.
51561         * stdlib.h [__USE_MISC]: Likewise.
51562         * string/bits/string2.h [__USE_MISC]: Likewise.
51563         * string/string.h [__USE_MISC]: Likewise.
51564         * time/time.h [__USE_MISC]: Likewise.
51566 2014-02-13  Andreas Schwab  <schwab@suse.de>
51568         [BZ #16574]
51569         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
51570         second answer buffer if it was separately allocated.
51572 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
51574         * sysdeps/mips/math-tests.h: Include <features.h>.
51575         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
51576         (ROUNDING_TESTS_long_double): Do not define.
51577         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
51578         (EXCEPTION_TESTS_long_double): Likewise.
51579         * sysdeps/mips/mips64/libm-test-ulps: Update.
51581         * include/features.h (__USE_BSD): Remove macro definitions.
51582         (__USE_SVID): Likewise.
51583         (_BSD_SOURCE): Likewise.
51584         (_SVID_SOURCE): Likewise.
51585         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
51586         from definition of _DEFAULT_SOURCE.
51587         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
51588         [_DEFAULT_SOURCE].
51589         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
51590         * bits/mman.h [__USE_BSD]: Likewise.
51591         * bits/termios.h [__USE_BSD]: Likewise.
51592         * bits/waitstatus.h [__USE_BSD]: Likewise.
51593         * ctype/ctype.h [__USE_SVID]: Likewise.
51594         * dirent/dirent.h [__USE_BSD]: Likewise.
51595         * grp/grp.h [__USE_SVID]: Likewise.
51596         [__USE_BSD]: Likewise.
51597         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
51598         * io/fcntl.h [__USE_BSD]: Likewise.
51599         * io/ftw.h [__USE_BSD]: Likewise.
51600         * io/sys/stat.h [__USE_BSD]: Likewise.
51601         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
51602         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
51603         * libio/stdio.h [__USE_SVID]: Likewise.
51604         [__USE_BSD]: Likewise.
51605         * math/math.h [__USE_SVID]: Likewise.
51606         [__USE_BSD]: Likewise.
51607         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
51608         * misc/bits/syslog.h [__USE_BSD]: Likewise.
51609         * misc/search.h [__USE_SVID]: Likewise.
51610         * misc/sys/mman.h [__USE_BSD]: Likewise.
51611         * misc/sys/syslog.h [__USE_BSD]: Likewise.
51612         * misc/sys/uio.h [__USE_BSD]: Likewise.
51613         * posix/bits/unistd.h [__USE_BSD]: Likewise.
51614         * posix/glob.h [__USE_BSD]: Likewise.
51615         * posix/regex.h [__USE_BSD]: Likewise.
51616         * posix/sys/types.h [__USE_BSD]: Likewise.
51617         [__USE_SVID]: Likewise.
51618         * posix/sys/utsname.h [__USE_SVID]: Likewise.
51619         * posix/sys/wait.h [__USE_BSD]: Likewise.
51620         [__USE_SVID]: Likewise.
51621         * posix/unistd.h [__USE_BSD]: Likewise.
51622         [__USE_SVID]: Likewise.
51623         * pwd/pwd.h [__USE_SVID]: Likewise.
51624         * resolv/netdb.h [__USE_BSD]: Likewise.
51625         * setjmp/setjmp.h [__USE_BSD]: Likewise.
51626         * signal/signal.h [__USE_BSD]: Likewise.
51627         [__USE_SVID]: Likewise.
51628         * socket/sys/socket.h [__USE_BSD]: Likewise.
51629         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
51630         * stdlib/stdlib.h [__USE_BSD]: Likewise.
51631         [__USE_SVID]: Likewise.
51632         * string/bits/string2.h [__USE_BSD]: Likewise.
51633         [__USE_SVID]: Likewise.
51634         * string/bits/string3.h [__USE_BSD]: Likewise.
51635         * string/endian.h [__USE_BSD]: Likewise.
51636         * string/string.h [__USE_SVID]: Likewise.
51637         [__USE_BSD]: Likewise.
51638         * string/strings.h [__USE_BSD]: Likewise.
51639         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
51640         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
51641         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
51642         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
51643         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
51644         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
51645         Likewise.
51646         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
51647         Likewise.
51648         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
51649         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
51650         Likewise.
51651         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
51652         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
51653         Likewise.
51654         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
51655         Likewise.
51656         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
51657         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
51658         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
51659         Likewise.
51660         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
51661         Likewise.
51662         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
51663         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
51664         * termios/termios.h [__USE_BSD]: Likewise.
51665         * time/sys/time.h [__USE_BSD]: Likewise.
51666         * time/time.h [__USE_BSD]: Likewise.
51667         [__USE_SVID]: Likewise.
51669         * Makefile (subdir_targets): Remove subdir_lint.out.
51671         * stdio-common/Makefile (do-tst-unbputc): Remove target.
51672         (do-tst-printf): Likewise.
51673         (tests): Depend directly on $(objpfx)tst-unbputc.out and
51674         $(objpfx)tst-printf.out.
51676         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
51678         * Makerules (check-abi-%): Change target to
51679         $(objpfx)check-abi-%.out.
51680         (check-abi target): Update dependencies.
51681         (check-abi-pattern variable): Redirect output of diff to $@.
51682         (check-abi variable): Likewise.
51683         * elf/Makefile (check-abi): Update dependencies.
51685         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
51686         unused.
51687         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
51688         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
51689         subnormal range.
51690         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
51691         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
51692         value has largest subnormal exponent.
51693         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
51694         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
51695         * sysdeps/aarch64/soft-fp/sfp-machine.h
51696         (_FP_TININESS_AFTER_ROUNDING): New macro.
51697         * sysdeps/alpha/soft-fp/sfp-machine.h
51698         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51699         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
51700         Likewise.
51701         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
51702         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51703         * sysdeps/mips/soft-fp/sfp-machine.h
51704         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51705         * sysdeps/powerpc/soft-fp/sfp-machine.h
51706         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51707         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
51708         Likewise.
51709         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
51710         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51711         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
51712         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51713         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
51714         Likewise.
51716 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
51718         [BZ #16545]
51719         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
51720         model 1.
51722 2014-02-12  Richard Henderson  <rth@redhat.com>
51724         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
51725         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
51726         * sysdeps/unix/sysv/linux/alpha: Move directory from
51727         ports/sysdeps/unix/sysv/linux/alpha.
51728         * README: Update listing for alpha-*-linux-gnu.
51730 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
51732         * include/features.h: Update comment documenting feature test
51733         macros.
51734         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
51735         _DEFAULT_SOURCE.
51736         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
51737         (_SVID_SOURCE): Likewise.
51738         (_DEFAULT_SOURCE): Update description of default features.
51739         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
51740         with _GNU_SOURCE.
51741         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
51742         (S_ISVTX): Likewise.
51743         * manual/math.texi (Mathematical Constants): Likewise.
51744         * manual/signal.texi (Interrupted Primitives): Likewise.
51745         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
51746         * math/test-matherr.c (_SVID_SOURCE): Do not define.
51747         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
51748         Don't refer to _SVID_SOURCE in warning text.
51750         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51752         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
51753         already defined.
51754         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
51755         * sysdeps/mips/dl-lookup.c: Remove.
51756         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
51758 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
51760         [BZ #16447]
51761         * math/auto-libm-test-in: Add testcase for expl.
51762         * math/auto-libm-test-out: Regenerate.
51763         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
51764         calculation of unsafe.
51765         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
51767 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
51769         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
51770         * sysdeps/unix/sysv/linux/aarch64: Move directory from
51771         ports/sysdeps/unix/sysv/linux/aarch64.
51772         * README: Update listing for aarch64*-*-linux-gnu.
51774 2014-02-11  Will Newton  <will.newton@linaro.org>
51776         * manual/probes.texi (Mathematical Function Probes): Use
51777         "triggered" instead of "hit".
51779         * manual/probes.texi (Internal Probes): Add documentation
51780         of setjmp, longjmp and longjmp_target probes.
51782         * include/stap-probe.h: Add comment about probe argument
51783         format.
51785         * malloc/mtrace.c (attribute_hidden): Remove unused macro
51786         definition.  (tr_where, tr_freehook, tr_mallochook,
51787         tr_reallochook, tr_memalignhook): Use ANSI protoype.
51789 2014-02-11  David S. Miller  <davem@davemloft.net>
51791         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
51792         processing int_tests.
51794 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
51796         * sysdeps/mips: Move directory from ports/sysdeps/mips.
51797         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
51798         * sysdeps/unix/sysv/linux/mips: Move directory from
51799         ports/sysdeps/unix/sysv/linux/mips.
51800         * README: Update listing for mips-*-linux-gnu and
51801         mips64-*-linux-gnu.
51803 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
51805         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
51806         * sysdeps/unix/sysv/linux/m68k: Move directory from
51807         ports/sysdeps/unix/sysv/linux/m68k.
51808         * README: Update listing for m68k-*-linux-gnu.
51810 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
51812         * sysdeps/tile: Move directory from ports/sysdeps/tile.
51813         * sysdeps/unix/sysv/linux/generic: Move directory from
51814         ports/sysdeps/unix/sysv/linux/generic.
51815         * sysdeps/unix/sysv/linux/tile: Move directory from
51816         ports/sysdeps/unix/sysv/linux/tile.
51817         * README: Update listing for tile*-*-linux-gnu.
51819 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
51821         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
51822         __builtin_expect.
51823         * benchtests/bench-memmem.c (simple_memmem): Likewise.
51824         * catgets/open_catalog.c (__open_catalog): Likewise.
51825         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
51826         * debug/confstr_chk.c: Likewise.
51827         * debug/fread_chk.c (__fread_chk): Likewise.
51828         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
51829         * debug/getgroups_chk.c: Likewise.
51830         * debug/mbsnrtowcs_chk.c: Likewise.
51831         * debug/mbsrtowcs_chk.c: Likewise.
51832         * debug/mbstowcs_chk.c: Likewise.
51833         * debug/memcpy_chk.c: Likewise.
51834         * debug/memmove_chk.c: Likewise.
51835         * debug/mempcpy_chk.c: Likewise.
51836         * debug/memset_chk.c: Likewise.
51837         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
51838         * debug/strcat_chk.c (__strcat_chk): Likewise.
51839         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
51840         * debug/strncat_chk.c (__strncat_chk): Likewise.
51841         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
51842         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
51843         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
51844         * debug/wcpncpy_chk.c: Likewise.
51845         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
51846         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
51847         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
51848         * debug/wcsncpy_chk.c: Likewise.
51849         * debug/wcsnrtombs_chk.c: Likewise.
51850         * debug/wcsrtombs_chk.c: Likewise.
51851         * debug/wcstombs_chk.c: Likewise.
51852         * debug/wmemcpy_chk.c: Likewise.
51853         * debug/wmemmove_chk.c: Likewise.
51854         * debug/wmempcpy_chk.c: Likewise.
51855         * debug/wmemset_chk.c: Likewise.
51856         * dirent/scandirat.c (SCANDIRAT): Likewise.
51857         * dlfcn/dladdr1.c (dladdr1): Likewise.
51858         * dlfcn/dladdr.c (dladdr): Likewise.
51859         * dlfcn/dlclose.c (dlclose_doit): Likewise.
51860         * dlfcn/dlerror.c (__dlerror): Likewise.
51861         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
51862         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
51863         * dlfcn/dlopen.c (dlopen_doit): Likewise.
51864         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
51865         * dlfcn/dlsym.c (dlsym_doit): Likewise.
51866         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
51867         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
51868         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
51869         Likewise.
51870         * elf/dl-conflict.c: Likewise.
51871         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
51872         * elf/dl-dst.h: Likewise.
51873         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
51874         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
51875         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
51876         * elf/dl-init.c (call_init, _dl_init): Likewise.
51877         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
51878         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
51879         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
51880         Likewise.
51881         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
51882         Likewise.
51883         * elf/dl-minimal.c (__libc_memalign): Likewise.
51884         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
51885         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
51886         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
51887         * elf/dl-sym.c (do_sym): Likewise.
51888         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
51889         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
51890         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
51891         * elf/dl-writev.h (_dl_writev): Likewise.
51892         * elf/ldconfig.c (search_dir): Likewise.
51893         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
51894         (dl_main): Likewise.
51895         * elf/setup-vdso.h (setup_vdso): Likewise.
51896         * grp/compat-initgroups.c (compat_call): Likewise.
51897         * grp/fgetgrent.c (fgetgrent): Likewise.
51898         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
51899         * grp/putgrent.c (putgrent): Likewise.
51900         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
51901         Likewise.
51902         * hurd/hurdinit.c: Likewise.
51903         * iconvdata/8bit-gap.c (struct): Likewise.
51904         * iconvdata/ansi_x3.110.c : Likewise.
51905         * iconvdata/big5.c : Likewise.
51906         * iconvdata/big5hkscs.c : Likewise.
51907         * iconvdata/cp1255.c: Likewise.
51908         * iconvdata/cp1258.c : Likewise.
51909         * iconvdata/cp932.c : Likewise.
51910         * iconvdata/euc-cn.c: Likewise.
51911         * iconvdata/euc-jisx0213.c : Likewise.
51912         * iconvdata/euc-jp.c: Likewise.
51913         * iconvdata/euc-jp-ms.c : Likewise.
51914         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
51915         * iconvdata/gb18030.c : Likewise.
51916         * iconvdata/gbbig5.c (const): Likewise.
51917         * iconvdata/gbgbk.c: Likewise.
51918         * iconvdata/gbk.c : Likewise.
51919         * iconvdata/ibm1364.c : Likewise.
51920         * iconvdata/ibm930.c : Likewise.
51921         * iconvdata/ibm932.c: Likewise.
51922         * iconvdata/ibm933.c : Likewise.
51923         * iconvdata/ibm935.c : Likewise.
51924         * iconvdata/ibm937.c : Likewise.
51925         * iconvdata/ibm939.c : Likewise.
51926         * iconvdata/ibm943.c: Likewise.
51927         * iconvdata/iso_11548-1.c: Likewise.
51928         * iconvdata/iso-2022-cn.c : Likewise.
51929         * iconvdata/iso-2022-cn-ext.c : Likewise.
51930         * iconvdata/iso-2022-jp-3.c: Likewise.
51931         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
51932         * iconvdata/iso-2022-kr.c : Likewise.
51933         * iconvdata/iso646.c (gconv_end): Likewise.
51934         * iconvdata/iso_6937-2.c : Likewise.
51935         * iconvdata/iso_6937.c : Likewise.
51936         * iconvdata/iso8859-1.c: Likewise.
51937         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
51938         * iconvdata/shift_jisx0213.c : Likewise.
51939         * iconvdata/sjis.c : Likewise.
51940         * iconvdata/t.61.c : Likewise.
51941         * iconvdata/tcvn5712-1.c : Likewise.
51942         * iconvdata/tscii.c: Likewise.
51943         * iconvdata/uhc.c : Likewise.
51944         * iconvdata/unicode.c (gconv_end): Likewise.
51945         * iconvdata/utf-16.c (gconv_end): Likewise.
51946         * iconvdata/utf-32.c (gconv_end): Likewise.
51947         * iconvdata/utf-7.c (base64): Likewise.
51948         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
51949         * iconv/gconv_close.c (__gconv_close): Likewise.
51950         * iconv/gconv_open.c (__gconv_open): Likewise.
51951         * iconv/gconv_simple.c (internal_ucs4_loop_single)
51952         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
51953         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
51954         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
51955         (ucs4le_internal_loop_single): Likewise.
51956         * iconv/iconv.c (iconv): Likewise.
51957         * iconv/iconv_close.c: Likewise.
51958         * iconv/loop.c (SINGLE): Likewise.
51959         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
51960         * include/atomic.h: Likewise.
51961         * inet/inet6_option.c (option_alloc): Likewise.
51962         * intl/bindtextdom.c (set_binding_values): Likewise.
51963         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
51964         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
51965         * intl/localealias.c (read_alias_file): Likewise.
51966         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
51967         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
51968         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
51969         * libio/fmemopen.c (fmemopen): Likewise.
51970         * libio/iofgets.c (_IO_fgets): Likewise.
51971         * libio/iofgets_u.c (fgets_unlocked): Likewise.
51972         * libio/iofgetws.c (fgetws): Likewise.
51973         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
51974         * libio/iogetdelim.c (_IO_getdelim): Likewise.
51975         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
51976         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
51977         * locale/findlocale.c (_nl_find_locale): Likewise.
51978         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
51979         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
51980         Likewise.
51981         * locale/setlocale.c (setlocale): Likewise.
51982         * login/programs/pt_chown.c (main): Likewise.
51983         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
51984         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
51985         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
51986         (mmap, mmap64, mremap, munmap): Likewise.
51987         * math/e_exp2l.c: Likewise.
51988         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
51989         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
51990         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
51991         * math/s_catan.c (__catan): Likewise.
51992         * math/s_catanf.c (__catanf): Likewise.
51993         * math/s_catanh.c (__catanh): Likewise.
51994         * math/s_catanhf.c (__catanhf): Likewise.
51995         * math/s_catanhl.c (__catanhl): Likewise.
51996         * math/s_catanl.c (__catanl): Likewise.
51997         * math/s_ccosh.c (__ccosh): Likewise.
51998         * math/s_ccoshf.c (__ccoshf): Likewise.
51999         * math/s_ccoshl.c (__ccoshl): Likewise.
52000         * math/s_cexp.c (__cexp): Likewise.
52001         * math/s_cexpf.c (__cexpf): Likewise.
52002         * math/s_cexpl.c (__cexpl): Likewise.
52003         * math/s_clog10.c (__clog10): Likewise.
52004         * math/s_clog10f.c (__clog10f): Likewise.
52005         * math/s_clog10l.c (__clog10l): Likewise.
52006         * math/s_clog.c (__clog): Likewise.
52007         * math/s_clogf.c (__clogf): Likewise.
52008         * math/s_clogl.c (__clogl): Likewise.
52009         * math/s_csin.c (__csin): Likewise.
52010         * math/s_csinf.c (__csinf): Likewise.
52011         * math/s_csinh.c (__csinh): Likewise.
52012         * math/s_csinhf.c (__csinhf): Likewise.
52013         * math/s_csinhl.c (__csinhl): Likewise.
52014         * math/s_csinl.c (__csinl): Likewise.
52015         * math/s_csqrt.c (__csqrt): Likewise.
52016         * math/s_csqrtf.c (__csqrtf): Likewise.
52017         * math/s_csqrtl.c (__csqrtl): Likewise.
52018         * math/s_ctan.c (__ctan): Likewise.
52019         * math/s_ctanf.c (__ctanf): Likewise.
52020         * math/s_ctanh.c (__ctanh): Likewise.
52021         * math/s_ctanhf.c (__ctanhf): Likewise.
52022         * math/s_ctanhl.c (__ctanhl): Likewise.
52023         * math/s_ctanl.c (__ctanl): Likewise.
52024         * math/w_pow.c: Likewise.
52025         * math/w_powf.c: Likewise.
52026         * math/w_powl.c: Likewise.
52027         * math/w_scalb.c (sysv_scalb): Likewise.
52028         * math/w_scalbf.c (sysv_scalbf): Likewise.
52029         * math/w_scalbl.c (sysv_scalbl): Likewise.
52030         * misc/error.c (error_tail): Likewise.
52031         * misc/pselect.c (__pselect): Likewise.
52032         * nis/nis_callback.c (__nis_create_callback): Likewise.
52033         * nis/nis_call.c (__nisfind_server): Likewise.
52034         * nis/nis_creategroup.c (nis_creategroup): Likewise.
52035         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
52036         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
52037         * nis/nis_getservlist.c (nis_getservlist): Likewise.
52038         * nis/nis_lookup.c (nis_lookup): Likewise.
52039         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
52040         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
52041         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
52042         * nis/nis_xdr.c (xdr_endpoint): Likewise.
52043         * nis/nss_compat/compat-grp.c (getgrent_next_file)
52044         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
52045         * nis/nss_compat/compat-initgroups.c (add_group)
52046         (internal_getgrent_r): Likewise.
52047         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
52048         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
52049         * nis/nss_compat/compat-spwd.c (getspent_next_file)
52050         (internal_getspnam_r): Likewise.
52051         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
52052         (_nss_nis_getaliasbyname_r): Likewise.
52053         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
52054         (_nss_nis_getntohost_r): Likewise.
52055         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
52056         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
52057         (_nss_nis_getgrgid_r): Likewise.
52058         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
52059         (internal_nis_gethostent_r, internal_gethostbyname2_r)
52060         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
52061         (_nss_nis_gethostbyname4_r): Likewise.
52062         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
52063         (initgroups_netid): Likewise.
52064         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
52065         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
52066         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
52067         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
52068         (_nss_nis_getprotobynumber_r): Likewise.
52069         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
52070         (_nss_nis_getsecretkey): Likewise.
52071         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
52072         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
52073         (_nss_nis_getpwuid_r): Likewise.
52074         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
52075         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
52076         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
52077         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
52078         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
52079         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
52080         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
52081         Likewise.
52082         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
52083         (_nss_nisplus_getntohost_r): Likewise.
52084         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
52085         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
52086         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
52087         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
52088         Likewise.
52089         * nis/nss_nisplus/nisplus-initgroups.c
52090         (_nss_nisplus_initgroups_dyn): Likewise.
52091         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
52092         (_nss_nisplus_getnetbyaddr_r): Likewise.
52093         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
52094         (_nss_nisplus_getprotobynumber_r): Likewise.
52095         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
52096         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
52097         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
52098         Likewise.
52099         * nis/nss_nisplus/nisplus-service.c
52100         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
52101         (_nss_nisplus_getservbyport_r): Likewise.
52102         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
52103         (_nss_nisplus_getspnam_r): Likewise.
52104         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
52105         Likewise.
52106         * nscd/aicache.c (addhstaiX): Likewise.
52107         * nscd/cache.c (cache_search, prune_cache): Likewise.
52108         * nscd/connections.c (register_traced_file, send_ro_fd)
52109         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
52110         (main_loop_epoll): Likewise.
52111         * nscd/grpcache.c (addgrbyX): Likewise.
52112         * nscd/hstcache.c (addhstbyX): Likewise.
52113         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52114         * nscd/mem.c (gc, mempool_alloc): Likewise.
52115         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
52116         (addinnetgrX): Likewise.
52117         * nscd/nscd-client.h (__nscd_acquire_maplock)
52118         (__nscd_drop_map_ref): Likewise.
52119         * nscd/nscd_getai.c (__nscd_getai): Likewise.
52120         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
52121         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
52122         Likewise.
52123         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
52124         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
52125         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
52126         (__nscd_get_map_ref): Likewise.
52127         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
52128         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
52129         Likewise.
52130         * nscd/pwdcache.c (addpwbyX): Likewise.
52131         * nscd/selinux.c (preserve_capabilities): Likewise.
52132         * nscd/servicescache.c (addservbyX): Likewise.
52133         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
52134         * posix/fnmatch.c (fnmatch): Likewise.
52135         * posix/getopt.c (_getopt_internal_r): Likewise.
52136         * posix/glob.c (glob, glob_in_dir): Likewise.
52137         * posix/wordexp.c (exec_comm_child): Likewise.
52138         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
52139         (getanswer_r, gaih_getanswer_slice): Likewise.
52140         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
52141         * resolv/res_init.c: Likewise.
52142         * resolv/res_mkquery.c (res_nmkquery): Likewise.
52143         * resolv/res_query.c (__libc_res_nquery): Likewise.
52144         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
52145         Likewise.
52146         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
52147         * stdio-common/perror.c (perror): Likewise.
52148         * stdio-common/printf_fp.c (___printf_fp): Likewise.
52149         * stdio-common/tmpnam.c (tmpnam): Likewise.
52150         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
52151         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
52152         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
52153         Likewise.
52154         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
52155         * stdlib/putenv.c (putenv): Likewise.
52156         * stdlib/setenv.c (__add_to_environ): Likewise.
52157         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
52158         * stdlib/strtol_l.c (INTERNAL): Likewise.
52159         * string/memmem.c (memmem): Likewise.
52160         * string/strerror.c (strerror): Likewise.
52161         * string/strnlen.c (__strnlen): Likewise.
52162         * string/test-memmem.c (simple_memmem): Likewise.
52163         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
52164         * sunrpc/pm_getport.c (__get_socket): Likewise.
52165         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
52166         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
52167         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
52168         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
52169         Likewise.
52170         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
52171         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
52172         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
52173         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
52174         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
52175         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
52176         Likewise.
52177         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
52178         Likewise.
52179         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
52180         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
52181         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52182         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
52183         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
52184         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
52185         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
52186         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
52187         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
52188         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
52189         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
52190         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
52191         Likewise.
52192         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
52193         Likewise.
52194         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
52195         Likewise.
52196         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
52197         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
52198         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
52199         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
52200         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
52201         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
52202         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
52203         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
52204         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
52205         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
52206         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
52207         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52208         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
52209         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
52210         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52211         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
52212         Likewise.
52213         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
52214         Likewise.
52215         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
52216         Likewise.
52217         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
52218         Likewise.
52219         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
52220         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52221         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
52222         Likewise.
52223         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
52224         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
52225         * sysdeps/posix/opendir.c (__opendirat): Likewise.
52226         * sysdeps/posix/sleep.c: Likewise.
52227         * sysdeps/posix/tempname.c: Likewise.
52228         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
52229         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
52230         Likewise.
52231         * sysdeps/powerpc/powerpc32/dl-machine.h
52232         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
52233         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
52234         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
52235         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
52236         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
52237         Likewise.
52238         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
52239         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
52240         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
52241         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
52242         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
52243         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
52244         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
52245         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
52246         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52247         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
52248         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
52249         (elf_machine_lazy_rel): Likewise.
52250         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
52251         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
52252         (elf_machine_lazy_rel): Likewise.
52253         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
52254         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
52255         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
52256         * sysdeps/unix/grantpt.c (grantpt): Likewise.
52257         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
52258         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
52259         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
52260         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52261         Likewise.
52262         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
52263         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
52264         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
52265         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
52266         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
52267         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
52268         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
52269         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
52270         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
52271         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
52272         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
52273         Likewise.
52274         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
52275         (__posix_fallocate64_l64): Likewise.
52276         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
52277         (posix_fallocate): Likewise.
52278         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
52279         Likewise.
52280         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52281         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
52282         (getifaddrs_internal): Likewise.
52283         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
52284         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
52285         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
52286         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
52287         * sysdeps/unix/sysv/linux/posix_fallocate64.c
52288         (__posix_fallocate64_l64): Likewise.
52289         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
52290         Likewise.
52291         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
52292         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
52293         (__get_clockfreq): Likewise.
52294         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
52295         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
52296         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
52297         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52298         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52299         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
52300         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
52301         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
52302         Likewise.
52303         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
52304         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
52305         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
52306         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
52307         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
52308         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
52309         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
52310         Likewise.
52311         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
52312         (posix_fallocate): Likewise.
52313         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52314         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
52315         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
52316         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
52317         (elf_machine_rela, elf_machine_rela_relative)
52318         (elf_machine_lazy_rel): Likewise.
52319         * time/asctime.c (asctime_internal): Likewise.
52320         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
52321         * time/tzset.c (__tzset_parse_tz): Likewise.
52322         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
52323         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
52324         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
52325         * wcsmbs/wcsmbsload.h: Likewise.
52327         [BZ #15894]
52328         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
52330         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
52331         (arena_get2): Remove THREAD_STATS conditionals.
52332         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
52333         (__malloc_stats, int): Likewise.
52335 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
52337         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
52338         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
52340         * manual/setjmp.texi: Fix typos/grammar errors.
52342         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
52343         Only return early when n is <= 0.  Delete unused return statement.
52345         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
52346         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
52347         * debug/tst-longjmp_chk3.c: New file.
52349         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
52350         (test_main): Replace code with set_fortify_handler call.
52351         * debug/test-strcpy_chk.c: Likewise.
52352         * debug/tst-chk1.c: Likewise.
52353         * debug/tst-longjmp_chk.c: Likewise.
52354         * test-skeleton.c: Include fcntl.h & paths.h
52355         (set_fortify_handler): Define.
52357         * debug/tst-longjmp_chk.c: Add header comment and include
52358         ../test-skeleton.c.
52359         (do_test): Mark static.
52360         (TEST_FUNCTION): Define.
52362         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
52363         (IP_PMTUDISC_INTERFACE): Likewise.
52364         (IP_MULTICAST_IF): Likewise.
52365         (IP_MULTICAST_TTL): Likewise.
52366         (IP_MULTICAST_LOOP): Likewise.
52367         (IP_ADD_MEMBERSHIP): Likewise.
52368         (IP_DROP_MEMBERSHIP): Likewise.
52369         (IP_UNBLOCK_SOURCE): Likewise.
52370         (IP_BLOCK_SOURCE): Likewise.
52371         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
52372         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
52373         (IP_MSFILTER): Likewise.
52374         (MCAST_JOIN_GROUP): Likewise.
52375         (MCAST_BLOCK_SOURCE): Likewise.
52376         (MCAST_UNBLOCK_SOURCE): Likewise.
52377         (MCAST_LEAVE_GROUP): Likewise.
52378         (MCAST_JOIN_SOURCE_GROUP): Likewise.
52379         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
52380         (MCAST_MSFILTER): Likewise.
52381         (IP_MULTICAST_ALL): Likewise.
52382         (IP_UNICAST_IF): Likewise.
52384         * timezone/Makefile: Delete $(have-ksh) check.
52385         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
52386         * timezone/tzselect.ksh: Add +x mode bits.
52388         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
52389         (ANON_INODE_FS_MAGIC): Likewise.
52390         (BDEVFS_MAGIC): Likewise.
52391         (BINFMTFS_MAGIC): Likewise.
52392         (BTRFS_TEST_MAGIC): Likewise.
52393         (CRAMFS_MAGIC_WEND): Likewise.
52394         (DEBUGFS_MAGIC): Likewise.
52395         (ECRYPTFS_SUPER_MAGIC): Likewise.
52396         (EXT3_SUPER_MAGIC): Likewise.
52397         (EXT4_SUPER_MAGIC): Likewise.
52398         (FUTEXFS_SUPER_MAGIC): Likewise.
52399         (HOSTFS_SUPER_MAGIC): Likewise.
52400         (HUGETLBFS_MAGIC): Likewise.
52401         (MINIX3_SUPER_MAGIC): Likewise.
52402         (MTD_INODE_FS_MAGIC): Likewise.
52403         (NILFS_SUPER_MAGIC): Likewise.
52404         (OPENPROM_SUPER_MAGIC): Likewise.
52405         (PIPEFS_MAGIC): Likewise.
52406         (PSTOREFS_MAGIC): Likewise.
52407         (QNX6_SUPER_MAGIC): Likewise.
52408         (RAMFS_MAGIC): Likewise.
52409         (REISERFS_SUPER_MAGIC_STRING): Likewise.
52410         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
52411         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
52412         (SECURITYFS_MAGIC): Likewise.
52413         (SELINUX_MAGIC): Likewise.
52414         (SMACK_MAGIC): Likewise.
52415         (SOCKFS_MAGIC): Likewise.
52416         (SQUASHFS_MAGIC): Likewise.
52417         (STACK_END_MAGIC): Likewise.
52418         (TMPFS_MAGIC): Likewise.
52419         (USBDEVICE_SUPER_MAGIC): Likewise.
52420         (V9FS_MAGIC): Likewise.
52421         (XENFS_SUPER_MAGIC): Likewise.
52422         (CRAMFS_MAGIC): Fix typo in comment.
52423         (EXT2_SUPER_MAGIC): Update comment.
52424         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
52426 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
52428         * sysdeps/arm: Move directory from ports/sysdeps/arm.
52429         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
52430         * sysdeps/unix/sysv/linux/arm: Move directory from
52431         ports/sysdeps/unix/sysv/linux/arm.
52432         * README: Update listing for arm-*-linux-gnueabi.
52434         * README: Remove mention of am33.
52436 2014-02-07  Roland McGrath  <roland@hack.frob.com>
52438         * bits/sigset.h (__sigemptyset): Use a statement expression rather
52439         than the comma operator, to avoid "rhs of comma has no effect"
52440         compiler warnings.
52441         (__sigfillset, __sigandset, __sigorset): Likewise.
52442         * include/signal.h (__sigemptyset): Likewise.
52443         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
52445 2014-02-07  Allan McRae  <allan@archlinux.org>
52447         * version.h (RELEASE): Set to "development".
52448         (VERSION): Set to "2.19.90"
52449         * NEWS: Add 2.20 section.
52451 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
52453         [BZ #16529]
52454         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
52456 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
52458         * manual/contrib.texi: Update entry for Carlos O'Donell,
52459         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
52461 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
52463         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
52465         * sysdeps/unix/sysv/linux/kernel-features.h
52466         [__LINUX_KERNEL_VERSION >= 0x020621]
52467         (__ASSUME_PROC_PID_TASK_COMM): Define.
52469 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52471         [BZ #16398]
52472         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
52473         conversion when destination buffer does not have enough space.
52474         * libio/tst-ftell-partial-wide.c: New test case.
52475         * libio/Makefile (tests): Add tst-ftell-partial-wide.
52477         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
52478         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
52479         Leonard and Allan McRae.
52481 2014-02-04  David S. Miller  <davem@davemloft.net>
52483         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
52484         32-bit.
52486 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
52489         New file
52490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
52491         New file
52492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
52493         New file.
52494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
52495         New file.
52496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
52497         New file.
52498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
52499         New file.
52500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
52501         New file.
52502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
52503         New file.
52504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
52505         New file.
52506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
52507         New file.
52508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
52509         New file.
52510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
52511         New file.
52512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
52513         New file.
52515 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52517         * nptl/shlib-versions: Change powerpc*le start to 2.17.
52518         * shlib-versions: Likewise.
52520 2014-02-04  Roland McGrath  <roland@hack.frob.com>
52521             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52523         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
52524         (abilist-pattern): New variable, set to %-le.abilist.
52526         * Makerules (abilist-pattern): New variable.
52527         (vpath): Use $(abilist-pattern) in place of %.abilist.
52528         (check-abi-% pattern rule): Likewise.
52529         (check-abi, update-abi): Likewise.
52531 2014-02-04  Eric Wong  <normalperson@yhbt.net>
52533         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52535 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
52537         * manual/startup.texi: Add next, previous, and top entries for
52538         the `Program Arguments' and `Environment Variables' nodes.
52540 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
52542         * manual/macros.texi: Add comments before MTASC-safety macros.
52544         * manual/users.texi: Document MTASC-safety properties.
52546         * manual/threads.texi (pthread_key_create, pthread_key_delete)
52547         (pthread_getspecific, pthread_setspecific): Format with
52548         @deftypefun, and add @safety note.
52549         * manual/signal.texi: Move comments that analyze the above
52550         functions to their home place.
52552 2014-02-03  Allan McRae  <allan@archlinux.org>
52554         * po/sl.po: Update Slovenian translation from translation project.
52556 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
52558         * manual/time.texi (timegm): Add missing blank after @c.
52559         Reported by Joseph Myers <joseph@codesourcery.com>.
52561 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
52563         * manual/check-safety.sh: New.
52564         * manual/Makefile ($(objpfx)stamp-summary): Run it.
52566         * manual/terminal.texi: Document MTASC-safety properties.
52568         * manual/filesys.texi: Document MTASC-safety properties.
52570         * manual/errno.texi: Document MTASC-safety properties.
52572         * manual/intro.texi: Document safety identifiers and
52573         conditionals.
52575         * manual/string.texi (wcstok): Fix prototype.
52576         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
52578         * manual/time.texi: Document MTASC-safety properties.
52580         * manual/string.texi: Document MTASC-safety properties.
52582         * manual/threads.texi: Document MTASC-safety properties.
52584         * manual/stdio.texi: Document MTASC-safety properties.
52586         * manual/syslog.texi: Document MTASC-safety properties.
52588         * manual/sysinfo.texi: Document MTASC-safety properties.
52590         * manual/startup.texi: Document MTASC-safety properties.
52592         * manual/socket.texi: Document MTASC-safety properties.
52594         * manual/signal.texi: Document MTASC-safety properties.
52596 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
52598         * manual/setjmp.texi: Document MTASC-safety properties.
52600         * manual/search.texi: Document MTASC-safety properties.
52602         * manual/resource.texi: Document MTASC-safety properties.
52604         * manual/process.texi: Document MTASC-safety properties.
52606         * manual/platform.texi: Document MTASC-safety properties.
52608         * manual/pipe.texi: Document MTASC-safety properties.
52610         * manual/pattern.texi: Document MTASC-safety properties.
52612         * manual/message.texi: Document MTASC-safety properties.
52614         [BZ #12751]
52615         * manual/memory.texi: Document MTASC-safety properties.
52617         * manual/math.texi: Document MTASC-safety properties.
52619         * manual/locale.texi: Document MTASC-safety properties.
52621         * manual/llio.texi: Document MTASC-safety properties.
52623         * manual/libdl.texi: New.
52625         * manual/lang.texi: Document MTASC-safety properties.
52627         * manual/job.texi: Document MTASC-safety properties.
52629         * manual/getopt.texi: Document MTASC-safety properties.
52631         * manual/ctype.texi: Document MTASC-safety properties.
52633 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
52635         [BZ #16046]
52636         * csu/libc-tls.c (static_map): Remove variable.
52637         (__libc_setup_tls): Use main executable's link map for TLS data.
52638         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
52639         casing for LM_ID_BASE and GL(dl_nns).
52640         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
52641         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
52642         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
52643         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
52644         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
52645         member.
52646         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
52647         l_phnum members.
52649 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
52651         * manual/debug.texi: Document MTASC-safety properties.
52653 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
52655         [BZ #16510]
52656         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
52657         of __x86_64__ when disabling x87 inline functions.
52659 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
52661         * manual/charset.texi: Document MTASC-safety properties.
52663         * manual/crypt.texi: Document MTASC-safety properties.
52665         * manual/conf.texi: Document MTASC-safety properties.
52667         * manual/arith.texi: Document MTASC-safety properties.
52669         * manual/argp.texi: Document MTASC-safety properties.
52671         * manual/macros.texi: Introduce macros to document multi
52672         thread, asynchronous signal and asynchronous cancellation
52673         safety properties.
52674         * manual/intro.texi: Introduce the properties themselves.
52676 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52678         * sysdeps/sh/sh4/Makefile: New file.
52680 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
52682         * math/gen-libm-test.pl ($srcdir): New variable.
52683         ($auto_input): Use it.
52685 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52687         [BZ #16506]
52688         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
52689         access beyond array bounds when parsing netgroups file.
52691         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
52692         the old buffer before realloc.
52694 2014-01-27  Allan McRae  <allan@archlinux.org>
52696         * po/fr.po: Update French translation from translation project.
52698 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52700         * sysdeps/sh/libm-test-ulps: Regenerate.
52702 2014-01-24  David S. Miller  <davem@davemloft.net>
52704         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
52706 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52708         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
52709         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
52711 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
52713         [BZ #16474]
52714         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
52715         string pointers after reallocation.
52717 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52719         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
52720         __SH4A__ instead of __SH_FPU_ANY__.
52722 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52724         * sysdeps/sh/fpu_control.h: New file.
52725         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
52726         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
52727         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
52728         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
52729         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
52730         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
52731         * sysdeps/sh/sys/ucontext.h: Remove.
52732         * sysdeps/sh/sys: Remove directory.
52734 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52736         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
52737         s390/sys/ucontext.h.
52738         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
52739         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
52741 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
52743         [BZ #15605]
52744         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
52746 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52748         [BZ #16431]
52749         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
52750         Adjust the vDSO correctly for internal calls.
52751         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
52753 2014-01-20  Allan McRae  <allan@archlinux.org>
52755         * po/ca.po: Update Catalan translation from translation project.
52757 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
52759         * sysdeps/s390/sotruss-lib.c: New file.
52761 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52763         [BZ #16430]
52764         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
52765         (__GI___gettimeofday): Alias for a different internal symbol to avoid
52766         local calls issues by not having a PLT stub required for IFUNC calls.
52767         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
52769 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
52771         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
52772         * math/test-fpucw-static.c: Likewise.
52774 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52776         [BZ #16453]
52777         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
52779 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52781         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
52782         implementation for powerpc.
52784 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
52786         [BZ #14782]
52787         * sysdeps/posix/system.c (__libc_system): Do not enable
52788         asynchronous cancellation.
52790 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52792         [BZ #16427]
52793         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
52794         handling only for numbers special also in the IEEE case.
52796 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52798         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
52800 2014-01-11  Allan McRae  <allan@archlinux.org>
52802         * po/bg.po: Update Bulgarian translation from translation project.
52804         * po/de.po: Update German translation from translation project.
52806 2014-01-10  Roland McGrath  <roland@hack.frob.com>
52808         * sysdeps/generic/gcc-compat.h: New file.
52810 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52812         * benchtests/asin-inputs: Correct slow inputs.
52813         * benchtests/acos-inputs: Likewise.
52815 2014-01-10  Allan McRae  <allan@archlinux.org>
52817         * po:sv.po: Update Swedish translation from translation project.
52819         * po/vi.po: Update Vietnamese translation from translation project.
52821         * po/eo.po: Update Esperanto translation from translation project.
52823         * po/cs.po: Update Czech translation from translation project.
52825         * po/nl.po: Update Dutch translation from translation project.
52827         * po/pl.po: Update Polish translation from translation project.
52829         * po/ru.po: Update Russian translation from translation project.
52831         * po/uk.po: Update Ukrainian translation from translation project.
52833 2014-01-08  Brooks Moses  <bmoses@google.com>
52835         * elf/dl-load.c: Fix comment typo.
52837 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
52839         * po/header.pot: Rename to...
52840         * po/pot.header: ... this.
52841         * po/Makefile: Use pot.header.
52843 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
52844             Maxim Kuvyrkov  <maxim@kugelworks.com>
52846         [BZ #16394]
52847         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
52848         SRC and DEST against LEN.
52850 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52852         [BZ #16414]
52853         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
52854         implementation.
52855         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
52857 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52859         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52861 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
52863         [BZ #16408]
52864         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
52865         for large positive arguments.
52867 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
52869         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
52871         * math/auto-libm-test-in: Mark various tests with
52872         xfail-rounding:ldbl-128ibm.
52873         * math/auto-libm-test-out: Regenerated.
52875         [BZ #16407]
52876         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
52877         Increase overflow threshold.
52879 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
52881         [BZ #14286]
52882         * stdio-common/vfprintf.c: Check for integer overflow.
52884 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52886         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
52887         the first argument and return value of __tls_get_addr_internal.
52889 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52891         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
52892         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
52894 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52896         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
52897         * sysdeps/s390/rtld-global-offsets.sym: New file.
52898         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
52899         GLIBC_2.19 symbol.
52900         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
52901         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
52902         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
52903         ... this.
52904         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
52905         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
52906         ... this.
52907         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
52908         Regenerate.
52909         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
52910         Regenerate.
52911         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
52912         halfs of GPRs for high_gprs contexts.
52913         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
52914         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
52915         field.
52916         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
52917         uc_flags field.
52918         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
52919         64 bit versions:
52920         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
52921         for high GPRs (uc_high_gprs) and for future extensions
52922         (__reserved).
52923         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
52924         for future extensions (__reserved).
52925         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
52926         64 bit versions:
52927         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
52928         SC_HIGHGPRS offset definition.
52929         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
52930         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
52932         * Versions.def: Add GLIBC_2.19 for libpthread.
52933         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
52934         siglongjmp for libpthread with GLIBC_2.19 symver.
52935         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
52936         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
52937         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
52938         * sysdeps/s390/__longjmp.c: New file.
52939         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
52940         * sysdeps/s390/longjmp.c: New file.
52941         * sysdeps/s390/setjmp.S: New file.
52942         * sysdeps/s390/sigjmp.S: New file.
52943         * sysdeps/s390/v1-longjmp.c: New file.
52944         * sysdeps/s390/v1-setjmp.h: New file.
52945         * sysdeps/s390/v1-sigjmp.c: New file.
52946         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
52947         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
52948         GLIBC_2.19 version.
52949         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
52950         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
52951         versioned symbols for ____longjmp_chk.
52952         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
52953         Likewise.
52954         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
52955         Regenerate.
52956         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
52957         Regenerate.
52958         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
52959         Regenerate.
52960         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
52961         Regenerate.
52962         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
52963         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
52964         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
52965         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
52966         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
52967         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
52968         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
52969         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
52970         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
52971         * sysdeps/s390/rtld-__longjmp.c: New file.
52972         * sysdeps/s390/rtld-setjmp.S: New file.
52974 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
52976         [BZ #16400]
52977         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
52978         Return -__logl (x) for small positive arguments without evaluating
52979         a polynomial.
52981 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
52983         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
52984         Rename to ...
52985         (__ptrace_peeksiginfo_args): ... this.
52986         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52987         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52988         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52990 2014-01-06  Allan McRae  <allan@archlinux.org>
52992         * inet/netinet/in.h: Fix typo in comment.
52994 2014-01-05  Andreas Jaeger  <aj@suse.de>
52996         * sysdeps/i386/fpu/libm-test-ulps: Update.
52998 2014-01-05  Allan McRae  <allan@archlinux.org>
53000         * po/libc.pot: Regenerated.
53002         * malloc/memusagestat.c: Fix gettext call formatting.
53004 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
53006         * nscd/nscd.c: Improve usage() output.
53008 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
53010         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
53011         * sysdeps/unix/sysv/linux/configure: Regenerated.
53012         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
53013         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
53015 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
53017         [BZ #16390]
53018         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
53019         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
53021 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53023         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
53024         extra tokens at end of #undef directive.
53025         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
53026         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
53027         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
53029 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
53031         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
53033         * math/auto-libm-test-in: Mark various tests with
53034         xfail-rounding:ldbl-128ibm.
53035         * math/auto-libm-test-out: Regenerated.
53037 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
53039         [BZ #16386]
53040         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
53041         numbers with subnormal high part when calculating exponent.
53043         [BZ #16385]
53044         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
53045         fabs.
53047         [BZ #16384]
53048         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
53049         M_LN2l.
53050         (__ieee754_acoshl): Use __log1pl not __log1p.
53052 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
53054         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
53055         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
53056         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
53057         (grow_heap, heap_trim, _int_new_arena, get_free_list)
53058         (reused_arena, arena_get2): Convert to GNU style.
53059         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
53060         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
53061         (memalign_check, __malloc_set_state): Likewise.
53062         * malloc/mallocbug.c (main): Likewise.
53063         * malloc/malloc.c (__malloc_assert, malloc_init_state)
53064         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
53065         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
53066         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
53067         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
53068         (__posix_memalign, malloc_info): Likewise.
53069         * malloc/malloc.h: Likewise.
53070         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
53071         (mallochook, memalignhook, reallochook, mabort): Likewise.
53072         * malloc/mcheck.h: Likewise.
53073         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
53074         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
53075         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
53076         * malloc/morecore.c (__default_morecore): Likewise.
53077         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
53078         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
53079         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
53080         (print_and_abort): Likewise.
53081         * malloc/obstack.h: Likewise.
53082         * malloc/set-freeres.c (__libc_freeres): Likewise.
53083         * malloc/tst-mallocstate.c (main): Likewise.
53084         * malloc/tst-mtrace.c (main): Likewise.
53085         * malloc/tst-realloc.c (do_test): Likewise.
53087 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
53089         [BZ #16366]
53090         * nscd/netgroupcache.c (do_notfound): New function.
53091         (addgetnetgrentX): Use it.
53093         [BZ # 16365]
53094         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
53095         NSS_STATUS_NOTFOUND.
53097 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
53099         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
53100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53102 2014-01-01  Allan McRae  <allan@archlinux.org>
53104         * scripts/update-copyrights: Update configure input file suffix.
53106         * NEWS: Update copyright year.
53107         * catgets/gencat.c: Likewise.
53108         * csu/version.c: Likewise.
53109         * debug/catchsegv.sh: Likewise.
53110         * debug/pcprofiledump.c: Likewise.
53111         * debug/xtrace.sh: Likewise.
53112         * elf/ldconfig.c: Likewise.
53113         * elf/ldd.bash.in: Likewise.
53114         * elf/pldd.c: Likewise.
53115         * elf/sotruss.ksh: Likewise.
53116         * elf/sprof.c: Likewise.
53117         * iconv/iconv_prog.c: Likewise.
53118         * iconv/iconvconfig.c: Likewise.
53119         * locale/programs/locale.c: Likewise.
53120         * locale/programs/localedef.c: Likewise.
53121         * login/programs/pt_chown.c: Likewise.
53122         * malloc/memusage.sh: Likewise.
53123         * malloc/memusagestat.c: Likewise.
53124         * malloc/mtrace.pl: Likewise.
53125         * manual/libc.texinfo: Likewise.
53126         * nscd/nscd.c: Likewise.
53127         * nss/getent.c: Likewise.
53128         * nss/makedb.c: Likewise.
53129         * posix/getconf.c: Likewise.
53130         * scripts/test-installation.pl: Likewise.
53132         * All files with FSF copyright notices: Update copyright dates
53133         using scripts/update-copyrights.
53134         * intl/plural.c: Regenerated.
53135         * locale/programs/charmap-kw.h: Likewise.
53136         * locale/programs/locfile-kw.h: Likewise.
53138 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
53140         * sysdeps/unix/sysv/linux/configure: Regenerated.
53141         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
53142         the linux/fanotify.h header.
53143         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
53144         HAVE_LINUX_FANOTIFY_H is defined.
53146 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
53148         * benchtests/cos-inputs: New inputs.
53149         * benchtests/sin-inputs: Likewise.
53151         * benchtests/atan-inputs: New inputs. Fix name of multiple
53152         precision fallback inputs.
53154         * benchtests/atanh-inputs: New inputs.
53155         * benchtests/tanh-inputs: Likewise.
53157         * benchtests/acosh-inputs: New inputs.
53158         * benchtests/asinh-inputs: Likewise.
53160         * benchtests/cosh-inputs: New inputs.
53161         * benchtests/sinh-inputs: Likewise.
53163         * benchtests/acos-inputs: Add more inputs.
53164         * benchtests/asin-inputs: Likewise.
53166 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
53168         [BZ #16375]
53169         * manual/arith.texi: Fix spelling.
53170         * manual/charset.texi: Likewise.
53171         * manual/errno.texi: Likewise.
53172         * manual/filesys.texi: Likewise.
53173         * manual/lang.texi: Likewise.
53174         * manual/llio.texi: Likewise.
53175         * manual/locale.texi: Likewise.
53176         * manual/message.texi: Likewise.
53177         * manual/resource.texi: Likewise.
53178         * manual/search.texi: Likewise.
53179         * manual/setjmp.texi: Likewise.
53180         * manual/stdio.texi: Likewise.
53181         * manual/string.texi: Likewise.
53182         * manual/sysinfo.texi: Likewise.
53183         * manual/time.texi: Likewise.
53185 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
53187         * po/sl.po: New file.
53189 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
53191         * .gitignore: Add core/.gdbinit/.gdb_history.
53193 2013-12-27  Allan McRae  <allan@archlinux.org>
53195         [BZ #16369]
53196         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
53197         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
53199 2013-12-24  Brooks Moses  <bmoses@google.com>
53201         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
53202         all compilers that claim C++98 compliance, not just GCC.
53203         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
53204         Likewise.
53206 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
53208         * NEWS: Restore accidentally deleted bug-fix entries.
53210 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
53211             Ondřej Bílka  <neleai@seznam.cz>
53213         [BZ #15073]
53214         * malloc/malloc.c (_int_free): Perform sanity check only if we
53215         have_lock.
53217 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
53219         [BZ #12986]
53220         * manual/stdio.texi (String Input Conversions): Clarify that character
53221         classes are not supported.
53223 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53225         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53227 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
53229         [BZ #16337]
53230         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
53231         Calculate results for small negative arguments directly rather
53232         than using reflection formula with special underflow handling.
53234         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
53235         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
53236         sysdeps/unix/bsd/bsd4.4/syscalls.list.
53237         (fchflags): Likewise.
53238         (revoke): Likewise.
53239         (setlogin): Likewise.
53240         (sigaltstack): Likewise.
53241         (wait4): Likewise.
53242         (sigblock): Remove.
53243         (sigsetmask): Likewise.
53244         (wait3): Likewise.
53245         (waitpid): Likewise.
53246         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
53247         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
53248         file.
53249         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
53250         * sysdeps/unix/bsd/Makefile: ... here.
53251         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
53252         * sysdeps/unix/bsd/Versions: ... here.
53253         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
53254         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
53255         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
53256         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
53257         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
53258         * sysdeps/unix/bsd/sigblock.c: ... here.
53259         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
53260         * sysdeps/unix/bsd/sigsetmask.c: ... here.
53261         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
53262         * sysdeps/unix/bsd/sigvec.c: ... here.
53263         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
53264         * sysdeps/unix/bsd/tcdrain.c: ... here.
53265         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
53266         * sysdeps/unix/bsd/tcgetattr.c: ... here.
53267         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
53268         * sysdeps/unix/bsd/tcsetattr.c: ... here.
53269         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
53270         * sysdeps/unix/bsd/wait.c: ... here.
53271         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
53272         * sysdeps/unix/bsd/wait3.c: ... here.
53273         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
53274         * sysdeps/unix/bsd/waitpid.c: ... here.
53276 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
53278         [BZ #16356]
53279         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
53280         round-to-nearest for [!USE_AS_EXPM1L].
53281         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
53282         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
53283         more tests of exp and exp10.  Expect some exp10 tests to miss
53284         exceptions or fail in directed rounding modes.
53285         * math/auto-libm-test-out: Regenerated.
53286         * math/libm-test.inc (exp10_tonearest_test_data): New array.
53287         (exp10_test_tonearest): New function.
53288         (exp10_towardzero_test_data): New array.
53289         (exp10_test_towardzero): New function.
53290         (exp10_downward_test_data): New array.
53291         (exp10_test_downward): New function.
53292         (exp10_upward_test_data): New array.
53293         (exp10_test_upward): New function.
53294         (main): Call the new functions.
53295         * sysdeps/i386/fpu/libm-test-ulps: Update.
53296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53298 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
53300         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
53301         asinh, atan, atan2, atanh, cbrt, cos and cosh.
53302         * math/auto-libm-test-out: Regenerated.
53303         * math/libm-test.inc (acosh_test_data): Add more tests.
53304         (atanh_test_data): Likewise.
53305         (ceil_test_data): Likewise.
53306         (copysign_test_data): Likewise.
53307         * sysdeps/i386/fpu/libm-test-ulps: Update.
53308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53310         * timezone/checktab.awk: Update from tzcode 2013i.
53311         * timezone/private.h: Likewise.
53312         * timezone/scheck.c: Likewise.
53313         * timezone/tzfile.h: Likewise.
53314         * timezone/tzselect.ksh: Likewise.
53315         * timezone/zdump.c: Likewise.
53316         * timezone/zic.c: Likewise.
53318         * math/auto-libm-test-in: Add tests of cpow.
53319         * math/auto-libm-test-out: Regenerated.
53320         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
53321         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53322         mpc_cc_c.
53323         (func_calc_desc): Add mpc_cc_c union field.
53324         (test_functions): Add cpow.
53325         (special_fill_2pi): New function.
53326         (special_real_inputs): Add 2pi.
53327         (calc_generic_results): Handle mpc_cc_c.
53328         * sysdeps/i386/fpu/libm-test-ulps: Update.
53329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53331         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
53332         csqrt, ctan and ctanh.
53333         * math/auto-libm-test-out: Regenerated.
53334         * math/libm-test.inc (TEST_COND_x86_64): New macro.
53335         (TEST_COND_x86): Likewise.
53336         (ccos_test_data): Use AUTO_TESTS_c_c.
53337         (ccosh_test_data): Likewise.
53338         (cexp_test_data): Likewise.
53339         (clog_test_data): Likewise.
53340         (csqrt_test_data): Likewise.
53341         (ctan_test_data): Likewise.
53342         (ctan_tonearest_test_data): Likewise.
53343         (ctan_towardzero_test_data): Likewise.
53344         (ctan_downward_test_data): Likewise.
53345         (ctan_upward_test_data): Likewise.
53346         (ctanh_test_data): Likewise.
53347         (ctanh_tonearest_test_data): Likewise.
53348         (ctanh_towardzero_test_data): Likewise.
53349         (ctanh_downward_test_data): Likewise.
53350         (ctanh_upward_test_data): Likewise.
53351         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53352         mpc_c_c.
53353         (func_calc_desc): Add mpc_c_c union field.
53354         (FUNC_mpc_c_c): New macro.
53355         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
53356         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
53357         ctanh.
53358         (special_fill_min_subnorm_p120): New function.
53359         (special_real_inputs): Add min_subnorm_p120.
53360         (calc_generic_results): Handle mpc_c_c.
53361         * sysdeps/i386/fpu/libm-test-ulps: Update.
53362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53364 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
53366         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
53367         (do_sin_slow): New functions.
53368         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
53369         (cslow2, csloww1, csloww2): Use the new functions.
53371         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
53372         Use M to change sign of result instead of X.  Assume X is
53373         positive.
53374         (csloww1): Likewise.
53375         (__sin): Adjust.
53376         (__cos): Adjust.
53378         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
53379         arguments A and DA.
53380         (__sin): Adjust.
53381         (__cos): Likewise.
53383         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
53384         (__cos): Likewise.
53385         (sloww1): Don't adjust sign of DX.
53386         (csloww1): Likewise.
53387         (sloww2): Use X directly and don't adjust sign of DX.
53388         (csloww2): Likewise.
53390 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
53392         * math/auto-libm-test-in: Add tests of cabs and carg.
53393         * math/auto-libm-test-out: Regenerated.
53394         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
53395         (carg_test_data): Likewise.
53396         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53397         mpc_c_f.
53398         (func_calc_desc): Add mpc_c_f union field.
53399         (test_functions): Add cabs and carg.
53400         (calc_generic_results): Handle mpc_c_f.
53402         * sysdeps/powerpc/powerpc32/libgcc-compat.S
53403         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
53404         as a macro and a compat symbol.
53405         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
53406         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
53407         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
53408         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
53409         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
53410         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
53411         not use .hidden.
53412         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
53413         Likewise.
53414         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
53415         Likewise.
53416         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
53417         Likewise.
53418         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
53419         Likewise.
53420         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
53421         Likewise.
53422         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
53423         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
53424         from GLIBC_2.3.2.
53426 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53428         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53430 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
53432         * manual/texinfo.tex: Update to version 2013-11-26.10 with
53433         trailing whitespace removed.
53434         * scripts/config.guess: Update to version 2013-11-29.
53435         * scripts/config.sub: Update to version 2013-10-01.
53437         * math/auto-libm-test-in: Add tests of sincos.
53438         * math/auto-libm-test-out: Regenerated.
53439         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
53440         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53441         mpfr_f_11.
53442         (func_calc_desc): Add mpfr_f_11 union field.
53443         (test_functions): Add sincos.
53444         (calc_generic_results): Handle mpfr_f_11.
53445         * sysdeps/i386/fpu/libm-test-ulps: Update.
53446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53448 2013-12-19  Andreas Schwab  <schwab@suse.de>
53450         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
53451         CALL_MCOUNT.
53452         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
53453         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
53454         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
53456 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
53458         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
53459         * sysdeps/i386/fpu/libm-test-ulps: Update.
53460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53462         [BZ #16293]
53463         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
53464         round-to-nearest mode when using frndint.
53465         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
53466         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
53467         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
53468         Likewise.
53469         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
53470         sinh test to fail.
53471         * math/auto-libm-test-out: Regenerated.
53472         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
53473         (TEST_COND_x86): Likewise.
53474         (expm1_tonearest_test_data): New array.
53475         (expm1_test_tonearest): New function.
53476         (expm1_towardzero_test_data): New array.
53477         (expm1_test_towardzero): New function.
53478         (expm1_downward_test_data): New array.
53479         (expm1_test_downward): New function.
53480         (expm1_upward_test_data): New array.
53481         (expm1_test_upward): New function.
53482         (main): Run the new test functions.
53483         * sysdeps/i386/fpu/libm-test-ulps: Update.
53484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53486         * include/features.h: Update comment documenting feature test
53487         macros.  Mention _DEFAULT_SOURCE in comment.
53488         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
53489         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
53490         _BSD_SOURCE and _SVID_SOURCE.
53491         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
53492         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
53493         !_SVID_SOURCE]: Likewise.
53494         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
53495         (__USE_POSIX_IMPLICITLY): Define.
53496         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
53497         (_POSIX_SOURCE): Undefine and redefine.
53498         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
53499         (_POSIX_C_SOURCE): Likewise.
53500         * manual/creature.texi (_DEFAULT_SOURCE): Document.
53501         (Feature Test Macros): Update documentation of default features.
53503 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
53505         * benchtests/Makefile: Add bench-strtok.
53506         * benchtests/bench-strtok.c: New file: strtok benchtest.
53508 2013-12-19  Allan McRae  <allan@archlinux.org>
53510         * manual/install.texi: Suppress menu for plain text output.
53511         * INSTALL: Regenerated.
53513 2013-12-18  Brooks Moses  <bmoses@google.com>
53515         [BZ #15846]
53516         * misc/getauxval.c: Include errno.h.
53517         (__getauxval): Set errno to ENOENT if the requested type is not
53518         found.
53519         * misc/sys/auxv.h (getauxval): Document that it may set errno;
53520         don't declare with __attribute_const__.
53521         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
53522         * manual/startup.texi: Document that getauxval sets errno.
53524 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
53526         * math/auto-libm-test-in: Add tests of jn and yn.
53527         * math/auto-libm-test-out: Regenerated.
53528         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
53529         (yn_test_data): Likewise.
53530         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53531         mpfr_if_f.
53532         (func_calc_desc): Add mpfr_if_f union field.
53533         (FUNC_mpfr_if_f): New macro.
53534         (test_functions): Add jn and yn.
53535         (calc_generic_results): Assert type of second input for
53536         mpfr_ff_f.  Handle mpfr_if_f.
53537         (output_for_one_input_case): Disable all checking for arguments
53538         fitting floating-point types in case of an integer argument.
53539         * sysdeps/i386/fpu/libm-test-ulps: Update.
53540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
53543         Don't expect fegetround reference in libm.so.
53545 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53547         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
53548         $(config-cflags-nofma).
53550 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
53552         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
53553         * math/auto-libm-test-out: Regenerated.
53555         [BZ #16338]
53556         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
53557         to determine exponent and adjust argument to have exponent of -1.
53558         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
53559         log2.
53560         * math/auto-libm-test-out: Regenerated.
53561         * sysdeps/i386/fpu/libm-test-ulps: Update.
53562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53564 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
53566         * manual/probes.texi: Remove cases when per-thread arenas are
53567         disabled.
53569 2013-12-18  Andreas Schwab  <schwab@suse.de>
53571         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
53572         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
53573         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
53574         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
53575         * sysdeps/i386/i686/multiarch/Makefile: Update.
53576         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
53578 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
53580         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
53581         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
53583 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
53585         [BZ #15968]
53586         Support TZ transition times < 00:00:00.
53587         This is needed for version-3 tz-format files; it supports time
53588         stamps past 2037 for America/Godthab (the only entry in the tz
53589         database for which this change is relevant).
53590         * manual/time.texi (TZ Variable): Document transition times
53591         from -167:59:59 through -00:00:01.
53592         * time/tzset.c (tz_rule): Time of day is now signed.
53593         (__tzset_parse_tz): Parse negative time of day.
53595         Document TZ transition times >= 25:00:00.
53596         * manual/time.texi (TZ Variable): Document transition times from
53597         25:00:00 through 167:59:59.  These are already supported, and this
53598         support will help with version-3 tz-format files.
53600         * manual/time.texi (TZ Variable): Modernize North America example
53601         to reflect current (i.e., 2007-and-later) daylight saving rules.
53603         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
53605 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
53607         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
53608         * sysdeps/unix/bsd/bits/stat.h: Likewise.
53609         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
53610         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
53611         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
53612         * sysdeps/unix/bsd/bsdstat.h: Likewise.
53613         * sysdeps/unix/bsd/clock.c: Likewise.
53614         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
53615         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
53616         * sysdeps/unix/bsd/init-posix.c: Likewise.
53617         * sysdeps/unix/bsd/poll.c: Likewise.
53618         * sysdeps/unix/bsd/ptsname.c: Likewise.
53619         * sysdeps/unix/bsd/seekdir.c: Likewise.
53620         * sysdeps/unix/bsd/setegid.c: Likewise.
53621         * sysdeps/unix/bsd/seteuid.c: Likewise.
53622         * sysdeps/unix/bsd/setgid.c: Likewise.
53623         * sysdeps/unix/bsd/setrgid.c: Likewise.
53624         * sysdeps/unix/bsd/setruid.c: Likewise.
53625         * sysdeps/unix/bsd/setsid.c: Likewise.
53626         * sysdeps/unix/bsd/setuid.c: Likewise.
53627         * sysdeps/unix/bsd/sigaction.c: Likewise.
53628         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
53629         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
53630         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
53631         * sysdeps/unix/bsd/telldir.c: Likewise.
53632         * sysdeps/unix/bsd/times.c: Likewise.
53633         * sysdeps/unix/bsd/usleep.c: Likewise.
53635         * misc/Makefile (install-lib): Remove libbsd-compat.a.
53636         ($(objpfx)libbsd-compat.a): Remove rule.
53638         * include/features.h (__FAVOR_BSD): Do not define.
53639         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
53640         features conflicting with POSIX.
53641         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
53642         (_BSD_SOURCE): Remove description of not being a subset of other
53643         feature test macros.
53644         * manual/job.texi (getpgrp): Do not document BSD version.
53645         (getpgid): Do not document by reference to BSD getpgrp.
53646         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
53647         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
53648         * signal/signal.h [__FAVOR_BSD]: Likewise.
53649         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
53650         instead of making contents conditional on [__FAVOR_BSD].
53651         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
53653 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53655         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53657 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
53659         [BZ #16314]
53660         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
53661         values below 2**-450, not 2**-500.
53662         * math/auto-libm-test-in: Don't allow spurious underflow from
53663         hypot.
53664         * math/auto-libm-test-out: Regenerated.
53666         [BZ #16316]
53667         [BZ #16330]
53668         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
53669         values of ha and hb and sort them after adjusting subnormal
53670         arguments.
53671         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
53672         Likewise.
53673         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
53674         values of ea and eb and sort them after adjusting subnormal
53675         arguments.
53676         * math/auto-libm-test-in: Do not expect some hypot tests of
53677         subnormals to fail.  Add more hypot tests.
53678         * math/auto-libm-test-out: Regenerated.
53680 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53682         [BZ #13304]
53683         * sysdeps/sh/s_fma.c: New file.
53684         * sysdeps/sh/s_fmaf.c: New file.
53685         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
53686         version.
53687         * sysdeps/sh/Implies: Add sh/soft-fp.
53689 2013-12-16  Roland McGrath  <roland@hack.frob.com>
53691         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
53692         level of indirection to members `objname', `errstring', `malloced'.
53693         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
53694         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
53695         it as the __longjmp argument (just pass 1 instead).
53696         (_dl_catch_error): Initialize C with argument pointers and address of
53697         volatile local ERRCODE rather than copying values out of C at return.
53699 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
53701         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
53702         * math/auto-libm-test-out: Regenerated.
53703         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
53704         (hypot_test_data): Likewise.
53705         (pow_test_data): Likewise.
53706         (pow_tonearest_test_data): Likewise.
53707         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53708         mpfr_ff_f.
53709         (func_calc_desc): Add mpfr_ff_f union field.
53710         (FUNC_mpfr_ff_f): New macro.
53711         (test_functions): Add atan2, hypot and pow.
53712         (special_fill_min): New function.
53713         (special_fill_minus_min): Likewise.
53714         (special_fill_min_subnorm): Likewise.
53715         (special_fill_minus_min_subnorm): Likewise.
53716         (special_real_inputs): Add min, -min, min_subnorm and
53717         -min_subnorm.
53718         (calc_generic_results): Handle mpfr_ff_f.
53719         * sysdeps/i386/fpu/libm-test-ulps: Update.
53720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53722 2013-12-16  Will Newton  <will.newton@linaro.org>
53724         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
53725         (Aligned Memory Blocks): Add documentation for aligned_alloc
53726         and suggest it as an alternative to posix_memalign.
53727         (Hooks for Malloc): Document __memalign_hook is also called
53728         for aligned_alloc.  (Summary of Malloc): Add summary for
53729         aligned alloc.  Document __memalign_hook is also called
53730         for aligned_alloc.
53732 2013-12-16  Will Newton  <will.newton@linaro.org>
53734         * manual/memory.texi (Malloc Examples): Clarify default
53735         alignment documentation.  Suggest posix_memalign rather
53736         than memalign or valloc.
53737         (Aligned Memory Blocks): Remove suggestion to use memalign
53738         or valloc.  Remove obsolete comment about BSD.
53739         Document memalign errno values and mark the function obsolete.
53740         Document posix_memalign returned error codes.  Mark valloc
53741         as obsolete.  (Hooks for Malloc): __memalign_hook is also
53742         called for posix_memalign and valloc.
53743         (Summary of Malloc): Add posix_memalign to function summary.
53744         __memalign_hook is also called for posix_memalign and valloc.
53746 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53748         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
53749         TAYLOR_SIN.
53750         (__sin): Adjust.
53751         (__cos): Likewise.
53752         (sloww): Use mynumber union.  Expand ternary operator into
53753         if-else statements.
53754         (cslow): use mynumber union.
53756 2013-12-16  Allan McRae  <allan@archlinux.org>
53758         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
53759         * configure: Regenerated.
53761         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
53763         [BZ #14120]
53764         * configure.ac: Added --enable-maintainer-mode. Check for
53765         autoconf when enabled.
53766         * configure: Regenerated.
53768         * nscd/nscd.service: New file.
53769         * nscd/nscd.tmpfiles: New file.
53771 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
53773         [BZ #12100]
53774         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
53775         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
53776         * sysdeps/x86_64/multiarch/strstr.c: ... here.
53777         (strstr): Add __strstr_sse2_unaligned ifunc.
53778         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
53779         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
53780         (strcasestr): Remove __strcasestr_sse42 ifunc.
53781         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
53782         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
53783         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
53785 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53787         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
53788         * sysdeps/sh/bits/fenv.h: ... here.
53789         * sysdeps/sh/sh4/fpu/bits: Remove directory.
53791 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53793         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
53795         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
53796         hypotf multiarch implementations.
53797         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
53798         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
53799         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
53800         multiarch hypot for PPC64.
53801         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
53802         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
53803         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
53804         multiarch hypotf for PPC64.
53806         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
53807         modff multiarch implementations.
53808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
53809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
53810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
53811         multiarch modf for PPC64.
53812         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
53813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
53814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
53815         multiarch modff for PPC64.
53817         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
53818         and logl multiarch implementations.
53819         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
53820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
53821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
53822         multiarch logb for PPC64.
53823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
53824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
53825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
53826         multiarch logb for PPC64.
53827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
53828         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
53829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
53830         multiarch logb for PPC64.
53832         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
53833         isinff multiarch implementation.
53834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
53835         file.
53836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
53837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
53838         multiarch isinf for PPC64.
53839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
53840         file.
53841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
53842         multiarch isinff for PPC64.
53844         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
53845         finitef multiarch implementation.
53846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
53847         file.
53848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
53849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
53850         multiarch finite for PPC64.
53851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
53852         file.
53853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
53854         multiarch finitef for PPC64.
53856         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
53857         lrint multiarch implementation.
53858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
53859         file.
53860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
53861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
53862         multiarch llrint for PPC64.
53863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
53864         multiarch lrint for PPC64.
53866         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
53867         copysignf multiarch implementation.
53868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
53869         file.
53870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
53871         file.
53872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
53873         multiarch copysign for PPC64.
53874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
53875         multiarch copysignf for PPC64.
53877         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
53878         multiarch implementation.
53879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
53880         file.
53881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
53882         file.
53883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
53884         file.
53885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
53886         file.
53887         multiarch llround for PPC64.
53888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
53889         multiarch trunc for PPC64.
53890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
53891         multiarch truncf for PPC64.
53893         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
53894         multiarch implementation.
53895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
53896         file.
53897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
53898         file.
53899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
53900         file.
53901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
53902         file.
53903         multiarch llround for PPC64.
53904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
53905         multiarch round for PPC64.
53906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
53907         multiarch roundf for PPC64.
53909         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
53910         multiarch implementation.
53911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
53912         file.
53913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
53914         file.
53915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
53916         file.
53917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
53918         file.
53919         multiarch llround for PPC64.
53920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
53921         multiarch floor for PPC64.
53922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
53923         multiarch floorf for PPC64.
53925         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
53926         multiarch implementation.
53927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
53928         file.
53929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
53930         file.
53931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
53932         file.
53933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
53934         file.
53935         multiarch llround for PPC64.
53936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
53937         multiarch ceil for PPC64.
53938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
53939         multiarch ceilf for PPC64.
53941         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
53942         multiarch implementation.
53943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
53944         file.
53945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
53946         file.
53947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
53948         file.
53949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
53950         multiarch llround for PPC64.
53951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
53952         multiarch lround for PPC64.
53954         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
53955         multiarch implementation.
53956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
53957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
53958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
53959         file.
53960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
53961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
53962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
53963         multiarch isnan for PPC64.
53964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
53965         multiarch isnanf for PPC64.
53967         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
53968         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
53969         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
53970         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
53971         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
53972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
53974         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
53975         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53976         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53977         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53979         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
53980         multiarch implementations.
53981         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53982         (__libc_ifunc_impl_list): Likewise.
53983         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
53984         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
53985         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
53986         multiarch stpcpy for PPC64.
53988         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
53989         multiarch implementations.
53990         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53991         (__libc_ifunc_impl_list): Likewise.
53992         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
53993         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
53994         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
53995         multiarch strcpy for PPC64.
53997         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
53998         redefine function name.
53999         (_wordcopy_fwd_dest_aligned): Likewise.
54000         (_wordcopy_bwd_aligned): Likewise.
54001         (_wordcopy_bwd_dest_aligned): Likewise.
54002         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
54003         multiarch implementations.
54004         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54005         (__libc_ifunc_impl_list): Likewise.
54006         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
54007         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
54008         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
54009         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
54010         multiarch wcscpy for PPC64.
54012         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
54013         multiarch implementations.
54014         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54015         (__libc_ifunc_impl_list): Likewise.
54016         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
54017         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
54018         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
54019         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
54020         multiarch wcscpy for PPC64.
54022         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
54023         multiarch implementations.
54024         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54025         (__libc_ifunc_impl_list): Likewise.
54026         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
54027         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
54028         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
54029         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
54030         multiarch wcsrchr for PPC64.
54032         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
54033         multiarch implementations.
54034         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54035         (__libc_ifunc_impl_list): Likewise.
54036         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
54037         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
54038         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
54039         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
54040         multiarch wcschr for PPC64.
54042         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
54043         multiarch implementations.
54044         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54045         (__libc_ifunc_impl_list): Likewise.
54046         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
54047         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
54048         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
54049         multiarch strchrnul for PPC64.
54051         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
54052         implementations.
54053         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54054         (__libc_ifunc_impl_list): Likewise.
54055         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
54056         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
54057         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
54058         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
54059         strchr for PPC64.
54061         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
54062         implementations.
54063         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54064         (__libc_ifunc_impl_list): Likewise.
54065         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
54066         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
54067         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
54068         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
54069         strncmp for PPC64.
54071         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
54072         multiarch implementations.
54073         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54074         (__libc_ifunc_impl_list): Likewise.
54075         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
54076         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
54077         strncasecmp for PPC64.
54078         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
54079         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
54080         multiarch strncasecmp_l for PPC64.
54082         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
54083         multiarch implementations.
54084         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54085         (__libc_ifunc_impl_list): Likewise.
54086         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
54087         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
54088         multiarch strcasecmp for PPC64.
54089         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
54090         file.
54091         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
54092         multiarch strcasecmp_l for PPC64.
54094         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
54095         implementations.
54096         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54097         (__libc_ifunc_impl_list): Likewise.
54098         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
54099         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
54100         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
54101         strnlen for PPC64.
54103         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
54104         implementations.
54105         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54106         (__libc_ifunc_impl_list): Likewise.
54107         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
54108         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
54109         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
54110         strlen for PPC64.
54112         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
54113         implementations.
54114         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54115         (__libc_ifunc_impl_list): Likewise.
54116         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
54117         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
54118         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
54119         rawmemrchr for PPC64.
54121         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
54122         implementation.
54123         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54124         (__libc_ifunc_impl_list): Likewise.
54125         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
54126         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
54127         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
54128         memrchr for PPC64.
54130         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
54131         implementation.
54132         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54133         (__libc_ifunc_impl_list): Likewise.
54134         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
54135         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
54136         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
54137         memchr for PPC64.
54139         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
54140         implementation.
54141         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54142         (__libc_ifunc_impl_list): Likewise.
54143         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
54144         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
54145         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
54146         mempcpy for PPC64.
54148         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
54149         avoid cretion of __bzero symbol.
54150         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
54151         Likewise.
54152         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
54153         Likewise.
54154         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
54155         Likewise.
54156         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
54157         multiarch implementations.
54158         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54159         (__libc_ifunc_impl_list): Likewise.
54160         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
54161         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
54162         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
54163         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
54164         bzero for PPC32.
54165         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
54166         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
54167         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
54168         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
54169         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
54170         memset for PPC64.
54171         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
54173         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
54174         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
54175         implementations.
54176         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54177         (__libc_ifunc_impl_list): Likewise.
54178         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
54179         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
54180         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
54181         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
54182         memcmp for PPC64.
54184         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
54185         multiarch for POWER/PPC64.
54186         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
54187         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
54188         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
54189         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
54190         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
54191         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
54192         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
54193         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
54194         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
54195         memcpy for PPC64.
54197         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
54198         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
54199         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
54200         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
54201         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
54202         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
54203         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
54204         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
54205         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
54206         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
54207         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
54208         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
54209         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
54210         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
54211         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
54212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
54213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
54214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
54215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
54216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
54217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
54218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
54220 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54222         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
54224 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
54226         * benchtests/Makefile (bench): Add exp2 and log2.
54227         (LDLIBS-bench-exp2): Add -lm.
54228         (LDLIBS-bench-log2): Likewise.
54229         * benchtests/exp2-inputs: New inputs file.
54230         * benchtests/log2-inputs: New inputs file.
54231         * benchtests/log-inputs: Add new inputs.
54232         * benchtests/tan-inputs: Likewise.
54234 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54236         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
54237         definition...
54238         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
54239         (csloww2): ... from here.
54241         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
54242         instead of structures.
54243         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
54244         (POLYNOMIAL): Likewise.
54245         (TAYLOR_SLOW): Likewise.
54246         (__sin): Likewise.
54247         (__cos): Likewise.
54248         (slow1): Likewise.
54249         (slow2): Likewise.
54250         (sloww): Likewise.
54251         (sloww1); Likewise.
54252         (sloww2): Likewise.
54253         (bsloww1): Likewise.
54254         (bsloww2): Likewise.
54255         (cslow2): Likewise.
54256         (csloww): Likewise.
54257         (csloww1): Likewise.
54258         (csloww2): Likewise.
54260 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
54262         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
54263         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
54264         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
54265         * malloc/hooks.c (realloc_check): Likewise.
54267         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
54268         * malloc/arena.c: Remove PER_THREAD conditional.
54269         [!PER_THREAD]: Remove code.
54270         (ptmalloc_unlock_all2): Likewise.
54271         (ptmalloc_init): Likewise.
54272         (_int_new_arena): Likewise.
54273         (arena_get2): Likewise.
54274         * malloc/hooks.c (__malloc_get_state): Likewise.
54275         (__malloc_set_state): Likewise.
54276         * malloc/malloc.c: Likewise.
54277         (struct malloc_state): Likewise.
54278         (struct malloc_par): Likewise.
54279         (__libc_realloc): Likewise.
54280         (__libc_mallopt): Likewise.
54282 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54284         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
54286 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
54288         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
54289         macro to a function.  Check for zero perturb_byte.
54290         (_int_malloc, _int_free): Remove zero perturb_byte checks.
54292         * malloc/malloc.c: (force_reg): Remove.
54293         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
54294         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
54295         force_reg by atomic_forced_read.
54296         * malloc/arena.c (ptmalloc_init): Likewise.
54297         * malloc/hooks.c (top_check): Likewise.
54299 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54301         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54303 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
54305         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54307 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
54309         * math/auto-libm-test-in: Add tests of lgamma.
54310         * math/auto-libm-test-out: Regenerated.
54311         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
54312         (M_LOG_2_SQRT_PIl): Likewise.
54313         (lgamma_test_data): Use AUTO_TESTS_f_f1.
54314         * math/gen-auto-libm-tests.c (func_calc_method): Add value
54315         mpfr_f_f1.
54316         (func_calc_desc): Add mpfr_f_f1 union field.
54317         (ARGS1): New macro.
54318         (ARGS2): Likewise.
54319         (ARGS3): Likewise.
54320         (ARGS4): Likewise.
54321         (RET1): Likewise.
54322         (RET2): Likewise.
54323         (CALC): Likewise.
54324         (FUNC): Likewise.
54325         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
54326         (test_functions): Add lgamma.
54327         (calc_generic_results): Handle mpfr_f_f1.
54328         * sysdeps/i386/fpu/libm-test-ulps: Update.
54329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54331 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54333         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
54334         __mpn_add_n for PowerPC64/POWER7.
54335         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
54336         __mpn_sub_n for PowerPC64/POWER7.
54338         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
54339         __mpn_addmul_1 for PowerPC64.
54340         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
54341         __mpn_submul_1 for PowerPC64.
54342         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
54343         for PowerPC64.
54344         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
54345         for PowerPC64.
54347 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
54349         [BZ #15089]
54350         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
54352 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54354         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
54356         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
54357         add multiarch folders.
54358         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
54359         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
54360         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
54361         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
54362         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
54363         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
54364         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
54365         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
54366         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
54367         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
54368         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
54369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
54370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
54371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
54372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
54373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
54374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
54376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
54377         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
54378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
54379         New file.
54380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
54381         New file.
54382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
54383         multiarch __ieee754_hypot for PowerPC32.
54384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
54385         New file.
54386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
54387         New file.
54388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
54389         multiarch __ieee754_hypotf for PowerPC32.
54391         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
54392         long_double_symbol only if __logbl is defined.
54393         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
54394         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
54395         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
54396         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
54397         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
54398         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
54399         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
54400         path for implementation.
54401         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
54402         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
54403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
54404         logb, and logbl multiarch implementations for PowerPC32.
54405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
54406         file.
54407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
54408         file.
54409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
54410         multiarch logb for PowerPC32.
54411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
54412         file.
54413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
54414         file.
54415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
54416         multiarch logbf for PowerPC32.
54417         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
54418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
54419         file.
54420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
54421         multiarch logbl implementation for PowerPC32.
54423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
54424         and modff multiarch implementations.
54425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
54426         New file.
54427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
54428         New file.
54429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
54430         multiarch modf for PowerPC32.
54431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
54432         New file.
54433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
54434         New file.
54435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
54436         multiarch modff for PowerPC32.
54438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
54439         and lrintf multiarch implementations.
54440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
54441         New file.
54442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
54443         New file.
54444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
54445         multiarch lrint for PowerPC32.
54446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
54447         file: multiarch lrintf for PowerPC32.
54449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
54450         and lroundf multiarch implementations.
54451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
54452         New file.
54453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
54454         New file.
54455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
54456         New file.
54457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
54458         multiarch lround for PowerPC32.
54459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
54460         file: multiarch lroundf for PowerPC32.
54462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
54463         copysign and copysignf multiarch implementations.
54464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
54465         New file.
54466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
54467         New file.
54468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
54469         file: multiarch copysign for PowerPC32.
54470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
54471         file: multiarch copysignf for PowerPC32.
54473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
54474         and truncf multiarch implementations.
54475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
54476         New file.
54477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
54478         file.
54479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
54480         multiarch trunc for PowerPC32.
54481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
54482         New file.
54483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
54484         New file.
54485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
54486         multiarch truncf for PowerPC32.
54488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
54489         and roundf multiarch implementations.
54490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
54491         New file.
54492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
54493         file.
54494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
54495         multiarch round for PowerPC32.
54496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
54497         New file.
54498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
54499         New file.
54500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
54501         multiarch roundf for PowerPC32.
54503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
54504         and floorf multiarch implementations.
54505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
54506         New file.
54507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
54508         file.
54509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
54510         multiarch floor for PowerPC32.
54511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
54512         New file.
54513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
54514         New file.
54515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
54516         multiarch floorf for PowerPC32.
54518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
54519         and ceilf multiarch implementations.
54520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
54521         New file.
54522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
54523         file.
54524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
54525         multiarch ceil for PowerPC32.
54526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
54527         New file.
54528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
54529         file.
54530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
54531         multiarch ceilf for PowerPC32.
54533         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
54534         is defined.
54535         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
54536         FINITEF is defined.
54537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
54538         and finitef multiarch implementations.
54539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
54540         New file.
54541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
54542         file.
54543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
54544         multiarch finite for PowerPC32.
54545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
54546         New file.
54547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
54548         file: multiarch finitef for PowerPC32.
54550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
54551         and isinff multiarch implementations.
54552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
54553         file.
54554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
54555         file.
54556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
54557         multiarch isinf for PowerPC32.
54558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
54559         New file.
54560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
54561         multiarch isinff for PowerPC32.
54563         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
54564         alias when __isnan is defined.
54565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
54566         and isnanf multiarch implementations.
54567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
54568         file.
54569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
54570         file.
54571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
54572         file.
54573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
54574         file.
54575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
54576         multiarch isnan for PowerPC32.
54577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
54578         New file.
54579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
54580         New file.
54581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
54582         multiarch isnanf for PowerPC32.
54584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
54585         and sqrtf multiarch implementations.
54586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
54587         file.
54588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
54589         file.
54590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
54591         multiarch sqrt for PowerPC32.
54592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
54593         file.
54594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
54595         file.
54596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
54597         multiarch sqrtf for PowerPC32.
54599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
54600         and llroundf multiarch implementations.
54601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
54602         New file.
54603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
54604         New file.
54605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
54606         New file.
54607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
54608         file: multiarch llround for PowerPC32.
54609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
54610         file: multiarch llroundf for PowerPC32.
54612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
54613         multiarch PowerPC32 fpu implementations.
54614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
54615         New file.
54616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
54617         New file.
54618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
54619         multiarch llrint for PowerPC32.
54620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
54621         New file.
54622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
54623         New file.
54624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
54625         file.
54627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
54629         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
54630         file.
54631         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
54632         file.
54633         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
54634         file.
54635         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
54636         multiarch wordcopy for PPC32.
54637         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
54638         wordcopy objects.
54639         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54640         (__libc_ifunc_impl_list): Likewise.
54641         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
54642         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
54643         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
54644         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
54645         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
54646         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
54648         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
54649         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
54650         file.
54651         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
54652         file.
54653         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
54654         file.
54655         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
54656         multiarch wcscpy for PPC32.
54657         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
54658         multiarch objects.
54659         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54660         (__libc_ifunc_impl_list): Likewise.
54661         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
54662         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
54663         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
54664         sysdeps/powerpc/power6/wcscpy.c.
54666         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
54667         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
54668         file.
54669         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
54670         file.
54671         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
54672         file.
54673         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
54674         multiarch wcsrchr for PPC32.
54675         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
54676         multiarch objects.
54677         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54678         (__libc_ifunc_impl_list): Likewise.
54679         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
54680         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
54681         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
54682         sysdeps/powerpc/power6/wcsrchr.c.
54684         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
54685         file.
54686         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
54687         file.
54688         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
54689         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
54690         multiarch wcschr for PPc32.
54691         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
54692         multiarch objects.
54693         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54694         (__libc_ifunc_impl_list): Likewise.
54695         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
54696         * sysdeps/powerpc/power6/wcschr.c: ... to here.
54697         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
54698         sysdeps/powerpc/power6/wcschr.c.
54700         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
54701         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
54702         file.
54703         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
54704         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
54705         file: multiarch strchr for PPC32.
54706         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
54707         multiarch objects.
54708         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54709         (__libc_ifunc_impl_list): Likewise.
54711         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
54712         name.
54713         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
54714         file.
54715         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
54716         file.
54717         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
54718         multiarch strchrnul for PPC32.
54719         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
54720         multiarch objects.
54721         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54722         (__libc_ifunc_impl_list): Likewise.
54724         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
54725         file.
54726         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
54727         multiarch strncasecmp for PPC32.
54728         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
54729         file.
54730         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
54731         multiarch strncasecmp_l for PPC32.
54732         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
54733         strncasecmp multiarch objects.
54734         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54735         (__libc_ifunc_impl_list): Likewise.
54737         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
54738         file.
54739         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
54740         multiarch strncasecmp for PPC32.
54741         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
54742         New file.
54743         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
54744         multiarch strcasecmp_l for PPC32.
54745         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
54746         multiarch objects.
54747         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54748         (__libc_ifunc_impl_list): Likewise.
54750         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
54751         file.
54752         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
54753         file.
54754         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
54755         multiarch strncmp for PPC32.
54756         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
54757         multiarch objects.
54758         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54759         (__libc_ifunc_impl_list): Likewise.
54761         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
54762         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
54763         file.
54764         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
54765         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
54766         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
54767         multiarch objects.
54768         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54769         (__libc_ifunc_impl_list): Likewise.
54771         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
54772         file.
54773         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
54774         file.
54775         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
54776         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
54777         multiarch objects.
54778         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54779         (__libc_ifunc_impl_list): Likewise.
54781         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
54782         file.
54783         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
54784         file.
54785         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
54786         multiarch rawmemchr for PPC32.
54787         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
54788         multiarch objects.
54789         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54790         (__libc_ifunc_impl_list): Likewise.
54792         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
54793         file.
54794         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
54795         file.
54796         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
54797         file: memrchr multiarch for PPC32.
54798         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
54799         multiarch objects.
54800         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54801         (__libc_ifunc_impl_list): Likewise.
54803         * string/memchr.c (__memchr): Using macro to redefine symbol name.
54804         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
54805         file.
54806         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
54807         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
54808         multiarch memchr for PPC32.
54809         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
54810         multiarch objects.
54811         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54812         (__libc_ifunc_impl_list): Likewise.
54814         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
54815         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
54816         file.
54817         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
54818         file.
54819         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
54820         file: multiarch mempcpy for PPC32.
54821         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
54822         multiarch objects.
54823         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54824         (__libc_ifunc_impl_list): Likewise.
54826         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
54827         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
54828         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
54829         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
54830         multiarch bzero for PPC32.
54831         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
54832         file.
54833         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
54834         file.
54835         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
54836         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
54837         file: multiarch memset for PPC32.
54838         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
54839         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
54840         memset multiarch objects.
54841         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54842         (__libc_ifunc_impl_list): Likewise.
54844         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
54845         file.
54846         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
54847         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
54848         memcmp for PPC32.
54849         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
54850         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
54851         multiarch objects.
54852         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54853         (__libc_ifunc_impl_list): Likewise.
54855         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
54856         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
54857         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
54858         file.
54859         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
54860         file.
54861         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
54862         file.
54863         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
54864         multiarch memcpy for PPC32.
54865         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
54866         multiarch objects.
54867         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54868         (__libc_ifunc_impl_list): Likewise.
54870         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
54871         support multiarch for POWER/PPC32.
54872         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
54873         Likewise.
54874         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
54875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
54876         Implies file to make multiarch folder appers before the fpu and
54877         default folder for power4 configuration.
54879 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54881         * scripts/bench.pl: Append volatile keyword to type.
54883 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54885         * sysdeps/sh/sotruss-lib.c: New file.
54886         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
54888 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54890         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54892 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
54894         [BZ #6810]
54895         * math/w_tgamma.c: Include <errno.h>.
54896         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
54897         * math/w_tgammaf.c: Include <errno.h>.
54898         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
54899         * math/w_tgammal.c: Include <errno.h>.
54900         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
54901         * math/auto-libm-test-in: Do not allow missing errno on tgamma
54902         underflow.  Add more tgamma tests.
54903         * math/auto-libm-test-out: Regenerated.
54904         * sysdeps/i386/fpu/libm-test-ulps: Update.
54905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54907         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
54908         sin, sinh, tan, tanh, tgamma, y0 and y1.
54909         * math/auto-libm-test-out: Regenerated.
54910         * math/libm-test.inc (TEST_COND_x86_64): New macro.
54911         (TEST_COND_x86): Likewise.
54912         (M_E2l): Remove macro.
54913         (M_E3l): Likewise.
54914         (M_2_SQRT_PIl): Likewise.
54915         (M_SQRT_PIl): Likewise.
54916         (M_1_DIV_El): Likewise.
54917         (log_test_data): Use AUTO_TESTS_f_f.
54918         (log10_test_data): Likewise.
54919         (log1p_test_data): Likewise.
54920         (log2_test_data): Likewise.
54921         (sin_test_data): Likewise.
54922         (sin_tonearest_test_data): Likewise.
54923         (sin_towardzero_test_data): Likewise.
54924         (sin_downward_test_data): Likewise.
54925         (sin_upward_test_data): Likewise.
54926         (sinh_test_data): Likewise.
54927         (sinh_tonearest_test_data): Likewise.
54928         (sinh_towardzero_test_data): Likewise.
54929         (sinh_downward_test_data): Likewise.
54930         (sinh_upward_test_data): Likewise.
54931         (tan_test_data): Likewise.
54932         (tan_tonearest_test_data): Likewise.
54933         (tan_towardzero_test_data): Likewise.
54934         (tan_downward_test_data): Likewise.
54935         (tan_upward_test_data): Likewise.
54936         (tanh_test_data): Likewise.
54937         (tgamma_test_data): Likewise.
54938         (y0_test_data): Likewise.
54939         (y1_test_data): Likewise.
54940         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
54941         (special_real_inputs): Add pi/4.
54942         * sysdeps/i386/fpu/libm-test-ulps: Update.
54943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54945 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54947         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
54948         "longjmp_target" static probes.
54949         (__longjmp): Rename to __longjmp_symbol.
54950         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
54951         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
54952         on which longjmp to generate.
54953         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
54954         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
54955         probe.
54956         (__sigsetjmp): Rename to __sigsetjmp_symbol.
54957         (__sigjmp_save): Rename to __sigjmp_save_symbol.
54958         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
54959         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
54960         and __sigjmp_save_symbol based on which sigsetjmp to generated.
54961         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
54962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
54963         __longjmp_symbol based on which __longjmp to generate.
54964         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
54965         probe.
54966         (setjmp): Rename to setjmp_symbol.
54967         (__sigsetjmp): Rename to __sigsetjmp_symbol.
54968         (_setjmp): Rename to _setjmp_symbol.
54969         (__sigsetjmp): Rename to __sigsetjmp_symbol.
54970         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
54971         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
54972         which setjmp to generate.
54973         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
54974         "longjmp_target" static probes.
54976 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
54978         * benchtests/README: Add note about output arguments.
54979         * benchtests/bench-sincos.c: Remove file.
54980         * benchtests/sincos-inputs: New file.
54981         * scripts/bench.pl: Identify output arguments and define
54982         static variables for them.
54984         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
54986         [BZ #15941]
54987         * Makefile (INSTALL): Add install-plain.texi as the primary
54988         dependency.
54989         * manual/install-plain.texi: New file.
54990         * manual/install.texi: Include node directive only for
54991         non-plaintext output.
54993 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
54995         * stdlib/longlong.h: Update from GCC.
54997         [BZ #6807]
54998         [BZ #15901]
54999         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
55000         * math/w_j0f.c (y0f): Likewise.
55001         * math/w_j0l.c (__y0l): Likewise.
55002         * math/w_j1.c (y1): Likewise.
55003         * math/w_j1f.c (y1f): Likewise.
55004         * math/w_j1l.c (__y1l): Likewise.
55005         * math/w_jn.c (yn): Likewise.
55006         * math/w_jnf.c (ynf): Likewise.
55007         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
55008         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
55009         value for Bessel function domain errors outside _SVID_ mode.
55010         Adjust sign of return value for yn (negative integer, 0).
55011         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
55012         by zero in return for negative x and set sign appropriately for
55013         negative n.
55014         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
55015         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
55016         * math/libm-test.inc (y0_test_data): Add more tests and adjust
55017         expectations in error cases.
55018         (y1_test_data): Likewise.
55019         (yn_test_data): Likewise.
55020         * sysdeps/i386/fpu/libm-test-ulps: Update.
55021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55023 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
55025         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
55026         "64" to "64-v1".  Add "64-v2".
55027         (abi-64-options): Rename to ...
55028         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
55029         (abi-64-condition): Rename to ...
55030         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
55031         (abi-64-ld-soname): Rename to ...
55032         (abi-64-v1-ld-soname): ... this.
55033         (abi-64-v2-options): Define.
55034         (abi-64-v2-condition): Likewise.
55035         (abi-64-v2-ld-soname): Likewise.
55036         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
55037         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
55038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
55039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
55040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
55042 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
55043             Alan Modra  <amodra@gmail.com>
55045         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
55046         New versions for use with the ELFv2 ABI.
55047         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
55048         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
55049         declaration.
55050         (struct La_ppc64v2_retval): Likewise.
55051         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
55052         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
55053         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
55054         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
55055         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
55056         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
55057         Do not save or restore CR.
55058         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
55059         (_dl_profile_resolve): Do no save or restore CR.  Support extended
55060         return values for ELFv2 ABI.  Fix location of FPR return registers.
55061         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
55062         updated values for _CALL_ELF == 2.
55063         (La_regs, La_retval, int_retval): Likewise.
55065 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
55067         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
55068         (FRAME_MIN_SIZE_PARM): Likewise.
55069         (FRAME_BACKCHAIN): Likewise.
55070         (FRAME_CR_SAVE): Likewise.
55071         (FRAME_LR_SAVE): Likewise.
55072         (FRAME_TOC_SAVE): Likewise.
55073         (FRAME_PARM_SAVE): Likewise.
55074         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
55075         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
55076         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
55077         (call_mcount_parm_offset): New macro.
55078         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
55079         (PROF): Use symbolic stack frame offsets.
55080         (TAIL_CALL_SYSCALL_ERROR): Likewise.
55081         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
55082         Redefine in terms of FRAME_MIN_SIZE.
55083         (_dl_runtime_resolve): Use symbolic stack frame offsets.
55084         (_dl_profile_resolve): Likewise.  Update comment.
55085         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
55086         symbols stack frame offsets.
55087         (__sigsetjmp): Likewise.
55088         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
55089         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
55090         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
55091         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
55093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
55094         (FRAME_BACKCHAIN): Remove.
55095         (FRAME_CR_SAVE): Likewise.
55096         (FRAME_LR_SAVE): Likewise.
55097         (FRAME_COMPILER_DW): Likewise.
55098         (FRAME_LINKER_DW): Likewise.
55099         (FRAME_TOC_SAVE): Likewise.
55100         (FRAME_PARM_SAVE): Likewise.
55101         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
55102         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
55103         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
55104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
55105         (CHECK_SP): Use symbolic stack frame offsets.
55106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
55107         zone" instead of caller's parameter save area for temp storage.
55108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
55109         Likewise.  Also, use symbolic stack frame offsets.
55110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
55111         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
55112         our own stack frame instead of the caller's.
55113         (__socket): Use symbolic stack frame offsets.
55115 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
55116             Alan Modra  <amodra@gmail.com>
55118         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
55119         Define.
55120         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
55121         (PPC64_LOCAL_ENTRY_OFFSET): Define.
55122         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
55123         New function.
55124         (elf_machine_fixup_plt): Call it.
55125         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
55126         reloc arguments.
55127         (elf_machine_rela): Update call to elf_machine_plt_conflict.
55128         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
55129         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
55130         r2 before calling target.
55132 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
55133             Alan Modra  <amodra@gmail.com>
55135         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
55136         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
55137         versions of macros to support ELFv2 ABI.
55138         (LOCALENTRY): New macro.
55139         (ENTRY, EALIGN): Use it.
55140         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
55141         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
55142         fall through into ENTRY entry point.
55143         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
55144         Only define if _CALL_ELF != 2.
55146         (elf_machine_matches_host): Verify ABI version matches.
55147         (RTLD_START): Use LOCALENTRY.
55148         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
55149         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
55150         (PLT_ENTRY_WORDS): New macro.
55151         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
55152         (elf_machine_runtime_setup): Support ELFv2 ABI.
55153         (elf_machine_fixup_plt): Likewise.
55154         (elf_machine_plt_conflict): Likewise.
55155         (resolve_ifunc): Likewise.
55156         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
55157         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
55158         Likewise.
55159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
55160         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
55161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55162         (makecontext): Support ELFv2 ABI.
55163         * elf/elf.h (EF_PPC64_ABI): Define.
55165 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
55167         * sysdeps/powerpc/powerpc64/sysdep.h
55168         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
55169         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
55170         (ENTRY) [ASSEMBLER]: ... but instead here ...
55171         (EALIGN) [ASSEMBLER]: ... and here.
55172         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
55173         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
55174         (ENTRY_2) [!ASSEMBLER]: Use it.
55175         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
55176         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
55177         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
55178         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
55179         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
55180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
55181         Use PPC64_LOAD_FUNCPTR.
55183         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
55185 2013-12-04  Alan Modra  <amodra@gmail.com>
55187         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
55188         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
55189         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
55190         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
55192         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
55193         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
55194         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
55195         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
55196         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
55197         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
55199 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
55201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55202         (__makecontext): Fix incorrect CFI when backtracing out of
55203         context created via makecontext.
55204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
55205         (__setcontext): Fix incorrect CFI during switch to new context.
55206         (__novec_setcontext): Likewise.
55208 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
55210         [BZ #4772]
55211         * time/strptime_l.c (__strptime_internal): Allow modifiers
55212         in strptime.
55213         * time/tst-strptime.c (day_tests): Add testcase.
55215 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55217         * scripts/bench.pl: Skip over blank lines.
55219 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
55221         [BZ #926]
55222         * manual/time.texi (Calendar Time): Clarify what timezone functions
55223         use.
55225 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55227         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55229 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
55231         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
55232         implementation.
55233         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
55234         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
55235         * debug/memset_chk.c (__memset_chk): Likewise.
55236         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
55237         * debug/strncpy_chk.c: Likewise.
55239 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
55241         [BZ #15268]
55242         [BZ #15425]
55243         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
55244         (__ieee754_exp): For possibly underflowing results, check size of
55245         result and force underflow exception if required.
55246         * math/auto-libm-test-in: Add more tests of exp.
55247         * math/auto-libm-test-out: Regenerated.
55248         * sysdeps/i386/fpu/libm-test-ulps: Update.
55249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55251         [BZ #16283]
55252         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
55253         * math/w_exp2f.c (__exp2f): Likewise.
55254         * math/w_exp2l.c (__exp2l): Likewise.
55255         * math/auto-libm-test-in: Do not allow missing errno on exp2
55256         underflow.
55257         * math/auto-libm-test-out: Regenerated.
55259 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
55261         [BZ #16274]
55262         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
55263         handle filename validation.
55264         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
55265         (do_open): Delete.
55267 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
55269         [BZ #6786]
55270         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
55271         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
55272         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
55273         <float.h>.
55274         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
55275         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
55276         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
55277         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
55278         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
55279         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
55280         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
55281         * math/auto-libm-test-in: Don't allow missing errno from erfc.
55282         Add more erfc tests.
55283         * math/auto-libm-test-out: Regenerated.
55284         * sysdeps/i386/fpu/libm-test-ulps: Update.
55285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55287         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
55288         exp2, expm1, j0 and j1.
55289         * math/auto-libm-test-out: Regenerated.
55290         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
55291         (erfc_test_data): Likewise.
55292         (exp_test_data): Likewise.
55293         (exp_tonearest_test_data): Likewise.
55294         (exp_towardzero_test_data): Likewise.
55295         (exp_downward_test_data): Likewise.
55296         (exp_upward_test_data): Likewise.
55297         (exp10_test_data): Likewise.
55298         (exp2_test_data): Likewise.
55299         (expm1_test_data): Likewise.
55300         (j0_test_data): Likewise.
55301         (j1_test_data): Likewise.
55302         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
55303         (input_flag_type): Add flag_xfail_rounding.
55304         (input_flags): Add xfail-rounding.
55305         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
55306         (output_for_one_input_case): Handle flag_xfail_rounding.
55307         * sysdeps/i386/fpu/libm-test-ulps: Update.
55308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55310 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
55312         [BZ #16289]
55313         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
55314         division by 0.
55316 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
55318         [BZ #16195]
55319         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
55320         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
55321         (STAP_PROBE0): New macro.
55322         (STAP_PROBE1): Likewise.
55323         (STAP_PROBE2): Likewise.
55324         (STAP_PROBE3): Likewise.
55325         (STAP_PROBE4): Likewise.
55327 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
55329         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
55331 2013-12-02  Steve Ellcey  <sellcey@mips.com>
55333         * benchtests/Makefile (bench): Add sqrt.
55334         (LDLIBS-bench-sqrt): New.
55335         * benchtests/sqrt-input: New.
55337 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
55339         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
55340         (GAIH_EAI): Likewise.
55341         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
55342         (gaih_inet): Likewise.
55343         (getaddrinfo): Don't use GAIH_EAI.
55345         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
55346         (struct gaih): Remove definition.
55348 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
55350         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
55351         Use HERRNOP directly.
55353 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55355         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55357 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
55359         * math/gen-auto-libm-tests.c (test_functions): Add more
55360         single-argument functions.
55361         (special_fill_pi_2): New function.
55362         (special_fill_minus_pi_2): Likewise.
55363         (special_fill_pi_6): Likewise.
55364         (special_fill_minus_pi_6): Likewise.
55365         (special_fill_pi_3): Likewise.
55366         (special_fill_2pi_3): Likewise.
55367         (special_fill_e): Likewise.
55368         (special_fill_1_e): Likewise.
55369         (special_fill_e_minus_1): Likewise.
55370         (special_real_inputs): Add more special inputs.
55371         (output_for_one_input_case): Do not require ERANGE on underflow to
55372         zero if round-to-nearest result does not underflow to zero, unless
55373         exact results required.
55374         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
55375         atan, atanh, cbrt, cos and cosh.
55376         * math/auto-libm-test-out: Regenerated.
55377         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
55378         (acos_tonearest_test_data): Likewise.
55379         (acos_towardzero_test_data): Likewise.
55380         (acos_downward_test_data): Likewise.
55381         (acos_upward_test_data): Likewise.
55382         (acosh_test_data): Likewise.
55383         (asin_test_data): Likewise.
55384         (asin_tonearest_test_data): Likewise.
55385         (asin_towardzero_test_data): Likewise.
55386         (asin_upward_test_data): Likewise.
55387         (asinh_test_data): Likewise.
55388         (atan_test_data): Likewise.
55389         (atanh_test_data): Likewise.
55390         (cbrt_test_data): Likewise.
55391         (cos_test_data): Likewise.
55392         (cos_tonearest_test_data): Likewise.
55393         (cos_towardzero_test_data): Likewise.
55394         (cos_downward_test_data): Likewise.
55395         (cos_upward_test_data): Likewise.
55396         (cosh_test_data): Likewise.
55397         (cosh_tonearest_test_data): Likewise.
55398         (cosh_towardzero_test_data): Likewise.
55399         (cosh_downward_test_data): Likewise.
55400         (cosh_upward_test_data): Likewise.
55401         * sysdeps/i386/fpu/libm-test-ulps: Update.
55402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55404 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
55406         [BZ #6787]
55407         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
55408         * math/w_exp10f.c (__exp10f): Likewise.
55409         * math/w_exp10l.c (__exp10l): Likewise.
55410         * math/libm-test.inc (exp10_test_data): Add more tests and expect
55411         errno settings in existing tests.
55413         [BZ #14032]
55414         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
55415         precision control set to double precision.
55416         * sysdeps/i386/fpu/w_sqrt.c: New file.
55417         * math/auto-libm-test-in: Add more tests.
55418         * math/auto-libm-test-out: Update.
55420         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
55421         (sqrt_test_tonearest): New function.
55422         (sqrt_towardzero_test_data): New variable.
55423         (sqrt_test_towardzero): New function.
55424         (sqrt_downward_test_data): New variable.
55425         (sqrt_test_downward): New function.
55426         (sqrt_upward_test_data): New variable.
55427         (sqrt_test_upward): New function.
55428         (main): Call the new functions.
55430         * math/gen-auto-libm-tests.c: New file.
55431         * math/auto-libm-test-in: Likewise.
55432         * math/auto-libm-test-out: New generated file.
55433         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
55434         variables.
55435         (%beautify): Add generated representations of zero.
55436         (top level): Set $auto_input and call parse_auto_input.
55437         (beautify): Remove trailing "f" from hex float constants.
55438         (parse_args): Handle XFAIL_TEST.
55439         (convert_condition): New function.
55440         (or_value): Likewise.
55441         (or_cond_value): Likewise.
55442         (generate_testfile): Handle AUTO_TESTS_* lines.
55443         (parse_auto_input): New function.
55444         * math/libm-test.inc (XFAIL_TEST): New macro.
55445         (ERRNO_UNCHANGED): Update value.
55446         (ERRNO_EDOM): Likewise.
55447         (ERRNO_ERANGE): Likewise.
55448         (IGNORE_RESULT): Likewise.
55449         (TEST_COND_flt_32): New macro.
55450         (TEST_COND_dbl_64): Likewise.
55451         (TEST_COND_ldbl_96_intel): Likewise.
55452         (TEST_COND_ldbl_96_m68k): Likewise.
55453         (TEST_COND_ldbl_128): Likewise.
55454         (TEST_COND_ldbl_128ibm): Likewise.
55455         (TEST_COND_long32): Likewise.
55456         (TEST_COND_long64): Likewise.
55457         (TEST_COND_before_rounding): Likewise.
55458         (TEST_COND_after_rounding): Likewise.
55459         (enable_test): Handle XFAIL_TEST flag.
55460         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
55461         with finite results.
55462         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
55463         auto-libm-test-out.
55465 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
55466             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55468         [BZ #16214]
55469         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
55470         __tls_get_addr_internal instead of __tls_get_offset in order to
55471         avoid GOT pointer dependency.  Make rtld export
55472         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
55473         __tls_get_addr since we are a __tls_get_offset platform.
55474         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
55475         GOT pointer being set up before.
55476         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
55478 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
55480         * manual/math.texi (Errors in Math Functions): Document accuracy
55481         goals.
55483         [BZ #15004]
55484         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
55485         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
55486         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55487         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55488         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55489         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55490         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55491         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
55492         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
55493         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55494         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55495         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55496         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55497         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55498         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55499         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
55501         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
55502         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
55503         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
55504         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
55505         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
55506         Likewise.
55507         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
55508         Likewise.
55509         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
55510         Likewise.
55511         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
55512         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
55513         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
55514         atomic-feupdateenv and flt-rounds.
55515         * sysdeps/powerpc/nofpu/Versions (libc): Add
55516         __atomic_feholdexcept, __atomic_feclearexcept,
55517         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
55518         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
55519         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
55520         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
55521         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
55522         here.
55523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
55524         Update.
55526         * manual/arith.texi (FP Exceptions): Document that exceptions may
55527         not be raised when matherr is used.
55528         (Math Error Reporting): Document overflow in directed rounding
55529         modes.  Document that errno may not be set when finite values are
55530         returned on overflow.  Document intent to set errno on underflow
55531         only for underflow to zero.
55533         [BZ #16271]
55534         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
55535         round-to-nearest then adjust result for other rounding modes.
55536         * include/fenv.h (fegetround): Use libm_hidden_proto.
55537         * math/fegetround.c (fegetround): Use libm_hidden_def.
55538         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
55539         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
55540         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
55541         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
55542         Likewise.
55543         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
55544         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
55545         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
55546         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
55548 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55550         [BZ #16077]
55551         * nss/Versions (libnss_files): Add
55552         _nss_files_gethostbyname3_r.
55553         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
55554         New function.
55555         (HOST_DB_LOOKUP): Remove macro.
55556         (_nss_files_gethostbyname_r): Implement function without the
55557         HOST_DB_LOOKUP macro.
55558         (_nss_files_gethostbyname2_r): Likewise.
55560 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
55562         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
55564 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
55566         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
55567         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
55568         warning.
55570 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55572         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
55573         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
55574         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
55575         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
55576         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
55577         __fe_nomask_env_priv and attribute_hidden.
55578         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
55579         (libc_feupdateenv_test_ppc): Likewise.
55580         (libc_feresetround_ppc): Likewise.
55581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
55582         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
55583         compat_symbol macro.
55584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
55585         (__fe_nomask_env): Likewise.
55586         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
55588 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
55590         * string/Makefile: Remove ifunc tests.
55591         * string/test-string.h: Define TEST_IFUNC.
55592         * string/test-bcopy-ifunc.c: Remove.
55593         * string/test-bzero-ifunc.c: Likewise.
55594         * string/test-memccpy-ifunc.c: Likewise.
55595         * string/test-memchr-ifunc.c: Likewise.
55596         * string/test-memcmp-ifunc.c: Likewise.
55597         * string/test-memcpy-ifunc.c: Likewise.
55598         * string/test-memmem-ifunc.c: Likewise.
55599         * string/test-memmove-ifunc.c: Likewise.
55600         * string/test-mempcpy-ifunc.c: Likewise.
55601         * string/test-memrchr-ifunc.c: Likewise.
55602         * string/test-memset-ifunc.c: Likewise.
55603         * string/test-rawmemchr-ifunc.c: Likewise.
55604         * string/test-stpcpy-ifunc.c: Likewise.
55605         * string/test-stpncpy-ifunc.c: Likewise.
55606         * string/test-strcasecmp-ifunc.c: Likewise.
55607         * string/test-strcasestr-ifunc.c: Likewise.
55608         * string/test-strcat-ifunc.c: Likewise.
55609         * string/test-strchr-ifunc.c: Likewise.
55610         * string/test-strchrnul-ifunc.c: Likewise.
55611         * string/test-strcmp-ifunc.c: Likewise.
55612         * string/test-strcpy-ifunc.c: Likewise.
55613         * string/test-strcspn-ifunc.c: Likewise.
55614         * string/test-strlen-ifunc.c: Likewise.
55615         * string/test-strncasecmp-ifunc.c: Likewise.
55616         * string/test-strncat-ifunc.c: Likewise.
55617         * string/test-strncmp-ifunc.c: Likewise.
55618         * string/test-strncpy-ifunc.c: Likewise.
55619         * string/test-strnlen-ifunc.c: Likewise.
55620         * string/test-strpbrk-ifunc.c: Likewise.
55621         * string/test-strrchr-ifunc.c: Likewise.
55622         * string/test-strspn-ifunc.c: Likewise.
55623         * string/test-strstr-ifunc.c: Likewise.
55625 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
55627         * benchtests/Makefile: Remove ifunc tests.
55628         * benchtests/bench-string.h: Define TEST_IFUNC.
55629         * benchtests/bench-bcopy-ifunc.c: Remove.
55630         * benchtests/bench-bzero-ifunc.c: Likewise.
55631         * benchtests/bench-memccpy-ifunc.c: Likewise.
55632         * benchtests/bench-memchr-ifunc.c: Likewise.
55633         * benchtests/bench-memcmp-ifunc.c: Likewise.
55634         * benchtests/bench-memcpy-ifunc.c: Likewise.
55635         * benchtests/bench-memmem-ifunc.c: Likewise.
55636         * benchtests/bench-memmove-ifunc.c: Likewise.
55637         * benchtests/bench-mempcpy-ifunc.c: Likewise.
55638         * benchtests/bench-memrchr-ifunc.c: Likewise.
55639         * benchtests/bench-memset-ifunc.c: Likewise.
55640         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
55641         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
55642         * benchtests/bench-stpcpy-ifunc.c: Likewise.
55643         * benchtests/bench-stpncpy-ifunc.c: Likewise.
55644         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
55645         * benchtests/bench-strcasestr-ifunc.c: Likewise.
55646         * benchtests/bench-strcat-ifunc.c: Likewise.
55647         * benchtests/bench-strchr-ifunc.c: Likewise.
55648         * benchtests/bench-strchrnul-ifunc.c: Likewise.
55649         * benchtests/bench-strcmp-ifunc.c: Likewise.
55650         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
55651         * benchtests/bench-strcpy-ifunc.c: Likewise.
55652         * benchtests/bench-strcspn-ifunc.c: Likewise.
55653         * benchtests/bench-strlen-ifunc.c: Likewise.
55654         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
55655         * benchtests/bench-strncat-ifunc.c: Likewise.
55656         * benchtests/bench-strncmp-ifunc.c: Likewise.
55657         * benchtests/bench-strncpy-ifunc.c: Likewise.
55658         * benchtests/bench-strnlen-ifunc.c: Likewise.
55659         * benchtests/bench-strpbrk-ifunc.c: Likewise.
55660         * benchtests/bench-strrchr-ifunc.c: Likewise.
55661         * benchtests/bench-strsep-ifunc.c: Likewise.
55662         * benchtests/bench-strspn-ifunc.c: Likewise.
55663         * benchtests/bench-strstr-ifunc.c: Likewise.
55665 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
55667         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
55669 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
55671         * resolv/netdb.h: Use __glibc_reserved instead __unused.
55672         * rt/aio.h: Likewise.
55673         * sysdeps/gnu/bits/utmp.h: Likewise.
55674         * sysdeps/gnu/bits/utmpx.h: Likewise.
55675         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
55676         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
55677         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
55678         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
55679         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
55680         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
55681         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
55682         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
55683         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
55684         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
55685         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
55686         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
55687         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
55688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
55689         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
55690         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
55691         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
55692         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
55693         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
55694         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
55695         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
55696         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
55697         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
55698         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
55699         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
55700         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55701         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
55702         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
55703         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
55704         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
55705         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
55706         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
55707         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
55708         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
55709         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
55710         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
55711         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
55712         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
55713         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
55714         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
55715         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
55716         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
55718 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
55720         [BZ #16245]
55721         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
55722         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
55724 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
55726         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
55727         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
55728         Likewise.
55730 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55732         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
55733         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
55734         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
55735         (__fesetround): Remove define.
55736         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
55737         rounding and exceptions handling.
55738         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
55739         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
55740         (__fe_nomask_env): Likewise.
55741         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
55742         __fegetround instead of fegetround.
55743         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
55744         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
55746 2013-11-21  Roland McGrath  <roland@hack.frob.com>
55748         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
55749         it's there.
55751         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
55753 2013-11-21  Meador Inge  <meadori@codesourcery.com>
55755         [BZ #11157]
55756         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
55757         (encrypt_r): Likewise.
55758         * malloc/obstack.h (obstack_free): Likewise.
55759         * posix/unistd.h (encrypt): Likewise.
55761 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
55763         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
55764         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
55765         DL_CALL_DT_FINI() that call the functions directly.
55766         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
55767         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
55768         * elf/dl-fini.c: Likewise.
55770 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
55772         * malloc/hooks.c (memalign_check): Add alignment rounding.
55773         * malloc/malloc.c (_mid_memalign): New function.
55774         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
55775         Implement by calling _mid_memalign.
55776         * manual/probes.texi (Memory Allocation Probes): Remove
55777         memory_valloc_retry and memory_pvalloc_retry.
55779 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55781         * locale/programs/locarchive.c (open_archive): Add const
55782         qualifier to ARCHIVEFNAME and copy default fname to
55783         DEFAULT_FNAME.
55785         [BZ #15601]
55786         * libio/tst-widetext.input: Rename Oriya to Odia.
55787         * locale/iso-639.def: Likewise.
55789         * manual/probes.texi (Mathematical Function Probes): Add
55790         documentation for sin, cos, asin and acos probes.
55791         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
55792         (__sin32): Add slowasin probe.
55793         (__cos32): Add slowacos probe.
55794         (__mpsin): Add slowsin probe.
55795         (__mpcos): Add slowcos probe.
55797 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
55799         [BZ #15483]
55800         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
55801         thread-local __sim_exceptions_thread and global
55802         __sim_exceptions_global.
55803         (__sim_disabled_exceptions): Change to thread-local
55804         __sim_disabled_exceptions_thread and global
55805         __sim_disabled_exceptions_global.
55806         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
55807         and global __sim_round_mode_global.
55808         (__simulate_exceptions): Use thread-local floating-point state and
55809         set global state from it as needed.
55810         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
55811         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
55812         __sim_round_mode_thread.
55813         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
55814         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
55815         and global __sim_exceptions_global.
55816         (__sim_disabled_exceptions): Change to thread-local
55817         __sim_disabled_exceptions_thread and global
55818         __sim_disabled_exceptions_global.
55819         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
55820         and global __sim_round_mode_global.
55821         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
55822         (SIM_SET_GLOBAL): Likewise.
55823         * sysdeps/powerpc/soft-fp/sfp-machine.h
55824         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
55825         __sim_round_mode_thread.
55826         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
55827         __sim_disabled_exceptions_thread.
55828         (__sim_exceptions): Change to __sim_exceptions_thread.
55829         (__sim_disabled_exceptions): Change to
55830         __sim_disabled_exceptions_thread.
55831         (__sim_round_mode): Change to __sim_round_mode_thread.
55832         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
55833         thread-local floating-point state and set global state from it as
55834         needed.
55835         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
55836         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
55837         (__sim_disabled_exceptions): Remove extern declaration.
55838         (feenableexcept): Use thread-local floating-point state and set
55839         global state from it as needed.
55840         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
55841         extern declaration.
55842         (__sim_disabled_exceptions): Likewise.
55843         (__sim_round_mode): Likewise.
55844         (__fegetenv): Use thread-local floating-point state.
55845         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
55846         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
55847         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
55848         floating-point state and set global state from it as needed.
55849         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
55850         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
55851         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
55852         Likewise.
55853         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
55854         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
55855         Likewise.
55856         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
55857         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
55858         Use __sim_round_mode_thread.
55859         * math/test-fenv-tls.c: New file.
55860         * math/Makefile (tests): Add test-fenv-tls.
55861         ($(objpfx)test-fenv-tls): Depend on
55862         $(common-objpfx)nptl/libpthread.so.
55864 2013-11-19  Andreas Schwab  <schwab@suse.de>
55866         * locale/programs/locale.c (show_info): Decode wordarray elements.
55867         * locale/categories.def (LC_MONETARY): Add element for
55868         _NL_MONETARY_CRNCYSTR.
55869         * locale/C-monetary.c (conversion_rate): New variable.
55870         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
55871         element.
55873 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
55875         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
55876         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
55878 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
55880         * elf/Makefile (tst-auxv): New test.
55881         * elf/tst-auxv.c: New
55882         * elf/rtld.c (dl_main): Adjust AT_EXECFN
55884 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
55886         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
55887         (hidden_proto): Caller changed.
55888         (hidden_tls_proto): New macro.
55889         (libc_hidden_tls_proto): Likewise.
55890         (rtld_hidden_tls_proto): Likewise.
55891         (libm_hidden_tls_proto): Likewise.
55892         (libresolv_hidden_tls_proto): Likewise.
55893         (librt_hidden_tls_proto): Likewise.
55894         (libdl_hidden_tls_proto): Likewise.
55895         (libnss_files_hidden_tls_proto): Likewise.
55896         (libnsl_hidden_tls_proto): Likewise.
55897         (libnss_nisplus_hidden_tls_proto): Likewise.
55898         (libutil_hidden_tls_proto): Likewise.
55900 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
55902         [BZ #10253]
55903         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
55904         (decompose_rpath): Defer expansion to fillin_rpath.
55905         (_dl_init_paths): Pass linkmap to fillin_rpath.
55907 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
55909         * benchtests/Makefile: Add strsep.
55910         * benchtests/bench-strsep.c: New file: strsep benchtest.
55911         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
55913 2013-11-18  Andreas Schwab  <schwab@suse.de>
55915         * locale/programs/locale.c (show_info) [case byte]: Check for
55916         '\377' instead of '\177'.
55917         * locale/C-monetary.c (not_available): Always use "\377".
55918         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
55919         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
55920         detect unavailable sign_posn locale elements.
55921         * locale/localeconv.c (__localeconv): For grouping and
55922         mon_grouping handle "\177" and "\377" like no grouping.
55923         (INT_ELEM): New macro.  Use it to set all numeric members.
55924         * locale/programs/ld-monetary.c (monetary_read)
55925         <tok_mon_grouping>: Normalize single -1 to the empty string.
55926         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
55927         Likewise.
55929 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
55931         [BZ #16055]
55932         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
55933         when we match (nil).
55934         * stdio-common/tst-sscanf.c (struct test): Add testcase.
55936 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
55938         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
55939         (NO_TEST_INLINE): Update value.
55940         (ERRNO_UNCHANGED): Likewise.
55941         (ERRNO_EDOM): Likewise.
55942         (ERRNO_ERANGE): Likewise.
55943         (IGNORE_RESULT): Likewise.
55944         (check_float_internal): Check signs of NaN results if
55945         TEST_NAN_SIGN used.
55946         (check_complex): Pass TEST_NAN_SIGN flag through to second
55947         check_float_internal call.
55948         (copysign_test_data): Add tests with quiet NaNs as second
55949         argument.  Use TEST_NAN_SIGN.
55950         (fabs_test_data): Add test of negative quiet NaN argument.  Use
55951         TEST_NAN_SIGN.
55952         (signbit_test_data): Add tests of quiet NaN argument.
55953         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
55955         * math/gen-libm-test.pl (show_exceptions): Take extra argument
55956         $ignore_result.
55957         (parse_args): Handle function results specified as IGNORE.
55958         * math/libm-test.inc (IGNORE_RESULT): New macro.
55959         (check_float_internal): Do not check numerical result if flag
55960         IGNORE_RESULT set.
55961         (check_complex): Pass through IGNORE_RESULT to second
55962         check_float_internal call.
55963         (check_int): Do not check numerical result if flag IGNORE_RESULT
55964         set.
55965         (check_long): Likewise.
55966         (check_bool): Likewise.
55967         (check_longlong): Likewise.
55968         (lrint_test_data): Add tests of infinite and NaN arguments.
55969         (lrint_tonearest_test_data): Likewise.
55970         (lrint_towardzero_test_data): Likewise.
55971         (lrint_downward_test_data): Likewise.
55972         (lrint_upward_test_data): Likewise.
55973         (llrint_test_data): Likewise.
55974         (llrint_tonearest_test_data): Likewise.
55975         (llrint_towardzero_test_data): Likewise.
55976         (llrint_downward_test_data): Likewise.
55977         (llrint_upward_test_data): Likewise.
55978         (lround_test_data): Likewise.
55979         (llround_test_data): Likewise.
55981         * math/libm-test.inc (NO_TEST_INLINE): New macro.
55982         (ERRNO_UNCHANGED): Update value.
55983         (ERRNO_EDOM): Likewise.
55984         (ERRNO_ERANGE): Likewise.
55985         (NO_TEST_INLINE_FLOAT): New macro.
55986         (NO_TEST_INLINE_DOUBLE): Likewise.
55987         (enable_test): New function.
55988         (RUN_TEST_f_f): Check enable_test before running test.
55989         (RUN_TEST_2_f): Likewise.
55990         (RUN_TEST_fff_f): Likewise.
55991         (RUN_TEST_c_f): Likewise.
55992         (RUN_TEST_f_f1): Likewise.
55993         (RUN_TEST_fF_f1): Likewise.
55994         (RUN_TEST_fI_f1): Likewise.
55995         (RUN_TEST_ffI_f1): Likewise.
55996         (RUN_TEST_c_c): Likewise.
55997         (RUN_TEST_cc_c): Likewise.
55998         (RUN_TEST_f_i): Likewise.
55999         (RUN_TEST_f_i_tg): Likewise.
56000         (RUN_TEST_ff_i_tg): Likewise.
56001         (RUN_TEST_f_b): Likewise.
56002         (RUN_TEST_f_b_tg): Likewise.
56003         (RUN_TEST_f_l): Likewise.
56004         (RUN_TEST_f_L): Likewise.
56005         (RUN_TEST_fFF_11): Likewise.
56006         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
56007         conditionals.
56008         (cosh_test_data): Likewise.
56009         (exp_test_data): Likewise.
56010         (expm1_test_data): Likewise.
56011         (hypot_test_data): Likewise.
56012         (pow_test_data): Likewise.
56013         (sinh_test_data): Likewise.
56014         (tanh_test_data): Likewise.
56015         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
56016         flags argument.
56018         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
56019         tests with quiet NaN input and output.
56020         (acosh_test_data): Likewise.
56021         (asin_test_data): Likewise.
56022         (asinh_test_data): Likewise.
56023         (atan_test_data): Likewise.
56024         (atanh_test_data): Likewise.
56025         (atan2_test_data): Likewise.
56026         (cbrt_test_data): Likewise.
56027         (cos_test_data): Likewise.
56028         (cosh_test_data): Likewise.
56029         (erf_test_data): Likewise.
56030         (erfc_test_data): Likewise.
56031         (exp_test_data): Likewise.
56032         (exp10_test_data): Likewise.
56033         (exp2_test_data): Likewise.
56034         (expm1_test_data): Likewise.
56035         (hypot_test_data): Likewise.
56036         (j0_test_data): Likewise.
56037         (j1_test_data): Likewise.
56038         (jn_test_data): Likewise.
56039         (lgamma_test_data): Likewise.
56040         (log_test_data): Likewise.
56041         (log10_test_data): Likewise.
56042         (log1p_test_data): Likewise.
56043         (log2_test_data): Likewise.
56044         (pow_test_data): Likewise.
56045         (scalb_test_data): Likewise.
56046         (sin_test_data): Likewise.
56047         (sincos_test_data): Likewise.
56048         (sinh_test_data): Likewise.
56049         (tan_test_data): Likewise.
56050         (tanh_test_data): Likewise.
56051         (tgamma_test_data): Likewise.
56052         (y0_test_data): Likewise.
56053         (y1_test_data): Likewise.
56054         (yn_test_data): Likewise.
56056         [BZ #16167]
56057         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
56058         argument being NaN and avoid computations with second argument in
56059         that case.
56060         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
56061         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
56062         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
56064 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
56066         * locale/iso-639.def: Add Chitwani Tharu (the).
56068 2013-11-14  Andreas Schwab  <schwab@suse.de>
56070         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
56071         word instead of empty string.
56073 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
56076         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
56077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
56078         (__fe_nomask_env): Likewise.
56080 2013-11-13  Steve Ellcey  <sellcey@mips.com>
56082         * benchtests/bench-timing.h: Include time.h.
56084 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
56086         [BZ #15997]
56087         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
56088         to 3.4.0 for x32.
56089         * sysdeps/unix/sysv/linux/configure: Regenerated.
56091 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
56093         [BZ #16151]
56094         * stdlib/strtod_l.c (round_and_return): Do not consider
56095         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
56096         exponent one less than half the least subnormal exponent.
56097         * stdlib/test-strtod-round-data: Add more tests.
56098         * stdlib/tst-strtod-round.c (tests): Regenerated.
56100 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56102         [BZ #14143]
56103         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
56104         (__fe_mask_env): Likewise.
56105         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
56106         libm_hidden_proto and add function prototype.
56107         (__fe_mask_env): Add function prototype.
56108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
56109         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
56110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
56111         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
56112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
56113         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
56115 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56117         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
56118         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
56120 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56122         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
56123         of htab_find_slot().
56125 2013-11-11  David S. Miller  <davem@davemloft.net>
56127         [BZ #16150]
56128         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
56129         symbol in the non-vis3 case in static builds.
56130         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
56131         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
56132         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
56133         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
56135 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
56137         [BZ #387]
56138         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
56139         it is empty.
56141 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56143         * benchtests/Makefile: Add bench-strtod.
56144         * benchtests/bench-strtod.c: New file: strtod benchtest
56146 2013-11-11  Andreas Schwab  <schwab@suse.de>
56148         [BZ #16153]
56149         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
56150         terminating NUL in key length.
56152 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56154         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
56155         Add artificial ODP entry for vDSO symbol for PPC64.
56156         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
56157         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
56159 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
56161         [BZ #15374]
56162         * nss/getent.c (services_keys): Recognize services starting with digit.
56164 2013-11-06  David S. Miller  <davem@davemloft.net>
56166         [BZ #15985]
56167         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
56168         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
56170 2013-11-06  Will Newton  <will.newton@linaro.org>
56172         * manual/memory.texi (Malloc Examples): Remove register
56173         keyword from examples.
56175 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
56177         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
56179 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
56181         [BZ #6981]
56182         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
56183         depending on [__GCC_IEC_559 > 0].
56184         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
56185         depending on [__GCC_IEC_559_COMPLEX > 0].
56187 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
56189         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
56190         to iso-639.def.
56192 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
56194         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
56196 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
56198         [BZ #16112]
56199         * malloc/malloc (malloc_info): Do not handle first bin as
56200         special case.
56202 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
56204         * locale/iso-639.def: Add Central Nahuatl (nhn).
56206 2013-11-01  Bruno Haible  <bruno@clisp.org>
56208         [BZ #7003]
56209         * manual/math.texi (BSD Random): Specify range upper bound as
56210         in POSIX.
56212 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
56214         * locale/iso-639.def: Add Meadow Mari (mhr).
56216 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
56218         [BZ #14752], [BZ #15763]
56219         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
56220         Validate name.
56221         * rt/tst_shm.c: Add test for escaping directory.
56223 2013-10-31  Andreas Schwab  <schwab@suse.de>
56225         [BZ #15917]
56226         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
56227         followed by 'x' as part of digit sequence.
56228         * stdio-common/tst-sscanf.c (double_tests2): New tests.
56230 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
56232         [BZ #16037]
56233         * configure.ac: allow GNU Make 4.0 and greater.
56234         * configure: Regenerated.
56236 2013-10-30  Will Newton  <will.newton@linaro.org>
56238         [BZ #16038]
56239         * malloc/hooks.c (memalign_check): Limit alignment to the
56240         maximum representable power of two.
56241         * malloc/malloc.c (__libc_memalign): Likewise.
56242         * malloc/tst-memalign.c (do_test): Add test for very
56243         large alignment values.
56244         * malloc/tst-posix_memalign.c (do_test): Likewise.
56246 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
56248         [BZ #11087]
56249         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
56250         (munmap_chunk): Likewise.
56251         (mremap_chunk): Likewise.
56253 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
56255         [BZ #15799]
56256         * stdlib/div.c (div): Remove obsolete code.
56257         * stdlib/ldiv.c (ldiv): Likewise.
56258         * stdlib/lldiv.c (lldiv): Likewise.
56260 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
56262         [BZ #16071]
56263         * nss/nss_files/files-XXX.c (get_contents_ret): New
56264         enumerator.
56265         (get_contents): New function.
56266         (internal_getent): Use it.  Expand size of LINEBUFLEN.
56268 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
56270         * configure.in: Moved to ...
56271         * configure.ac: ... here. Change reference to configure.in
56272         to configure.ac.
56273         * sysdeps/arm/preconfigure.ac: ... here.
56274         configure.in to configure.ac.
56275         * sysdeps/gnu/configure.in: Moved to ...
56276         * sysdeps/gnu/configure.ac: ... here.
56277         * sysdeps/i386/configure.in: Moved to ...
56278         * sysdeps/i386/configure.ac: ... here.
56279         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
56280         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
56281         * sysdeps/mach/configure.in: Moved to ...
56282         * sysdeps/mach/configure.ac: ... here.
56283         * sysdeps/mach/hurd/configure.in: Moved to ...
56284         * sysdeps/mach/hurd/configure.ac: ... here.
56285         * sysdeps/powerpc/configure.in: Moved to ...
56286         * sysdeps/powerpc/configure.ac: ... here.
56287         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
56288         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
56289         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
56290         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
56291         * sysdeps/s390/s390-32/configure.in: Moved to ...
56292         * sysdeps/s390/s390-32/configure.ac: ... here.
56293         * sysdeps/s390/s390-64/configure.in: Moved to ...
56294         * sysdeps/s390/s390-64/configure.ac: ... here.
56295         * sysdeps/sh/configure.in: Moved to ...
56296         * sysdeps/sh/configure.ac: ... here.
56297         * sysdeps/sparc/configure.in: Moved to ...
56298         * sysdeps/sparc/configure.ac: ... here.
56299         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
56300         * sysdeps/unix/sysv/linux/configure.ac: ... here.
56301         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
56302         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
56303         * sysdeps/x86_64/configure.in: Moved to ...
56304         * sysdeps/x86_64/configure.ac: ... here.
56305         * sysdeps/x86_64/preconfigure.in: Moved to ...
56306         * sysdeps/x86_64/preconfigure.ac: ... here.
56307         * aclocal.m4: Change reference to configure.in to configure.ac.
56308         * config.h.in: Likewise.
56309         * manual/install.texi: Likewise.
56310         * manual/maint.texi: Likewise.
56311         * Makefile: Likewise.
56312         * malloc/Makefile: Likewise.
56313         * nscd/Makefile: Likewise.
56314         * Makeconfig: Change reference to configure.in and
56315         preconfigure.in to configure.ac and preconfigure.ac
56316         respectively.
56317         * INSTALL: Regenerated.
56318         * configure: Likewise.
56319         * sysdeps/gnu/configure: Likewise.
56320         * sysdeps/i386/configure: Likewise.
56321         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
56322         * sysdeps/mach/configure: Likewise.
56323         * sysdeps/mach/hurd/configure: Likewise.
56324         * sysdeps/powerpc/configure: Likewise.
56325         * sysdeps/powerpc/powerpc32/configure: Likewise.
56326         * sysdeps/powerpc/powerpc64/configure: Likewise.
56327         * sysdeps/s390/s390-32/configure: Likewise.
56328         * sysdeps/s390/s390-64/configure: Likewise.
56329         * sysdeps/sh/configure: Likewise.
56330         * sysdeps/sparc/configure: Likewise.
56331         * sysdeps/unix/sysv/linux/configure: Likewise.
56332         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
56333         * sysdeps/x86_64/configure: Likewise.
56334         * sysdeps/x86_64/preconfigure: Likewise.
56336 2013-10-29  Andreas Schwab  <schwab@suse.de>
56338         * stdio-common/Makefile (tst-swscanf-ENV): Define.
56340 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56342         * benchtests/pow-inputs: Add new inputs.
56344         * benchtests/exp-inputs: Add new inputs.
56346         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
56347         conditional check for return value.
56348         (__cos32): Likewise.
56350 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56352         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
56353         to provide a boost for large inputs with word alignment.
56354         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
56355         implementation based on optimized PPC64 strcpy.
56356         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
56357         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
56358         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
56359         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
56361 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
56363         [BZ #2801]
56364         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
56366 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
56368         [BZ #14876]
56369         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
56370         * time/tst-strptime.c (day_tests): Add testcase.
56372 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
56374         [BZ #14029]
56375         * manual/pattern.texi: Acknowledge that fnmatch can fail.
56377 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
56379         [BZ #16074]
56380         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
56381         MAP_FAILED on error.
56383 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56385         [BZ #16072]
56386         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
56387         heap for large requests.
56389 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
56391         [BZ #9954]
56392         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
56393         result if the result has no associated interface.
56394         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
56395         interface for all 127.X.Y.Z addresses.
56397 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
56399         * locale/iso-639.def: Add Ligurian (lij)
56401 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
56403         [BZ #15825]
56404         * sunrpc/rpc_main.c: Document rpcgen -5.
56406 2013-10-19  Michael Stahl  <mstahl@redhat.com>
56408         * elf/rtld.c (do_preload): Print the reason why preloading failed.
56410 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
56412         [BZ #10278]
56413         * posix/glob.c: Match only directories when trailing slash is present.
56414         * posix/tst-gnuglob.c (my_opendir): Do not open files.
56415         (main): Add testcase.
56417 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
56419         [BZ #15670]
56420         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
56422 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
56424         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
56425         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
56426         AUTH_DES and cindex for FIPS 140-2.
56427         (DES Encryption): Add cindex FIPS 46-3.
56429         * locale/locarchive.h (struct locarhandle): Add fname.
56430         * locale/programs/localedef.c (main): Pass ARGV[remaining]
56431         if an optional argument was specified to --list-archive,
56432         otherwise NULL.
56433         * locale/programs/locarchive.c (show_archive_content): Take new
56434         argument fname and pass it via ah.fname to open_archive.
56435         * locale/programs/localedef.h: Update decl.
56436         (open_archive): If AH->fname is non-null, open that file
56437         rather than the default file name, and don't ignore ENOENT.
56438         (create_archive): Set AH.fname to NULL.
56439         (delete_locales_from_archive): Likewise.
56440         (add_locales_to_archive): Likewise.
56441         * locale/programs/locfile.c (write_all_categories): Likewise.
56443 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
56444             Aldy Hernandez  <aldyh@redhat.com>
56446         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
56447         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
56448         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
56449         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
56450         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
56451         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
56452         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
56453         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
56454         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
56455         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
56456         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
56457         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
56458         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
56459         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
56460         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
56461         Likewise.
56462         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
56463         Likewise.
56464         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
56465         Likewise.
56466         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
56467         Likewise.
56468         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
56469         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
56470         Likewise.
56471         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
56472         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
56473         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
56474         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
56475         Likewise.
56476         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
56477         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
56478         * sysdeps/powerpc/preconfigure: Likewise.
56479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
56480         Likewise.
56481         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
56482         Replace contents of file by #include of <fenv_libc.h>.
56483         * sysdeps/powerpc/soft-fp/sfp-machine.h
56484         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
56485         and <sys/prctl.h>.
56486         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
56487         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
56488         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
56489         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
56490         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
56491         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
56492         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
56493         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
56494         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
56495         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
56496         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
56497         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
56498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
56499         Allow copysignl PLT reference to be missing.
56501 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
56502             Joseph Myers  <joseph@codesourcery.com
56504         [BZ #15948]
56505         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
56506         single character.
56507         (add_to_tablewc): Assert sequence of wide characters is nonempty.
56509 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56511         * elf/tst-tls-dlinfo.c: Don't include tls.h.
56512         * elf/tst-tls1.c: Likewise.
56513         * elf/tst-tls10.h: Likewise.
56514         * elf/tst-tls14.c: Likewise.
56515         * elf/tst-tls2.c: Likewise.
56516         * elf/tst-tls3.c: Likewise.
56517         * elf/tst-tls4.c: Likewise.
56518         * elf/tst-tls5.c: Likewise.
56519         * elf/tst-tls6.c: Likewise.
56520         * elf/tst-tls7.c: Likewise.
56521         * elf/tst-tls8.c: Likewise.
56522         * elf/tst-tls9.c: Likewise.
56523         * elf/tst-tlsmod1.c: Likewise.
56524         * elf/tst-tlsmod13.c: Likewise.
56525         * elf/tst-tlsmod13a.c: Likewise.
56526         * elf/tst-tlsmod14a.c: Likewise.
56527         * elf/tst-tlsmod16a.c: Likewise.
56528         * elf/tst-tlsmod16b.c: Likewise.
56529         * elf/tst-tlsmod2.c: Likewise.
56530         * elf/tst-tlsmod3.c: Likewise.
56531         * elf/tst-tlsmod4.c: Likewise.
56532         * elf/tst-tlsmod5.c: Likewise.
56533         * elf/tst-tlsmod6.c: Likewise.
56535 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
56537         [BZ #12486]
56538         * malloc/malloc.c: remove checks for statistics.
56540 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
56542         [BZ #15277]
56543         * inet/inet_net.c (inet_network): Detect additional invalid strings.
56544         * inet/tst-network.c: Add testcase.
56546 2013-10-17  Andreas Schwab  <schwab@suse.de>
56548         [BZ #15218]
56549         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
56550         to determine canonical name.
56552 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
56554         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
56555         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
56556         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56557         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56558         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56559         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56560         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56561         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56562         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
56563         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56564         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
56565         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56566         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56567         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56568         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56569         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56570         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56571         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56572         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
56573         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56574         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56575         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56576         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56577         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
56578         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
56579         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56580         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56581         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
56582         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56583         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
56584         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56585         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56586         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
56587         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56588         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56589         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56590         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56591         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56592         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56593         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56594         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56595         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
56596         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
56597         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56598         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
56599         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56600         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56601         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
56602         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
56603         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56604         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
56605         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56606         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
56607         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
56608         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56609         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
56610         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56611         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56613 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
56615         [BZ #16041]
56616         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
56617         make result into a quiet NaN.
56619 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
56621         * soft-fp/adddf3.c: Fix horizontal whitespace.
56622         * soft-fp/addsf3.c: Likewise.
56623         * soft-fp/addtf3.c: Likewise.
56624         * soft-fp/divdf3.c: Likewise.
56625         * soft-fp/divsf3.c: Likewise.
56626         * soft-fp/divtf3.c: Likewise.
56627         * soft-fp/double.h: Likewise.
56628         * soft-fp/eqdf2.c: Likewise.
56629         * soft-fp/eqsf2.c: Likewise.
56630         * soft-fp/eqtf2.c: Likewise.
56631         * soft-fp/extenddftf2.c: Likewise.
56632         * soft-fp/extended.h: Likewise.
56633         * soft-fp/extendsfdf2.c: Likewise.
56634         * soft-fp/extendsftf2.c: Likewise.
56635         * soft-fp/extendxftf2.c: Likewise.
56636         * soft-fp/fixdfdi.c: Likewise.
56637         * soft-fp/fixdfsi.c: Likewise.
56638         * soft-fp/fixdfti.c: Likewise.
56639         * soft-fp/fixsfdi.c: Likewise.
56640         * soft-fp/fixsfsi.c: Likewise.
56641         * soft-fp/fixsfti.c: Likewise.
56642         * soft-fp/fixtfdi.c: Likewise.
56643         * soft-fp/fixtfsi.c: Likewise.
56644         * soft-fp/fixtfti.c: Likewise.
56645         * soft-fp/fixunsdfdi.c: Likewise.
56646         * soft-fp/fixunsdfsi.c: Likewise.
56647         * soft-fp/fixunsdfti.c: Likewise.
56648         * soft-fp/fixunssfdi.c: Likewise.
56649         * soft-fp/fixunssfsi.c: Likewise.
56650         * soft-fp/fixunssfti.c: Likewise.
56651         * soft-fp/fixunstfdi.c: Likewise.
56652         * soft-fp/fixunstfsi.c: Likewise.
56653         * soft-fp/fixunstfti.c: Likewise.
56654         * soft-fp/floatdidf.c: Likewise.
56655         * soft-fp/floatdisf.c: Likewise.
56656         * soft-fp/floatditf.c: Likewise.
56657         * soft-fp/floatsidf.c: Likewise.
56658         * soft-fp/floatsisf.c: Likewise.
56659         * soft-fp/floatsitf.c: Likewise.
56660         * soft-fp/floattidf.c: Likewise.
56661         * soft-fp/floattisf.c: Likewise.
56662         * soft-fp/floattitf.c: Likewise.
56663         * soft-fp/floatundidf.c: Likewise.
56664         * soft-fp/floatundisf.c: Likewise.
56665         * soft-fp/floatunditf.c: Likewise.
56666         * soft-fp/floatunsidf.c: Likewise.
56667         * soft-fp/floatunsisf.c: Likewise.
56668         * soft-fp/floatunsitf.c: Likewise.
56669         * soft-fp/floatuntidf.c: Likewise.
56670         * soft-fp/floatuntisf.c: Likewise.
56671         * soft-fp/floatuntitf.c: Likewise.
56672         * soft-fp/fmadf4.c: Likewise.
56673         * soft-fp/fmasf4.c: Likewise.
56674         * soft-fp/fmatf4.c: Likewise.
56675         * soft-fp/gedf2.c: Likewise.
56676         * soft-fp/gesf2.c: Likewise.
56677         * soft-fp/getf2.c: Likewise.
56678         * soft-fp/ledf2.c: Likewise.
56679         * soft-fp/lesf2.c: Likewise.
56680         * soft-fp/letf2.c: Likewise.
56681         * soft-fp/muldf3.c: Likewise.
56682         * soft-fp/mulsf3.c: Likewise.
56683         * soft-fp/multf3.c: Likewise.
56684         * soft-fp/negdf2.c: Likewise.
56685         * soft-fp/negsf2.c: Likewise.
56686         * soft-fp/negtf2.c: Likewise.
56687         * soft-fp/op-1.h: Likewise.
56688         * soft-fp/op-2.h: Likewise.
56689         * soft-fp/op-4.h: Likewise.
56690         * soft-fp/op-8.h: Likewise.
56691         * soft-fp/op-common.h: Likewise.
56692         * soft-fp/quad.h: Likewise.
56693         * soft-fp/single.h: Likewise.
56694         * soft-fp/soft-fp.h: Likewise.
56695         * soft-fp/sqrtdf2.c: Likewise.
56696         * soft-fp/sqrtsf2.c: Likewise.
56697         * soft-fp/sqrttf2.c: Likewise.
56698         * soft-fp/subdf3.c: Likewise.
56699         * soft-fp/subsf3.c: Likewise.
56700         * soft-fp/subtf3.c: Likewise.
56701         * soft-fp/truncdfsf2.c: Likewise.
56702         * soft-fp/trunctfdf2.c: Likewise.
56703         * soft-fp/trunctfsf2.c: Likewise.
56704         * soft-fp/trunctfxf2.c: Likewise.
56705         * soft-fp/unorddf2.c: Likewise.
56706         * soft-fp/unordsf2.c: Likewise.
56707         * soft-fp/unordtf2.c: Likewise.
56709 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
56711         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
56712         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
56714 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
56716         * elf/dl-libc.c: Clear initfini list after freeing.
56718 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
56720         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
56721         * soft-fp/addsf3.c: Likewise.
56722         * soft-fp/addtf3.c: Likewise.
56723         * soft-fp/divdf3.c: Likewise.
56724         * soft-fp/divsf3.c: Likewise.
56725         * soft-fp/divtf3.c: Likewise.
56726         * soft-fp/double.h: Likewise.
56727         * soft-fp/eqdf2.c: Likewise.
56728         * soft-fp/eqsf2.c: Likewise.
56729         * soft-fp/eqtf2.c: Likewise.
56730         * soft-fp/extenddftf2.c: Likewise.
56731         * soft-fp/extended.h: Likewise.
56732         * soft-fp/extendsfdf2.c: Likewise.
56733         * soft-fp/extendsftf2.c: Likewise.
56734         * soft-fp/extendxftf2.c: Likewise.
56735         * soft-fp/fixdfdi.c: Likewise.
56736         * soft-fp/fixdfsi.c: Likewise.
56737         * soft-fp/fixdfti.c: Likewise.
56738         * soft-fp/fixsfdi.c: Likewise.
56739         * soft-fp/fixsfsi.c: Likewise.
56740         * soft-fp/fixsfti.c: Likewise.
56741         * soft-fp/fixtfdi.c: Likewise.
56742         * soft-fp/fixtfsi.c: Likewise.
56743         * soft-fp/fixtfti.c: Likewise.
56744         * soft-fp/fixunsdfdi.c: Likewise.
56745         * soft-fp/fixunsdfsi.c: Likewise.
56746         * soft-fp/fixunsdfti.c: Likewise.
56747         * soft-fp/fixunssfdi.c: Likewise.
56748         * soft-fp/fixunssfsi.c: Likewise.
56749         * soft-fp/fixunssfti.c: Likewise.
56750         * soft-fp/fixunstfdi.c: Likewise.
56751         * soft-fp/fixunstfsi.c: Likewise.
56752         * soft-fp/fixunstfti.c: Likewise.
56753         * soft-fp/floatdidf.c: Likewise.
56754         * soft-fp/floatdisf.c: Likewise.
56755         * soft-fp/floatditf.c: Likewise.
56756         * soft-fp/floatsidf.c: Likewise.
56757         * soft-fp/floatsisf.c: Likewise.
56758         * soft-fp/floatsitf.c: Likewise.
56759         * soft-fp/floattidf.c: Likewise.
56760         * soft-fp/floattisf.c: Likewise.
56761         * soft-fp/floattitf.c: Likewise.
56762         * soft-fp/floatundidf.c: Likewise.
56763         * soft-fp/floatundisf.c: Likewise.
56764         * soft-fp/floatunsidf.c: Likewise.
56765         * soft-fp/floatunsisf.c: Likewise.
56766         * soft-fp/floatuntidf.c: Likewise.
56767         * soft-fp/floatuntisf.c: Likewise.
56768         * soft-fp/floatuntitf.c: Likewise.
56769         * soft-fp/fmadf4.c: Likewise.
56770         * soft-fp/fmasf4.c: Likewise.
56771         * soft-fp/fmatf4.c: Likewise.
56772         * soft-fp/gedf2.c: Likewise.
56773         * soft-fp/gesf2.c: Likewise.
56774         * soft-fp/getf2.c: Likewise.
56775         * soft-fp/ledf2.c: Likewise.
56776         * soft-fp/lesf2.c: Likewise.
56777         * soft-fp/letf2.c: Likewise.
56778         * soft-fp/muldf3.c: Likewise.
56779         * soft-fp/mulsf3.c: Likewise.
56780         * soft-fp/multf3.c: Likewise.
56781         * soft-fp/negdf2.c: Likewise.
56782         * soft-fp/negsf2.c: Likewise.
56783         * soft-fp/negtf2.c: Likewise.
56784         * soft-fp/op-1.h: Likewise.
56785         * soft-fp/op-2.h: Likewise.
56786         * soft-fp/op-4.h: Likewise.
56787         * soft-fp/op-8.h: Likewise.
56788         * soft-fp/op-common.h: Likewise.
56789         * soft-fp/quad.h: Likewise.
56790         * soft-fp/single.h: Likewise.
56791         * soft-fp/soft-fp.h: Likewise.
56792         * soft-fp/sqrtdf2.c: Likewise.
56793         * soft-fp/sqrtsf2.c: Likewise.
56794         * soft-fp/sqrttf2.c: Likewise.
56795         * soft-fp/subdf3.c: Likewise.
56796         * soft-fp/subsf3.c: Likewise.
56797         * soft-fp/subtf3.c: Likewise.
56798         * soft-fp/truncdfsf2.c: Likewise.
56799         * soft-fp/trunctfdf2.c: Likewise.
56800         * soft-fp/trunctfsf2.c: Likewise.
56801         * soft-fp/trunctfxf2.c: Likewise.
56802         * soft-fp/unorddf2.c: Likewise.
56803         * soft-fp/unordsf2.c: Likewise.
56804         * soft-fp/unordtf2.c: Likewise.
56806 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
56808         [BZ #15672]
56809         * misc/error.c (error_tail): Fix possible buffer overflow.
56811 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
56813         [BZ #13028]
56814         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
56815         address.
56817 2013-10-14  P. J. McDermott  <pj@pehjota.net>
56819         [BZ #832]
56820         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
56821         testing pipefail option.
56823 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
56825         * soft-fp/double.h: Indent preprocessor directives inside #if.
56826         * soft-fp/extended.h: Likewise.
56827         * soft-fp/op-2.h: Likewise.
56828         * soft-fp/op-4.h: Likewise.
56829         * soft-fp/op-common.h: Likewise.
56830         * soft-fp/quad.h: Likewise.
56831         * soft-fp/single.h: Likewise.
56832         * soft-fp/soft-fp.h: Likewise.
56834 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
56836         * iconv/iconv_prog.c: Fix typos.
56837         * stdio-common/psiginfo-data.h: Likewise.
56839 2013-10-12   Reuben Thomas <rrt@sc3d.org>
56841         [BZ #15764]
56842         * locale/setlocale.c: Fix typo.
56844 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
56846         [BZ #16036]
56847         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
56848         signaling NaN arguments.
56849         * soft-fp/unordsf2.c (__unordsf2): Likewise.
56850         * soft-fp/unordtf2.c (__unordtf2): Likewise.
56852         [BZ #14910]
56853         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
56854         unordered operands.
56855         * soft-fp/gesf2.c (__gesf2): Likewise.
56856         * soft-fp/getf2.c (__getf2): Likewise.
56857         * soft-fp/ledf2.c (__ledf2): Likewise.
56858         * soft-fp/lesf2.c (__lesf2): Likewise.
56859         * soft-fp/letf2.c (__letf2): Likewise.
56861         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
56862         * soft-fp/eqsf2.c (__eqsf2): Likewise.
56863         * soft-fp/eqtf2.c (__eqtf2): Likewise.
56864         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
56865         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
56866         * soft-fp/fixdfti.c (__fixdfti): Likewise.
56867         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
56868         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
56869         * soft-fp/fixsfti.c (__fixsfti): Likewise.
56870         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
56871         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
56872         * soft-fp/fixtfti.c (__fixtfti): Likewise.
56873         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
56874         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
56875         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
56876         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
56877         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
56878         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
56879         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
56880         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
56881         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
56882         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
56883         * soft-fp/floatdisf.c (__floatdisf): Likewise.
56884         * soft-fp/floatsisf.c (__floatsisf): Likewise.
56885         * soft-fp/floattidf.c (__floattidf): Likewise.
56886         * soft-fp/floattisf.c (__floattisf): Likewise.
56887         * soft-fp/floattitf.c (__floattitf): Likewise.
56888         * soft-fp/floatundidf.c (__floatundidf): Likewise.
56889         * soft-fp/floatundisf.c (__floatundisf): Likewise.
56890         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
56891         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
56892         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
56893         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
56894         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
56895         * soft-fp/gesf2.c (__gesf2): Likewise.
56896         * soft-fp/getf2.c (__getf2): Likewise.
56897         * soft-fp/ledf2.c (__ledf2): Likewise.
56898         * soft-fp/lesf2.c (__lesf2): Likewise.
56899         * soft-fp/letf2.c (__letf2): Likewise.
56901         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
56902         Undefine and redefine.
56903         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
56904         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
56905         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
56906         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
56907         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56908         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
56909         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56910         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
56911         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56912         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
56913         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56914         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
56915         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56916         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
56917         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56919         [BZ #16032]
56920         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
56921         without decrementing exponent if mantissa >= that for the
56922         denominator, not >.
56923         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
56924         denominator, not >.  Decrement exponent in < case instead of
56925         incrementing in >= case.
56926         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
56927         without decrementing exponent if mantissa >= that for the
56928         denominator, not >.
56930         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
56931         computing saturated result for unsigned overflow.
56933 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56934             Jeff Law  <law@redhat.com>
56936         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
56937         (atan2Mp): Add systemtap probe marker.
56938         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
56939         (__ieee754_log): Add systemtap probe marker.
56940         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
56941         (atanMp): Add systemtap probe marker.
56942         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
56943         (tanMp): Add systemtap probe marker.
56944         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
56945         (__slowexp): Add systemtap probe marker.
56946         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
56947         (__slowpow): Add systemtap probe marker.
56948         * manual/probes.texi: Document probes.
56950 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
56952         [BZ #15362]
56953         * libio/fileops.c (_IO_new_file_write): Return count of bytes
56954         written.
56955         (_IO_new_file_xsputn): Don't return EOF if nothing has been
56956         written.
56957         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
56958         written to buffer but not flushed.
56959         * libio/iofwrite_u.c:  Likewise.
56960         * libio/iopadn.c:  Return bytes returned even if EOF was
56961         encountered.
56962         * libio/iowpadn.c:  Likewise.
56963         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
56964         if _IO_padn does not write the whole buffer.
56965         [!COMPILE_WPRINTF] (PAD): Likewise.
56967 2013-10-10  David S. Miller  <davem@davemloft.net>
56969         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
56970         directory block.
56972 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
56974         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
56975         instead of FSF address.
56976         * soft-fp/fixdfti.c: Likewise.
56977         * soft-fp/fixsfti.c: Likewise.
56978         * soft-fp/fixtfti.c: Likewise.
56979         * soft-fp/fixunsdfti.c: Likewise.
56980         * soft-fp/fixunssfti.c: Likewise.
56981         * soft-fp/fixunstfti.c: Likewise.
56982         * soft-fp/floattidf.c: Likewise.
56983         * soft-fp/floattisf.c: Likewise.
56984         * soft-fp/floattitf.c: Likewise.
56985         * soft-fp/floatuntidf.c: Likewise.
56986         * soft-fp/floatuntisf.c: Likewise.
56987         * soft-fp/floatuntitf.c: Likewise.
56988         * soft-fp/trunctfxf2.c: Likewise.
56990         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
56991         * soft-fp/fixdfti.c: Likewise.
56992         * soft-fp/fixsfti.c: Likewise.
56993         * soft-fp/fixtfti.c: Likewise.
56994         * soft-fp/fixunsdfti.c: Likewise.
56995         * soft-fp/fixunssfti.c: Likewise.
56996         * soft-fp/fixunstfti.c: Likewise.
56997         * soft-fp/floattidf.c: Likewise.
56998         * soft-fp/floattisf.c: Likewise.
56999         * soft-fp/floattitf.c: Likewise.
57000         * soft-fp/floatuntidf.c: Likewise.
57001         * soft-fp/floatuntisf.c: Likewise.
57002         * soft-fp/floatuntitf.c: Likewise.
57003         * soft-fp/trunctfxf2.c: Likewise.
57005 2013-10-10  David S. Miller  <davem@davemloft.net>
57007         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57009 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
57011         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
57012         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
57013         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
57014         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
57015         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
57016         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
57017         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
57019         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
57020         for NaNs before doing comparisons on argument.
57021         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
57022         Likewise.
57024 2013-10-10  Will Newton  <will.newton@linaro.org>
57026         * malloc/hooks.c (memalign_check): Ensure the value of bytes
57027         passed to _int_memalign does not overflow.
57029 2013-10-10  Torvald Riegel  <triegel@redhat.com>
57031         * scripts/bench.pl: Add include-sources directive.
57032         * benchtests/README: Update documentation.
57034 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
57036         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
57037         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
57038         instead of FP_INIT_ROUNDMODE.
57039         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
57040         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
57042         [BZ #16034]
57043         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
57044         copy class of input value.
57045         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
57046         not handle exceptions.
57047         * soft-fp/negsf2.c (__negsf2): Likewise.
57048         * soft-fp/negtf2.c (__negtf2): Likewise.
57049         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
57051 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
57053         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
57054         semicolon.  From Linux kernel.
57056 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
57058         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
57060 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
57062         [BZ #156]
57063         * manual/socket.texi: Added statement about buffer
57064         for gethostbyname2_r.
57066 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
57068         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
57069         Use .p2align directive instead, throughout.
57070         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
57071         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
57072         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
57073         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
57074         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
57075         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
57076         * sysdeps/x86_64/strchr.S: Likewise.
57077         * sysdeps/x86_64/strrchr.S: Likewise.
57079 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
57081         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
57083         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
57085         * sysdeps/generic/math_private.h (__mpsin1): Remove
57086         declaration.
57087         (__mpcos1): Likewise.
57088         (__mpsin): New argument __range_reduce.
57089         (__mpcos): Likewise.
57090         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57091         (slow): Use __mpsin and __mpcos.
57092         (slow1): Likewise.
57093         (slow2): Likewise.
57094         (sloww): Likewise.
57095         (sloww1): Likewise.
57096         (sloww2): Likewise.
57097         (bsloww): Likewise.
57098         (bsloww1): Likewise.
57099         (bsloww2): Likewise.
57100         (cslow2): Likewise.
57101         (csloww): Likewise.
57102         (csloww1): Likewise.
57103         (csloww2): Likewise.
57104         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
57105         range_reduce.  Merge in __mpsin1.
57106         (__mpcos): Likewise.
57107         (__mpsin1): Remove.
57108         (__mpcos1): Likewise.
57110 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
57112         * locale/loadlocale.c (_nl_intern_locale_data): Use
57113         LOCFILE_ALIGNED_P.
57114         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
57115         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
57116         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
57117         obstack data is appropriately aligned.
57118         (obstack_int32_grow_fast): Likewise.
57119         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
57120         * locale/programs/locfile.c (add_locale_uint32): Likewise.
57121         (add_locale_uint32_array): Likewise.
57123 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
57125         * benchtests/Makefile: Remove ARGLIST and RET variables.
57126         ($(objpfx)bench-%.c): Pass only function name to the script.
57127         * benchtests/README: Update documentation.
57128         * benchtests/acos-inputs: Add new directives.
57129         * benchtests/acosh-inputs: Likewise.
57130         * benchtests/asin-inputs: Likewise.
57131         * benchtests/asinh-inputs: Likewise.
57132         * benchtests/atan-inputs: Likewise.
57133         * benchtests/atanh-inputs: Likewise.
57134         * benchtests/cos-inputs: Likewise.
57135         * benchtests/cosh-inputs: Likewise.
57136         * benchtests/exp-inputs: Likewise.
57137         * benchtests/log-inputs: Likewise.
57138         * benchtests/pow-inputs: Likewise.
57139         * benchtests/rint-inputs: Likewise.
57140         * benchtests/sin-inputs: Likewise.
57141         * benchtests/sinh-inputs: Likewise.
57142         * benchtests/tan-inputs: Likewise.
57143         * benchtests/tanh-inputs: Likewise.
57144         * scripts/bench.pl: Add support for new directives.
57146 2013-10-07  Alan Modra  <amodra@gmail.com>
57148         * README: Fix careless merge.
57150 2013-10-05  Alan Modra  <amodra@gmail.com>
57152         * NEWS: Mention powerpc64le support and bugs fixed.
57153         * README: Both big-endian and little-endian powerpc64 supported.
57155 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57157         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
57158         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
57159         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
57160         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
57162 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
57164         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
57165         match prototype.
57167 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
57169         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
57170         Move -mhard-float appending from
57171         ports/sysdeps/powerpc/powerpc32/Makefile.
57172         [$(with-fp) = yes] (ASFLAGS): Likewise.
57173         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
57174         * sysdeps/powerpc/nofpu: Move directory from
57175         ports/sysdeps/powerpc/nofpu.
57176         * sysdeps/powerpc/soft-fp: Move directory from
57177         ports/sysdeps/powerpc/soft-fp.
57178         * sysdeps/powerpc/powerpc32/405: Move directory from
57179         ports/sysdeps/powerpc/powerpc32/405.
57180         * sysdeps/powerpc/powerpc32/440: Move directory from
57181         ports/sysdeps/powerpc/powerpc32/440.
57182         * sysdeps/powerpc/powerpc32/464: Move directory from
57183         ports/sysdeps/powerpc/powerpc32/464.
57184         * sysdeps/powerpc/powerpc32/476: Move directory from
57185         ports/sysdeps/powerpc/powerpc32/476.
57186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
57187         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
57188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
57189         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
57190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
57191         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
57192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
57193         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
57194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
57195         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
57196         * README: Update for powerpc-*-linux-gnu software floating point
57197         support in libc.
57199         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
57200         case to powerpc/powerpc32*.
57201         * sysdeps/unix/sysv/linux/configure: Regenerated.
57203         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
57204         (_FPU_MASK_OM): Define as 0x04.
57205         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
57206         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
57207         0x00c10080.
57208         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
57209         0x0000003c.
57210         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
57212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
57213         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
57214         getcontext_e500.
57215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
57216         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
57217         setcontext_e500.
57218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
57219         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
57220         and setcontext_e500.
57222 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
57224         * locale/iso-3166.def: Update iso-1366.def and related occurrences
57226 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57228         * manual/threads.texi (Default Thread Attributes): Fix typo.
57230 2013-10-04  Will Newton  <will.newton@linaro.org>
57232         * malloc/Makefile: Add tst-memalign.
57233         * malloc/tst-memalign.c: New file.
57235         * malloc/tst-posix_memalign.c: Add comments.
57236         (do_test): Add comments and call free on all potentially
57237         allocated pointers. Add space after cast.
57239         * malloc/tst-pvalloc.c: Add comments.
57240         (do_test): Add comments and call free on all potentially
57241         allocated pointers. Remove duplicate check for NULL pointer.
57242         Add space after cast.
57244         * malloc/tst-valloc.c: Add comments.
57245         (do_test): Add comments and call free on all potentially
57246         allocated pointers. Remove duplicate check for NULL pointer.
57247         Add space after cast.
57249 2013-10-04  Alan Modra  <amodra@gmail.com>
57251         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
57252         Use stdint types in rather than __attribute__((mode())).
57253         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
57255 2013-10-04  Alan Modra  <amodra@gmail.com>
57257         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
57258         Correct handling of unaligned relocs for little-endian.
57259         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
57261 2013-10-04  Alan Modra  <amodra@gmail.com>
57263         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
57264         * configure: Regenerate.
57265         * nptl/shlib-versions: Powerpc*le starts at 2.18.
57266         * shlib-versions: Likewise.
57268 2013-10-04  Alan Modra  <amodra@gmail.com>
57270         * string/tester.c (test_memrchr): Increment reported test cycle.
57272 2013-10-04  Alan Modra  <amodra@gmail.com>
57274         * string/test-memcpy.c (do_one_test): When reporting errors, print
57275         string address and don't overrun end of string.
57277 2013-10-04  Alan Modra  <amodra@gmail.com>
57279         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
57280         insrdi.  Make better use of reg selection to speed exit slightly.
57281         Schedule entry path a little better.  Remove useless "are we done"
57282         checks on entry to main loop.  Handle wrapping around zero address.
57283         Correct main loop count.  Handle single left-over word from main
57284         loop inline rather than by using loop_small.  Remove extra word
57285         case in loop_small caused by wrong loop count.  Add little-endian
57286         support.
57287         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
57288         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
57289         cache hint.
57290         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
57291         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
57292         support.  Avoid rlwimi.
57293         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
57295 2013-10-04  Alan Modra  <amodra@gmail.com>
57297         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
57298         insrdi.  Formatting.
57299         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
57300         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
57301         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
57302         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
57303         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
57304         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
57306 2013-10-04  Alan Modra  <amodra@gmail.com>
57308         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
57309         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
57310         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
57311         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
57312         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
57313         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
57314         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
57315         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
57316         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
57317         use of regs.  Use power7 mtocrf.  Tidy function tails.
57319 2013-10-04  Alan Modra  <amodra@gmail.com>
57321         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
57322         Formatting.  Consistently use rXXX register defines or rN defines.
57323         Use early exit labels that avoid restoring unused non-volatile regs.
57324         Make cr field use more consistent with rWORDn compares.  Rename
57325         regs used as shift registers for unaligned loop, using rN defines
57326         for short lifetime/multiple use regs.
57327         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
57328         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
57329         addi 1,1,64 to pop stack frame.  Simplify return value code.
57330         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
57332 2013-10-04  Alan Modra  <amodra@gmail.com>
57334         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
57335         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
57336         rather than rlwimi.
57337         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
57338         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
57339         little-endian support.  Correct typos.
57340         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
57341         rather than rlwimi.
57342         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
57343         in loop and entry code to keep "and." results.
57344         (strchr): Add little-endian support.  Comment.  Move cntlzd
57345         earlier in tail.
57346         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
57348 2013-10-04  Alan Modra  <amodra@gmail.com>
57350         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
57351         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
57352         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
57353         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
57355 2013-10-04  Alan Modra  <amodra@gmail.com>
57357         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
57358         (rTMP): Define as r11.
57359         (strcmp): Add little-endian support.  Optimise tail.
57360         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
57361         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
57362         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
57363         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
57364         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
57365         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57366         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
57368 2013-10-04  Alan Modra  <amodra@gmail.com>
57370         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
57371         little-endian support.  Remove unnecessary "are we done" tests.
57372         Handle "s" wrapping around zero and extremely large "size".
57373         Correct main loop count.  Handle single left-over word from main
57374         loop inline rather than by using small_loop.  Correct comments.
57375         Delete "zero" tail, use "end_max" instead.
57376         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
57378 2013-10-04  Alan Modra  <amodra@gmail.com>
57380         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
57381         support.  Don't branch over align.
57382         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
57383         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
57384         support.  Rearrange tmp reg use to suit.  Comment.
57385         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
57387 2013-10-04  Alan Modra  <amodra@gmail.com>
57389         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
57391 2013-10-04  Alan Modra  <amodra@gmail.com>
57393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
57394         conditional form of branch and link when obtaining pc.
57395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
57397 2013-10-04  Alan Modra  <amodra@gmail.com>
57399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
57400         HIWORD/LOWORD.
57401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
57402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
57404 2013-10-04  Alan Modra  <amodra@gmail.com>
57406         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
57407         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
57408         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
57409         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
57410         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
57411         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
57412         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
57413         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
57414         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
57415         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
57417 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
57418             Alistair Popple <alistair@ozlabs.au.ibm.com>
57419             Alan Modra <amodra@gmail.com>
57421         [BZ #15723]
57422         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
57423         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
57424         _dl_hwcap access for little-endian.
57425         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
57426         destroy vmx regs when saving unaligned.
57427         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
57428         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
57429         destroy vmx regs when saving unaligned.
57431 2013-10-04  Alan Modra  <amodra@gmail.com>
57433         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
57434         Don't use a union to pack hi/low value.
57436 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
57438         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
57439         for little-endian.
57440         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
57441         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
57442         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
57443         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
57444         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
57446 2013-10-04  Alan Modra  <amodra@gmail.com>
57448         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
57449         constants to usual value for .cst8 section, and remove redundant
57450         high address load.
57451         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
57452         constant for 0x1p52.  Load little-endian words of double from
57453         correct stack offsets.
57455 2013-10-04  Alan Modra  <amodra@gmail.com>
57457         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
57458         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
57459         words of double from correct stack offsets.
57460         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
57461         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
57462         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
57463         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
57464         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
57465         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
57466         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
57467         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
57468         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
57469         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
57470         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
57471         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
57472         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
57473         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
57474         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
57475         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
57476         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
57478 2013-10-04  Alan Modra  <amodra@gmail.com>
57480         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
57481         64-bit int/double union.
57482         (_FPU_SETCW): Likewise.
57483         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
57484         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
57486 2013-10-04  Alan Modra  <amodra@gmail.com>
57488         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
57489         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
57491 2013-10-04  Alan Modra  <amodra@gmail.com>
57493         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
57494         use vector int constants.
57495         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
57497 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
57499         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
57500         array with long long.
57501         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
57502         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
57503         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
57504         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
57505         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
57506         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
57507         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
57508         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
57509         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
57510         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
57511         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
57512         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
57513         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
57515 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
57517         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
57518         (__signbit): Likewise.  Correct for little-endian.
57519         (__signbitl): Call __signbit.
57520         (lrint): Correct for little-endian.
57521         (lrintf): Call lrint.
57523 2013-10-04  Alan Modra  <amodra@gmail.com>
57525         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
57526         union 32-bit int array member with 64-bit int array.
57527         (t515, tm256): Double rather than long double.
57528         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
57530 2013-10-04  Alan Modra  <amodra@gmail.com>
57532         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
57533         Delete.
57534         (IEEE854_LONG_DOUBLE_BIAS): Delete.
57535         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
57536         version of math_ldbl.h.
57538 2013-10-04  Alan Modra  <amodra@gmail.com>
57540         [BZ #15734], [BZ #15735]
57541         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
57542         all uses of ieee875 long double macros and unions.  Simplify test
57543         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
57544         ldbl_extract_mantissa value for ix,iy exponents.  Properly
57545         normalize after ldbl_extract_mantissa, and don't add hidden bit
57546         already handled.  Don't treat low word of ieee854 mantissa like
57547         low word of IBM long double and mask off bit when testing for
57548         zero.
57549         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
57550         all uses of ieee875 long double macros and unions.  Simplify tests
57551         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
57552         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
57553         two1022, instead use their values.  Recognise that tests for large
57554         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
57555         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
57556         Rewrite all uses of ieee875 long double macros and unions.  Simplify
57557         test for 0.0L and nan.  Correct negation.
57558         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
57559         ieee875 long double macros and unions.  Correct output for large
57560         magnitude x.  Correct absolute value calculation.
57561         (__erfcl): Likewise.
57562         * math/libm-test.inc: Add tests for errors discovered in IBM long
57563         double versions of fmodl, remainderl, erfl and erfcl.
57565 2013-10-04  Alan Modra  <amodra@gmail.com>
57567         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
57568         all uses of ieee854 long double macros and unions.  Simplify tests
57569         for long doubles that are fully specified by the high double.
57570         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
57571         Likewise.
57572         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
57573         Remove dead code too.
57574         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
57575         (__ieee754_ynl): Likewise.
57576         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
57577         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
57578         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
57579         Remove dead code too.
57580         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
57581         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
57582         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
57583         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
57584         Simplify.
57585         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
57586         Simplify.
57587         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
57588         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
57589         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
57590         Comment on variable precision.
57591         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
57592         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
57593         Likewise.
57594         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
57595         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
57596         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
57597         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
57598         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
57600 2013-10-04  Alan Modra  <amodra@gmail.com>
57602         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
57603         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
57604         all uses of ieee854 long double macros and unions.
57605         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
57606         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
57607         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
57608         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
57609         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
57610         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
57611         Likewise.
57612         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
57613         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
57614         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
57615         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
57616         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
57617         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
57618         Simplify sign and nan test too.
57619         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
57620         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
57621         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
57622         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
57623         Likewise.
57624         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
57625         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
57626         Likewise.
57627         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57628         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
57629         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
57630         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
57631         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
57632         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
57634 2013-10-04  Alan Modra  <amodra@gmail.com>
57636         * stdio-common/printf_size.c (__printf_size): Don't use
57637         union ieee854_long_double in fpnum union.
57638         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
57639         signbit macro to retrieve sign from long double.
57640         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
57641         retrieve sign from long double.
57642         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
57643         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
57644         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
57645         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
57646         * math/test-misc.c (main): Don't use union ieee854_long_double.
57648 2013-10-04  Alan Modra  <amodra@gmail.com>
57650         [BZ #15680]
57651         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
57652         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
57653         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
57654         calculation.  Remove unnecessary test for denormal exponent.
57655         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
57656         Correct handling of denormals.  Avoid undefined shift behaviour.
57657         Correct normalisation of low mantissa when low double is denormal.
57658         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
57659         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
57660         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
57661         Correct normalisation of low mantissa.  Test for overflow of high
57662         mantissa and normalise.
57663         (ldbl_nearbyint): Use more readable constant for two52.
57664         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
57665         (__mpn_construct_long_double): Fix test for overflow of high
57666         mantissa and correct normalisation.  Avoid undefined shift.
57668 2013-10-04  Alan Modra  <amodra@gmail.com>
57670         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
57671         (union ibm_extended_long_double): Define as an array of ieee754_double.
57672         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
57673         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
57674         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
57675         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
57676         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57677         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
57678         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
57679         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
57680         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
57681         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
57682         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
57684 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
57686         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
57687         page size instead of calling getpagesize.
57689         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
57690         (LOCFILE_ALIGN_MASK): Likewise.
57691         (LOCFILE_ALIGN_UP): Likewise.
57692         (LOCFILE_ALIGNED_P): Likewise.
57693         * locale/programs/ld-collate.c (collate_output): Use the new
57694         macros instead of __alignof__ (int32_t).
57695         * locale/weight.h (findidx): Likewise.
57697 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
57699         [BZ #431]
57700         * manual/string.texi: Fix strncat and wcsncat.
57702 2013-10-03  Brooks Moses  <bmoses@google.com>
57704         [BZ #15915]
57705         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
57706         * Makerules: ...here, and adjust associated comments.
57708 2013-10-02  Will Newton  <will.newton@linaro.org>
57710         * malloc/Makefile: Add tst-pvalloc.
57711         * malloc/tst-pvalloc.c: New file.
57713 2013-10-02  Will Newton  <will.newton@linaro.org>
57715         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
57716         improve test coverage.
57718 2013-10-02  Will Newton  <will.newton@linaro.org>
57720         * malloc/Makefile: Add tst-posix_memalign.
57721         * malloc/tst-posix_memalign.c: New file.
57723 2013-10-01  Eric Blake  <eblake@redhat.com>
57725         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
57726         Use __THROWNL rather than __THROW on static functions.
57728 2013-09-30  Petr Machata  <pmachata@redhat.com>
57730         * elf/elf.h (R_AARCH64_ABS16): New macro.
57731         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
57732         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
57733         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
57734         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
57735         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
57736         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
57737         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
57738         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
57739         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
57740         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
57741         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
57742         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
57743         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
57744         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
57745         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
57746         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
57747         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
57748         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
57749         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
57750         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
57751         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
57752         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
57753         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
57754         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
57755         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
57756         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
57757         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
57758         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
57759         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
57760         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
57761         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
57762         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
57763         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
57764         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
57765         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
57766         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
57767         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
57768         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
57769         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
57770         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
57771         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
57772         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
57773         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
57774         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
57775         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
57776         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
57777         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
57778         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
57779         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
57780         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
57781         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
57782         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
57783         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
57784         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
57785         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
57786         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
57787         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
57788         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
57789         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
57790         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
57791         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
57792         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
57793         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
57794         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
57795         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
57796         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
57797         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
57798         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
57799         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
57800         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
57801         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
57802         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
57803         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
57804         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
57805         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
57806         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
57807         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
57808         (R_AARCH64_TLSDESC_LDR): Likewise.
57809         (R_AARCH64_TLSDESC_ADD): Likewise.
57810         (R_AARCH64_TLSDESC_CALL): Likewise.
57812 2013-09-30  Andreas Schwab  <schwab@suse.de>
57814         [BZ #15048]
57815         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
57816         the nss database lookup.
57817         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57818         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57820 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
57822         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
57824 2013-09-28  P. J. McDermott  <pj@pehjota.net>
57826         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
57827         ${Bash-specific parameter/pattern/string} parameter expansion.
57828         * sysdeps/unix/make-syscalls.sh: Likewise.
57830 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57832         * sysdeps/sh/stackguard-macros.h: New file.
57834 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
57836         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
57837         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
57838         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
57839         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
57840         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57841         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
57843 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57845         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
57846         Fix thread ID register.
57848 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
57850         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
57851         [POSIX || UNIX98]: Require rather than permitting all symbols from
57852         <time.h>.
57853         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
57854         element of struct sched_param.
57855         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
57856         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
57857         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
57858         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
57859         constant.
57861 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
57863         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
57864         argument calculation.
57866 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
57868         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
57869         Expect macro.
57870         [POSIX] (pthread_attr_t): Do not require type.
57871         [POSIX] (pthread_cond_t): Likewise.
57872         [POSIX] (pthread_condattr_t): Likewise.
57873         [POSIX] (pthread_key_t): Likewise.
57874         [POSIX] (pthread_mutex_t): Likewise.
57875         [POSIX] (pthread_mutexattr_t): Likewise.
57876         [POSIX] (pthread_once_t): Likewise.
57877         [POSIX] (pthread_t): Likewise.
57878         [POSIX-based standards] (pthread_atfork): Expect function.
57880 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
57881             Richard Sandiford  <richard@codesourcery.com>
57883         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
57884         (swap_endianness_p): New extern variable.
57885         (set_big_endian): New inline function.
57886         (maybe_swap_uint32): Likewise.
57887         (maybe_swap_uint32_array): Likewise.
57888         (maybe_swap_uint32_obstack): Likewise.
57889         * locale/programs/locfile.c: Include <stdbool.h>.
57890         (swap_endianness_p): New variable.
57891         (add_locale_uint32): Call maybe_swap_uint32.
57892         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
57893         (write_locale_data): Call maybe_swap_uint32_array.
57894         * locale/programs/ld-collate.c (obstack_int32_grow): Call
57895         maybe_swap_uint32.
57896         (obstack_int32_grow_fast): Likewise.
57897         (output_weightwc): Call maybe_swap_uint32_obstack.
57898         (collate_output): Likewise.
57899         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
57900         (OPT_LITTLE_ENDIAN): Likewise.
57901         (options): Add --little-endian and --big-endian options.
57902         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
57903         * locale/programs/locarchive.c: Include "locfile.h".
57904         (GET): New macro.
57905         (SET): Likewise.
57906         (INC): Likewise.
57907         (create_archive): Use the new macros to access fields of
57908         structures directly mapped from or written to locale archives.
57909         (oldlocrecentcmp): Likewise.
57910         (enlarge_archive): Likewise.
57911         (insert_name): Likewise.
57912         (add_alias): Likewise.
57913         (add_locale): Likewise.
57914         (delete_locales_from_archive): Likewise.
57915         (show_archive_content): Likewise.
57916         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
57917         locale data.
57919 2013-09-24  Roland McGrath  <roland@hack.frob.com>
57921         * manual/freemanuals.texi: Updated from (newly) canonical copy at
57922         http://www.gnu.org/doc/freemanuals.texi.
57923         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
57925 2013-09-24  Will Newton  <will.newton@linaro.org>
57927         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
57928         macro.
57930 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
57932         * locale/hashval.h (compute_hashval): Interpret bytes of key as
57933         unsigned char.
57935 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
57937         * manual/threads.texi (POSIX Threads): Fix a typo.
57939 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
57941         [BZ #14547]
57942         * string/tst-strcoll-overflow.c: New test case.
57943         * string/Makefile (xtests): Add tst-strcoll-overflow.
57944         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
57945         cache if string sizes may cause integer overflow.
57947         [BZ #14547]
57948         * string/strcoll_l.c (coll_seq): New members rule, idx,
57949         save_idx and back_us.
57950         (get_next_seq_nocache): New function.
57951         (do_compare_nocache): New function.
57952         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
57953         when malloc fails.
57955 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
57957         [BZ #15754]
57958         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
57959         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
57960         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
57962         [BZ #15754]
57963         * elf/Makefile (tests): Add tst-ptrguard1.
57964         (tests-static): Add tst-ptrguard1-static.
57965         (tst-ptrguard1-ARGS): Define.
57966         (tst-ptrguard1-static-ARGS): Define.
57967         * elf/tst-ptrguard1.c: New file.
57968         * elf/tst-ptrguard1-static.c: New file.
57969         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
57970         * sysdeps/i386/stackguard-macros.h: Likewise.
57971         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
57972         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
57973         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
57974         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
57975         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
57976         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
57978 2013-09-23  Hector Marco  <hecmargi@upv.es>
57979             Ismael Ripoll  <iripoll@disca.upv.es>
57980             Carlos O'Donell  <carlos@redhat.com>
57982         [BZ #15754]
57983         * sysdeps/generic/stackguard-macros.h: Define
57984         __pointer_chk_guard_local and POINTER_CHK_GUARD.
57985         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
57986         Define __pointer_chk_guard_local.
57987         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
57988         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
57990 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
57992         [BZ #15859]
57993         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
57995 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
57997         * include/string.h (__ffs): Declare as hidden.
57998         * string/ffs.c (__ffs): Define as hidden.
57999         * sysdeps/i386/ffs.c (__ffs): Likewise.
58000         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
58001         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
58002         * sysdeps/s390/ffs.c (__ffs): Likewise.
58003         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
58005 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
58007         * NEWS: Mention malloc probes.
58009         * malloc/arena.c (new_heap): New memory_heap_new probe.
58010         (grow_heap): New memory_heap_more probe.
58011         (shrink_heap): New memory_heap_less probe.
58012         (heap_trim): New memory_heap_free probe.
58013         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
58014         (systrim): New memory_sbrk_less probe.
58015         * manual/probes.texi: Document them.
58017         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
58018         * manual/probes.texi: Document it.
58020         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
58021         (__libc_realloc): Add memory_realloc_retry probe.
58022         (__libc_memalign): Add memory_memalign_retry probe.
58023         (__libc_valloc): Add memory_valloc_retry probe.
58024         (__libc_pvalloc): Add memory_pvalloc_retry probe.
58025         (__libc_calloc): Add memory_calloc_retry probe.
58026         * manual/probes.texi: Document them.
58028         * malloc/arena.c (get_free_list): Add probe
58029         memory_arena_reuse_free_list.
58030         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
58031         and memory_arena_reuse.
58032         (arena_get2) [!PER_THREAD]: Likewise.
58033         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
58034         memory_arena_reuse_realloc.
58035         * manual/probes.texi: Document them.
58037         * malloc/malloc.c (__libc_free): Add
58038         memory_mallopt_free_dyn_thresholds probe.
58039         (__libc_mallopt): Add multiple memory_mallopt probes.
58040         * manual/probes.texi: Document them.
58042         * malloc/malloc.c: Include stap-probe.h.
58043         (__libc_mallopt): Add memory_mallopt probe.
58044         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
58045         * manual/probes.texi: New.
58046         * manual/Makefile (chapters): Add probes.
58047         * manual/threads.texi: Set next node.
58049 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
58051         [BZ #15963, #13985]
58052         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
58053         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
58054         Add `Chinese' to `nan' entry name.
58056 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
58058         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
58059         (POLYNOMIAL): Likewise.
58060         (TAYLOR_SINCOS): Likewise.
58061         (TAYLOR_SLOW): Likewise.
58062         (__sin): Use TAYLOR_SINCOS.
58063         (__cos): Likewise.
58064         (slow): Use TAYLOR_SLOW.
58065         (sloww): Likewise.
58066         (bsloww): Likewise.
58067         (csloww): Likewise.
58069 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58071         * stdlib/strtod_l.c: Fix buffer overrun.
58073 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
58075         * benchtests/Makefile (bench): Add sincos.
58076         * benchtests/bench-sincos.c: New file.
58078         * math/libm-test.inc (cos_test_data): New test inputs.
58079         (sin_test_data): Likewise.
58081         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
58082         macro.
58083         (__sin): Use it.
58084         (__cos): Likewise.
58085         (slow1): Likewise.
58086         (slow2): Likewise.
58087         (sloww1): Likewise.
58088         (sloww2): Likewise.
58089         (bsloww1): Likewise.
58090         (bsloww2): Likewise.
58091         (cslow2): Likewise.
58092         (csloww1): Likewise.
58093         (csloww2): Likewise.
58095         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
58096         function.
58097         (__sin): Use it.
58098         (__cos): Likewise.
58100         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
58101         gotos.
58102         (__cos): Likewise.
58104 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
58106         * config.h.in (HAVE_MIPS_NAN2008): New macro.
58107         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
58108         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
58109         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
58110         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
58111         * elf/cache.c (print_entry): Handle the new cache flags.
58113 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
58114             Aldy Hernandez  <aldyh@redhat.com>
58116         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
58117         Change condition to [_SOFT_FLOAT].
58118         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
58119         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
58120         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
58121         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
58122         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
58123         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
58124         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
58125         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
58126         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
58127         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
58128         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
58129         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
58130         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
58131         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
58132         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
58133         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
58134         declaration.
58136 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
58138         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
58139         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
58140         (__longjmp): Use LOAD_GP to load saved GPRs.
58141         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
58142         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
58143         (__sigsetjmp): Use SAVE_GP to save GPRs.
58145         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
58146         Do not append -msoft-float.
58147         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
58149 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
58151         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
58153 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
58155         [BZ #15966]
58156         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
58157         (_FPU_GETCW): Use initial "__" on variable and field names but not
58158         on macro parameter name.
58159         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
58160         parentheses around reference to macro parameter.
58162 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
58164         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
58165         prototype.
58166         (ctype_startup): Use uint32_t in cast and sizeof for
58167         ctype->charnames.
58169 2013-09-11  Jia Liu  <proljc@gmail.com>
58171         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
58172         __daddr_t_defined.
58173         [__FreeBSD__]: Likewise.
58175 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
58177         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
58178         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
58179         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
58180         (strchr): Remove __strchr_sse42 ifunc selection.
58181         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
58182         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
58184 2013-09-11  Will Newton  <will.newton@linaro.org>
58186         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
58187         parameter to RES. Remove hardcoded 1000 value.
58188         * benchtests/bench-skeleton.c (main): Pass RES parameter
58189         to TIMING_INIT and multiply result by 1000.
58191 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58193         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58195 2013-09-11  Andreas Schwab  <schwab@suse.de>
58197         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
58198         if not defined.
58199         (O_TMPFILE) [__USE_GNU]: Define.
58200         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
58201         Define.
58203 2013-09-11  Will Newton  <will.newton@linaro.org>
58205         [BZ #15857]
58206         * malloc/malloc.c (__libc_memalign): Check the value of bytes
58207         does not overflow.
58209 2013-09-11  Will Newton  <will.newton@linaro.org>
58211         [BZ #15856]
58212         * malloc/malloc.c (__libc_valloc): Check the value of bytes
58213         does not overflow.
58215 2013-09-11  Will Newton  <will.newton@linaro.org>
58217         [BZ #15855]
58218         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
58219         does not overflow.
58221 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
58223         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
58224         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
58225         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
58226         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
58227         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
58229 2013-09-10  Allan McRae  <allan@archlinux.org>
58231         [BZ #15748]
58232         * manual/arith.texi (Parsing of Floats): Clarify
58233         cross-reference.
58235         [BZ #15849]
58236         * manual/install.texi (Running make install): Mention
58237         --enable-pt-chown.
58238         * INSTALL: Regenerated.
58240 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
58242         * csu/init-first.c (_init): Remove the !SHARED condition around
58243         FPU control word initialization.
58244         * elf/dl-support.c (_dl_fpu_control): New variable.
58245         (_dl_aux_init) <AT_FPUCW>: Initialize it.
58246         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
58247         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
58248         * math/test-fpucw-static.c: New file.
58249         * math/test-fpucw-ieee.c: New file.
58250         * math/test-fpucw-ieee-static.c: New file.
58251         * math/Makefile (tests): Add `test-fpucw-ieee' and
58252         `$(tests-static)'.
58253         (tests-static): New variable.
58254         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
58255         dependency to...
58256         [($(build-shared),yes)]
58257         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
58258         ... this.
58259         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
58260         New dependency.
58262 2013-09-09  Allan McRae  <allan@archlinux.org>
58264         [BZ #15939]
58265         * manual/string.texi (Collation Functions): Fix typo in
58266         strcoll example.
58267         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
58269         [BZ #15893]
58270         * stdlib/isomac.c (get_null_defines): Fix memory leak.
58272         [BZ #15892]
58273         * libio/memstream.c (open_memstream): Fix memory leak.
58274         * libio/wmemstream.c (open_wmemstream): Likewise.
58276         [BZ #15895]
58277         * nscd/netgroupcache.c: Fix nesting of ifdefs.
58279 2013-09-09  Will Newton  <will.newton@linaro.org>
58281         * malloc/Makefile: Add tst-realloc to tests.
58282         * malloc/tst-realloc.c: New file.
58284 2013-09-09  Allan McRae  <allan@archlinux.org>
58286         [BZ #15844]
58287         * COPYING: Update from GNU website to fix FSF address.
58288         * COPYING.LIB: Likewise.
58290 2013-09-06  David S. Miller  <davem@davemloft.net>
58292         * po/zh_TW.po: Update Chinese (traditional) translation from
58293         translation project.
58295 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
58296             Joseph Myers  <joseph@codesourcery.com>
58298         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
58299         "localeinfo.h".
58300         (obstack_chunk_alloc): New macro.
58301         (obstack_chunk_free): Likewise.
58302         (record_offset): New function.
58303         (init_locale_data): Likewise.
58304         (align_locale_data): Likewise.
58305         (add_locale_empty): Likewise.
58306         (add_locale_raw_data): Likewise.
58307         (add_locale_raw_obstack): Likewise.
58308         (add_locale_string): Likewise.
58309         (add_locale_wstring): Likewise.
58310         (add_locale_uint32): Likewise.
58311         (add_locale_uint32_array): Likewise.
58312         (add_locale_char): Likewise.
58313         (start_locale_structure): Likewise.
58314         (end_locale_structure): Likewise.
58315         (start_locale_prelude): Likewise.
58316         (end_locale_prelude): Likewise.
58317         (write_locale_data): Take locale_file structure rather than an
58318         iovec.
58319         * locale/programs/locfile.h: Include "obstack.h".
58320         (struct locale_file): Change to store locale file contents instead
58321         of header.
58322         (init_locale_data): New prototype.
58323         (align_locale_data): Likewise.
58324         (add_locale_empty): Likewise.
58325         (add_locale_raw_data): Likewise.
58326         (add_locale_raw_obstack): Likewise.
58327         (add_locale_string): Likewise.
58328         (add_locale_wstring): Likewise.
58329         (add_locale_uint32): Likewise.
58330         (add_locale_uint32_array): Likewise.
58331         (add_locale_char): Likewise.
58332         (start_locale_structure): Likewise.
58333         (end_locale_structure): Likewise.
58334         (start_locale_prelude): Likewise.
58335         (end_locale_prelude): Likewise.
58336         (write_locale_data): Update prototype.
58337         * locale/programs/3level.h (struct TABLE): Remove result field.
58338         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
58339         Use new locale_file interface.
58340         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
58341         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
58342         * locale/programs/ld-address.c (address_output): Use new
58343         locale_file interface.
58344         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
58345         NO_ADD_LOCALE.
58346         (collate_finish): Don't call collseq_table_finalize.
58347         (collate_output): Use new locale_file interface.
58348         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
58349         in file.
58350         (NO_FINALIZE): Change to NO_ADD_LOCALE.
58351         (TABLE): Move defines earlier in file.
58352         (ELEMENT): Likewise.
58353         (DEFAULT): Likewise.
58354         (wctrans_table_add): Move macro and inline function earlier in
58355         file.
58356         (struct wctype_table): Move type earlier in file.
58357         (add_locale_wctype_table): New static prototype.
58358         (struct locale_ctype_t): Use logical types instead of struct iovec
58359         pointers for members.
58360         (ctype_output): Use new locale_file interface.
58361         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
58362         new locale_file interface.
58363         (allocate_arrays): Update for use of new locale_file interface.
58364         * locale/programs/ld-identification.c (identification_output): Use
58365         new locale_file interface.
58366         * locale/programs/ld-measurement.c (measurement_output): Likewise.
58367         * locale/programs/ld-messages.c (messages_output): Likewise.
58368         * locale/programs/ld-monetary.c (monetary_output): Likewise.
58369         * locale/programs/ld-name.c (name_output): Likewise.
58370         * locale/programs/ld-numeric.c (numeric_output): Likewise.
58371         * locale/programs/ld-paper.c (paper_output): Likewise.
58372         * locale/programs/ld-telephone.c (telephone_output): Likewise.
58373         * locale/programs/ld-time.c (time_output): Likewise.
58375 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58377         * benchtests/Makefile: Add memrchr benchmark.
58378         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
58379         benchmark as memrchr.
58380         * benchtests/bench-memrchr-ifunc.c: New file.
58381         * benchtests/bench-memrchr.c: New file.
58383 2013-09-06   Will Newton  <will.newton@linaro.org>
58385         * benchtests/Makefile (string-bench): Add memcpy.
58387 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
58388             Cong Wang  <amwang@redhat.com>
58390         [BZ #15850]
58391         * sysdeps/unix/sysv/linux/bits/in.h
58392         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
58393         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
58394         before __USE_KERNEL_IPV6_DEFS uses.
58395         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
58396         IPPROTO_BEETPH.
58397         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
58398         sockaddr_in6, or ipv6_mreq.
58400 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58402         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
58403         memory access for final bytes in some large inputs.
58404         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
58406 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58408         * string/test-memrchr.c: New file.
58409         * string/test-memrchr-ifunc.c: New file.
58410         * string/Makefile: Add new memrchr testcase.
58412 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
58414         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
58415         fanotify_init returns EPERM.
58417 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
58419         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
58420         errors.
58421         (top level): Treat second token from macro or constant entries for
58422         allowed headers as allowed.
58423         * include/complex.h: Condition internal declarations on
58424         [!_ISOMAC].
58425         * include/fenv.h: Condition include of <stdbool.h> and internal
58426         declarations on [!_ISOMAC].
58428 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
58430         [BZ #15923]
58431         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
58433 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
58435         * configure.in (--enable-versioning): Remove configure option.
58436         (libc_cv_asm_symver_directive): Remove configure test.
58437         (libc_cv_ld_version_script_option): Likewise.
58438         (VERSIONING): Remove variable and AC_SUBST.
58439         (DO_VERSIONING): Remove AC_DEFINE.
58440         * configure: Regenerated.
58441         * config.h.in (DO_VERSIONING): Remove macro.
58442         * Makerules [$(versioning) = yes]: Change conditionals to
58443         [$(build-shared) = yes].
58444         * config.make.in (versioning): Remove variable.
58445         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
58446         [$(build-shared) = yes].
58447         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
58448         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
58449         * elf/Makefile [$(versioning) = yes]: Change conditionals to
58450         [$(build-shared) = yes].
58451         * extra-lib.mk [$(versioning) = yes]: Likewise.
58452         * hurd/Makefile [$(versioning) = yes]: Likewise.
58453         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
58454         [SHARED].
58455         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
58456         [SHARED].
58457         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
58458         [SHARED && !NO_HIDDEN].
58459         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
58460         [SHARED].
58461         [SHARED && DO_VERSIONING]: Likewise..
58462         * libio/Makefile [$(versioning) = yes]: Change conditionals to
58463         [$(build-shared) = yes].
58464         * manual/install.texi (--disable-versioning): Remove
58465         documentation.
58466         * INSTALL: Regenerated.
58467         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
58468         to [SHARED].
58469         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
58470         [$(build-shared) = yes].
58471         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
58472         * sysdeps/i386/i686/multiarch/strstr-c.c
58473         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
58474         [SHARED && !NO_HIDDEN].
58475         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
58476         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
58477         * sysdeps/powerpc/powerpc32/dl-machine.c
58478         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
58479         * sysdeps/powerpc/powerpc32/sysdep.h
58480         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
58481         to [SHARED && PIC && !NO_HIDDEN].
58482         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
58483         conditional to [SHARED].
58485 2013-09-04   Will Newton  <will.newton@linaro.org>
58487         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
58488         * benchtests/bench-string.h: Include bench-timing.h instead
58489         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
58490         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
58491         call to HP_TIMING_DIFF_INIT.
58492         * benchtests/bench-memccpy.c: Use bench-timing.h macros
58493         instead of hp-timing.h macros.
58494         * benchtests/bench-memchr.c: Likewise.
58495         * benchtests/bench-memcmp.c: Likewise.
58496         * benchtests/bench-memcpy.c: Likewise.
58497         * benchtests/bench-memmem.c: Likewise.
58498         * benchtests/bench-memmove.c: Likewise.
58499         * benchtests/bench-memset.c: Likewise.
58500         * benchtests/bench-rawmemchr.c: Likewise.
58501         * benchtests/bench-strcasecmp.c: Likewise.
58502         * benchtests/bench-strcasestr.c: Likewise.
58503         * benchtests/bench-strcat.c: Likewise.
58504         * benchtests/bench-strchr.c: Likewise.
58505         * benchtests/bench-strcmp.c: Likewise.
58506         * benchtests/bench-strcpy.c: Likewise.
58507         * benchtests/bench-strcpy_chk.c: Likewise.
58508         * benchtests/bench-strlen.c: Likewise.
58509         * benchtests/bench-strncasecmp.c: Likewise.
58510         * benchtests/bench-strncat.c: Likewise.
58511         * benchtests/bench-strncmp.c: Likewise.
58512         * benchtests/bench-strncpy.c: Likewise.
58513         * benchtests/bench-strnlen.c: Likewise.
58514         * benchtests/bench-strpbrk.c: Likewise.
58515         * benchtests/bench-strrchr.c: Likewise.
58516         * benchtests/bench-strspn.c: Likewise.
58517         * benchtests/bench-strstr.c: Likewise.
58519 2013-09-04  Will Newton  <will.newton@linaro.org>
58521         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
58523 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
58525         [BZ #15427]
58526         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
58527         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
58528         * math/libm-test.inc (lgamma_test_data): Add more tests.
58529         * sysdeps/i386/fpu/libm-test-ulps: Update.
58530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58532 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
58534         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
58535         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
58536         Add ifunc.
58537         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
58538         Add strcmp-sse2-unaligned
58539         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
58541 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
58543         * Versions.def (libc): Add GLIBC_2.19.
58545 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
58547         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
58548         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
58550 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
58552         [BZ #14155]
58553         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
58554         intermediate calculations in recurrence.
58555         (__ieee754_ynf): Likewise.
58556         * math/libm-test.inc (jn_test_data): Do not allow spurious
58557         underflow exception.  Add more tests.
58558         (yn_test_data): Add more tests.
58559         * sysdeps/i386/fpu/libm-test-ulps: Update.
58560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58562 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
58564         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
58566 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
58568         * csu/init-first.c: Fix then/than typos.
58569         * locale/programs/ld-collate.c: Likewise.
58570         * locale/programs/linereader.h: Likewise.
58571         * manual/charset.texi: Likewise.
58572         * manual/filesys.texi: Likewise.
58573         * manual/stdio.texi: Likewise.
58574         * manual/string.texi: Likewise.
58575         * stdlib/fmtmsg.c: Likewise.
58576         * sysdeps/i386/stpncpy.S: Likewise.
58577         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
58578         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
58579         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
58580         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
58582 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
58584         * elf/dl-open.c: Fix typos.
58585         * iconvdata/gbbig5.c: Likewise.
58586         * iconvdata/iso-2022-jp.c: Likewise.
58587         * iconv/gconv_int.h: Likewise.
58588         * iconv/loop.c: Likewise.
58589         * nis/rpcsvc/nis.h: Likewise.
58590         * resolv/ns_name.c: Likewise.
58591         * stdio-common/vfscanf.c: Likewise.
58592         * streams/stropts.h: Likewise.
58593         * sunrpc/rpc_thread.c: Likewise.
58594         * sysdeps/i386/strpbrk.S: Likewise.
58595         * sysdeps/ieee754/k_standard.c: Likewise.
58596         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
58597         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58598         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
58599         * sysdeps/mach/hurd/profil.c: Likewise.
58600         * sysdeps/s390/dl-procinfo.h: Likewise.
58601         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
58602         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
58603         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
58604         * sysdeps/x86_64/dl-trampoline.S: Likewise.
58605         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
58607 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
58609         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
58610         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
58612 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
58614         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
58615         aix specific files.
58616         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
58617         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
58618         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
58619         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
58620         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
58621         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
58622         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
58623         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
58625 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
58626             Roland McGrath  <roland@hack.frob.com>
58628         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
58629         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
58631 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58633         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
58634         __executable_start symbol instead of _start.
58636 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
58638         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
58639         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
58640         Move macros to...
58641         * sysdeps/gnu/ldsodefs.h: ... this new file.
58643         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
58644         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
58645         instead of ELFOSABI_LINUX.
58647         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
58648         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
58649         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
58650         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
58651         Likewise.
58652         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
58653         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
58654         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
58655         Likewise.
58656         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
58657         (ibm_extended_long_double): Add ieee_nan member.
58658         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
58659         (do_test): New function.
58661         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
58662         TEST_TRUNC.
58663         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
58664         functions, renamed from truncdfsf_test, trunctfsf_test,
58665         trunctfdf_test.
58666         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
58667         functions.
58668         (do_test): Run all these.
58670 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
58672         * argp/argp-help.c: Fix typos.
58673         * argp/argp-parse.c: Likewise.
58674         * debug/backtracesyms.c: Likewise.
58675         * elf/elf.h: Likewise.
58676         * malloc/malloc.c: Likewise.
58677         * nis/nis_print.c: Likewise.
58678         * resolv/res_comp.c: Likewise.
58679         * stdlib/stdlib.h: Likewise.
58680         * sunrpc/clnt_tcp.c: Likewise.
58681         * sunrpc/clnt_udp.c: Likewise.
58682         * sunrpc/clnt_unix.c: Likewise.
58683         * sysdeps/unix/bsd/ptsname.c: Likewise.
58684         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
58685         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
58686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
58687         Likewise.
58688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
58689         Likewise.
58690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
58691         Likewise.
58692         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
58694 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58696         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
58697         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
58699 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
58701         [BZ #15897]
58702         * dlfcn/Makefile (tests): Add bug-dl-leaf.
58703         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
58704         ($(objpfx)bug-dl-leaf): New rule.
58705         ($(objpfx)bug-dl-leaf.so): Likewise.
58706         ($(objpfx)bug-dl-leaf.out): Likewise.
58707         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
58708         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
58709         * dlfcn/bug-dl-leaf.c: New test.
58710         * dlfcn/bug-dl-leaf-lib.c: Likewise.
58711         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
58712         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
58713         (dlclose): Likewise.
58714         (dlmopen): Likewise.
58716 2013-08-27  Roland McGrath  <roland@hack.frob.com>
58718         * include/netdb.h [!_ISOMAC]:
58719         Don't include <tls.h>.
58720         (h_errno, __libc_h_errno): Move declaration and macros out of
58721         [_LIBC_REENTRANT].
58723         * include/resolv.h [_RESOLV_H_]:
58724         Don't include <tls.h>.
58725         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
58726         * resolv/res_libc.c: Don't include <tls.h>.
58727         (_res): Use __attribute__ ((nocommon)) in place of
58728         __attribute__ ((section (".bss"))).
58730         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
58731         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
58733         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
58735         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
58736         only under [SIOCGIFCONF && SIOCGIFNETMASK].
58738         * resolv/res_mkquery.c: Include <sys/time.h>.
58740         * inet/ifreq.c: Moved to ...
58741         * sysdeps/unix/ifreq.c: ... here.
58742         * inet/ifreq.c: New file, true stub version.
58744         * socket/sa_len.c: New file.
58745         * socket/Makefile (aux): Add it.
58746         * sysdeps/unix/sysv/linux/Makefile
58747         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
58748         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
58749         and #include <socket/sa_len.c>.
58750         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
58751         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
58753         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
58754         * bits/socket.h: ... here.
58756         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
58757         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
58758         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
58760 2013-08-27  Andreas Schwab  <schwab@suse.de>
58762         [BZ #15736]
58763         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
58764         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
58765         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
58766         * string/test-strcasecmp.c (test_main): Run tests in several
58767         locales.
58768         * string/test-strncasecmp.c (test_main): Likewise.
58770         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
58771         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
58772         to __strcasecmp_nonascii and __strncasecmp_nonascii.
58773         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
58774         (__strncasecmp_ssse3) [PIC]: Likewise.
58776 2013-08-26  Roland McGrath  <roland@hack.frob.com>
58778         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
58780         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
58781         instead of explicitly declaring xdecrypt.
58782         * nis/nss_nis/nis-publickey.c: Likewise.
58784 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58786         [BZ #15890]
58787         * nscd/aicache.c: Include res_hconf.h.
58788         (addhstaiX): Initialize res_hconf.
58790 2013-08-26  Andreas Schwab  <schwab@suse.de>
58792         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
58793         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
58795 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58797         * nscd/aicache.c (addhstaiX): Fix indentation.
58799 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
58801         * configure.ac: Quote $build_pt_chown test.
58802         * configure: Regenerated.
58804 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
58806         [BZ #15532]
58807         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
58808         * math/s_cexpf.c (__cexpf): Likewise.
58809         * math/s_cexpl.c (__cexpl): Likewise.
58810         * math/libm-test.inc (cexp_test_data): Correct expected return
58811         value for NaN + i0.  Add another test.
58813 2013-08-22  David S. Miller  <davem@davemloft.net>
58815         * po/ca.po: Update Catalan translation from translation project.
58816         * po/uk.po: Add Ukrainian translations from translation project.
58818 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
58820         [BZ #15797]
58821         * math/s_fdim.c (__fdim): Check for infinite arguments if result
58822         is infinite, not alongside NaN test.
58823         * math/s_fdimf.c (__fdimf): Likewise.
58824         * math/s_fdiml.c (__fdiml): Likewise.
58825         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
58826         errno is unchanged.
58828 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
58830         * argp/argp-help.c: Fix typos.
58831         * crypt/speeds.c: Likewise.
58832         * csu/check_fds.c: Likewise.
58833         * elf/dl-load.c: Likewise.
58834         * elf/dl-open.c: Likewise.
58835         * elf/reldep3.c: Likewise.
58836         * elf/reldep.c: Likewise.
58837         * elf/sprof.c: Likewise.
58838         * iconv/iconv_charmap.c: Likewise.
58839         * iconv/skeleton.c: Likewise.
58840         * iconv/strtab.c: Likewise.
58841         * io/lockf64.c: Likewise.
58842         * libio/libioP.h: Likewise.
58843         * resolv/gai_notify.c: Likewise.
58844         * resolv/ns_name.c: Likewise.
58845         * resolv/ns_samedomain.c: Likewise.
58846         * resolv/res_send.c: Likewise.
58847         * stdlib/random.c: Likewise.
58848         * sunrpc/rpc/xdr.h: Likewise.
58849         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
58850         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
58851         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
58852         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
58853         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
58854         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
58855         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
58856         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
58857         * sysdeps/mach/hurd/check_fds.c: Likewise.
58858         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
58859         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
58860         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
58861         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
58862         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
58863         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
58864         * sysdeps/pthread/aio_notify.c: Likewise.
58865         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
58866         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
58867         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
58868         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
58869         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
58871 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58873         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
58874         version if bit_Slow_SSE4_2 is set.
58875         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58876         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
58878 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58880         [BZ #15867]
58881         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
58882         trampoline stack frame information.
58883         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
58884         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
58885         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
58886         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
58887         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
58888         * sysdeps/unix/sysv/linux/powerpc/init-first.c
58889         (_libc_vdso_platform_setup): Initialize the signal trampolines.
58890         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
58891         sa_flags value.
58892         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
58893         interrupting a syscall and set with option SA_SIGINFO.
58895 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
58897         [BZ #15531]
58898         * math/s_cproj.c (__cproj): Only return an infinity if one part of
58899         argument is infinite.
58900         * math/s_cprojf.c (__cprojf): Likewise.
58901         * math/s_cprojl.c (__cprojl): Likewise.
58902         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
58903         * math/libm-test.inc (cproj_test_data): Add more tests.
58905         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
58907         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
58908         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
58909         size.  Use __ffs to determine corresponding shift.
58911 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
58912             Roland McGrath  <roland@hack.frob.com>
58914         * Makefile (INSTALL): Remove trailing blank lines from output of
58915         makeinfo.
58917 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58919         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
58920         Align 32 bit compat elf_greg to 8 bytes.
58922 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
58924         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
58926 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
58928         * string/strcoll_l.c (coll_seq): New structure.
58929         (get_next_seq_cached): New function.
58930         (get_next_seq): New function.
58931         (do_compare): New function.
58932         (STRCOLL): Use GNU style definition.  Simplify implementation
58933         by using get_next_seq, get_next_seq_cached and do_compare.
58935 2013-08-16  Florian Weimer  <fweimer@redhat.com>
58937         [BZ #14699]
58938         CVE-2013-4237
58939         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
58940         member.
58941         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
58942         member.
58943         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
58944         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
58945         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
58946         conditional.
58947         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
58948         GETDENTS_64BIT_ALIGNED.
58949         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
58950         * manual/filesys.texi (Reading/Closing Directory): Document
58951         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
58952         strongly.
58953         * manual/conf.texi (Limits for Files): Add portability note to
58954         NAME_MAX, PATH_MAX.
58955         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
58957 2013-08-13  Andreas Schwab  <schwab@suse.de>
58959         [BZ #15749]
58960         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
58961         of fabs.
58962         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
58963         LDBL_MAX_EXP >= 16384]: Add tests for it.
58965 2013-08-12  David S. Miller  <davem@davemloft.net>
58967         * version.h (RELEASE): Set to "development".
58968         (VERSION): Set to "2.18.90".
58969         * NEWS: Add 2.19 section.
58971 2013-08-03  David S. Miller  <davem@davemloft.net>
58973         * po/ko.po: Update Korean translation from translation project.
58975 2013-08-01  David S. Miller  <davem@davemloft.net>
58977         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
58978         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
58979         Bilka.
58981 2013-07-30  David S. Miller  <davem@davemloft.net>
58983         * po/fr.po: Update French translation from translation project.
58985 2013-07-28  David S. Miller  <davem@davemloft.net>
58987         * po/cs.po: Update Czech translation from translation project.
58989         * po/sv.po: Update Swedish translation from translation project.
58991 2013-07-27  David S. Miller  <davem@davemloft.net>
58993         * po/eo.po: Update Esperanto translation from translation project.
58995         * po/vi.po: Update Vietnamese translation from translation project.
58997         * po/de.po: Update German translation from translation project.
58999 2013-07-26  David S. Miller  <davem@davemloft.net>
59001         * po/bg.po: Update Bulgarian translation from translation project.
59003         * po/nl.po: Update Dutch translation from translation project.
59004         * po/pl.po: Update Polish translation from translation project.
59005         * po/ru.po: Update Russian translation from translation project.
59007 2013-07-24  David S. Miller  <davem@davemloft.net>
59009         * po/libc.pot: Update.
59011 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59013         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
59014         variable page size.
59015         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
59016         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
59017         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
59019 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59021         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
59023 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
59024             Andreas Schwab  <schwab@suse.de>
59025             Roland McGrath  <roland@hack.frob.com>
59026             Joseph Myers  <joseph@codesourcery.com>
59027             Carlos O'Donell  <carlos@redhat.com>
59029         [BZ #15755]
59030         * config.h.in: Define HAVE_PT_CHOWN.
59031         * config.make.in (build-pt-chown): New variable.
59032         * configure.in (--enable-pt_chown): New configure option.
59033         * configure: Regenerate.
59034         * login/Makefile: Include Makeconfig.  Build pt_chown only if
59035         build-pt-chown is enabled.
59036         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
59037         pt_chown to fix pty ownership.
59038         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
59039         CLOSE_ALL_FDS.
59040         * manual/install.texi (Configuring and compiling): Mention
59041         --enable-pt_chown. Add @findex for grantpt.
59042         * INSTALL: Regenerate.
59044 2013-07-20  David S. Miller  <davem@davemloft.net>
59046         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
59047         difference between 32-bit and 64-bit.
59049 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
59051         [BZ #15711]
59052         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
59053         Avoid system header dependency with -ffreestanding.
59054         ($(objpfx)bits/syscall%d): Likewise.
59056 2013-07-13  David S. Miller  <davem@davemloft.net>
59058         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
59059         underflows from atanl/atan2l due to bug 15319.
59060         (casinh_test_data): Likewise.
59062 2013-07-07  David S. Miller  <davem@davemloft.net>
59064         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
59066 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
59068         * sysdeps/i386/fpu/libm-test-ulps: Update.
59069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59071 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59073         * configure.in (--enable-lock-elision): Fix message text.
59074         * INSTALL: Regenerate.
59075         * configure: Regenerate.
59077 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59079         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59081 2013-07-03  Andreas Jaeger  <aj@suse.de>
59083         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
59084         define.
59085         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
59086         (ptrace_peeksiginfo_args): Add.
59087         (__ptrace_peeksiginfo_flags): Add.
59088         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59089         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59090         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
59092 2013-07-03  Allan McRae  <allan@archlinux.org>
59094         * sysdeps/i386/fpu/libm-test-ulps: Update.
59096 2013-07-02  David S. Miller  <davem@davemloft.net>
59098         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59100 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
59102         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59104 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
59106         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
59107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59109 2013-07-02  Andi Kleen <ak@linux.intel.com>
59111         * config.h.in (ENABLE_LOCK_ELISION): Add.
59112         * configure.in (--enable-lock-elision): Add option.
59113         * manual/install.texi: Document --enable lock elision.
59114         * configure: Regenerate
59115         * INSTALL: Regenerate.
59117 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
59119         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
59120         SSE4.2 strcasecmp for libc.a.
59121         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
59123 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
59125         [BZ #13304]
59126         * soft-fp/op-common.h (_FP_FMA): New macro.
59127         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
59128         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
59129         (_FP_MUL_MEAT_1_imm): ... here.
59130         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
59131         (_FP_MUL_MEAT_1_wide): ... here.
59132         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
59133         (_FP_MUL_MEAT_1_hard): ... here.
59134         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
59135         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
59136         (_FP_MUL_MEAT_2_wide): ... here.
59137         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
59138         (_FP_MUL_MEAT_2_wide_3mul): ... here.
59139         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
59140         (_FP_MUL_MEAT_2_gmp): ... here.
59141         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
59142         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
59143         (_FP_MUL_MEAT_4_wide): ... here.
59144         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
59145         (_FP_MUL_MEAT_4_gmp): ... here.
59146         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
59147         (_FP_WFRACBITS_DW_S): Likewise.
59148         (_FP_WFRACXBITS_DW_S): Likewise.
59149         (_FP_HIGHBIT_DW_S): Likewise.
59150         (FP_FMA_S): Likewise.
59151         (_FP_FRAC_HIGH_DW_S): Likewise.
59152         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
59153         (_FP_WFRACBITS_DW_D): Likewise.
59154         (_FP_WFRACXBITS_DW_D): Likewise.
59155         (_FP_HIGHBIT_DW_D): Likewise.
59156         (FP_FMA_D): Likewise.
59157         (_FP_FRAC_HIGH_DW_D): Likewise.
59158         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
59159         (_FP_WFRACBITS_DW_E): Likewise.
59160         (_FP_WFRACXBITS_DW_E): Likewise.
59161         (_FP_HIGHBIT_DW_E): Likewise.
59162         (FP_FMA_E): Likewise.
59163         (_FP_FRAC_HIGH_DW_E): Likewise.
59164         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
59165         (_FP_WFRACBITS_DW_Q): Likewise.
59166         (_FP_WFRACXBITS_DW_Q): Likewise.
59167         (_FP_HIGHBIT_DW_Q): Likewise.
59168         (FP_FMA_Q): Likewise.
59169         (_FP_FRAC_HIGH_DW_Q): Likewise.
59170         * soft-fp/fmasf4.c: New file.
59171         * soft-fp/fmadf4.c: Likewise.
59172         * soft-fp/fmatf4.c: Likewise.
59174 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59176         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
59177         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
59178         Silvermont.
59179         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
59180         macro.
59181         (index_Slow_SSE4_2): Likewise.
59182         (index_Prefer_PMINUB_for_stringop): Likewise.
59183         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
59184         bit_Slow_SSE4_2 is set.
59185         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
59186         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59188 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59190         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
59191         rtld_global._dl_hwcap2.
59192         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
59193         POWER8.
59194         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
59195         POWER8 feature descriptions defined in _dl_hwcap2.
59196         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
59197         string handling for POWER8 feature bits.
59198         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
59199         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
59200         _dl_powerpc_cap_flags.
59201         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
59202         * sysdeps/powerpc/rtld-global-offsets.sym
59203         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
59204         _dl_hwcap2 in the rtld_global_ro structure.
59206 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59208         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
59209         hardware capabilities in support of AT_HWCAP2.
59210         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
59211         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
59212         GLRO(dl_hwcap2).
59213         (_dl_show_auxv): Add support for calling _dl_procinfo to display
59214         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
59215         explicitly the unknown a_type display mechanism is used.
59216         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
59217         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
59218         struct member.
59219         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
59220         to macro prototype for AT_HWCAP2 support.
59221         * sysdeps/i386/dl-procinfo.h: Likewise.
59222         * sysdeps/s390/dl-procinfo.h: Likewise.
59223         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
59224         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
59225         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
59226         return -1 for unknown a_type display fallback.
59227         * sysdeps/sparc/dl-procinfo.h: Likewise.
59228         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
59229         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
59231 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
59233         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
59234         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
59236 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
59238         [BZ #12492]
59239         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
59240         mprotect making __stack_prot writable.
59242 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
59243             Joseph Myers  <joseph@codesourcery.com>
59245         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
59246         as being properly aligned.
59248 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
59250         * dlfcn/modstatic5.c: New file.
59251         * dlfcn/tststatic5.c: New file.
59252         * dlfcn/Makefile (tests): Add tststatic5.
59253         (tests-static): Likewise.
59254         (modules-names): Add modstatic5.
59255         (tststatic5-ENV): New variable.
59256         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
59258         [BZ #15022]
59259         * elf/dl-support.c (_dl_main_map): New variable.
59260         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
59261         (_dl_nns, _dl_load_adds): Set to 1.
59262         (_dl_initial_searchlist): Refer to _dl_main_map.
59263         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
59264         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
59265         call to _dl_get_origin.
59266         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
59267         around call_map.
59268         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
59269         * dlfcn/modstatic3.c: New file.
59270         * dlfcn/tststatic3.c: New file.
59271         * dlfcn/tststatic4.c: New file.
59272         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
59273         (tests-static): Likewise.
59274         (modules-names): Add modstatic3.
59275         (tststatic3-ENV, tststatic4-ENV): New variables.
59276         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
59277         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
59279 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
59281         * configure.in (CC): Require GCC version 4.4 or later.
59282         * configure: Regenerated.
59283         * manual/install.texi (Tools for Compilation): Update GCC version
59284         requirement.
59285         * INSTALL: Regenerated.
59287 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59289         [BZ #15674]
59290         * string/test-memcmp.c (check2): New.
59291         (main): Call check2.
59293         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
59295 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
59297         [BZ #15022]
59298         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
59299         over to...
59300         (dl_open_worker) [!SHARED]: ... here.
59302 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59304         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
59306 2013-06-25  Richard Henderson  <rth@redhat.com>
59308         * locale/programs/locarchive.c: Include <libc-internal.h>
59310 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
59312         * manual/texinfo.tex: Update to version 2013-06-21.17, with
59313         trailing whitespace removed.
59315 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
59317         [BZ #10283]
59318         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
59319         * locale/programs/locarchive.c: Include libc-mmap.h.
59320         (prepare_address_space): Take two new outputs (the mmap base and len).
59321         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
59322         values.
59323         (create_archive): Declare new mmap base and len values for
59324         prepare_address_space, and store the result in ah.
59325         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
59326         (enlarge_archive): If ah->mmap_base is not NULL, use that and
59327         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
59328         Declare new mmap base and len values for
59329         prepare_address_space, and store the result in new_ah.
59330         (open_archive): Declare new mmap base and len values for
59331         prepare_address_space, and store the result in ah.
59332         (close_archive): If ah->mmap_base is not NULL, use that and
59333         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
59334         * sysdeps/generic/libc-mmap.h: New file.
59336 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
59338         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
59339         (ALIGN_UP): Likewise.
59340         (PTR_ALIGN_DOWN): Likewise.
59341         (PTR_ALIGN_UP): Likewise.
59343 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59345         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
59346         entry mapped to PPC_PLATFORM_POWER8.
59347         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
59348         POWER8.
59349         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
59350         (_dl_string_platform): Add case for exporting platform position for
59351         POWER8.
59352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
59353         search path to sysdeps/powerpc/powerpc32/power8 directory.
59354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
59355         search path to sysdeps/powerpc/powerpc64/power8 directory.
59356         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
59357         power7 directories.
59358         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
59359         power7 directories.
59361 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
59363         * INSTALL: Regenerate.
59365         * nscd/connections.c (nscd_init): Fix comment.
59367 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
59369         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
59371         [BZ #15667]
59372         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
59373         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
59375 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
59377         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
59378         DL_DST_REQ_STATIC.
59379         (DL_DST_REQ_STATIC): Remove macro.
59381 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
59383         [BZ #7006]
59384         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
59385         with a shift of 0 bits.
59387 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
59389         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
59390         $(tststatic-ENV).
59392 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59394         [BZ #15655]
59395         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
59397 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59399         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
59400         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
59401         accepts -fno-tree-loop-distribute-patterns.
59402         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
59403         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
59404         recursive call.
59405         * string/memset.c (memset): Likewise.
59406         * string/test-memmove.c (simple_memmove): Disable loop transformation
59407         to library calls.
59408         * string/test-memset.c (simple_memset): Likewise.
59409         * benchtests/bench-memmove.c (simple_memmove): Likewise.
59410         * benchtests/bench-memset.c (simple_memset): Likewise.
59411         * configure: Regenerated.
59413 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
59415         * math/test-misc.c (main): Ignore fesetround failure when failures
59416         of subsequent rounding tests would be ignored.
59418         [BZ #15654]
59419         * math/fedisblxcpt.c (fedisableexcept): Return 0.
59420         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
59421         * math/fegetenv.c (__fegetenv): Return 0.
59422         * math/fegetexcept.c (fegetexcept): Return 0.
59423         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
59424         FE_TONEAREST.
59425         * math/feholdexcpt.c (feholdexcept): Return 0.
59426         * math/fesetenv.c (__fesetenv): Return 0.
59427         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
59428         argument FE_TONEAREST.
59429         * math/feupdateenv.c (__feupdateenv): Return 0.
59430         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
59432 2013-06-18  Roland McGrath  <roland@hack.frob.com>
59434         * elf/rtld-Rules (rtld-compile-command.S): New variable.
59435         (rtld-compile-command.s, rtld-compile-command.c): New variables.
59436         ($(objpfx)rtld-%.os rules): Use them.
59438 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59440         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
59441         fields.
59443 2013-06-17  Roland McGrath  <roland@hack.frob.com>
59445         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
59446         length of target pattern, then descending length of dependency pattern.
59447         * configure.in (AWK): Require gawk 3.1.2 or newer.
59448         * manual/install.texi (Tools for Compilation): Say that we do.
59449         * configure: Regenerated.
59451         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
59452         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
59453         * scripts/sysd-rules.awk: ... this new script.
59454         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
59455         than a glob-style pattern.
59457 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
59459         * math/test-misc.c (main): Do not treat incorrectly rounded
59460         conversions as failure unless ROUNDING_TESTS passes.
59462 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
59464         [BZ #15631]
59465         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
59466         restore exception state around main square root computation, then
59467         check for inexactness explicitly.
59469         * math/libm-test.inc (fma_test_data): Add another test.
59471 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
59473         * manual/threads.texi (Non-POSIX Extensions): New document
59474         node.  Document pthread_getattr_default_np and
59475         pthread_setattr_default_np.
59477         * Versions.def (libpthread): Add GLIBC_2.18.
59478         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
59479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
59480         Likewise.
59481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
59482         Likewise.
59483         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
59484         Likewise.
59485         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
59486         Likewise.
59487         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
59488         Likewise.
59489         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
59490         Likewise.
59491         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
59492         Likewise.
59493         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
59494         Likewise.
59495         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
59496         Likewise.
59498 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59500         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59501         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
59503 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
59504             H.J. Lu  <hjl.tools@gmail.com>
59506         [BZ #15627]
59507         * sysdeps/x86_64/rtld-memset.c: Remove file.
59508         * sysdeps/x86_64/rtld-memset.S: New file.
59510 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
59512         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
59513         (test_in_one_mode): Take arguments for whether the rounding mode
59514         is supported for each floating-point type.
59515         (do_test): Pass new arguments to test_in_one_mode using
59516         ROUNDING_TESTS.
59518 2013-06-13  Roland McGrath  <roland@hack.frob.com>
59520         * posix/tst-waitid.c (do_test): Distinguish different instances of
59521         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
59522         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
59523         before entering the kernel for waitpid.
59525 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
59527         * NEWS: Fix note on clock function precision.  Text by Roland
59528         McGrath.
59530 2013-06-13  Roland McGrath  <roland@hack.frob.com>
59532         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
59533         it into place only when and if the sanity check passes.
59535 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
59537         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
59538         output for whether conversion result is exact.  Take argument
59539         indicating whether type is IBM long double.
59540         (round_for_all): Change need_exact field to ibm_ld.
59541         * stdlib/tst-strtod-round.c (struct exactness): New type.
59542         (struct test): Change bool ld_ok field to struct exactness exact.
59543         (TEST): Update all definitions for change to field.
59544         (tests): Regenerate array contents.
59545         (test_in_one_mode): Take pointer to new field instead of old ld_ok
59546         field value.  Check for IBM long double here.
59547         (do_test): Update calls to test_in_one_mode.
59549 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
59551         [BZ #12515]
59552         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
59553         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
59555 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59557         [BZ #15605]
59558         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
59559         generated by the compiler on loop optimizations.
59560         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
59561         general definitions.
59563 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
59565         * math/bug-nextafter.c: Include <math-tests.h>.
59566         (main): Only test for exceptions if EXCEPTION_TESTS is true for
59567         the relevant type.
59568         * math/bug-nexttoward.c: Include <math-tests.h>.
59569         (main): Only test for exceptions if EXCEPTION_TESTS is true for
59570         the relevant type.
59571         * math/test-misc.c: Include <math-tests.h>.
59572         (main): Only test for exceptions if EXCEPTION_TESTS is true for
59573         the relevant type.
59575 2013-06-12  Andreas Jaeger  <aj@suse.de>
59577         * po/ia.po: Update Interlingua translation from translation
59578         project.
59580 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
59582         * include/fenv.h: Include stdbool.h.
59583         (struct rm_ctx): New structure.
59584         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
59585         Define macro.
59586         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
59587         (SET_RESTORE_ROUNDF): Likewise.
59588         (SET_RESTORE_ROUNDL): Likewise.
59589         (SET_RESTORE_ROUND_NOEX): Likewise.
59590         (SET_RESTORE_ROUND_NOEXF): Likewise.
59591         (SET_RESTORE_ROUND_NOEXL): Likewise.
59592         (SET_RESTORE_ROUND_53BIT): Likewise.
59593         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
59594         (libc_feresetround_noexf_ctx): Likewise.
59595         (libc_feresetround_noexl_ctx): Likewise.
59596         (libc_feholdsetround_53bit_ctx): Likewise.
59597         (libc_feresetround_53bit_ctx): Likewise.
59598         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
59599         (libc_feholdexcept_setround_sse_ctx): New function.
59600         (libc_fesetenv_sse_ctx): Likewise.
59601         (libc_feupdateenv_sse_ctx): Likewise.
59602         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
59603         (libc_feholdexcept_setround_387_ctx): Likewise.
59604         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
59605         (libc_feholdsetround_387_prec_ctx): Likewise.
59606         (libc_feholdsetround_387_ctx): Likewise.
59607         (libc_feholdsetround_387_53bit_ctx): Likewise.
59608         (libc_feholdsetround_sse_ctx): Likewise.
59609         (libc_feresetround_sse_ctx): Likewise.
59610         (libc_feresetround_387_ctx): Likewise.
59611         (libc_feupdateenv_387_ctx): Likewise.
59612         (libc_feholdexcept_setroundf_ctx): Define macro.
59613         (libc_fesetenvf_ctx): Likewise.
59614         (libc_feupdateenvf_ctx): Likewise.
59615         (libc_feholdsetroundf_ctx): Likewise.
59616         (libc_feresetroundf_ctx): Likewise.
59617         (libc_feholdexcept_setround_ctx): Likewise.
59618         (libc_fesetenv_ctx): Likewise.
59619         (libc_feupdateenv_ctx): Likewise.
59620         (libc_feholdsetround_ctx): Likewise.
59621         (libc_feresetround_ctx): Likewise.
59622         (libc_feholdexcept_setroundl_ctx): Likewise.
59623         (libc_feupdateenvl_ctx): Likewise.
59624         (libc_feholdsetroundl_ctx): Likewise.
59625         (libc_feresetroundl_ctx): Likewise.
59626         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
59627         (libc_feresetround_53bit_ctx): Likewise.
59629 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59631         * locale/iso-639.def: Convert to UTF-8.
59633 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
59635         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
59636         (EXCEPTION_TESTS_double): Likewise.
59637         (EXCEPTION_TESTS_long_double): Likewise.
59638         (EXCEPTION_TESTS): Likewise.
59639         * math/libm-test.inc (test_exceptions): Only test exceptions if
59640         EXCEPTION_TESTS (FLOAT).
59642 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59644         * benchtests/Makefile (string-bench): Add strcpy_chk and
59645         stpcpy_chk.
59646         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
59647         * benchtests/bench-stpcpy_chk.c: New file.
59648         * benchtests/bench-strcpy_chk-ifunc.c: New file.
59649         * benchtests/bench-strcpy_chk.c: New file.
59650         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
59651         code.
59652         (do_test): Likewise.
59654 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59656         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
59657         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
59658         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
59659         with tabs where appropriate.
59660         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
59661         dl-procinfo.h.
59662         [PPC_PLATFORM_PPC440]: Likewise.
59663         [PPC_PLATFORM_PPC464]: Likewise.
59664         [PPC_PLATFORM_PPC476]: Likewise.
59665         (_dl_string_platform): Add support for detecting ppc405, ppc440,
59666         ppc464, and ppc476 platform strings merging from ports/
59667         dl-procinfo.h.
59669 2013-06-11  Andreas Schwab  <schwab@suse.de>
59671         [BZ #14991]
59672         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
59673         (from_ucs4_idx): Regenerate.
59674         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
59675         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
59676         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
59677         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
59678         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
59679         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
59680         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
59681         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
59682         from FROM_LOOP and TO_LOOP specific macros.
59683         (BODY): Handle combining characters.
59684         * iconvdata/BIG5HKSCS.irreversible: Update.
59685         * iconvdata/BIG5HKSCS.precomposed: New file.
59686         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
59687         characters.
59688         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
59690 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59692         * include/sys/time.h: Fix indentation and add copyright header.
59694         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
59695         (do_test): Likewise.
59696         * string/test-memchr.c (do_one_test): Likewise.
59697         (do_test): Likewise.
59698         * string/test-memcmp.c (do_one_test): Likewise.
59699         (do_test): Likewise.
59700         * string/test-memcpy.c (do_one_test): Likewise.
59701         (do_test): Likewise.
59702         * string/test-memmem.c (do_one_test): Likewise.
59703         (do_test): Likewise.
59704         (do_random_tests): Likewise.
59705         * string/test-memmove.c (do_one_test): Likewise.
59706         (do_test): Likewise.
59707         * string/test-memset.c (do_one_test): Likewise.
59708         (do_test): Likewise.
59709         * string/test-rawmemchr.c (do_one_test): Likewise.
59710         (do_test): Likewise.
59711         * string/test-strcasecmp.c (do_one_test): Likewise.
59712         (do_test): Likewise.
59713         * string/test-strcasestr.c (do_one_test): Likewise.
59714         (do_test): Likewise.
59715         * string/test-strcat.c (do_one_test): Likewise.
59716         (do_test): Likewise.
59717         * string/test-strchr.c (do_one_test): Likewise.
59718         (do_test): Likewise.
59719         * string/test-strcmp.c (do_one_test): Likewise.
59720         (do_test): Likewise.
59721         * string/test-strcpy.c (do_one_test): Likewise.
59722         (do_test): Likewise.
59723         * string/test-string.h: Likewise.
59724         (test_init): Likewise.
59725         * string/test-strlen.c (do_one_test): Likewise.
59726         (do_test): Likewise.
59727         * string/test-strncasecmp.c (do_one_test): Likewise.
59728         (do_test): Likewise.
59729         * string/test-strncat.c (do_one_test): Likewise.
59730         (do_test): Likewise.
59731         * string/test-strncmp.c (do_one_test): Likewise.
59732         (do_test_limit): Likewise.
59733         (do_test): Likewise.
59734         * string/test-strncpy.c (do_one_test): Likewise.
59735         (do_test): Likewise.
59736         * string/test-strnlen.c (do_one_test): Likewise.
59737         (do_test): Likewise.
59738         * string/test-strpbrk.c (do_one_test): Likewise.
59739         (do_test): Likewise.
59740         * string/test-strrchr.c (do_one_test): Likewise.
59741         (do_test): Likewise.
59742         * string/test-strspn.c (do_one_test): Likewise.
59743         (do_test): Likewise.
59744         * string/test-strstr.c (do_one_test): Likewise.
59745         (do_test): Likewise.
59747         * benchtests/Makefile (string-bench): Add string benchmarks.
59748         * benchtests/bench-bcopy-ifunc.c: New file.
59749         * benchtests/bench-bcopy.c: New file.
59750         * benchtests/bench-bzero-ifunc.c: New file.
59751         * benchtests/bench-bzero.c: New file.
59752         * benchtests/bench-memccpy-ifunc.c: New file.
59753         * benchtests/bench-memccpy.c: New file.
59754         * benchtests/bench-memchr-ifunc.c: New file.
59755         * benchtests/bench-memchr.c: New file.
59756         * benchtests/bench-memcmp-ifunc.c: New file.
59757         * benchtests/bench-memcmp.c: New file.
59758         * benchtests/bench-memmem-ifunc.c: New file.
59759         * benchtests/bench-memmem.c: New file.
59760         * benchtests/bench-memmove-ifunc.c: New file.
59761         * benchtests/bench-memmove.c: New file.
59762         * benchtests/bench-mempcpy-ifunc.c: New file.
59763         * benchtests/bench-mempcpy.c: New file.
59764         * benchtests/bench-memset-ifunc.c: New file.
59765         * benchtests/bench-memset.c: New file.
59766         * benchtests/bench-rawmemchr-ifunc.c: New file.
59767         * benchtests/bench-rawmemchr.c: New file.
59768         * benchtests/bench-stpcpy-ifunc.c: New file.
59769         * benchtests/bench-stpcpy.c: New file.
59770         * benchtests/bench-stpncpy-ifunc.c: New file.
59771         * benchtests/bench-stpncpy.c: New file.
59772         * benchtests/bench-strcasecmp-ifunc.c: New file.
59773         * benchtests/bench-strcasecmp.c: New file.
59774         * benchtests/bench-strcasestr-ifunc.c: New file.
59775         * benchtests/bench-strcasestr.c: New file.
59776         * benchtests/bench-strcat-ifunc.c: New file.
59777         * benchtests/bench-strcat.c: New file.
59778         * benchtests/bench-strchr-ifunc.c: New file.
59779         * benchtests/bench-strchr.c: New file.
59780         * benchtests/bench-strchrnul-ifunc.c: New file.
59781         * benchtests/bench-strchrnul.c: New file.
59782         * benchtests/bench-strcmp-ifunc.c: New file.
59783         * benchtests/bench-strcmp.c: New file.
59784         * benchtests/bench-strcpy-ifunc.c: New file.
59785         * benchtests/bench-strcpy.c: New file.
59786         * benchtests/bench-strcspn-ifunc.c: New file.
59787         * benchtests/bench-strcspn.c: New file.
59788         * benchtests/bench-strlen-ifunc.c: New file.
59789         * benchtests/bench-strlen.c: New file.
59790         * benchtests/bench-strncasecmp-ifunc.c: New file.
59791         * benchtests/bench-strncasecmp.c: New file.
59792         * benchtests/bench-strncat-ifunc.c: New file.
59793         * benchtests/bench-strncat.c: New file.
59794         * benchtests/bench-strncmp-ifunc.c: New file.
59795         * benchtests/bench-strncmp.c: New file.
59796         * benchtests/bench-strncpy-ifunc.c: New file.
59797         * benchtests/bench-strncpy.c: New file.
59798         * benchtests/bench-strnlen-ifunc.c: New file.
59799         * benchtests/bench-strnlen.c: New file.
59800         * benchtests/bench-strpbrk-ifunc.c: New file.
59801         * benchtests/bench-strpbrk.c: New file.
59802         * benchtests/bench-strrchr-ifunc.c: New file.
59803         * benchtests/bench-strrchr.c: New file.
59804         * benchtests/bench-strspn-ifunc.c: New file.
59805         * benchtests/bench-strspn.c: New file.
59806         * benchtests/bench-strstr-ifunc.c: New file.
59807         * benchtests/bench-strstr.c: New file.
59809         * benchtests/Makefile: Disable parallel execution of targets.
59810         (string-bench): Add memcpy.
59811         (benchset): New variable to store a list of benchmark sets.
59812         (bench-func): Renamed from bench.
59813         (bench-set): New target.
59814         (bench): Depend on bench-func and bench-set.
59815         * benchtests/README: Add section on benchmark sets.
59816         * benchtests/bench-memcpy-ifunc.c: New file.
59817         * benchtests/bench-memcpy.c: New file.
59818         * benchtests/bench-string.h: New file.
59820 2013-06-11  Andreas Schwab  <schwab@suse.de>
59822         [BZ #15577]
59823         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
59824         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
59825         values in the triple.
59826         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
59827         terminator in the group key.
59829 2013-06-11  Andreas Jaeger  <aj@suse.de>
59831         * po/zh_TW.po: Update Chinese (traditional) translation from
59832         translation project.
59834 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59836         * include/time.h (__clock_gettime): Add libc_hidden_proto.
59837         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
59838         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
59839         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
59840         (clock_getcpuclockid): Likewise.
59841         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
59842         Add weak_alias and libc_hidden_def.
59843         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
59844         * rt/clock_gettime.c (clock_gettime): Rename to
59845         __clock_gettime.  Add weak_alias and libc_hidden_def.
59846         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
59847         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
59848         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
59849         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
59850         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
59851         Likewise.
59852         * rt/clock_settime.c (clock_settime): Rename to
59853         __clock_settime.  Add weak_alias and libc_hidden_def.
59854         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
59856 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
59858         * mach/err_boot.sub: Remove trailing whitespace.
59859         * mach/err_ipc.sub: Likewise.
59860         * mach/err_mach.sub: Likewise.
59862         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
59863         (ROUNDING_TESTS_double): Likewise.
59864         (ROUNDING_TESTS_long_double): Likewise.
59865         (ROUNDING_TESTS): Likewise.
59866         * math/libm-test.inc: Include <math-tests.h>.
59867         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
59868         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
59869         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
59870         (IF_ROUND_INIT_FE_UPWARD): Likewise.
59872 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59874         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
59875         of assigning.
59877 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
59879         * sysdeps/gnu/errlist.awk: Do not generate space at end of
59880         otherwise empty TRANS lines.
59881         * sysdeps/gnu/errlist.c: Regenerated.
59883         * catgets/gencat.c (error_print): Use (void) in function
59884         definition.
59885         * crypt/crypt_util.c (__init_des): Likewise.
59886         * crypt/speeds.c (Stop): Likewise.
59887         (main): Likewise.
59888         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
59889         * inet/ruserpass.c (token): Likewise.
59890         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
59891         * intl/localealias.c (extend_alias_table): Likewise.
59892         * intl/plural-exp.c (init_germanic_plural): Likewise.
59893         * libio/fcloseall.c (__fcloseall): Likewise.
59894         * libio/genops.c (_IO_flush_all): Likewise.
59895         (_IO_flush_all_linebuffered): Likewise.
59896         (_IO_cleanup): Likewise.
59897         (_IO_iter_begin): Likewise.
59898         (_IO_iter_end): Likewise.
59899         (_IO_list_lock): Likewise.
59900         (_IO_list_unlock): Likewise.
59901         (_IO_list_resetlock): Likewise.
59902         * libio/getchar.c (getchar): Likewise.
59903         * libio/getchar_u.c (getchar_unlocked): Likewise.
59904         * libio/getwchar.c (getwchar): Likewise.
59905         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
59906         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
59907         * login/getpt.c (__getpt): Likewise.
59908         * login/tst-utmp.c (main): Likewise.
59909         * malloc/hooks.c (__malloc_check_init): Likewise.
59910         * malloc/malloc.c (__malloc_stats): Likewise.
59911         * malloc/mtrace.c (tr_break): Likewise.
59912         (mtrace): Likewise.
59913         (muntrace): Likewise.
59914         * misc/fstab.c (endfsent): Likewise.
59915         * misc/getclktck.c (__getclktck): Likewise.
59916         * misc/getdtsz.c (__getdtablesize): Likewise.
59917         * misc/gethostid.c (gethostid): Likewise.
59918         * misc/getpagesize.c (__getpagesize): Likewise.
59919         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
59920         (__get_nprocs): Likewise.
59921         (__get_phys_pages): Likewise.
59922         (__get_avphys_pages): Likewise.
59923         * misc/getttyent.c (getttyent): Likewise.
59924         (setttyent): Likewise.
59925         (endttyent): Likewise.
59926         * misc/getusershell.c (getusershell): Likewise.
59927         (endusershell): Likewise.
59928         (setusershell): Likewise.
59929         (initshells): Likewise.
59930         * misc/hsearch.c (__hdestroy): Likewise.
59931         * misc/sync.c (sync): Likewise.
59932         * misc/syslog.c (closelog_internal): Likewise.
59933         (closelog): Likewise.
59934         * misc/ttyslot.c (ttyslot): Likewise.
59935         * misc/vhangup.c (vhangup): Likewise.
59936         * posix/fork.c (__fork): Likewise.
59937         * posix/getegid.c (__getegid): Likewise.
59938         * posix/geteuid.c (__geteuid): Likewise.
59939         * posix/getgid.c (__getgid): Likewise.
59940         * posix/getpid.c (__getpid): Likewise.
59941         * posix/getppid.c (__getppid): Likewise.
59942         * posix/getuid.c (__getuid): Likewise.
59943         * posix/pause.c (pause): Likewise.
59944         * posix/setpgrp.c (setpgrp): Likewise.
59945         * posix/setsid.c (__setsid): Likewise.
59946         * posix/test-vfork.c (noop): Likewise.
59947         * resolv/gethnamaddr.c (_endhtent): Likewise.
59948         (_gethtent): Likewise.
59949         (ht_endhostent): Likewise.
59950         (gethostent): Likewise.
59951         (dns_service): Likewise.
59952         * stdlib/drand48.c (drand48): Likewise.
59953         * stdlib/lrand48.c (lrand48): Likewise.
59954         * stdlib/mrand48.c (mrand48): Likewise.
59955         * stdlib/rand.c (rand): Likewise.
59956         * stdlib/random.c (__random): Likewise.
59957         * stdlib/setenv.c (clearenv): Likewise.
59958         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
59959         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
59960         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
59961         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
59962         (__get_nprocs): Likewise.
59963         (__get_phys_pages): Likewise.
59964         (__get_avphys_pages): Likewise.
59965         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
59966         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
59967         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
59968         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
59969         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
59970         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
59971         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
59972         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
59973         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
59974         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
59975         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
59976         * sysdeps/mach/hurd/sync.c (sync): Likewise.
59977         * sysdeps/posix/clock.c (clock): Likewise.
59978         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
59979         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
59980         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
59981         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
59982         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
59983         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
59984         (__get_nprocs_conf): Likewise.
59985         (__get_phys_pages): Likewise.
59986         (__get_avphys_pages): Likewise.
59987         * time/clock.c (clock): Likewise.
59988         * time/tzset.c (__tzname_max): Likewise.
59990 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
59992         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
59993         (__bswap_32): Do not use "register".
59994         * crypt/crypt.c (_ufc_doit_r): Likewise.
59995         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
59996         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
59997         * gmon/gmon.c (__monstartup): Likewise.
59998         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
59999         * hurd/hurdmalloc.c (more_memory): Likewise.
60000         (malloc): Likewise.
60001         (free): Likewise.
60002         (realloc): Likewise.
60003         (malloc_fork_prepare): Likewise.
60004         (malloc_fork_parent): Likewise.
60005         (malloc_fork_child): Likewise.
60006         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
60007         (_svcauth_des): Likewise.
60008         * inet/inet_lnaof.c (inet_lnaof): Likewise.
60009         * inet/inet_net.c (inet_network): Likewise.
60010         * inet/inet_netof.c (inet_netof): Likewise.
60011         * inet/rcmd.c (__validuser2_sa): Likewise.
60012         * io/fts.c (fts_open): Likewise.
60013         (fts_load): Likewise.
60014         (fts_close): Likewise.
60015         (fts_read): Likewise.
60016         (fts_children): Likewise.
60017         (fts_build): Likewise.
60018         (fts_stat): Likewise.
60019         (fts_sort): Likewise.
60020         (fts_alloc): Likewise.
60021         (fts_lfree): Likewise.
60022         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
60023         (_IO_file_xsgetn): Likewise.
60024         (_IO_file_xsgetn_mmap): Likewise.
60025         * libio/iofopncook.c (_IO_cookie_read): Likewise.
60026         (_IO_cookie_write): Likewise.
60027         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
60028         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
60029         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
60030         * malloc/obstack.c (_obstack_begin): Likewise.
60031         (_obstack_begin_1): Likewise.
60032         (_obstack_newchunk): Likewise.
60033         (_obstack_allocated_p): Likewise.
60034         (obstack_free): Likewise.
60035         (_obstack_memory_used): Likewise.
60036         * misc/getttyent.c (getttynam): Likewise.
60037         (getttyent): Likewise.
60038         (skip): Likewise.
60039         (value): Likewise.
60040         * misc/getusershell.c (initshells): Likewise.
60041         * misc/syslog.c (__vsyslog_chk): Likewise.
60042         * misc/ttyslot.c (ttyslot): Likewise.
60043         * nis/nis_hash.c (__nis_hash): Likewise.
60044         * posix/fnmatch_loop.c (FCT): Likewise.
60045         * posix/getconf.c (print_all): Likewise.
60046         (main): Likewise.
60047         * posix/getopt.c (exchange): Likewise.
60048         * posix/glob.c (globfree): Likewise.
60049         (prefix_array): Likewise.
60050         (__glob_pattern_type): Likewise.
60051         * resolv/arpa/nameser.h (NS_GET16): Likewise.
60052         (NS_GET32): Likewise.
60053         (NS_PUT16): Likewise.
60054         (NS_PUT32): Likewise.
60055         * resolv/gethnamaddr.c (getanswer): Likewise.
60056         (gethostbyname2): Likewise.
60057         (gethostbyaddr): Likewise.
60058         (_gethtent): Likewise.
60059         (_gethtbyname2): Likewise.
60060         (_gethtbyaddr): Likewise.
60061         * resolv/ns_print.c (dst_s_get_int16): Likewise.
60062         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
60063         * resolv/res_init.c (__res_vinit): Likewise.
60064         (net_mask): Likewise.
60065         * resolv/res_mkquery.c (outchar): Likewise.
60066         (PRINT): Likewise.
60067         * stdio-common/printf_fp.c (outchar): Likewise.
60068         (PRINT): Likewise.
60069         * stdio-common/printf_fphex.c (outchar): Likewise.
60070         (PRINT): Likewise.
60071         * stdio-common/printf_size.c (outchar): Likewise.
60072         (PRINT): Likewise.
60073         * stdio-common/test_rdwr.c (main): Likewise.
60074         * stdio-common/tfformat.c (matches): Likewise.
60075         * stdio-common/vfprintf.c (outchar): Likewise.
60076         (printf_unknown): Likewise.
60077         (buffered_vfprintf): Likewise.
60078         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
60079         * stdio-common/xbug.c (AppendToBuffer): Likewise.
60080         (ReadFile): Likewise.
60081         * stdlib/qsort.c (SWAP): Likewise.
60082         (_quicksort): Likewise.
60083         * stdlib/setenv.c (__add_to_environ): Likewise.
60084         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
60085         * stdlib/strtol_l.c (__strtol_l): Likewise.
60086         * stdlib/tst-strtod.c (main): Likewise.
60087         * stdlib/tst-strtol.c (main): Likewise.
60088         * stdlib/tst-strtoll.c (main): Likewise.
60089         * string/bits/string2.h (__strcmp_cc): Likewise.
60090         (__strcmp_cg): Likewise.
60091         (__strcspn_c1): Likewise.
60092         (__strcspn_c2): Likewise.
60093         (__strcspn_c3): Likewise.
60094         (__strspn_c1): Likewise.
60095         (__strspn_c2): Likewise.
60096         (__strspn_c3): Likewise.
60097         (__strsep_1c): Likewise.
60098         (__strsep_2c): Likewise.
60099         (__strsep_3c): Likewise.
60100         * string/memccpy.c (__memccpy): Likewise.
60101         * string/stpcpy.c (__stpcpy): Likewise.
60102         * string/strcmp.c (strcmp): Likewise.
60103         * string/strrchr.c (strrchr): Likewise.
60104         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
60105         Likewise.
60106         * sysdeps/mach/hurd/getcwd.c
60107         (_hurd_canonicalize_directory_name_internal): Likewise.
60108         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
60109         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
60110         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
60111         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
60112         Likewise, in both definitions.
60113         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
60114         definitions.
60115         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
60116         64] (__bswap_64): Likewise.
60117         * time/test_time.c (main): Likewise.
60118         * time/tzfile.c (__tzfile_read): Likewise.
60119         (__tzfile_compute): Likewise.
60120         * time/tzset.c (__tzset_parse_tz): Likewise.
60121         (tzset_internal): Likewise.
60122         (compute_change): Likewise.
60123         * wcsmbs/wcscat.c (__wcscat): Likewise.
60124         * wcsmbs/wcschr.c (wcschr): Likewise.
60125         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
60126         * wcsmbs/wcscspn.c (wcscspn): Likewise.
60127         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
60128         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
60129         * wcsmbs/wcsspn.c (wcsspn): Likewise.
60130         * wcsmbs/wcsstr.c (wcsstr): Likewise.
60131         * wcsmbs/wmemchr.c (wmemchr): Likewise.
60132         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
60133         * wcsmbs/wmemset.c (wmemset): Likewise.
60135 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
60137         * scripts/config.guess: Update to version 2013-05-16.
60138         * scripts/config.sub: Update to version 2013-04-24.
60139         * scripts/install-sh: Update to version 2011-11-20.07.
60140         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
60141         * scripts/move-if-change: Update to version 2012-01-06 07:23.
60143 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
60145         * debug/fgetws_u_chk.c: Fix leading whitespaces.
60146         * elf/sln.c: Likewise.
60147         * hurd/hurd/ioctl.h: Likewise.
60148         * hurd/hurdmalloc.c: Likewise.
60149         * hurd/xattr.c: Likewise.
60150         * include/shlib-compat.h: Likewise.
60151         * inet/ruserpass.c: Likewise.
60152         * libio/iofgets_u.c: Likewise.
60153         * libio/iofgetws_u.c: Likewise.
60154         * locale/programs/ld-identification.c: Likewise.
60155         * locale/programs/ld-time.c: Likewise.
60156         * mach/msg-destroy.c: Likewise.
60157         * nss/nss_files/files-netgrp.c: Likewise.
60158         * resolv/res_data.c: Likewise.
60159         * soft-fp/op-1.h: Likewise.
60160         * soft-fp/op-2.h: Likewise.
60161         * soft-fp/op-4.h: Likewise.
60162         * soft-fp/op-common.h: Likewise.
60163         * stdio-common/printf_fphex.c: Likewise.
60164         * stdlib/strtod_l.c: Likewise.
60165         * sunrpc/rpc/clnt.h: Likewise.
60166         * sysdeps/generic/framestate.c: Likewise.
60167         * sysdeps/i386/bsd-_setjmp.S: Likewise.
60168         * sysdeps/i386/bsd-setjmp.S: Likewise.
60169         * sysdeps/i386/__longjmp.S: Likewise.
60170         * sysdeps/i386/setjmp.S: Likewise.
60171         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
60172         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
60173         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
60174         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
60175         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
60176         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
60177         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
60178         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
60179         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
60180         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
60181         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
60182         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
60183         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
60184         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
60185         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
60186         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
60187         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
60188         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
60189         * sysdeps/ieee754/support.c: Likewise.
60190         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
60191         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
60192         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
60193         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
60194         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
60195         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
60196         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
60197         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
60198         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
60199         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
60200         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
60201         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
60202         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
60203         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
60204         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
60205         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
60206         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
60207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
60209 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
60211         * posix/transbug.c: Remove executable mode.
60213 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
60215         * crypt/speeds.c: Remove trailing whitespace.
60216         * dlfcn/default.c: Likewise.
60217         * elf/ifuncdep2.c: Likewise.
60218         * elf/ifuncmain1.c: Likewise.
60219         * elf/ifuncmain1vis.c: Likewise.
60220         * elf/testobj.h: Likewise.
60221         * elf/tst-stackguard1.c: Likewise.
60222         * gmon/sys/gmon.h: Likewise.
60223         * hurd/hurdmsg.c: Likewise.
60224         * hurd/new-fd.c: Likewise.
60225         * hurd/ports-get.c: Likewise.
60226         * iconvdata/ibm1008_420.c: Likewise.
60227         * inet/tst-getni1.c: Likewise.
60228         * inet/tst-getni2.c: Likewise.
60229         * libio/ioungetc.c: Likewise.
60230         * libio/wfiledoalloc.c: Likewise.
60231         * manual/libm-err-tab.pl: Likewise.
60232         * math/w_dremf.c: Likewise.
60233         * misc/ftruncate.c: Likewise.
60234         * posix/bug-glob2.c: Likewise.
60235         * posix/tst-pcre.c: Likewise.
60236         * posix/wait4.c: Likewise.
60237         * resolv/README: Likewise.
60238         * resolv/res_debug.h: Likewise.
60239         * resolv/tst-inet_ntop.c: Likewise.
60240         * setjmp/bug269-setjmp.c: Likewise.
60241         * soft-fp/extended.h: Likewise.
60242         * soft-fp/op-1.h: Likewise.
60243         * soft-fp/op-2.h: Likewise.
60244         * soft-fp/op-4.h: Likewise.
60245         * soft-fp/op-8.h: Likewise.
60246         * soft-fp/testit.c: Likewise.
60247         * stdio-common/bug16.c: Likewise.
60248         * stdlib/random.c: Likewise.
60249         * sunrpc/rpcsvc/rquota.x: Likewise.
60250         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
60251         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
60252         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
60253         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
60254         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
60255         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
60256         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
60257         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
60258         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
60259         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
60260         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
60261         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
60262         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
60263         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
60264         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
60265         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
60266         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
60267         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
60268         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
60269         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
60270         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
60271         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
60272         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
60273         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
60274         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
60275         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
60276         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
60277         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
60278         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
60279         * sysdeps/ieee754/s_lib_version.c: Likewise.
60280         * sysdeps/mach/hurd/check_fds.c: Likewise.
60281         * sysdeps/mach/hurd/getsockname.c: Likewise.
60282         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
60283         * sysdeps/mach/hurd/recvfrom.c: Likewise.
60284         * sysdeps/powerpc/bits/link.h: Likewise.
60285         * sysdeps/powerpc/dl-procinfo.c: Likewise.
60286         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
60287         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
60288         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
60289         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
60290         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
60291         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
60292         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
60293         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
60294         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
60295         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
60296         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
60297         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
60298         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
60299         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
60300         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
60301         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
60302         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
60303         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
60304         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
60305         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
60306         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
60307         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
60308         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
60309         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
60310         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
60311         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
60312         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
60313         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
60314         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
60315         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
60316         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
60317         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
60318         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
60319         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
60320         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
60321         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
60322         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
60323         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
60324         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
60325         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
60326         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
60327         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
60328         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
60329         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
60330         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
60331         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
60332         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
60333         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
60334         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
60335         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
60336         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
60337         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
60338         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
60339         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
60340         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
60341         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
60342         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
60343         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
60344         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
60345         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
60346         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
60347         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
60348         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
60349         * sysdeps/powerpc/sysdep.h: Likewise.
60350         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
60351         * sysdeps/s390/s390-64/sub_n.S: Likewise.
60352         * sysdeps/sh/dl-trampoline.S: Likewise.
60353         * sysdeps/sh/memset.S: Likewise.
60354         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
60355         * sysdeps/sh/strlen.S: Likewise.
60356         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
60357         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
60358         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
60359         * sysdeps/sparc/sparc32/rem.S: Likewise.
60360         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
60361         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
60362         * sysdeps/sparc/sparc32/strchr.S: Likewise.
60363         * sysdeps/sparc/sparc32/udiv.S: Likewise.
60364         * sysdeps/sparc/sparc32/urem.S: Likewise.
60365         * sysdeps/sparc/sparc64/add_n.S: Likewise.
60366         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
60367         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
60368         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
60369         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
60370         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
60371         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
60372         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
60373         * sysdeps/unix/bsd/times.c: Likewise.
60374         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
60375         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
60376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
60377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
60378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
60379         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
60380         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
60381         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
60382         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
60383         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
60384         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
60385         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
60386         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
60387         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
60388         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
60389         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
60390         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
60391         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
60392         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
60393         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
60394         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
60395         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
60396         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
60397         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
60398         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
60399         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
60400         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
60401         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
60402         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
60403         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
60404         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
60405         * sysdeps/x86_64/strcspn.S: Likewise.
60407 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60409         * locale/C-translit.h: Revert #include <stdint.h> because this is a
60410         generated file.  Regenerate properly from gen-translit.pl.
60411         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
60412         locale/C-translit.h.
60414 2013-06-05  Andreas Schwab  <schwab@suse.de>
60416         [BZ #15100]
60417         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
60418         week as 6 instead of -1.
60419         * time/tst-strptime.c (day_tests): Add test case.
60421 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
60423         * sysdeps/generic/math_private.h
60424         (libc_feholdexcept_setround_53bit): Replace with
60425         libc_feholdsetround_53bit.
60426         (libc_feupdateenv_53bit): Replace with
60427         libc_feresetround_53bit.
60428         (SET_RESTORE_ROUND_53BIT): Adjust.
60430 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
60432         * string/test-strchrnul.c: Add copyright header.
60434         * posix/tst-getaddrinfo4.c: Increase test timeout.
60436 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
60438         [BZ #15536]
60439         * math/libm-test.inc (MAX_EXP): Remove
60440         (MIN_EXP): Define.
60441         (ulp): Use MIN_EXP - MANT_DIG.
60442         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
60444 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
60446         * po/be.po: Revert last change.
60447         * po/zh_CN.po: Likewise.
60448         * po/header.pot: Likewise.
60450 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
60452         * Makefile ($(common-objpfx)linkobj/libc.so): Define
60453         link-libc-deps to empty as target-specific variable.
60454         * Makerules (link-libc-args): New variable.
60455         (libc-for-link): Likewise.
60456         (link-libc-deps): Likewise.
60457         (lib%.so): Depend on $(link-libc-deps).  Link with
60458         $(link-libc-args).
60459         (build-module): Link with $(link-libc-args).
60460         (build-module-asneeded): Likewise.
60461         (build-module-helper-objlist): Filter out $(link-libc-deps) from
60462         list of objects.
60463         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
60464         target-specific variable.
60465         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
60466         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
60467         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
60468         libc.
60469         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
60470         libc and ld.so.
60471         ($(objpfx)libpcprofile.so): Likewise.
60472         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
60473         libc_nonshared.a.
60474         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
60475         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
60476         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
60477         $(link-libc-deps).
60478         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
60479         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
60480         * login/Makefile ($(objpfx)libutil.so): Likewise.
60481         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
60482         * math/Makefile ($(objpfx)libm.so): Likewise.
60483         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
60484         $(objpfx)libnsl.so): Define libc-for-link as target-specific
60485         variable instead of depending directly on libc.
60486         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
60487         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
60488         $(link-libc-deps).
60489         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
60490         libc.
60491         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
60492         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
60493         ($(objpfx)libanl.so): Likewise.
60494         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
60495         ld.so.
60496         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
60497         $(link-libc-deps).
60498         * sysdeps/i386/fpu/Makefile: Remove file.
60499         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
60500         ($(objpfx)libm.so): Remove dependency on ld.so.
60502 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
60504         [BZ # 15553]
60505         * nis/yp_xdr.c (XDRMAXNAME): Define.
60506         (XDRMAXRECORD): Define.
60507         (xdr_domainname): Use XDRMAXNAME.
60508         (xdr_mapname): Likewise.
60509         (xdr_peername): Likewise.
60510         (xdr_keydat): Use XDRMAXRECORD.
60511         (xdr_valdat): Likewise.
60513 2013-05-30  Jeff Law  <law@redhat.com>
60515         [BZ #14256]
60516         * manual/errno.texi (ESTALE): Update to account for more than
60517         just NFS file systems.
60518         * sysdeps/gnu/errlist.c: Regenerated.
60520 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
60522         [BZ #15465]
60523         * elf/Makefile (tests): Add tst-null-argv.
60524         (modules-names):  Add tst-null-argv-lib.
60525         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
60526         (tst-null-argv-ENV): Set environment for tst-null-argv.
60527         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
60528         (RTLD_PROGNAME): New macro.
60529         * elf/tst-null-argv.c: New test case.
60530         * elf/tst-null-argv-lib.c: Library for test case.
60531         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
60532         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
60533         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
60534         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
60535         * elf/dl-init.c (call_init): Likewise.
60536         (_dl_init): Likewise.
60537         * elf/dl-load.c (print_search_path): Likewise.
60538         (_dl_map_object): Likewise.
60539         * elf/dl-lookup.c (do_lookup_x): Likewise.
60540         (add_dependency): Likewise.
60541         (_dl_lookup_symbol_x): Likewise.
60542         (_dl_debug_bindings): Likewise.
60543         * elf/dl-open.c (_dl_show_scope): Likewise.
60544         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
60545         * elf/dl-version.c (match_symbol): Likewise.
60546         (_dl_check_map_versions): Likewise.
60547         * elf/rtld.c (dl_main): Likewise.
60548         (print_unresolved): Use RTLD_PROGNAME.
60549         (print_missing_version): Likewise.
60550         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
60551         (elf_machine_rela): Likewise.
60552         * sysdeps/powerpc/powerpc32/dl-machine.c
60553         (__process_machine_rela): Likewise.
60554         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60555         Likewise.
60556         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
60557         Likewise.
60558         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
60559         Likewise.
60560         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
60561         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
60562         Likewise.
60563         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
60564         Likewise.
60565         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
60567 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
60569         * po/be.po: Add descriptive title.
60570         * po/zh_CN.po: Likewise.
60571         * po/header.pot: Likewise.
60573 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
60575         * locale/programs/locarchive.c (create_archive): Inlucde fname in
60576         error message.
60577         (enlarge_archive): Likewise.
60579 2013-05-28  Ben North  <ben@redfrontdoor.org>
60581         * manual/arith.texi (frexp): It is the magnitude of the return
60582         value which lies in [0.5, 1), not the return value itself.
60584 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60586         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60588 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
60590         * stdio-common/bug26.c (main): Correct fscanf template.
60592         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
60593         declare _dl_skip_args.
60595         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
60596         Don't declare.
60598         * manual/platform.texi: Add missing @end deftypefun.
60600 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
60602         [BZ #15529]
60603         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
60604         bit of mantissa of 2^16382.
60605         * math/libm-test.inc (hypot_test_data): Add more tests.
60607         * math/libm-test.inc: Add drem and pow10 to list of tested
60608         functions.
60609         (pow10_test): New function.
60610         (drem_test): Likewise.
60611         (drem_test_tonearest): Likewise.
60612         (drem_test_towardzero): Likewise.
60613         (drem_test_downward): Likewise.
60614         (drem_test_upward): Likewise.
60615         (main): Call the new functions.
60617         * math/libm-test.inc (finite_test_data): Remove.
60618         (finite_test): Run tests from isfinite_test_data.
60619         (gamma_test_data): Remove.
60620         (gamma_test): Run tests from lgamma_test_data.
60621         * sysdeps/i386/fpu/libm-test-ulps: Update.
60622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60624 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60626         * manual/platform.texi: Add PowerPC PPR function set documentation.
60627         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
60628         implementation.
60630 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
60632         * math/libm-test.inc (MAX_EXP): Define.
60633         (ULPDIFF): Define.
60634         (ulp): New function.
60635         (check_float_internal): Use ULPDIFF.
60636         (cpow_test): Disable failing test.
60637         (check_ulp): Test ulp() implementation.
60638         (main): Call check_ulp before starting tests.
60640 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
60642         * math/gen-libm-test.pl (generate_testfile): Do not handle
60643         START_DATA and END_DATA.
60644         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
60645         END_DATA.
60646         (acos_tonearest_test_data): Likewise.
60647         (acos_towardzero_test_data): Likewise.
60648         (acos_downward_test_data): Likewise.
60649         (acos_upward_test_data): Likewise.
60650         (acosh_test_data): Likewise.
60651         (asin_test_data): Likewise.
60652         (asin_tonearest_test_data): Likewise.
60653         (asin_towardzero_test_data): Likewise.
60654         (asin_downward_test_data): Likewise.
60655         (asin_upward_test_data): Likewise.
60656         (asinh_test_data): Likewise.
60657         (atan_test_data): Likewise.
60658         (atanh_test_data): Likewise.
60659         (atan2_test_data): Likewise.
60660         (cabs_test_data): Likewise.
60661         (cacos_test_data): Likewise.
60662         (cacosh_test_data): Likewise.
60663         (carg_test_data): Likewise.
60664         (casin_test_data): Likewise.
60665         (casinh_test_data): Likewise.
60666         (catan_test_data): Likewise.
60667         (catanh_test_data): Likewise.
60668         (cbrt_test_data): Likewise.
60669         (ccos_test_data): Likewise.
60670         (ccosh_test_data): Likewise.
60671         (ceil_test_data): Likewise.
60672         (cexp_test_data): Likewise.
60673         (cimag_test_data): Likewise.
60674         (clog_test_data): Likewise.
60675         (clog10_test_data): Likewise.
60676         (conj_test_data): Likewise.
60677         (copysign_test_data): Likewise.
60678         (cos_test_data): Likewise.
60679         (cos_tonearest_test_data): Likewise.
60680         (cos_towardzero_test_data): Likewise.
60681         (cos_downward_test_data): Likewise.
60682         (cos_upward_test_data): Likewise.
60683         (cosh_test_data): Likewise.
60684         (cosh_tonearest_test_data): Likewise.
60685         (cosh_towardzero_test_data): Likewise.
60686         (cosh_downward_test_data): Likewise.
60687         (cosh_upward_test_data): Likewise.
60688         (cpow_test_data): Likewise.
60689         (cproj_test_data): Likewise.
60690         (creal_test_data): Likewise.
60691         (csin_test_data): Likewise.
60692         (csinh_test_data): Likewise.
60693         (csqrt_test_data): Likewise.
60694         (ctan_test_data): Likewise.
60695         (ctan_tonearest_test_data): Likewise.
60696         (ctan_towardzero_test_data): Likewise.
60697         (ctan_downward_test_data): Likewise.
60698         (ctan_upward_test_data): Likewise.
60699         (ctanh_test_data): Likewise.
60700         (ctanh_tonearest_test_data): Likewise.
60701         (ctanh_towardzero_test_data): Likewise.
60702         (ctanh_downward_test_data): Likewise.
60703         (ctanh_upward_test_data): Likewise.
60704         (erf_test_data): Likewise.
60705         (erfc_test_data): Likewise.
60706         (exp_test_data): Likewise.
60707         (exp_tonearest_test_data): Likewise.
60708         (exp_towardzero_test_data): Likewise.
60709         (exp_downward_test_data): Likewise.
60710         (exp_upward_test_data): Likewise.
60711         (exp10_test_data): Likewise.
60712         (exp2_test_data): Likewise.
60713         (expm1_test_data): Likewise.
60714         (fabs_test_data): Likewise.
60715         (fdim_test_data): Likewise.
60716         (finite_test_data): Likewise.
60717         (floor_test_data): Likewise.
60718         (fma_test_data): Likewise.
60719         (fma_towardzero_test_data): Likewise.
60720         (fma_downward_test_data): Likewise.
60721         (fma_upward_test_data): Likewise.
60722         (fmax_test_data): Likewise.
60723         (fmin_test_data): Likewise.
60724         (fmod_test_data): Likewise.
60725         (fpclassify_test_data): Likewise.
60726         (frexp_test_data): Likewise.
60727         (gamma_test_data): Likewise.
60728         (hypot_test_data): Likewise.
60729         (ilogb_test_data): Likewise.
60730         (isfinite_test_data): Likewise.
60731         (isgreater_test_data): Likewise.
60732         (isgreaterequal_test_data): Likewise.
60733         (isinf_test_data): Likewise.
60734         (isless_test_data): Likewise.
60735         (islessequal_test_data): Likewise.
60736         (islessgreater_test_data): Likewise.
60737         (isnan_test_data): Likewise.
60738         (isnormal_test_data): Likewise.
60739         (issignaling_test_data): Likewise.
60740         (isunordered_test_data): Likewise.
60741         (j0_test_data): Likewise.
60742         (j1_test_data): Likewise.
60743         (jn_test_data): Likewise.
60744         (ldexp_test_data): Likewise.
60745         (lgamma_test_data): Likewise.
60746         (lrint_test_data): Likewise.
60747         (lrint_tonearest_test_data): Likewise.
60748         (lrint_towardzero_test_data): Likewise.
60749         (lrint_downward_test_data): Likewise.
60750         (lrint_upward_test_data): Likewise.
60751         (llrint_test_data): Likewise.
60752         (llrint_tonearest_test_data): Likewise.
60753         (llrint_towardzero_test_data): Likewise.
60754         (llrint_downward_test_data): Likewise.
60755         (llrint_upward_test_data): Likewise.
60756         (log_test_data): Likewise.
60757         (log10_test_data): Likewise.
60758         (log1p_test_data): Likewise.
60759         (log2_test_data): Likewise.
60760         (logb_test_data): Likewise.
60761         (logb_downward_test_data): Likewise.
60762         (lround_test_data): Likewise.
60763         (llround_test_data): Likewise.
60764         (modf_test_data): Likewise.
60765         (nearbyint_test_data): Likewise.
60766         (nextafter_test_data): Likewise.
60767         (nexttoward_test_data): Likewise.
60768         (pow_test_data): Likewise.
60769         (pow_tonearest_test_data): Likewise.
60770         (pow_towardzero_test_data): Likewise.
60771         (pow_downward_test_data): Likewise.
60772         (pow_upward_test_data): Likewise.
60773         (remainder_test_data): Likewise.
60774         (remainder_tonearest_test_data): Likewise.
60775         (remainder_towardzero_test_data): Likewise.
60776         (remainder_downward_test_data): Likewise.
60777         (remainder_upward_test_data): Likewise.
60778         (remquo_test_data): Likewise.
60779         (rint_test_data): Likewise.
60780         (rint_tonearest_test_data): Likewise.
60781         (rint_towardzero_test_data): Likewise.
60782         (rint_downward_test_data): Likewise.
60783         (rint_upward_test_data): Likewise.
60784         (round_test_data): Likewise.
60785         (scalb_test_data): Likewise.
60786         (scalbn_test_data): Likewise.
60787         (scalbln_test_data): Likewise.
60788         (signbit_test_data): Likewise.
60789         (sin_test_data): Likewise.
60790         (sin_tonearest_test_data): Likewise.
60791         (sin_towardzero_test_data): Likewise.
60792         (sin_downward_test_data): Likewise.
60793         (sin_upward_test_data): Likewise.
60794         (sincos_test_data): Likewise.
60795         (sinh_test_data): Likewise.
60796         (sinh_tonearest_test_data): Likewise.
60797         (sinh_towardzero_test_data): Likewise.
60798         (sinh_downward_test_data): Likewise.
60799         (sinh_upward_test_data): Likewise.
60800         (sqrt_test_data): Likewise.
60801         (tan_test_data): Likewise.
60802         (tan_tonearest_test_data): Likewise.
60803         (tan_towardzero_test_data): Likewise.
60804         (tan_downward_test_data): Likewise.
60805         (tan_upward_test_data): Likewise.
60806         (tanh_test_data): Likewise.
60807         (tgamma_test_data): Likewise.
60808         (trunc_test_data): Likewise.
60809         (y0_test_data): Likewise.
60810         (y1_test_data): Likewise.
60811         (yn_test_data): Likewise.
60812         (significand_test_data): Likewise.
60814         * math/gen-libm-test.pl (@functions): Remove variable.
60815         (generate_testfile): Don't handle START and END lines.
60816         * math/libm-test.inc (START): New macro.
60817         (END): Likewise.
60818         (END_COMPLEX): Likewise.
60819         (acos_test): Use END macro without arguments.
60820         (acos_test_tonearest): Likewise.
60821         (acos_test_towardzero): Likewise.
60822         (acos_test_downward): Likewise.
60823         (acos_test_upward): Likewise.
60824         (acosh_test): Likewise.
60825         (asin_test): Likewise.
60826         (asin_test_tonearest): Likewise.
60827         (asin_test_towardzero): Likewise.
60828         (asin_test_downward): Likewise.
60829         (asin_test_upward): Likewise.
60830         (asinh_test): Likewise.
60831         (atan_test): Likewise.
60832         (atanh_test): Likewise.
60833         (atan2_test): Likewise.
60834         (cabs_test): Likewise.
60835         (cacos_test): Use END_COMPLEX macro without arguments.
60836         (cacosh_test): Likewise.
60837         (carg_test): Use END macro without arguments.
60838         (casin_test): Use END_COMPLEX macro without arguments.
60839         (casinh_test): Likewise.
60840         (catan_test): Likewise.
60841         (catanh_test): Likewise.
60842         (cbrt_test): Use END macro without arguments.
60843         (ccos_test): Use END_COMPLEX macro without arguments.
60844         (ccosh_test): Likewise.
60845         (ceil_test): Use END macro without arguments.
60846         (cexp_test): Use END_COMPLEX macro without arguments.
60847         (cimag_test): Use END macro without arguments.
60848         (clog_test): Use END_COMPLEX macro without arguments.
60849         (clog10_test): Likewise.
60850         (conj_test): Likewise.
60851         (copysign_test): Use END macro without arguments.
60852         (cos_test): Likewise.
60853         (cos_test_tonearest): Likewise.
60854         (cos_test_towardzero): Likewise.
60855         (cos_test_downward): Likewise.
60856         (cos_test_upward): Likewise.
60857         (cosh_test): Likewise.
60858         (cosh_test_tonearest): Likewise.
60859         (cosh_test_towardzero): Likewise.
60860         (cosh_test_downward): Likewise.
60861         (cosh_test_upward): Likewise.
60862         (cpow_test): Use END_COMPLEX macro without arguments.
60863         (cproj_test): Likewise.
60864         (creal_test): Use END macro without arguments.
60865         (csin_test): Use END_COMPLEX macro without arguments.
60866         (csinh_test): Likewise.
60867         (csqrt_test): Likewise.
60868         (ctan_test): Likewise.
60869         (ctan_test_tonearest): Likewise.
60870         (ctan_test_towardzero): Likewise.
60871         (ctan_test_downward): Likewise.
60872         (ctan_test_upward): Likewise.
60873         (ctanh_test): Likewise.
60874         (ctanh_test_tonearest): Likewise.
60875         (ctanh_test_towardzero): Likewise.
60876         (ctanh_test_downward): Likewise.
60877         (ctanh_test_upward): Likewise.
60878         (erf_test): Use END macro without arguments.
60879         (erfc_test): Likewise.
60880         (exp_test): Likewise.
60881         (exp_test_tonearest): Likewise.
60882         (exp_test_towardzero): Likewise.
60883         (exp_test_downward): Likewise.
60884         (exp_test_upward): Likewise.
60885         (exp10_test): Likewise.
60886         (exp2_test): Likewise.
60887         (expm1_test): Likewise.
60888         (fabs_test): Likewise.
60889         (fdim_test): Likewise.
60890         (finite_test): Likewise.
60891         (floor_test): Likewise.
60892         (fma_test): Likewise.
60893         (fma_test_towardzero): Likewise.
60894         (fma_test_downward): Likewise.
60895         (fma_test_upward): Likewise.
60896         (fmax_test): Likewise.
60897         (fmin_test): Likewise.
60898         (fmod_test): Likewise.
60899         (fpclassify_test): Likewise.
60900         (frexp_test): Likewise.
60901         (gamma_test): Likewise.
60902         (hypot_test): Likewise.
60903         (ilogb_test): Likewise.
60904         (isfinite_test): Likewise.
60905         (isgreater_test): Likewise.
60906         (isgreaterequal_test): Likewise.
60907         (isinf_test): Likewise.
60908         (isless_test): Likewise.
60909         (islessequal_test): Likewise.
60910         (islessgreater_test): Likewise.
60911         (isnan_test): Likewise.
60912         (isnormal_test): Likewise.
60913         (issignaling_test): Likewise.
60914         (isunordered_test): Likewise.
60915         (j0_test): Likewise.
60916         (j1_test): Likewise.
60917         (jn_test): Likewise.
60918         (ldexp_test): Likewise.
60919         (lgamma_test): Likewise.
60920         (lrint_test): Likewise.
60921         (lrint_test_tonearest): Likewise.
60922         (lrint_test_towardzero): Likewise.
60923         (lrint_test_downward): Likewise.
60924         (lrint_test_upward): Likewise.
60925         (llrint_test): Likewise.
60926         (llrint_test_tonearest): Likewise.
60927         (llrint_test_towardzero): Likewise.
60928         (llrint_test_downward): Likewise.
60929         (llrint_test_upward): Likewise.
60930         (log_test): Likewise.
60931         (log10_test): Likewise.
60932         (log1p_test): Likewise.
60933         (log2_test): Likewise.
60934         (logb_test): Likewise.
60935         (logb_test_downward): Likewise.
60936         (lround_test): Likewise.
60937         (llround_test): Likewise.
60938         (modf_test): Likewise.
60939         (nearbyint_test): Likewise.
60940         (nextafter_test): Likewise.
60941         (nexttoward_test): Likewise.
60942         (pow_test): Likewise.
60943         (pow_test_tonearest): Likewise.
60944         (pow_test_towardzero): Likewise.
60945         (pow_test_downward): Likewise.
60946         (pow_test_upward): Likewise.
60947         (remainder_test): Likewise.
60948         (remainder_test_tonearest): Likewise.
60949         (remainder_test_towardzero): Likewise.
60950         (remainder_test_downward): Likewise.
60951         (remainder_test_upward): Likewise.
60952         (remquo_test): Likewise.
60953         (rint_test): Likewise.
60954         (rint_test_tonearest): Likewise.
60955         (rint_test_towardzero): Likewise.
60956         (rint_test_downward): Likewise.
60957         (rint_test_upward): Likewise.
60958         (round_test): Likewise.
60959         (scalb_test): Likewise.
60960         (scalbn_test): Likewise.
60961         (scalbln_test): Likewise.
60962         (signbit_test): Likewise.
60963         (sin_test): Likewise.
60964         (sin_test_tonearest): Likewise.
60965         (sin_test_towardzero): Likewise.
60966         (sin_test_downward): Likewise.
60967         (sin_test_upward): Likewise.
60968         (sincos_test): Likewise.
60969         (sinh_test): Likewise.
60970         (sinh_test_tonearest): Likewise.
60971         (sinh_test_towardzero): Likewise.
60972         (sinh_test_downward): Likewise.
60973         (sinh_test_upward): Likewise.
60974         (sqrt_test): Likewise.
60975         (tan_test): Likewise.
60976         (tan_test_tonearest): Likewise.
60977         (tan_test_towardzero): Likewise.
60978         (tan_test_downward): Likewise.
60979         (tan_test_upward): Likewise.
60980         (tanh_test): Likewise.
60981         (tgamma_test): Likewise.
60982         (trunc_test): Likewise.
60983         (y0_test): Likewise.
60984         (y1_test): Likewise.
60985         (yn_test): Likewise.
60986         (significand_test): Likewise.
60988 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
60990         [BZ #15381]
60991         * libio/genops.c (_IO_no_init): Initialize wide struct info.
60993 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
60995         [BZ #14894]
60996         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
60997         __ppc_mdoio and __ppc_mdoom.
60998         * manual/platform.texi: Document new functions __ppc_yield,
60999         __ppc_mdoio and __ppc_mdoom.
61001 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
61003         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
61004         (main): Mention "tls" pseudo-hwcap is legacy.
61005         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
61007 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
61009         * math/gen-libm-test.pl (parse_args): Output only string of
61010         arguments as text for test name, not full call or descriptions of
61011         tests for extra outputs.
61012         (generate_testfile): Do not pass function name to parse_args.
61013         Generate this_func variable from START.
61014         * math/libm-test.inc (struct test_f_f_data): Rename test_name
61015         field to arg_str.
61016         (struct test_ff_f_data): Likewise.
61017         (test_ff_f_data_nexttoward): Likewise.
61018         (struct test_fi_f_data): Likewise.
61019         (struct test_fl_f_data): Likewise.
61020         (struct test_if_f_data): Likewise.
61021         (struct test_fff_f_data): Likewise.
61022         (struct test_c_f_data): Likewise.
61023         (struct test_f_f1_data): Likewise.  Remove field extra_name.
61024         (struct test_fF_f1_data): Likewise.
61025         (struct test_ffI_f1_data): Likewise.
61026         (struct test_c_c_data): Rename test_name field to arg_str.
61027         (struct test_cc_c_data): Likewise.
61028         (struct test_f_i_data): Likewise.
61029         (struct test_ff_i_data): Likewise.
61030         (struct test_f_l_data): Likewise.
61031         (struct test_f_L_data): Likewise.
61032         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
61033         and extra2_name.
61034         (COMMON_TEST_SETUP): New macro.
61035         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
61036         (COMMON_TEST_CLEANUP): Likewise.
61037         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
61038         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
61039         macros.
61040         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
61041         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
61042         macros.
61043         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
61044         (RUN_TEST_fff_f): Take argument string.  Call new setup and
61045         cleanup macros.
61046         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
61047         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
61048         macros.
61049         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
61050         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
61051         macros.
61052         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
61053         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
61054         cleanup macros.
61055         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
61056         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
61057         cleanup macros.
61058         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
61059         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
61060         cleanup macros.
61061         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
61062         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
61063         macros.
61064         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
61065         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
61066         macros.
61067         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
61068         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
61069         macros.
61070         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
61071         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
61072         cleanup macros.
61073         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
61074         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
61075         cleanup macros.
61076         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
61077         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
61078         macros.
61079         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
61080         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
61081         cleanup macros.
61082         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
61083         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
61084         macros.
61085         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
61086         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
61087         macros.
61088         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
61089         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
61090         cleanup macros.
61091         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
61093 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
61095         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
61096         to _sifields.sigfault.
61097         (si_addr_lsb): Define new macro.
61098         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
61099         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
61100         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
61102 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
61104         [BZ #15441]
61105         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
61106         returns -1.
61107         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
61108         null return -1.
61109         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
61110         loading the domain.
61112 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
61114         * math/gen-libm-test.pl (parse_args): Do not include expected
61115         result in test name.
61116         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
61117         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
61118         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
61119         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
61120         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
61121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61123 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
61125         * benchtests/Makefile: Sort function entries.
61127         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
61128         tanh, asinh, acosh, atanh.
61129         * benchtests/acos-inputs: New file.
61130         * benchtests/acosh-inputs: New file.
61131         * benchtests/asin-inputs: New file.
61132         * benchtests/asinh-inputs: New file.
61133         * benchtests/atanh-inputs: New file.
61134         * benchtests/cosh-inputs: New file.
61135         * benchtests/log-inputs: New file.
61136         * benchtests/sinh-inputs: New file.
61137         * benchtests/tanh-inputs: New file.
61139 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
61141         [BZ #15339]
61142         * posix/tst-getaddrinfo4.c: New test.
61143         * posix/Makefile (tests): Add it.
61145 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61147         [BZ #15339]
61148         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
61149         when no services were used.
61150         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
61151         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
61153 2013-05-21  Andreas Schwab  <schwab@suse.de>
61155         [BZ #15014]
61156         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
61157         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
61158         successful.
61159         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
61160         redundant variable declarations and reallocation of buffer when
61161         parsing as IPv6 address.  Always set NSS status when called from
61162         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
61163         buffer too small.  Correct computation of needed size.
61164         * nss/Makefile (tests): Add test-digits-dots.
61165         * nss/test-digits-dots.c: New test.
61167 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61169         * benchtests/Makefile: Remove instructions for adding
61170         benchmark tests.
61171         * benchtests/README: New file to explain how to execute and
61172         enhance the benchmark tests.
61174 2013-05-21  Andreas Schwab  <schwab@suse.de>
61176         [BZ #15493]
61177         * setjmp/Makefile (tests): Add tst-sigsetjmp.
61178         * setjmp/tst-sigsetjmp.c: New test.
61180 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
61182         * sysdeps/x86_64/memset.S (memset): New implementation.
61183         (__bzero): Likewise.
61184         (__memset_tail): New function.
61186 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
61188         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
61189         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
61190         __memcpy_sse2_unaligned ifunc selection.
61191         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
61192         Add memcpy-sse2-unaligned.S.
61193         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
61194         Add: __memcpy_sse2_unaligned.
61196 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
61198         [BZ #15490]
61199         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
61200         math_force_eval before restoring floating-point envrionment.
61201         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
61202         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
61203         Likewise.
61204         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
61205         <math_private.h>.
61206         (__nearbyintl): Use math_force_eval before restoring
61207         floating-point environment.
61208         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
61210         * math/gen-libm-test.pl (special_functions): Remove.
61211         (parse_args): Don't handle TEST_extra.  Handle functions with no
61212         return value.
61213         * math/libm-test.inc (struct test_sincos_data): Replace with
61214         struct test_fFF_11_data.
61215         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
61216         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
61217         (sincos_test_data): Change element type to struct
61218         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
61219         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
61220         RUN_TEST_LOOP_sincos.
61221         * math/README.libm-test: Don't mention special handling of
61222         individual functions.
61223         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
61224         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
61225         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
61226         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
61227         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
61228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61230         * math/gen-libm-test.pl (get_variable): Remove function.
61231         (parse_args): Don't show pointer parameters to call in test
61232         names.  Use "extra output N" in test names for extra outputs
61233         rather than naming variables.
61235 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
61237         [BZ #15488]
61238         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
61239         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
61240         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
61241         double tests.
61242         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
61243         disable.
61244         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
61245         check_long_double.
61247         * math/gen-libm-test.pl (@tests): Remove variable.
61248         ($count): Likewise.
61249         (new_test): Remove function.
61250         (show_exceptions): New function.
61251         (special_functions): Use show_exceptions instead of new_test.
61252         (parse_args): Likewise.
61253         (generate_testfile): Pass only function name in generated call to
61254         print_max_error or print_complex_max_error.
61255         (get_ulps): Do not handle complex tests specially.
61256         (output_test): Rename to ...
61257         (get_all_ulps_for_test): ... this.  Return a string rather than
61258         printing to a file.  Require ulps to be present.
61259         (output_ulps): Generate arrays rather than #defines.
61260         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
61261         (struct ulp_data): New type.
61262         (BUILD_COMPLEX_ULP): Remove macro.
61263         (compare_ulp_data): New function.
61264         (find_ulps): Likewise.
61265         (find_test_ulps): Likewise.
61266         (find_function_ulps): Likewise.
61267         (find_complex_function_ulps): Likewise.
61268         (print_max_error): Determine allowed ulps using
61269         find_function_ulps.
61270         (print_complex_max_error): Determine allowed ulps using
61271         find_complex_function_ulps.
61272         (check_float_internal): Determine max ulps using find_test_ulps.
61273         (check_float): Do not take max_ulp parameter.  Update call to
61274         check_float_internal.
61275         (check_complex): Likewise.
61276         (check_int): Do not take max_ulp parameter.
61277         (check_long): Likewise.
61278         (check_bool): Likewise.
61279         (check_longlong): Likewise.
61280         (struct test_f_f_data): Remove max_ulp field.
61281         (struct test_ff_f_data): Likewise.
61282         (struct test_ff_f_data_nexttoward): Likewise.
61283         (struct test_fi_f_data): Likewise.
61284         (struct test_fl_f_data): Likewise.
61285         (struct test_if_f_data): Likewise.
61286         (struct test_fff_f_data): Likewise.
61287         (struct test_c_f_data): Likewise.
61288         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
61289         (struct test_fF_f1_data): Likewise.
61290         (struct test_ffI_f1_data): Likewise.
61291         (struct test_c_c_data): Remove max_ulp field.
61292         (struct test_cc_c_data): Likewise.
61293         (struct test_f_i_data): Likewise.
61294         (struct test_ff_i_data): Likewise.
61295         (struct test_f_l_data): Likewise.
61296         (struct test_f_L_data): Likewise.
61297         (struct test_sincos_data): Likewise.
61298         (RUN_TEST_f_f): Do not handle ulps.
61299         (RUN_TEST_LOOP_f_f): Likewise.
61300         (RUN_TEST_2_f): Likewise.
61301         (RUN_TEST_LOOP_2_f): Likewise.
61302         (RUN_TEST_fff_f): Likewise.
61303         (RUN_TEST_LOOP_fff_f): Likewise.
61304         (RUN_TEST_c_f): Likewise.
61305         (RUN_TEST_LOOP_c_f): Likewise.
61306         (RUN_TEST_f_f1): Likewise.
61307         (RUN_TEST_LOOP_f_f1): Likewise.
61308         (RUN_TEST_fF_f1): Likewise.
61309         (RUN_TEST_LOOP_fF_f1): Likewise.
61310         (RUN_TEST_fI_f1): Likewise.
61311         (RUN_TEST_LOOP_fI_f1): Likewise.
61312         (RUN_TEST_ffI_f1): Likewise.
61313         (RUN_TEST_LOOP_ffI_f1): Likewise.
61314         (RUN_TEST_c_c): Likewise.
61315         (RUN_TEST_LOOP_c_c): Likewise.
61316         (RUN_TEST_cc_c): Likewise.
61317         (RUN_TEST_LOOP_cc_c): Likewise.
61318         (RUN_TEST_f_i): Likewise.
61319         (RUN_TEST_LOOP_f_i): Likewise.
61320         (RUN_TEST_f_i_tg): Likewise.
61321         (RUN_TEST_LOOP_f_i_tg): Likewise.
61322         (RUN_TEST_ff_i_tg): Likewise.
61323         (RUN_TEST_LOOP_ff_i_tg): Likewise.
61324         (RUN_TEST_f_b): Likewise.
61325         (RUN_TEST_LOOP_f_b): Likewise.
61326         (RUN_TEST_f_b_tg): Likewise.
61327         (RUN_TEST_LOOP_f_b_tg): Likewise.
61328         (RUN_TEST_f_l): Likewise.
61329         (RUN_TEST_LOOP_f_l): Likewise.
61330         (RUN_TEST_f_L): Likewise.
61331         (RUN_TEST_LOOP_f_L): Likewise.
61332         (RUN_TEST_sincos): Likewise.
61333         (RUN_TEST_LOOP_sincos): Likewise.
61335 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
61337         [BZ #15480]
61338         [BZ #15485]
61339         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
61340         main case of finite arguments, set rounding mode to FE_TONEAREST
61341         and discard exceptions.
61342         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
61343         exceptions.
61344         (remainder_tonearest_test_data): New variable.
61345         (remainder_test_tonearest): New function.
61346         (remainder_towardzero_test_data): New variable.
61347         (remainder_test_towardzero): New function.
61348         (remainder_downward_test_data): New variable.
61349         (remainder_test_downward): New function.
61350         (remainder_upward_test_data): New variable.
61351         (remainder_test_upward): New function.
61352         (main): Call the new test functions.
61354         * math/libm-test.inc (struct test_f_f1_data): Remove field
61355         extra_init.
61356         (struct test_fF_f1_data): Likewise.
61357         (struct test_ffI_f1_data): Likewise.
61358         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
61359         based on value of EXTRA_EXPECTED.
61360         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
61361         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
61362         EXTRA_VAR based on value of EXTRA_EXPECTED.
61363         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
61364         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
61365         EXTRA_VAR based on value of EXTRA_EXPECTED.
61366         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
61367         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
61368         EXTRA_VAR based on value of EXTRA_EXPECTED.
61369         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
61370         * math/gen-libm-test.pl (parse_args): Don't output initializers
61371         for extra output values.
61373         * math/libm-test.inc (check_int): Expect result to be exactly
61374         equal to expected value and do not handle ulps.
61375         (check_long): Likewise.
61376         (check_longlong): Likewise.
61378         * math/libm-test.inc (ceil_test_data): Test for "inexact"
61379         exceptions.
61380         (cimag_test_data): Likewise.
61381         (conj_test_data): Likewise.
61382         (copysign_test_data): Likewise.
61383         (cproj_test_data): Likewise.
61384         (creal_test_data): Likewise.
61385         (fabs_test_data): Likewise.
61386         (fdim_test_data): Likewise.
61387         (finite_test_data): Likewise.
61388         (floor_test_data): Likewise.
61389         (fmax_test_data): Likewise.
61390         (fmin_test_data): Likewise.
61391         (fmod_test_data): Likewise.
61392         (fpclassify_test_data): Likewise.
61393         (frexp_test_data): Likewise.
61394         (ilogb_test_data): Likewise.
61395         (isfinite_test_data): Likewise.
61396         (isgreater_test_data): Likewise.
61397         (isgreaterequal_test_data): Likewise.
61398         (isinf_test_data): Likewise.
61399         (isless_test_data): Likewise.
61400         (islessequal_test_data): Likewise.
61401         (islessgreater_test_data): Likewise.
61402         (isnan_test_data): Likewise.
61403         (isnormal_test_data): Likewise.
61404         (issignaling_test_data): Likewise.
61405         (isunordered_test_data): Likewise.
61406         (ldexp_test_data): Likewise.
61407         (lrint_test_data): Likewise.
61408         (lrint_test_data) [TEST_FLOAT]: Disable one test.
61409         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
61410         (lrint_tonearest_test_data): Test for "inexact" exceptions.
61411         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
61412         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
61413         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
61414         test input.
61415         (lrint_towardzero_test_data): Test for "inexact" exceptions.
61416         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
61417         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
61418         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
61419         that test input.
61420         (lrint_downward_test_data): Test for "inexact" exceptions.
61421         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
61422         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
61423         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
61424         test input.
61425         (lrint_upward_test_data): Test for "inexact" exceptions.
61426         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
61427         test input.
61428         (llrint_test_data): Test for "inexact" exceptions.
61429         (llrint_test_data) [TEST_FLOAT]: Disable one test.
61430         (llrint_tonearest_test_data): Test for "inexact" exceptions.
61431         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
61432         (llrint_towardzero_test_data): Test for "inexact" exceptions.
61433         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
61434         (llrint_downward_test_data): Test for "inexact" exceptions.
61435         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
61436         (llrint_upward_test_data): Test for "inexact" exceptions.
61437         (logb_test_data): Likewise.
61438         (logb_downward_test_data): Likewise.
61439         (nextafter_test_data): Likewise.
61440         (nexttoward_test_data): Likewise.
61441         (remainder_test_data): Likewise.
61442         (remquo_test_data): Likewise.
61443         (scalbn_test_data): Likewise.
61444         (scalbln_test_data): Likewise.
61445         (signbit_test_data): Likewise.
61446         (sqrt_test_data): Likewise.
61447         (significand_test_data): Likewise.
61449 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
61451         [BZ #15424]
61452         * benchtests/bench-modf.c (struct args): Mark arg0 as
61453         volatile.
61454         * scripts/bench.pl: Mark members of struct args as volatile.
61456 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61458         [BZ # 15497]
61459         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
61460         negative infinity on POWER6 or lower.
61461         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
61463 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
61465         [BZ #15442]
61466         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
61467         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
61468         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
61469         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
61470         (_FP_SETQNAN): New macro.
61471         (_FP_SETQNAN_SEMIRAW): Likewise.
61472         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
61473         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
61474         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
61475         (FP_EXTEND): Use _FP_FRAC_SNANP.
61476         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
61477         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
61478         into account.
61479         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
61480         New macro.
61481         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
61482         Likewise.
61484 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
61486         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
61487         with DIVIDE_BY_ZERO_EXCEPTION.
61488         (gamma_test_data): Likewise.
61489         (lgamma_test_data): Likewise.
61490         (log_test_data): Likewise.
61491         (log10_test_data): Likewise.
61492         (log2_test_data): Likewise.
61493         (tgamma_test_data): Likewise.
61495         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
61496         (acos_test_tonearest): Likewise.
61497         (acos_test_towardzero): Likewise.
61498         (acos_test_downward): Likewise.
61499         (acos_test_upward): Likewise.
61500         (acosh_test): Likewise.
61501         (asin_test): Likewise.
61502         (asin_test_tonearest): Likewise.
61503         (asin_test_towardzero): Likewise.
61504         (asin_test_downward): Likewise.
61505         (asin_test_upward): Likewise.
61506         (asinh_test): Likewise.
61507         (atan_test): Likewise.
61508         (atanh_test): Likewise.
61509         (atan2_test): Likewise.
61510         (cabs_test): Likewise.
61511         (cacos_test): Likewise.
61512         (cacosh_test): Likewise.
61513         (casin_test): Likewise.
61514         (casinh_test): Likewise.
61515         (catan_test): Likewise.
61516         (catanh_test): Likewise.
61517         (cbrt_test): Likewise.
61518         (ccos_test): Likewise.
61519         (ccosh_test): Likewise.
61520         (cexp_test): Likewise.
61521         (clog_test): Likewise.
61522         (clog10_test): Likewise.
61523         (cos_test): Likewise.
61524         (cos_test_tonearest): Likewise.
61525         (cos_test_towardzero): Likewise.
61526         (cos_test_downward): Likewise.
61527         (cos_test_upward): Likewise.
61528         (cosh_test): Likewise.
61529         (cosh_test_tonearest): Likewise.
61530         (cosh_test_towardzero): Likewise.
61531         (cosh_test_downward): Likewise.
61532         (cosh_test_upward): Likewise.
61533         (cpow_test): Likewise.
61534         (csin_test): Likewise.
61535         (csinh_test): Likewise.
61536         (csqrt_test): Likewise.
61537         (ctan_test): Likewise.
61538         (ctan_test_tonearest): Likewise.
61539         (ctan_test_towardzero): Likewise.
61540         (ctan_test_downward): Likewise.
61541         (ctan_test_upward): Likewise.
61542         (ctanh_test): Likewise.
61543         (ctanh_test_tonearest): Likewise.
61544         (ctanh_test_towardzero): Likewise.
61545         (ctanh_test_downward): Likewise.
61546         (ctanh_test_upward): Likewise.
61547         (erf_test): Likewise.
61548         (erfc_test): Likewise.
61549         (exp_test): Likewise.
61550         (exp_test_tonearest): Likewise.
61551         (exp_test_towardzero): Likewise.
61552         (exp_test_downward): Likewise.
61553         (exp_test_upward): Likewise.
61554         (exp10_test): Likewise.
61555         (exp2_test): Likewise.
61556         (expm1_test): Likewise.
61557         (fmod_test): Likewise.
61558         (gamma_test): Likewise.
61559         (hypot_test): Likewise.
61560         (j0_test): Likewise.
61561         (j1_test): Likewise.
61562         (jn_test): Likewise.
61563         (lgamma_test): Likewise.
61564         (log_test): Likewise.
61565         (log10_test): Likewise.
61566         (log1p_test): Likewise.
61567         (log2_test): Likewise.
61568         (logb_test_downward): Likewise.
61569         (pow_test): Likewise.
61570         (pow_test_tonearest): Likewise.
61571         (pow_test_towardzero): Likewise.
61572         (pow_test_downward): Likewise.
61573         (pow_test_upward): Likewise.
61574         (remainder_test): Likewise.
61575         (remquo_test): Likewise.
61576         (sin_test): Likewise.
61577         (sin_test_tonearest): Likewise.
61578         (sin_test_towardzero): Likewise.
61579         (sin_test_downward): Likewise.
61580         (sin_test_upward): Likewise.
61581         (sincos_test): Likewise.
61582         (sinh_test): Likewise.
61583         (sinh_test_tonearest): Likewise.
61584         (sinh_test_towardzero): Likewise.
61585         (sinh_test_downward): Likewise.
61586         (sinh_test_upward): Likewise.
61587         (sqrt_test): Likewise.
61588         (tan_test): Likewise.
61589         (tan_test_tonearest): Likewise.
61590         (tan_test_towardzero): Likewise.
61591         (tan_test_downward): Likewise.
61592         (tan_test_upward): Likewise.
61593         (tanh_test): Likewise.
61594         (tgamma_test): Likewise.
61595         (y0_test): Likewise.
61596         (y1_test): Likewise.
61597         (yn_test): Likewise.
61599         * math/gen-libm-test.pl (adjust_arg): Remove function.
61600         (special_function): Remove argument $in_func.  Only handle
61601         generating output for tables of tests, not inside functions.
61602         (parse_args): Likewise.
61603         (generate_testfile): Remove variable $in_func.  Update call to
61604         parse_args.
61605         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
61606         (MINUS_ZERO_INIT): Rename macro to minus_zero.
61607         (PLUS_INFTY_INIT): Rename macro to plus_infty.
61608         (MINUS_INFTY_INIT): Rename macro to minus_infty.
61609         (QNAN_VALUE_INIT): Rename macro to qnan_value.
61610         (MAX_VALUE_INIT): Rename macro to max_value.
61611         (MIN_VALUE_INIT): Rename macro to min_value.
61612         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
61613         (plus_zero): Remove variable.
61614         (minus_zero): Likewise.
61615         (plus_infty): Likewise.
61616         (minus_infty): Likewise.
61617         (qnan_value): Likewise.
61618         (max_value): Likewise.
61619         (min_value): Likewise.
61620         (min_subnorm_value): Likewise.
61622 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61624         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
61625         uint64_t or uint32_t usage.
61626         * crypt/sha256-block.c: Likewise.
61627         * crypt/sha256-crypt.c: Likewise.
61628         * crypt/sha256.c: Likewise.
61629         * crypt/sha512-block.c: Likewise.
61630         * crypt/sha512-crypt.c: Likewise.
61631         * crypt/sha512.c: Likewise.
61632         * debug/backtrace-tst.c: Likewise.
61633         * debug/pcprofiledump.c: Likewise.
61634         * elf/cache.c: Likewise.
61635         * elf/dl-cache.c: Likewise.
61636         * elf/dl-misc.c: Likewise.
61637         * elf/dl-profile.c: Likewise.
61638         * elf/dl-support.c: Likewise.
61639         * elf/ldconfig.c: Likewise.
61640         * elf/sprof.c: Likewise.
61641         * iconv/dummy-repertoire.c: Likewise.
61642         * iconv/iconv_charmap.c: Likewise.
61643         * iconv/skeleton.c: Likewise.
61644         * iconvdata/8bit-generic.c: Likewise.
61645         * iconvdata/cp737.h: Likewise.
61646         * iconvdata/cp775.h: Likewise.
61647         * iconvdata/ibm1008.h: Likewise.
61648         * iconvdata/ibm1025.h: Likewise.
61649         * iconvdata/ibm1046.h: Likewise.
61650         * iconvdata/ibm1097.h: Likewise.
61651         * iconvdata/ibm1112.h: Likewise.
61652         * iconvdata/ibm1122.h: Likewise.
61653         * iconvdata/ibm1123.h: Likewise.
61654         * iconvdata/ibm1124.h: Likewise.
61655         * iconvdata/ibm1129.h: Likewise.
61656         * iconvdata/ibm1130.h: Likewise.
61657         * iconvdata/ibm1132.h: Likewise.
61658         * iconvdata/ibm1133.h: Likewise.
61659         * iconvdata/ibm1137.h: Likewise.
61660         * iconvdata/ibm1140.h: Likewise.
61661         * iconvdata/ibm1141.h: Likewise.
61662         * iconvdata/ibm1142.h: Likewise.
61663         * iconvdata/ibm1143.h: Likewise.
61664         * iconvdata/ibm1144.h: Likewise.
61665         * iconvdata/ibm1145.h: Likewise.
61666         * iconvdata/ibm1146.h: Likewise.
61667         * iconvdata/ibm1147.h: Likewise.
61668         * iconvdata/ibm1148.h: Likewise.
61669         * iconvdata/ibm1149.h: Likewise.
61670         * iconvdata/ibm1153.h: Likewise.
61671         * iconvdata/ibm1154.h: Likewise.
61672         * iconvdata/ibm1155.h: Likewise.
61673         * iconvdata/ibm1156.h: Likewise.
61674         * iconvdata/ibm1157.h: Likewise.
61675         * iconvdata/ibm1158.h: Likewise.
61676         * iconvdata/ibm1160.h: Likewise.
61677         * iconvdata/ibm1161.h: Likewise.
61678         * iconvdata/ibm1162.h: Likewise.
61679         * iconvdata/ibm1163.h: Likewise.
61680         * iconvdata/ibm1164.h: Likewise.
61681         * iconvdata/ibm1166.h: Likewise.
61682         * iconvdata/ibm1167.h: Likewise.
61683         * iconvdata/ibm12712.h: Likewise.
61684         * iconvdata/ibm1390.h: Likewise.
61685         * iconvdata/ibm1399.h: Likewise.
61686         * iconvdata/ibm16804.h: Likewise.
61687         * iconvdata/ibm4517.h: Likewise.
61688         * iconvdata/ibm4899.h: Likewise.
61689         * iconvdata/ibm4909.h: Likewise.
61690         * iconvdata/ibm4971.h: Likewise.
61691         * iconvdata/ibm5347.h: Likewise.
61692         * iconvdata/ibm803.h: Likewise.
61693         * iconvdata/ibm856.h: Likewise.
61694         * iconvdata/ibm901.h: Likewise.
61695         * iconvdata/ibm902.h: Likewise.
61696         * iconvdata/ibm9030.h: Likewise.
61697         * iconvdata/ibm9066.h: Likewise.
61698         * iconvdata/ibm921.h: Likewise.
61699         * iconvdata/ibm922.h: Likewise.
61700         * iconvdata/ibm9448.h: Likewise.
61701         * iconvdata/isiri-3342.h: Likewise.
61702         * iconvdata/jis0201.h: Likewise.
61703         * include/link.h: Likewise.
61704         * include/netdb.h: Likewise.
61705         * inet/check_native.c: Likewise.
61706         * inet/check_pf.c: Likewise.
61707         * inet/getipv4sourcefilter.c: Likewise.
61708         * inet/getnameinfo.c: Likewise.
61709         * inet/getsourcefilter.c: Likewise.
61710         * inet/htonl.c: Likewise.
61711         * inet/setipv4sourcefilter.c: Likewise.
61712         * inet/setsourcefilter.c: Likewise.
61713         * inet/test-inet6_opt.c: Likewise.
61714         * inet/tst-network.c: Likewise.
61715         * locale/C-collate.c: Likewise.
61716         * locale/C-ctype.c: Likewise.
61717         * locale/C-time.c: Likewise.
61718         * locale/C-translit.h: Likewise.
61719         * locale/loadarchive.c: Likewise.
61720         * locale/programs/3level.h: Likewise.
61721         * locale/programs/charmap.c: Likewise.
61722         * locale/programs/charmap.h: Likewise.
61723         * locale/programs/ld-address.c: Likewise.
61724         * locale/programs/ld-collate.c: Likewise.
61725         * locale/programs/ld-ctype.c: Likewise.
61726         * locale/programs/ld-identification.c: Likewise.
61727         * locale/programs/ld-measurement.c: Likewise.
61728         * locale/programs/ld-messages.c: Likewise.
61729         * locale/programs/ld-monetary.c: Likewise.
61730         * locale/programs/ld-name.c: Likewise.
61731         * locale/programs/ld-numeric.c: Likewise.
61732         * locale/programs/ld-paper.c: Likewise.
61733         * locale/programs/ld-telephone.c: Likewise.
61734         * locale/programs/ld-time.c: Likewise.
61735         * locale/programs/linereader.c: Likewise.
61736         * locale/programs/locale.c: Likewise.
61737         * locale/programs/locarchive.c: Likewise.
61738         * locale/programs/locfile.h: Likewise.
61739         * locale/programs/repertoire.c: Likewise.
61740         * locale/programs/simple-hash.c: Likewise.
61741         * locale/programs/simple-hash.h: Likewise.
61742         * malloc/memusage.c: Likewise.
61743         * malloc/memusagestat.c: Likewise.
61744         * nis/nis_defaults.c: Likewise.
61745         * nis/nis_hash.c: Likewise.
61746         * nis/nis_print.c: Likewise.
61747         * nis/nis_xdr.c: Likewise.
61748         * nscd/connections.c: Likewise.
61749         * nscd/hstcache.c: Likewise.
61750         * nscd/nscd_gethst_r.c: Likewise.
61751         * nscd/nscd_getserv_r.c: Likewise.
61752         * nscd/nscd_helper.c: Likewise.
61753         * nscd/servicescache.c: Likewise.
61754         * nss/makedb.c: Likewise.
61755         * nss/nss_db/db-XXX.c: Likewise.
61756         * nss/nss_db/db-initgroups.c: Likewise.
61757         * nss/nss_db/db-netgrp.c: Likewise.
61758         * nss/nss_files/files-network.c: Likewise.
61759         * nss/nss_files/files-parse.c: Likewise.
61760         * posix/bug-regex5.c: Likewise.
61761         * posix/fnmatch_loop.c: Likewise.
61762         * posix/regcomp.c: Likewise.
61763         * posix/regexec.c: Likewise.
61764         * posix/tst-rfc3484-2.c: Likewise.
61765         * posix/tst-rfc3484-3.c: Likewise.
61766         * posix/tst-rfc3484.c: Likewise.
61767         * resolv/nss_dns/dns-canon.c: Likewise.
61768         * resolv/nss_dns/dns-network.c: Likewise.
61769         * resolv/res_init.c: Likewise.
61770         * resolv/res_mkquery.c: Likewise.
61771         * resolv/tst-aton.c: Likewise.
61772         * stdlib/cxa_atexit.c: Likewise.
61773         * stdlib/cxa_finalize.c: Likewise.
61774         * stdlib/gen-fpioconst.c: Likewise.
61775         * stdlib/strtol_l.c: Likewise.
61776         * string/tst-endian.c: Likewise.
61777         * sunrpc/auth_des.c: Likewise.
61778         * sunrpc/clnt_udp.c: Likewise.
61779         * sunrpc/rtime.c: Likewise.
61780         * sunrpc/svcauth_des.c: Likewise.
61781         * sunrpc/xdr.c: Likewise.
61782         * sunrpc/xdr_intXX_t.c: Likewise.
61783         * sunrpc/xdr_rec.c: Likewise.
61784         * sysdeps/generic/ldconfig.h: Likewise.
61785         * sysdeps/generic/ldsodefs.h: Likewise.
61786         * sysdeps/generic/memusage.h: Likewise.
61787         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
61788         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
61789         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
61790         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
61791         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
61792         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
61793         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
61794         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
61795         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
61796         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
61797         * sysdeps/posix/getaddrinfo.c: Likewise.
61798         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
61799         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61800         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
61801         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
61802         * sysdeps/powerpc/test-gettimebase.c: Likewise.
61803         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
61804         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
61805         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
61806         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
61807         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
61808         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
61809         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
61810         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
61811         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
61812         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
61813         * sysdeps/x86_64/dl-tls.h: Likewise.
61814         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
61815         * time/alt_digit.c: Likewise.
61816         * time/era.c: Likewise.
61817         * wcsmbs/tst-c16c32-1.c: Likewise.
61819 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
61821         * math/libm-test.inc (struct test_sincos_data): New type.
61822         (RUN_TEST_LOOP_sincos): New macro.
61823         (sincos_test_data): New variable.
61824         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
61826 2013-05-16  Richard Henderson  <rth@redhat.com>
61828         * math/atest-exp2.c (LIMB64): New macro.
61829         (CONSTSZ): New macro.
61830         (mp_exp1, mp_exp_m1, mp_log2): New variables.
61831         (hexdig): Move ...
61832         (print_mpn_fp): ... to function scope.
61833         (read_mpn_hex): Remove.
61834         (get_log2): Remove.
61835         (exp2_mpn): Use mp_log2.
61836         (main): Use mp_exp1.
61838 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
61840         * math/libm-test.inc: Remove comment about not testing "inexact"
61841         exceptions.
61842         (INEXACT_EXCEPTION): New macro.
61843         (NO_INEXACT_EXCEPTION): Likewise.
61844         (INVALID_EXCEPTION_OK): Update value.
61845         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
61846         (OVERFLOW_EXCEPTION_OK): Likewise.
61847         (UNDERFLOW_EXCEPTION_OK): Likewise.
61848         (IGNORE_ZERO_INF_SIGN): Likewise.
61849         (ERRNO_UNCHANGED): Likewise.
61850         (ERRNO_EDOM): Likewise.
61851         (ERRNO_ERANGE): Likewise.
61852         (test_exceptions): Handle testing "inexact" exceptions.
61853         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
61854         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
61855         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
61856         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
61857         INEXACT_EXCEPTION.
61858         (rint_towardzero_test_data): Likewise.
61859         (rint_downward_test_data): Likewise.
61860         (rint_upward_test_data): Likewise.
61862         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
61863         with OVERFLOW_EXCEPTION.
61864         (exp10_test_data): Likewise.
61865         (exp2_test_data): Likewise.
61866         (expm1_test_data): Likewise.
61867         (lgamma_test_data): Likewise.
61868         (pow_test_data): Likewise.
61869         (tgamma_test_data): Likewise.
61870         (yn_test_data): Remove duplicate test of overflow.
61872         * math/libm-test.inc (struct test_cc_c_data): New type.
61873         (RUN_TEST_LOOP_cc_c): New macro.
61874         (cpow_test_data): New variable.
61875         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
61877         * math/libm-test.inc (struct test_f_L_data): New type.
61878         (RUN_TEST_LOOP_f_L): New macro.
61879         (llrint_test_data): New variable.
61880         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
61881         (llrint_tonearest_test_data): New variable.
61882         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
61883         (llrint_towardzero_test_data): New variable.
61884         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
61885         (llrint_downward_test_data): New variable.
61886         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
61887         (llrint_upward_test_data): New variable.
61888         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
61889         (llround_test_data): New variable.
61890         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
61892 2013-05-13  Peter Collingbourne  <pcc@google.com>
61894         * math/atest-exp2.c (get_log2): Remove const attribute.
61896 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
61898         * math/libm-test.inc (struct test_f_l_data): New type.
61899         (RUN_TEST_LOOP_f_l): New macro.
61900         (lrint_test_data): New variable.
61901         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
61902         (lrint_tonearest_test_data): New variable.
61903         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
61904         (lrint_towardzero_test_data): New variable.
61905         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
61906         (lrint_downward_test_data): New variable.
61907         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
61908         (lrint_upward_test_data): New variable.
61909         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
61910         (lround_test_data): New variable.
61911         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
61913 2013-05-15  Peter Collingbourne  <pcc@google.com>
61915         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
61916         (EXTRACT_WORDS64) Use where appropriate.
61917         (INSERT_WORDS64) Likewise.
61919         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
61920         constraints with x constraints.
61921         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
61923         * malloc/obstack.c (_obstack_compat): Add initializer.
61925 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
61927         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
61928         si_trapno and add si_addr_lsb to _sifields.sigfault.
61929         (si_trapno): Remove macro.
61930         (si_addr_lsb): Define new macro.
61931         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
61933 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
61935         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
61936         instead of TEST_f_l.
61937         (llrint_test_tonearest): Likewise.
61938         (llrint_test_towardzero): Likewise.
61939         (llrint_test_downward): Likewise.
61940         (llrint_test_upward): Likewise.
61941         (llround_test): Likewise.
61943         * math/libm-test.inc (struct test_f_i_data): Add comment.
61944         (RUN_TEST_LOOP_f_b): New macro.
61945         (RUN_TEST_LOOP_f_b_tg): Likewise.
61946         (finite_test_data): New variable.
61947         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
61948         (isfinite_test_data): New variable.
61949         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61950         (isinf_test_data): New variable.
61951         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61952         (isnan_test_data): New variable.
61953         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61954         (isnormal_test_data): New variable.
61955         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61956         (issignaling_test_data): New variable.
61957         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61958         (signbit_test_data): New variable.
61959         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61961         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
61962         with INVALID_EXCEPTION.
61963         (acosh_test_data): Likewise.
61964         (asin_test_data): Likewise.
61965         (atanh_test_data): Likewise.
61966         (fmod_test_data): Likewise.
61967         (log_test_data): Likewise.
61968         (log10_test_data): Likewise.
61969         (log2_test_data): Likewise.
61970         (pow_test_data): Likewise.
61971         (sqrt_test_data): Likewise.
61972         (y0_test_data): Likewise.
61973         (y1_test_data): Likewise.
61974         (yn_test_data): Likewise.
61976         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
61977         function contents.
61979         * math/libm-test.inc (struct test_ff_i_data): New type.
61980         (RUN_TEST_LOOP_ff_i_tg): New macro.
61981         (isgreater_test_data): New variable.
61982         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61983         (isgreaterequal_test_data): New variable.
61984         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61985         (isless_test_data): New variable.
61986         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61987         (islessequal_test_data): New variable.
61988         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61989         (islessgreater_test_data): New variable.
61990         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61991         (isunordered_test_data): New variable.
61992         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61994 2013-05-14  David S. Miller  <davem@davemloft.net>
61996         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61998 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
62000         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
62002         * math/libm-test.inc (struct test_fF_f1_data): Change type of
62003         extra_test to int.
62004         (struct test_f_i_data): Change type of max_ulp to int.
62006         * math/libm-test.inc (test_ffI_f1_data): New type.
62007         (RUN_TEST_LOOP_ffI_f1): New macro.
62008         (remquo_test_data): New variable.
62009         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
62011         * setjmp/tst-setjmp-fp.c: New file.
62012         * setjmp/Makefile (tests): Add tst-setjmp-fp.
62013         (link-libm): New variable.
62014         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
62016         * math/libm-test.inc (struct test_f_i_data): New type.
62017         (RUN_TEST_LOOP_f_i): New macro.
62018         (RUN_TEST_LOOP_f_i_tg): Likewise.
62019         (fpclassify_test_data): New variable.
62020         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
62021         (ilogb_test_data): New variable.
62022         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
62024         * math/libm-test.inc (scalbln_test): Correct function name in END
62025         call.
62027         * math/libm-test.inc (struct test_f_f1_data): Add comment.
62028         (RUN_TEST_LOOP_fI_f1): New macro.
62029         (frexp_test_data): New variable.
62030         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
62032         * math/libm-test.inc (struct test_fF_f1_data): New type.
62033         (RUN_TEST_LOOP_fF_f1): New macro.
62034         (modf_test_data): New variable.
62035         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
62037         * math/libm-test.inc (struct test_f_f1_data): New type.
62038         (RUN_TEST_LOOP_f_f1): New macro.
62039         (gamma_test_data): New variable.
62040         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
62041         (lgamma_test_data): New variable.
62042         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
62044 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
62046         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
62047         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
62048         (main): Comment "tls" pseudo-hwcap.
62050 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
62052         * math/libm-test.inc (struct test_fl_f_data): New type.
62053         (RUN_TEST_LOOP_fl_f): New variable.
62054         (scalbln_test_data): New variable.
62055         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
62057         * math/libm-test.inc (struct test_fi_f_data): New type.
62058         (RUN_TEST_LOOP_fi_f): New macro.
62059         (ldexp_test_data): New variable.
62060         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
62061         (scalbn_test_data): New variable.
62062         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
62064         * math/libm-test.inc (struct test_c_f_data): New type.
62065         (RUN_TEST_LOOP_c_f): New macro.
62066         (cabs_test_data): New variable.
62067         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
62068         (carg_test_data): New variable.
62069         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
62070         (cimag_test_data): New variable.
62071         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
62072         (creal_test_data): New variable.
62073         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
62075         * math/libm-test.inc (struct test_if_f_data): New type.
62076         (RUN_TEST_LOOP_if_f): New macro.
62077         (jn_test_data): New variable.
62078         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
62079         (yn_test_data): New variable.
62080         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
62082         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
62084 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62086         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
62087         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
62089 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
62091         * benchtests/Makefile (CPPFLAGS-nonlib): Add
62092         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
62093         (bench-deps): Add bench-timing.h.
62094         * benchtests-bench-skeleton.c: Include bench-timing.h.
62095         (main): Use TIMING_* macros instead of clock_gettime.
62096         * benchtests/bench-timing.h: New file.
62098         [BZ #14582]
62099         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
62100         Renamed from _LIB_VERSION.
62101         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
62103 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
62105         * math/libm-test.inc (struct test_fff_f_data): New type.
62106         (RUN_TEST_LOOP_fff_f): New macro.
62107         (fma_test_data): New variable.
62108         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
62109         (fma_towardzero_test_data): New variable.
62110         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
62111         (fma_downward_test_data): New variable.
62112         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
62113         (fma_upward_test_data): New variable.
62114         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
62116         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
62117         (struct test_c_c_data): New type.
62118         (RUN_TEST_LOOP_c_c): New macro.
62119         (cacos_test_data): New variable.
62120         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
62121         (cacosh_test_data): New variable.
62122         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
62123         (casin_test_data): New variable.
62124         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
62125         (casinh_test_data): New variable.
62126         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
62127         (catan_test_data): New variable.
62128         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
62129         (catanh_test_data): New variable.
62130         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
62131         (ccos_test_data): New variable.
62132         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
62133         (ccosh_test_data): New variable.
62134         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
62135         (cexp_test_data): New variable.
62136         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
62137         (clog_test_data): New variable.
62138         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
62139         (clog10_test_data): New variable.
62140         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
62141         (conj_test_data): New variable.
62142         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
62143         (cproj_test_data): New variable.
62144         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
62145         (csin_test_data): New variable.
62146         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
62147         (csinh_test_data): New variable.
62148         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
62149         (csqrt_test_data): New variable.
62150         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
62151         (ctan_test_data): New variable.
62152         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
62153         (ctan_tonearest_test_data): New variable.
62154         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
62155         (ctan_towardzero_test_data): New variable.
62156         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
62157         (ctan_downward_test_data): New variable.
62158         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
62159         (ctan_upward_test_data): New variable.
62160         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
62161         (ctanh_test_data): New variable.
62162         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
62163         (ctanh_tonearest_test_data): New variable.
62164         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
62165         (ctanh_towardzero_test_data): New variable.
62166         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
62167         (ctanh_downward_test_data): New variable.
62168         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
62169         (ctanh_upward_test_data): New variable.
62170         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
62171         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
62172         of BUILD_COMPLEX.
62174         * math/libm-test.inc (struct test_ff_f_data): New type.
62175         (struct test_ff_f_data_nexttoward): Likewise.
62176         (RUN_TEST_LOOP_2_f): New macro.
62177         (RUN_TEST_LOOP_ff_f): Likewise.
62178         (atan2_test_data): New variable.
62179         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
62180         (copysign_test_data): New variable.
62181         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
62182         (fdim_test_data): New variable.
62183         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
62184         (fmax_test_data): New variable.
62185         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
62186         (fmin_test_data): New variable.
62187         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
62188         (fmod_test_data): New variable.
62189         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
62190         (hypot_test_data): New variable.
62191         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
62192         (nextafter_test_data): New variable.
62193         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
62194         (nexttoward_test_data): New variable.
62195         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
62196         (pow_test_data): New variable.
62197         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
62198         (pow_tonearest_test_data): New variable.
62199         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
62200         (pow_towardzero_test_data): New variable.
62201         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
62202         (pow_downward_test_data): New variable.
62203         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
62204         (pow_upward_test_data): New variable.
62205         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
62206         (remainder_test_data): New variable.
62207         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
62208         (scalb_test_data): New variable.
62209         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
62210         * sysdeps/i386/fpu/libm-test-ulps: Update.
62212 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
62214         * math/libm-test.inc (fma_test): Use max_value instead of local
62215         variable fltmax.
62216         (nextafter_test): Likewise.
62218         * math/libm-test.inc (acos_towardzero_test_data): New variable.
62219         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62220         (acos_downward_test_data): New variable.
62221         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62222         (acos_upward_test_data): New variable.
62223         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62224         (acosh_test_data): New variable.
62225         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
62226         (asin_test_data): New variable.
62227         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
62228         (asin_tonearest_test_data): New variable.
62229         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62230         (asin_towardzero_test_data): New variable.
62231         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62232         (asin_downward_test_data): New variable.
62233         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62234         (asin_upward_test_data): New variable.
62235         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62236         (asinh_test_data): New variable.
62237         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
62238         (atan_test_data): New variable.
62239         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
62240         (atanh_test_data): New variable.
62241         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
62242         (cbrt_test_data): New variable.
62243         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
62244         (ceil_test_data): New variable.
62245         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
62246         (cos_test_data): New variable.
62247         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
62248         (cos_tonearest_test_data): New variable.
62249         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62250         (cos_towardzero_test_data): New variable.
62251         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62252         (cos_downward_test_data): New variable.
62253         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62254         (cos_upward_test_data): New variable.
62255         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62256         (cosh_test_data): New variable.
62257         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
62258         (cosh_tonearest_test_data): New variable.
62259         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62260         (cosh_towardzero_test_data): New variable.
62261         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62262         (cosh_downward_test_data): New variable.
62263         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62264         (cosh_upward_test_data): New variable.
62265         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62266         (erf_test_data): New variable.
62267         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
62268         (erfc_test_data): New variable.
62269         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
62270         (exp_test_data): New variable.
62271         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
62272         (exp_tonearest_test_data): New variable.
62273         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62274         (exp_towardzero_test_data): New variable.
62275         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62276         (exp_downward_test_data): New variable.
62277         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62278         (exp_upward_test_data): New variable.
62279         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62280         (exp10_test_data): New variable.
62281         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
62282         (exp2_test_data): New variable.
62283         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
62284         (expm1_test_data): New variable.
62285         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
62286         (fabs_test_data): New variable.
62287         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
62288         (floor_test_data): New variable.
62289         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
62290         (j0_test_data): New variable.
62291         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
62292         (j1_test_data): New variable.
62293         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
62294         (log_test_data): New variable.
62295         (log_test): Run tests with RUN_TEST_LOOP_f_f.
62296         (log10_test_data): New variable.
62297         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
62298         (log1p_test_data): New variable.
62299         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
62300         (log2_test_data): New variable.
62301         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
62302         (logb_test_data): New variable.
62303         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
62304         (logb_downward_test_data): New variable.
62305         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62306         (nearbyint_test_data): New variable.
62307         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
62308         (rint_test_data): New variable.
62309         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
62310         (rint_tonearest_test_data): New variable.
62311         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62312         (rint_towardzero_test_data): New variable.
62313         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62314         (rint_downward_test_data): New variable.
62315         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62316         (rint_upward_test_data): New variable.
62317         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62318         (round_test_data): New variable.
62319         (round_test): Run tests with RUN_TEST_LOOP_f_f.
62320         (sin_test_data): New variable.
62321         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
62322         (sin_tonearest_test_data): New variable.
62323         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62324         (sin_towardzero_test_data): New variable.
62325         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62326         (sin_downward_test_data): New variable.
62327         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62328         (sin_upward_test_data): New variable.
62329         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62330         (sinh_test_data): New variable.
62331         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
62332         (sinh_tonearest_test_data): New variable.
62333         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62334         (sinh_towardzero_test_data): New variable.
62335         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62336         (sinh_downward_test_data): New variable.
62337         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62338         (sinh_upward_test_data): New variable.
62339         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62340         (sqrt_test_data): New variable.
62341         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
62342         (tan_test_data): New variable.
62343         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
62344         (tan_tonearest_test_data): New variable.
62345         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62346         (tan_towardzero_test_data): New variable.
62347         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62348         (tan_downward_test_data): New variable.
62349         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62350         (tan_upward_test_data): New variable.
62351         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62352         (tanh_test_data): New variable.
62353         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
62354         (tgamma_test_data): New variable.
62355         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
62356         (trunc_test_data): New variable.
62357         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
62358         (y0_test_data): New variable.
62359         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
62360         (y1_test_data): New variable.
62361         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
62362         (significand_test_data): New variable.
62363         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
62365 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
62367         [BZ #12387]
62368         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
62370 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62372         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
62374 2013-05-10  Andreas Jaeger  <aj@suse.de>
62376         [BZ #15448]
62377         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
62378         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
62380 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
62382         * math/gen-libm-test.pl (adjust_arg): New function.
62383         (special_functions): Handle generating output in both functions
62384         and arrays.
62385         (parse_args): Likewise.
62386         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
62387         $in_func argument to parse_args.
62388         * math/libm-test.inc (struct test_f_f_data): New type.
62389         (IF_ROUND_INIT_): New macro.
62390         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
62391         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
62392         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
62393         (IF_ROUND_INIT_FE_UPWARD): Likewise.
62394         (ROUND_RESTORE_): Likewise.
62395         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
62396         (ROUND_RESTORE_FE_TONEAREST): Likewise.
62397         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
62398         (ROUND_RESTORE_FE_UPWARD): Likewise.
62399         (RUN_TEST_LOOP_f_f): New macro.
62400         (acos_test_data): New variable.
62401         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
62402         (acos_tonearest_test_data): New variable.
62403         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62405 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
62407         * benchtests/bench-skeleton.c (startup): Fix coding style.
62409 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
62411         [BZ #6809]
62412         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
62413         negative infinity argument.
62414         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
62415         negative infinity argument.
62416         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
62417         negative infinity argument.
62418         * math/libm-test.inc (tgamma_test): Expect errno to be set for
62419         domain errors.
62421 2013-05-10  Florian Weimer  <fweimer@redhat.com>
62423         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
62424         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
62425         * iconv/iconv_prog.c (main): Likewise.
62426         * locale/programs/charmap-dir.c (charmap_readdir)
62427         (fopen_uncompressed): Likewise.
62428         * locale/programs/locfile.c (siblings_uncached)
62429         (write_locale_data): Use lstat64 instead of lstat.
62430         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
62431         stat.
62433 2013-05-10  Andreas Jaeger  <aj@suse.de>
62435         [BZ #15395]
62436         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
62437         localization.
62438         Include <locale.h>.
62440 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
62442         * elf/dl-close.c (_dl_close_worker): Add comments.
62444 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
62446         [BZ #15359]
62447         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
62448         high part of pi/2.
62449         (__ieee754_rem_pio2l): Update comments.
62451         [BZ #15429]
62452         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
62453         high part of pi/2.
62454         (__ieee754_rem_pio2l): Update comments.
62456         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
62457         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
62459         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
62460         M_PI_4l.
62462         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
62463         (M_PI_34_LOG10El): Likewise.
62464         (M_PI2_LOG10El): Likewise.
62465         (M_PI4_LOG10El): Likewise.
62466         (M_PI_LOG10El): Likewise.
62468 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62470         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62472 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
62474         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
62475         (MINUS_ZERO_INIT): Likewise.
62476         (PLUS_INFTY_INIT): Likewise.
62477         (MINUS_INFTY_INIT): Likewise.
62478         (QNAN_VALUE_INIT): Likewise.
62479         (MAX_VALUE_INIT): Likewise.
62480         (MIN_VALUE_INIT): Likewise.
62481         (MIN_SUBNORM_VALUE_INIT): Likewise.
62482         (plus_zero): Initialize with PLUS_ZERO_INIT.
62483         (minus_zero): Initialize with MINUS_ZERO_INIT.
62484         (plus_infty): Initialize with PLUS_INFTY_INIT.
62485         (minus_infty): Initialize with MINUS_INFTY_INIT.
62486         (qnan_value): Initialize with QNAN_VALUE_INIT.
62487         (max_value): Initialize with MAX_VALUE_INIT.
62488         (min_value): Initialize with MIN_VALUE_INIT.
62489         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
62491         * math/libm-test.inc (RUN_TEST_if_f): New macro.
62492         (jn_test): Use TEST_if_f instead of TEST_ff_f.
62493         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
62494         (yn_test): Use TEST_if_f instead of TEST_ff_f.
62496         * math/libm-test.inc (RUN_TEST_f_f): New macro.
62497         (RUN_TEST_2_f): Likewise.
62498         (RUN_TEST_ff_f): Likewise.
62499         (RUN_TEST_fi_f): Likewise.
62500         (RUN_TEST_fl_f): Likewise.
62501         (RUN_TEST_fff_f): Likewise.
62502         (RUN_TEST_c_f): Likewise.
62503         (RUN_TEST_f_f1): Likewise.
62504         (RUN_TEST_fF_f1): Likewise.
62505         (RUN_TEST_fI_f1): Likewise.
62506         (RUN_TEST_ffI_f1): Likewise.
62507         (RUN_TEST_c_c): Likewise.
62508         (RUN_TEST_cc_c): Likewise.
62509         (RUN_TEST_f_i): Likewise.
62510         (RUN_TEST_f_i_tg): Likewise.
62511         (RUN_TEST_ff_i_tg): Likewise.
62512         (RUN_TEST_f_b): Likewise.
62513         (RUN_TEST_f_b_tg): Likewise.
62514         (RUN_TEST_f_l): Likewise.
62515         (RUN_TEST_f_L): Likewise.
62516         (RUN_TEST_sincos): Likewise.
62517         * math/gen-libm-test.pl (new_test): Take new argument to indicate
62518         whether to show exceptions.  Do not include ");\n" in return
62519         value.
62520         (special_functions): Output call to RUN_TEST_sincos instead of
62521         check_float calls.  Update calls to new_test.
62522         (parse_args): Output call to single RUN_TEST_* macro instead of
62523         check_* calls and other assignments.  Update calls to new_test.
62525         [BZ #2546]
62526         [BZ #2560]
62527         [BZ #5159]
62528         [BZ #15426]
62529         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
62530         input to result for tgamma overflow.
62531         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
62532         (gamma_coeff): New variable.
62533         (NCOEFF): New macro.
62534         (gamma_positive): New function.
62535         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
62536         underflow here.  Use gamma_positive instead of exp (lgamma) for
62537         other arguments.
62538         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
62539         (gamma_coeff): New variable.
62540         (NCOEFF): New macro.
62541         (gammaf_positive): New function.
62542         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
62543         underflow here.  Use gamma_positive instead of exp (lgamma) for
62544         other arguments.
62545         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
62546         (gamma_coeff): New variable.
62547         (NCOEFF): New macro.
62548         (gammal_positive): New function.
62549         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
62550         underflow here.  Use gamma_positive instead of exp (lgamma) for
62551         other arguments.
62552         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
62553         (gamma_coeff): New variable.
62554         (NCOEFF): New macro.
62555         (gammal_positive): New function.
62556         (__ieee754_gammal_r): Handle positive infinity, overflow and
62557         underflow here.  Handle NaN the same as positive infinity.  Remove
62558         check x < 0xffffffff for negative integers.  Use gamma_positive
62559         instead of exp (lgamma) for other arguments.
62560         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
62561         (gamma_coeff): New variable.
62562         (NCOEFF): New macro.
62563         (gammal_positive): New function.
62564         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
62565         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
62566         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
62567         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
62568         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
62569         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
62570         * sysdeps/generic/math_private.h (__gamma_productf): New
62571         prototype.
62572         (__gamma_product): Likewise.
62573         (__gamma_productl): Likewise.
62574         * math/Makefile (libm-calls): Add gamma_product.
62575         * math/libm-test.inc (tgamma_test): Add more tests.
62576         * sysdeps/i386/fpu/libm-test-ulps: Update.
62577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62579 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
62581         * benchtests/bench-skeleton.c (main): Preheat CPU.
62583 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
62585         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
62587 2013-05-07  Roland McGrath  <roland@hack.frob.com>
62589         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
62590         and _dl_skip_args_internal.
62592 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
62594         * manual/message.texi (Message Translation): Talk about users.
62595         Message to key mapping impacts design.
62597 2013-05-06  Roland McGrath  <roland@hack.frob.com>
62599         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
62601         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
62603         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
62604         * sysdeps/wordsize-64/glob64.c: ... here.
62606         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
62607         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
62608         New macros.
62610         * debug/getlogin_r_chk.c: Moved to ...
62611         * login/getlogin_r_chk.c: ... here.
62612         * debug/Makefile (routines): Move getlogin_r_chk to ...
62613         * login/Makefile (routines): ... here.
62614         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
62615         * login/Versions (libc: GLIBC_2.4): ... here.
62617         * io/poll.c (__poll): Renamed from poll.
62618         Add libc_hidden_def.
62619         (poll): Define as weak alias.
62621         * debug/ptsname_r_chk.c: Moved to ...
62622         * login/ptsname_r_chk.c: ... here.
62623         * debug/Makefile (routines): Move ptsname_r_chk to ...
62624         * login/Makefile (routines): ... here.
62625         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
62626         * login/Versions (libc: GLIBC_2.4): ... here.
62628         * posix/getlogin.c: Moved to ...
62629         * login/getlogin.c: ... here.
62630         * posix/getlogin_r.c: Moved to ...
62631         * login/getlogin_r.c: ... here.
62632         * posix/getlogin_r.c: Moved to ...
62633         * login/getlogin_r.c: ... here.
62634         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
62635         * login/Makefile (routines): ... here.
62636         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
62637         * login/Versions (libc: GLIBC_2.0): ... here.
62639         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
62640         (setrlimit): Define as weak alias.
62642         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
62643         Call __ names for open, ftruncate, and close.
62644         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
62645         (truncate): Define as weak alias.
62647 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
62649         * math/gen-libm-test.pl (parse_args): Initialize x before each
62650         test of frexp, modf and remquo.
62652         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
62653         test signgam value.
62655 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62657         [BZ #15418]
62658         [BZ #15419]
62659         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
62660         internal tests.
62661         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
62663 2013-05-06  Roland McGrath  <roland@hack.frob.com>
62665         * elf/dl-writev.h: New file.
62666         * elf/dl-misc.c: Include it.
62667         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
62668         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
62670 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
62672         * math/libm-test.inc (noXFails): Remove variable.
62673         (noXPasses): Likewise.
62674         (BUILD_COMPLEX_INT): Remove macro.
62675         (print_screen): Remove xfail argument.
62676         (print_screen_max_error): Likewise.
62677         (update_stats): Likewise.
62678         (print_max_error): Likewise.  Update calls to other affected
62679         functions.
62680         (print_complex_max_error): Likewise.
62681         (test_single_exception): Update calls to print_screen.
62682         (test_single_errno): Likewise.
62683         (check_float_internal): Remove xfail argument.  Update calls to
62684         other affected functions.
62685         (check_float): Likewise.
62686         (check_complex): Likewise.
62687         (check_int): Likewise.
62688         (check_long): Likewise.
62689         (check_bool): Likewise.
62690         (check_longlong): Likewise.
62691         (main): Don't print noXFails and noXPasses.
62692         * math/gen-libm-test.pl (top level): Don't mention expected
62693         failure handling in comment.
62694         (new_test): Don't handle expected failures.
62695         (parse_args): Don't mention expected failure handling in comment.
62696         (generate_testfile): Don't handle expected failures.
62697         (parse_ulps): Likewise.
62698         (print_ulps_file): Likewise.
62699         (get_failure): Remove function.
62700         (output_test): Don't handle expected failures.
62701         * make/README.libm-test: Don't mention expected failure handling.
62703         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
62704         (minus_zero): Likewise.
62705         (plus_infty): Likewise.
62706         (minus_infty): Likewise.
62707         (qnan_value): Likewise.
62708         (max_value): Likewise.
62709         (min_value): Likewise.
62710         (min_subnorm_value): Likewise.
62711         (initialize): Do not initialize those variables dynamically.
62713 2013-05-03  Roland McGrath  <roland@hack.frob.com>
62715         * io/open.c (__open_2): Moved to ...
62716         * io/open_2.c: ... this new file.
62717         * io/open64.c (__open64_2): Moved to ...
62718         * io/open64_2.c: ... this new file.
62719         * io/openat.c (__openat_2): Moved to ...
62720         * io/openat_2.c: ... this new file.
62721         * io/openat64.c (__openat64_2): Moved to ...
62722         * io/openat64_2.c: ... this new file.
62723         * io/Makefile (routines): Add them.
62724         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
62725         * sysdeps/unix/sysv/linux/open_2.c: File removed.
62726         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
62727         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
62728         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
62729         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
62730         (__openat64): Add hidden_ver.
62731         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
62732         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
62734         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
62735         Separately conditionalize setting of GLRO(dl_sysinfo) so
62736         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
62737         as well, but the actual setting is only under [NEED_DL_SYSINFO].
62739 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62741         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
62742         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
62743         definition.
62744         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
62745         * sysdeps/unix/sysv/linux/powerpc/init-first.c
62746         (_libc_vdso_platform_setup): Add __vdso_time initialization.
62747         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
62748         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
62750 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
62752         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
62753         test signgam value.
62755         * math/libm-test.inc (hypot_test): Do not use
62756         IGNORE_ZERO_INF_SIGN.
62758 2013-05-03  Andreas Jaeger  <aj@suse.de>
62760         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
62761         Linux 3.9.
62762         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
62763         (PF_MAX): Adjust for VSOCK change.
62765 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62767         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62769 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
62771         [BZ #15264]
62772         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
62773         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
62774         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
62776 2013-05-02  David S. Miller  <davem@davemloft.net>
62778         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62780 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
62782         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
62784 2013-05-01  Roland McGrath  <roland@hack.frob.com>
62786         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
62788 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
62790         [BZ #14952]
62791         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
62792         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
62793         Use __attribute__ ((__gnu_inline__)).
62794         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
62795         Don't use __attribute__ ((__gnu_inline__)).
62797 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
62799         [BZ #15423]
62800         * math/s_catan.c (__catan): Handle small real or imaginary part of
62801         input specially to avoid spurious underflow.
62802         * math/s_catanf.c (__catanf): Likewise.
62803         * math/s_catanh.c (__catanh): Likewise.
62804         * math/s_catanhf.c (__catanhf): Likewise.
62805         * math/s_catanhl.c (__catanhl): Likewise.
62806         * math/s_catanl.c (__catanl): Likewise.
62807         * math/libm-test.inc (catan_test): Add more tests.
62808         (catanh_test): Likewise.
62809         * sysdeps/i386/fpu/libm-test-ulps: Update.
62810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62812 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62814         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62816 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
62818         [BZ #15416]
62819         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
62820         accurately for denominator in atan2.
62821         * math/s_catanf.c (__catanf): Likewise.
62822         * math/s_catanh.c (__catanh): Likewise.
62823         * math/s_catanhf.c (__catanhf): Likewise.
62824         * math/s_catanhl.c (__catanhl): Likewise.
62825         * math/s_catanl.c (__catanl): Likewise.
62826         * math/libm-test.inc (catan_test): Add more tests.
62827         (catanh_test): Likewise.
62828         * sysdeps/i386/fpu/libm-test-ulps: Update.
62829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62831 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
62833         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
62835         * benchtests/Makefile (bench): Remove slow benchmarks.
62836         * benchtests/atan-inputs: Add slow benchmark inputs.
62837         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
62838         (BENCH_FUNC): Accept variant offset.
62839         (VARIANT): Define.
62840         * benchtests/bench-skeleton.c (main): Run benchmark for each
62841         variant.
62842         * benchtests/cos-inputs: Add slow benchmark inputs.
62843         * benchtests/exp-inputs: Likewise.
62844         * benchtests/pow-inputs: Likewise.
62845         * benchtests/sin-inputs: Likewise.
62846         * benchtests/slowatan-inputs: Remove.
62847         * benchtests/slowatan.c: Remove.
62848         * benchtests/slowcos-inputs: Remove.
62849         * benchtests/slowcos.c: Remove.
62850         * benchtests/slowexp-inputs: Remove.
62851         * benchtests/slowexp.c: Remove.
62852         * benchtests/slowpow-inputs: Remove.
62853         * benchtests/slowpow.c: Remove.
62854         * benchtests/slowsin-inputs: Remove.
62855         * benchtests/slowsin.c: Remove.
62856         * benchtests/slowtan-inputs: Remove.
62857         * benchtests/slowtan.c: Remove.
62858         * benchtests/tan-inputs: Add slow benchmark inputs.
62859         * scripts/bench.pl: Parse comments and directives.
62861         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
62862         in CPPFLAGS.
62863         ($(objpfx)bench-%.c): Remove *-ITER.
62864         * benchtests/bench-modf.c: Remove definition of ITER.
62865         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
62866         (main): Loop for DURATION seconds instead of fixed number of
62867         iterations.
62868         * scripts/bench.pl: Don't expect iterations in parameters.
62870 2013-04-29  Roland McGrath  <roland@hack.frob.com>
62872         * io/fchdir.c (__fchdir): Renamed from fchdir.
62873         (fchdir): Define as weak alias.
62875 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
62877         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
62878         (ERRNO_EDOM): Likewise.
62879         (ERRNO_ERANGE): Likewise.
62880         (noErrnoTests): New variable.
62881         (init_max_error): Set errno to 0.
62882         (test_single_errno): New function.
62883         (test_errno): Likewise.
62884         (check_float_internal): Call test_errno.  Set errno to 0.
62885         (check_complex): Refer to errno tests in comment.
62886         (check_int): Call test_errno.  Set errno to 0.
62887         (check_long): Likewise.
62888         (check_bool): Likewise.
62889         (check_longlong): Likewise.
62890         (cos_test): Use ERRNO_* flags for errno tests instead of
62891         check_int.
62892         (expm1_test): Likewise.
62893         (fmod_test): Likewise.
62894         (ilogb_test): Likewise.
62895         (lgamma_test): Likewise.
62896         (pow_test): Likewise.
62897         (remainder_test): Likewise.
62898         (sin_test): Likewise.
62899         (tan_test): Likewise.
62900         (yn_test): Likewise.
62901         (initialize): Set errno to 0.
62902         (main): Print number of errno tests.
62903         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
62905 2013-04-29  Andreas Jaeger  <aj@suse.de>
62907         [BZ #15084]
62908         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
62909         and RES_USEVC.
62911         [BZ #15085]
62912         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
62913         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
62914         unimplemented.
62916         [BZ #15380]
62917         * stdlib/random.c (__initstate): Return NULL if
62918         __initstate fails.
62920         [BZ #15086]
62921         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
62922         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
62923         RES_SNGLKUPREOP.
62925 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62927         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62929 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
62931         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
62932         of individual tests.
62933         (casin_test): Likewise.
62934         (casinh_test): Likewise.
62936 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
62938         [BZ #15409]
62939         * math/s_catan.c (__catan): Handle arguments with large real or
62940         imaginary part separately without squaring.
62941         * math/s_catanf.c (__catanf): Likewise.
62942         * math/s_catanh.c (__catanh): Likewise.
62943         * math/s_catanhf.c (__catanhf): Likewise.
62944         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
62945         and redefine.
62946         (__catanhl): Handle arguments with large real or imaginary part
62947         separately without squaring.
62948         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
62949         and redefine.
62950         (__catanl): Handle arguments with large real or imaginary part
62951         separately without squaring.
62952         * math/libm-test.inc (catan_test): Add more tests.
62953         (catanh_test): Likewise.
62954         * sysdeps/i386/fpu/libm-test-ulps: Update.
62955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62957 2013-04-27  Andreas Jaeger  <aj@suse.de>
62959         [BZ #15007]
62960         * stdlib/stdlib.h: Update guards for qecvt.
62961         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
62962         <stdlib.h>.
62964 2013-04-27  Allan McRae  <allan@archlinux.org>
62966         * sysdeps/i386/fpu/libm-test-ulps: Update.
62968 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
62970         [BZ #15406]
62971         * math/s_catan.c: Include <float.h>.
62972         (__catan): Ensure underflow exception occurs for underflowed
62973         result.
62974         * math/s_catanf.c: Include <float.h>.
62975         (__catanf): Ensure underflow exception occurs for underflowed
62976         result.
62977         * math/s_catanh.c: Include <float.h>.
62978         (__catanh): Ensure underflow exception occurs for underflowed
62979         result.
62980         * math/s_catanhf.c: Include <float.h>.
62981         (__catanhf): Ensure underflow exception occurs for underflowed
62982         result.
62983         * math/s_catanhl.c: Include <float.h>.
62984         (__catanhl): Ensure underflow exception occurs for underflowed
62985         result.
62986         * math/s_catanl.c: Include <float.h>.
62987         (__catanl): Ensure underflow exception occurs for underflowed
62988         result.
62989         * math/libm-test.inc (catan_test): Add more tests.
62990         (catanh_test): Likewise.
62992         [BZ #15405]
62993         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
62994         underflowed result.
62995         * math/s_ccoshf.c (__ccoshf): Likewise.
62996         * math/s_ccoshl.c (__ccoshl): Likewise.
62997         * math/s_csin.c (__csin): Likewise.
62998         * math/s_csinf.c (__csinf): Likewise.
62999         * math/s_csinh.c (__csinh): Likewise.
63000         * math/s_csinhf.c (__csinhf): Likewise.
63001         * math/s_csinhl.c (__csinhl): Likewise.
63002         * math/s_csinl.c (__csinl): Likewise.
63003         * math/libm-test.inc (ccos_test): Add more tests.
63004         (ccosh_test): Likewise.
63005         (csin_test): Likewise.
63006         (csinh_test): Likewise.
63008 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63010         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
63011         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
63012         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
63013         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
63014         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
63015         powerpc/power5+/fpu folders.
63016         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
63019 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
63021         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63023 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
63025         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
63026         additions to variable.
63027         [$(config-machine) = x86_64] (modules-names): Likewise.
63028         ($(objpfx)tst-audit3): Remove dependency.
63029         ($(objpfx)tst-audit3.out): Likewise.
63030         ($(objpfx)tst-audit4): Likewise.
63031         ($(objpfx)tst-audit4.out): Likewise.
63032         ($(objpfx)tst-audit5): Likewise.
63033         ($(objpfx)tst-audit5.out): Likewise.
63034         ($(objpfx)tst-audit6): Likewise.
63035         ($(objpfx)tst-audit6.out): Likewise.
63036         ($(objpfx)tst-audit7): Likewise.
63037         ($(objpfx)tst-audit7.out): Likewise.
63038         (tst-audit3-ENV): Remove variable.
63039         (tst-audit4-ENV): Likewise.
63040         (tst-audit5-ENV): Likewise.
63041         (tst-audit6-ENV): Likewise.
63042         (tst-audit7-ENV): Likewise.
63043         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
63044         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
63045         addition to variable.
63046         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
63047         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
63048         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
63049         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
63050         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
63051         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
63052         tst-audit3, tst-audit4 and tst-audit5.
63053         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
63054         tst-audit6 and tst-audit7.
63055         [$(subdir) = elf] (modules-names): Add audit modules for those
63056         tests.
63057         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
63058         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
63059         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
63060         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
63061         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
63062         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
63063         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
63064         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
63065         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
63066         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
63067         [$(subdir) = elf] (tst-audit3-ENV): New variable.
63068         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
63069         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
63070         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
63071         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
63072         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
63073         Likewise.
63074         [$(subdir) = elf && $(config-cflags-avx) = yes]
63075         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
63076         [$(subdir) = elf && $(config-cflags-avx) = yes]
63077         (CFLAGS-tst-auditmod4a.c): Likewise.
63078         [$(subdir) = elf && $(config-cflags-avx) = yes]
63079         (CFLAGS-tst-auditmod4b.c): Likewise.
63080         [$(subdir) = elf && $(config-cflags-avx) = yes]
63081         (CFLAGS-tst-auditmod6b.c): Likewise.
63082         [$(subdir) = elf && $(config-cflags-avx) = yes]
63083         (CFLAGS-tst-auditmod6c.c): Likewise.
63084         [$(subdir) = elf && $(config-cflags-avx) = yes]
63085         (CFLAGS-tst-auditmod7b.c): Likewise.
63086         * elf/tst-audit3.c: Move to ...
63087         * sysdeps/x86_64/tst-audit3.c: ... here.
63088         * elf/tst-audit4.c: Move to ...
63089         * sysdeps/x86_64/tst-audit4.c: ... here.
63090         * elf/tst-audit5.c: Move to ...
63091         * sysdeps/x86_64/tst-audit5.c: ... here.
63092         * elf/tst-audit6.c: Move to ...
63093         * sysdeps/x86_64/tst-audit6.c: ... here.
63094         * elf/tst-audit7.c: Move to ...
63095         * sysdeps/x86_64/tst-audit7.c: ... here.
63096         * elf/tst-auditmod3a.c: Move to ...
63097         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
63098         * elf/tst-auditmod3b.c: Move to ...
63099         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
63100         * elf/tst-auditmod4a.c: Move to ...
63101         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
63102         * elf/tst-auditmod4b.c: Move to ...
63103         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
63104         * elf/tst-auditmod5a.c: Move to ...
63105         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
63106         * elf/tst-auditmod5b.c: Move to ...
63107         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
63108         * elf/tst-auditmod6a.c: Move to ...
63109         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
63110         * elf/tst-auditmod6b.c: Move to ...
63111         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
63112         * elf/tst-auditmod6c.c: Move to ...
63113         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
63114         * elf/tst-auditmod7a.c: Move to ...
63115         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
63116         * elf/tst-auditmod7b.c: Move to ...
63117         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
63119 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
63121         [BZ #15366]
63122         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
63123         define unconditionally.
63124         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
63125         define unconditionally.
63126         (INT8_C, INT16_C, etc.): Likewise.
63128 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
63130         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
63131         __ehdr_start with hidden visibility.
63133         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
63135 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
63137         * math/libm-test.inc (cos_test): Use accurate hex constants.
63138         (sincost_test): Likewise.
63140 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
63142         * math/libm-test.inc (catan_test): Add more tests.
63143         (catanh_test): Likewise.
63145         * math/s_catanf.c (__catanf): Use suffixed floating-point
63146         constants.
63147         * math/s_catanhf.c (__catanhf): Likewise.
63148         * math/s_catanhl.c (__catanhl): Likewise.
63149         * math/s_catanl.c (__catanl): Likewise.
63151         [BZ #15394]
63152         * math/s_catan.c (__catan): Calculate imaginary part of result
63153         with log1p not log unless computing log of number close to 0.
63154         * math/s_catanf.c (__catanf): Likewise.
63155         * math/s_catanl.c (__catanl): Likewise.
63156         * math/s_catanh.c (__catanh): Calculate real part of result with
63157         log1p not log unless computing log of number close to 0.
63158         * math/s_catanhf.c (__catanhf): Likewise.
63159         * math/s_catanhl.c (__catanhl): Likewise.
63160         * math/libm-test.inc (catan_test): Add more tests.
63161         (catanh_test): Likewise.
63162         * sysdeps/i386/fpu/libm-test-ulps: Update.
63163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63165 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
63167         * benchtests/Makefile: Mention files in which fast and slow
63168         paths of math functions are implemented.
63170 2013-04-23  Roland McGrath  <roland@hack.frob.com>
63172         * sysdeps/posix/timespec_get.c: New file.
63174 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63176         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
63177         POWER.
63178         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
63179         for POWER.
63180         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
63181         powerpc/power5/fpu folders.
63182         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
63183         * benchtests/Makefile: Add modf testcase.
63184         * benchtests/bench-modf.c: New file: Benchmark test for mo
63186 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
63188         [BZ #14888]
63189         * time/Makefile (tests): Add tst-strptime-whitespace.
63190         * time/strptime_l.c (get_number): Use ISSPACE.
63191         (__strptime_internal): Likewise.
63192         * time/tst-strptime-whitespace.c: New test case.
63194 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
63196         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
63197         member.
63198         (_nss_files_init): Set it here.
63200 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
63202         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
63203         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
63204         unsigned.
63206 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
63208         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
63210 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
63212         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
63213         size just once.
63215 2013-04-21  David S. Miller  <davem@davemloft.net>
63217         * po/ru.po: Update Russion translation from translation project.
63219 2013-04-17  Adam Conrad  <adconrad@0c3.net>
63221         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
63222         and setfsgid.
63224 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
63226         * configure.in: Remove i386 configure warning. Remove i386 case.
63227         * configure: Regenerate.
63228         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
63229         Add example to error message.
63230         * sysdeps/i386/configure: Regenerate.
63232 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
63234         * benchtests/Makefile (bench): Add cos, tan, slowcos and
63235         slowtan.
63236         * benchtests/cos-inputs: New file.
63237         * benchtests/slowcos-inputs: New file.
63238         * benchtests/slowcos.c: New file.
63239         * benchtests/slowtan-inputs: New file.
63240         * benchtests/slowtan.c: New file.
63241         * benchtests/tan-inputs: New file.
63243 2013-04-16  Roland McGrath  <roland@hack.frob.com>
63245         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
63246         considered kosher.
63248 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
63250         * benchtests/Makefile: Include cppflags-iterator.mk to add
63251         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
63253         * Makefile.in (bench-clean): New target.
63254         * benchtests/Makefile (bench-clean): Likewise.
63256 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
63258         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
63260 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
63262         * stdio-common/tstdiomisc.c: Fix coding-style violation.
63264 2013-04-15  Andreas Schwab  <schwab@suse.de>
63266         * nscd/grpcache.c (cache_addgr): Properly check for short write.
63267         * nscd/initgrcache.c (addinitgroupsX): Likewise.
63268         * nscd/pwdcache.c (cache_addpw): Likewise.
63269         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
63270         more than recsize.
63272 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63274         * benchtests/Makefile (bench): Write all output to
63275         bench-out.tmp together.
63277 2013-04-15  Andreas Schwab  <schwab@suse.de>
63279         * nscd/nscd.c (main): Don't fork again after closing files.
63281 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63283         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
63285         * benchtests/Rules (bench-deps): Collect dependencies into a
63286         single variable.  Add Makefile to dependencies.
63287         ($(objpfx)bench-%.c): Depend on bench-deps.
63289 2013-04-12  Roland McGrath  <roland@hack.frob.com>
63290             Xavier Roche  <roche+kml2@exalead.com>
63292         [BZ #15361]
63293         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
63294         just that it's a file descriptor.
63295         * manual/llio.texi (Synchronizing AIO Operations): Update description
63296         for EBADF error from aio_fsync.
63298 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
63300         * Rules (bench): Move target definition...
63301         * benchtests/Makefile: ... here.
63303 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
63305         * math/libm-test.inc (cos_test): Fix PI/2 test.
63306         (sincos_test): Likewise.
63307         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
63308         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
63310 2013-04-11  Andreas Schwab  <schwab@suse.de>
63312         [BZ #13988]
63313         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
63314         accept exponent character only when digits were seen.
63315         * stdio-common/Makefile (tests): Add bug26.
63316         * stdio-common/bug26.c: New file.
63318         [BZ #14293]
63319         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
63320         non-freeable.
63322 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
63324         * Makeconfig (rtld-prefix): Define built linker prefix.
63325         * Rules (run-bench): Use it.
63326         * math/Makefile (run-regen-ulps): Likewise.
63328         * Rules (bench): Remove eval.
63330 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
63331             Roland McGrath  <roland@hack.frob.com>
63332             Ondrej Bilka  <neleai@seznam.cz>
63334         [BZ #15346]
63335         * time/getdate.c: Include ctype.h and alloca.h.
63336         (__getdate_r): Trim leading and trailing spaces of input.
63337         * time/tst-getdate.c (tests): Add tests with leading and
63338         trailing spaces.
63340 2013-04-08  Roland McGrath  <roland@hack.frob.com>
63342         [BZ #14280]
63343         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
63344         when computing value.
63346 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
63348         * math/README.libm-test (How can I generate "libm-test-ulps"?):
63349         Use testrun.sh to run libm tests.
63351         [BZ #15309]
63352         * elf/dl-open.c (dl_open_worker): memset all of seen array.
63354 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
63356         [BZ #15264]
63357         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
63359 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
63361         * Makefile.in (regen-ulps): New target.
63362         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
63363         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
63364         [ifneq (no,$(PERL)] (regen-ulps): New target.
63365         [ifeq (no,$(PERL)] (regen-ulps): New target.
63366         * math/libm-test.inc (ulps_file_name): Define.
63367         (output_dir): New variable.
63368         (options): Add "output-dir" option.
63369         (parse_opt): Handle 'o' case.
63370         (main): If output_dir is non-NULL use it as a prefix
63371         otherwise use "".
63372         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
63374 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
63376         [BZ #10060, #10062]
63377         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
63378         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
63379         fail configure if __sync_val_compare_and_swap is not inlined.
63380         * sysdeps/i386/configure: Regenerate.
63381         * configure.in: Build for i686 when configured for i386.
63382         * configure: Regenerate.
63383         * README: Remove i386 reference.
63385 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
63387         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
63388         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63390 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
63392         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
63393         (lmsnanval): New variables.
63394         (F): Add conversion tests.
63395         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
63396         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
63398         * stdio-common/tstdiomisc.c (F): Properly collect individual
63399         tests' results.
63401         [BZ #14686, #15336]
63402         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
63403         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
63404         Instead, use input NaN values or generate a qNaN by arithmetic
63405         operation.  Also fix bugs to comply with the standard.
63406         * math/libm-test.inc (remainder_test): Add more tests.
63408         [BZ #15335, #15342]
63409         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
63410         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
63411         input NaN values or generate a qNaN by arithmetic operation.
63413         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
63414         unreachable code.
63416         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
63417         definitions.
63419 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
63421         [BZ #14478]
63422         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
63423         underflowed result.
63424         * math/s_cexpf.c (__cexpf): Likewise.
63425         * math/s_cexpl.c (__cexpl): Likewise.
63426         * math/libm-test.inc (cexp_test): Add more tests.
63428 2013-04-03  Andreas Schwab  <schwab@suse.de>
63430         [BZ #15330]
63431         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
63432         order arrays from heap if bigger than alloca cutoff.
63434 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
63436         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
63437         (SNAN_TESTS_double): Refer to GCC PR56831.
63438         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
63439         GCC PR56828.
63441 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
63443         * Rules (bench): Move bench.out after the run is complete.
63445         * Rules (bench): Echo currently running benchmark.
63447         * benchtests/Makefile (bench): Add atan and slowatan.
63448         * benchtests/atan-inputs: New file.
63449         * benchtests/slowatan-inputs: New file.
63450         * benchtests/slowatan.c: New file.
63452         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
63453         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
63454         its value.
63456         [BZ #15305]
63457         * sysdeps/unix/sysv/linux/kernel-features.h
63458         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
63459         __ASSUME_XFS_RESTRICTED_CHOWN.
63460         * sysdeps/unix/sysv/linux/pathconf.c
63461         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
63462         Save and restore errno.
63464 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
63466         [BZ #15327]
63467         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
63468         arguments using __kernel_casinh.
63469         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
63470         arguments using __kernel_casinhf.
63471         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
63472         arguments using __kernel_casinhl.
63473         * math/libm-test.inc (cacosh_test): Add more tests.
63474         * sysdeps/i386/fpu/libm-test-ulps: Update.
63475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63477 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
63479         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
63480         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
63482         * bench/Makefile (bench): Add sin and slowsin.
63483         * benchtests/sin-inputs: New file.
63484         * benchtests/slowsin-inputs: New file.
63485         * benchtests/slowsin.c: New file.
63487         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
63488         (bench): Add slowexp and slowpow.
63489         (exp-ITER): Increase iterations.
63490         (pow-ITER): Likewise.
63491         * benchtests/exp-inputs: Change input.
63492         * benchtests/pow-inputs: Likewise.
63493         * benchtests/slowexp-inputs: New file.
63494         * benchtests/slowexp.c: New file.
63495         * benchtests/slowpow-inputs: New file.
63496         * benchtests/slowpow.c: New file.
63498 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63500         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
63501         instructions.
63502         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
63503         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
63504         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
63505         * benchtests/Makefile: Add rint benchtest.
63506         * benchtests/rint-inputs: Input for rint benchtest.
63508 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
63510         * Versions.def (libm): Add GLIBC_2.18.
63511         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
63512         hidden libm prototypes.
63513         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
63514         * math/Makefile (libm-calls): Add s_issignaling.
63515         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
63516         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
63517         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
63518         declaration.
63519         * math/math.h [__USE_GNU] (issignaling): New macro.
63520         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
63521         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
63522         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
63523         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
63524         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
63525         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
63526         * manual/arith.texi (issignaling): New section.
63527         * manual/libm-err-tab.pl (@all_functions): Update comment.
63528         * math/gen-libm-test.pl (parse_args): Apply special handling for
63529         issignaling.
63530         * math/libm-test.inc (print_float, issignaling_test): New
63531         functions.
63532         (check_float_internal): Add issignaling checks.
63533         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
63534         default definition.
63535         * sysdeps/powerpc/math-tests.h: New file.
63536         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
63537         tests.
63538         * math/test-snan.c (TEST_FUNC): Likewise.
63540 2013-03-30  David S. Miller  <davem@davemloft.net>
63542         * po/de.po: Update from translation team.
63544 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
63546         [BZ #10357]
63547         * math/k_casinh.c (__kernel_casinh): Handle arguments with
63548         imaginary part less than 1.0 and real part less than 0.5
63549         specially.
63550         * math/k_casinhf.c (__kernel_casinhf): Likewise.
63551         * math/k_casinhl.c (__kernel_casinhl): Likewise.
63552         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
63553         (cacos_test): Add more tests.
63554         (casin_test): Likewise.
63555         (casinh_test): Likewise.
63556         * sysdeps/i386/fpu/libm-test-ulps: Update.
63557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63559 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
63561         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
63562         ONE with its value.
63564         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
63565         (__pow_mp): Replace ONE and MONE with their values.
63566         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
63567         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
63568         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
63569         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
63570         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
63571         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
63573         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
63575         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
63576         (__pow_mp): Replace ZERO and MZERO with their values.
63577         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
63578         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
63579         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
63580         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
63581         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
63582         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
63583         (__sqr): Likewise.
63585         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
63587         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
63589 2013-03-28  Roland McGrath  <roland@hack.frob.com>
63591         * include/stdlib.h [!SHARED] (__call_tls_dtors):
63592         Declare with __attribute__ ((weak)).
63593         * stdlib/exit.c (__libc_atexit) [!SHARED]:
63594         Call __call_tls_dtors only if it's not NULL.
63596 2013-03-28  Roland McGrath  <roland@hack.frob.com>
63598         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
63599         didn't do it already, then set _dl_phdr and _dl_phnum based on the
63600         magic __ehdr_start linker symbol if it's defined.
63601         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
63602         them up here if it was already done.
63604         * elf/dl-support.c (_dl_phdr): Make pointer to const.
63605         (_dl_aux_init): Use const in cast when setting it.
63606         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
63607         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
63608         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
63610         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
63611         Declare them here.
63612         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
63613         * csu/libc-tls.c: Nor here.
63614         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
63616         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
63617         (__libc_message): Never call vsyslog.
63619 2013-03-28  Alan Modra  <amodra@gmail.com>
63621         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
63622         Define as empty.
63623         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
63624         Likewise.
63626 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63628         [BZ #15214]
63629         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
63630         underflow.
63631         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63633 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63635         [BZ #15304]
63636         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
63637         Don't add gid passed as argument.
63639         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
63641 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
63643         [BZ #15307]
63644         * math/k_casinh.c (__kernel_casinh): Handle arguments with
63645         imaginary part between 1.0 and 1.5 and real part less than 0.5
63646         specially.
63647         * math/k_casinhf.c (__kernel_casinhf): Likewise.
63648         * math/k_casinhl.c (__kernel_casinhl): Likewise.
63649         * math/libm-test.inc (cacos_test): Add more tests.
63650         (casin_test): Likewise.
63651         (casinh_test): Likewise.
63652         * sysdeps/i386/fpu/libm-test-ulps: Update.
63653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63655 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63657         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
63658         constants.
63659         (norm): Likewise.
63660         (denorm): Likewise.
63661         (__dbl_mp): Likewise.
63662         (add_magnitudes): Likewise.
63663         (sub_magnitudes): Likewise.
63664         (__add): Likewise.
63665         (__sub): Likewise.
63666         (__mul): Likewise.
63667         (__sqr): Likewise.
63668         (__inv): Likewise.
63669         (__dvd): Likewise.
63671         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
63672         commented code.
63673         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
63674         (__dubcos): Likewise.
63675         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
63676         (__ieee754_acos): Likewise.
63677         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
63678         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
63679         (__exp1): Likewise.
63680         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
63681         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
63682         (log1): Likewise.
63683         (my_log2): Likewise.
63684         (checkint): Likewise.
63685         * sysdeps/ieee754/dbl-64/e_remainder.c
63686         (__ieee754_remainder): Likewise.
63687         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
63688         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
63689         (bsloww): Likewise.
63690         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
63692         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
63693         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
63694         MANTISSA_STORE_T to store computations on mantissa.  Use
63695         macros for rounding and division.
63696         (denorm): Likewise.
63697         (__dbl_mp): Likewise.
63698         (add_magnitudes): Likewise.
63699         (sub_magnitudes): Likewise.
63700         (__mul): Likewise.
63701         (__sqr): Likewise.
63702         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
63703         powers of two in terms of TWOPOW macro.
63704         (mp_no): Make type of mantissa as MANTISSA_T.
63705         [!RADIXI]: Define RADIXI.
63706         [!TWO52]: Define TWO52.
63707         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
63709 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63711         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
63712         llroundl symbol when building for PPC32.
63714 2013-03-24  Mark H Weaver  <mhw@netris.org>
63716         * manual/arith.texi (Normalization Functions): Fix prototypes for
63717         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
63719 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63721         [BZ #13889]
63722         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
63723         high value to check if expl overflow.
63724         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
63725         to check for underflow and overflow.
63726         * math/libm-test.inc: Add exp test.
63728 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
63730         [BZ #11120]
63731         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
63732         with NOT_IN_libc.
63734 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63736         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
63737         symbol.
63739 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
63741         * math/gen-libm-test.pl (parse_args, special_functions): Properly
63742         wrap blocks consisting of several statements.
63744         * sysdeps/generic/math-tests.h: New file.
63745         * sysdeps/i386/fpu/math-tests.h: Likewise.
63746         * math/test-snan.c: Include it.
63747         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
63749 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
63751         [BZ #15285]
63752         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
63753         (__ieee754_j0l): Do not improve calculations using cos of twice
63754         input for inputs above LDBL_MAX / 2.0L.
63755         (__ieee754_y0l): Likewise.
63756         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
63757         (__ieee754_j1l): Do not improve calculations using cos of twice
63758         input for inputs above LDBL_MAX / 2.0L.
63759         (__ieee754_y1l): Likewise.
63760         * math/libm-test.inc (j0_test): Add another test.
63761         (j1_test): Likewise.
63762         (y0_test): Likewise.
63763         (y1_test): Likewise.
63764         * sysdeps/i386/fpu/libm-test-ulps: Update.
63766 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63768         * Rules ($(objpfx)bench-%.c): Include code from a C source
63769         file.
63771 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
63773         [BZ #15287]
63774         * math/k_casinh.c (__kernel_casinh): Handle arguments with
63775         imaginary part 1.0 and real part less than 0.5 specially.
63776         * math/k_casinhf.c (__kernel_casinhf): Likewise.
63777         * math/k_casinhl.c (__kernel_casinhl): Likewise.
63778         * math/libm-test.inc (cacos_test): Add more tests.
63779         (casin_test): Likewise.
63780         (casinh_test): Likewise.
63781         * sysdeps/i386/fpu/libm-test-ulps: Update.
63782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63784 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63786         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
63787         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
63789 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
63791         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
63792         * config.make.in (config-cflags-sse4): Remove variable.
63793         (config-cflags-avx): Likewise.
63794         (config-cflags-sse2avx): Likewise.
63795         (config-cflags-novzeroupper): Likewise.
63796         (config-asflags-i686): Likewise.
63797         (have-mfma4): Likewise.
63798         (have-as-vis3): Likewise.
63799         (MIG): Likewise.
63800         * configure.in (MIG): Do not AC_SUBST.
63801         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
63802         (libc_cv_cc_sse4): Do not AC_SUBST.
63803         (libc_cv_cc_avx): Likewise.
63804         (libc_cv_cc_sse2avx): Likewise.
63805         (libc_cv_cc_novzeroupper): Likewise.
63806         (libc_cv_cc_fma4): Likewise.
63807         (libc_cv_as_i686): Likewise.
63808         (libc_cv_sparc_as_vis3): Likewise.
63809         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
63810         LIBC_CONFIG_VAR.
63811         (config-asflags-i686): Likewise.
63812         (config-cflags-avx): Likewise.
63813         (config-cflags-sse2avx): Likewise.
63814         (have-mfma4): Likewise.
63815         (config-cflags-novzeroupper): Likewise.
63816         * sysdeps/mach/configure.in (MIG): Likewise.
63817         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
63818         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
63819         LIBC_CONFIG_VAR.
63820         (config-cflags-avx): Likewise.
63821         (config-cflags-sse2avx): Likewise.
63822         (have-mfma4): Likewise.
63823         (config-cflags-novzeroupper): Likewise.
63824         * configure: Regenerated.
63825         * sysdeps/i386/configure: Likewise.
63826         * sysdeps/mach/configure: Likewise.
63827         * sysdeps/sparc/configure: Likewise.
63828         * sysdeps/x86_64/configure: Likewise.
63830 2013-03-20  Roland McGrath  <roland@hack.frob.com>
63832         [BZ #14812]
63833         * locale/programs/localedef.c (options): Put N_ translation marker
63834         on argument names, not just descriptions.
63836 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63838         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
63840 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
63842         [BZ #14176]
63843         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
63845 2013-03-19  Roland McGrath  <roland@hack.frob.com>
63847         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
63848         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
63849         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
63850         [!BEFORE_ABORT] (before_abort): New function.
63851         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
63852         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
63853         (writev_for_fatal): New function.
63854         (WRITEV_FOR_FATAL): New macro; call that.
63855         (backtrace_and_maps): New function.
63856         (BEFORE_ABORT): New macro; call that.
63857         (struct str_list): Type removed.
63858         (__libc_message, __libc_fatal): Functions removed.
63859         Include <sysdeps/posix/libc_fatal.c> instead.
63861 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
63863         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
63864         constants.
63865         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
63866         double constants.
63868 2013-03-19  Andreas Schwab  <schwab@suse.de>
63870         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
63871         * sysdeps/gnu/configure: Regenerate.
63873         * configure.in: Substitute libc_cv_rtlddir.
63874         * configure: Regenerate.
63875         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
63876         * Makeconfig (rtlddir, inst_rtlddir): New variables.
63877         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
63878         * elf/Makefile (install-others, CFLAGS-interp.c)
63879         (ldso_install, common-ldd-rewrite): Likewise.
63880         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
63881         $(inst_slibdir)/$(rtld-installed-name).
63882         * scripts/rellns-sh: Add -p option.
63883         * Makerules (make-shlib-link): Use rellns-sh to get relative name
63884         for source.
63886 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
63888         * manual/nptl.texi: Renamed to ...
63889         * manual/threads.texi: ... this.
63890         * manual/Makefile (chapters): Update.
63892 2013-03-18  Roland McGrath  <roland@hack.frob.com>
63894         [BZ #14812]
63895         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
63896         on argument names, not just descriptions.
63897         * malloc/memusagestat.c (options): Likewise.
63898         * nss/getent.c (options): Likewise.
63900 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
63902         [BZ #14812]
63903         * iconv/iconv_prog.c (options): Put N_ translation marker
63904         on argument names, not just descriptions.
63905         * iconv/iconvconfig.c (options): Likewise.
63907 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
63909         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
63910         implementation which is faster on all x86_64 architectures.
63911         Tested on AMD, Intel Nehalem, SNB, IVB.
63912         * sysdeps/x86_64/strnlen.S: Likewise.
63914         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
63915         Remove all multiarch strlen and strnlen versions.
63916         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
63917         Remove strlen and strnlen related parts.
63919         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
63920         Inline strlen part.
63921         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
63923         * sysdeps/x86_64/multiarch/strlen.S: Remove.
63924         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
63925         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
63926         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
63927         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
63928         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
63930 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
63932         * manual/memory.texi (Malloc Tunable Parameters):
63933         Sort parameters alphabetically. Add comments for missing entries.
63935 2013-03-17  David S. Miller  <davem@davemloft.net>
63937         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63939 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
63941         [BZ #15283]
63942         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
63943         for arguments at most half maximum finite value.
63944         * math/libm-test.inc (j0_test): Add more tests.
63945         (j1_test): Likewise.
63946         (y0_test): Likewise.
63947         (y1_test): Likewise.
63948         * sysdeps/i386/fpu/libm-test-ulps: Update.
63949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63951         [BZ #14155]
63952         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
63953         1 / x and functions P and Q for arguments above 0x1p256L.
63954         (__ieee754_y0l): Likewise.
63955         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
63956         (__ieee754_y1l): Likewise.
63957         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
63958         (j1_test): Likewise.
63959         (y0_test): Likewise.
63960         (y1_test): Likewise.
63962 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
63964         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
63965         variable.
63967 2013-03-15  Roland McGrath  <roland@hack.frob.com>
63969         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
63970         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
63971         zero since it's initialized to EXEC_PAGESIZE.
63973         * sysdeps/unix/sysv/linux/ldsodefs.h
63974         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
63975         * sysdeps/generic/ldsodefs.h: ... here.
63977 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
63979         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
63981         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
63982         math/test-snan.c.
63983         * math/test-snan.c: Renamed from
63984         sysdeps/powerpc/fpu/test-powerpc-snan.c.
63985         * math/Makefile (tests): Add test-snan.
63986         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
63987         test-powerpc-snan.
63989         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
63990         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
63991         functions.
63992         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
63993         __builtin_nan family of functions.
63994         * math/libm-test.inc (initialize): Initialize qnan_value with
63995         __builtin_nan family of functions.
63996         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
63997         Remove variables.
63998         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
63999         Remove functions.
64000         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
64001         storage class.  Initialize qNaN_var and sNaN_var with
64002         __builtin_nan and __builtin_nans families of functions,
64003         respectively.
64005         * math/libm-test.inc (acosh_test): Also test with qNaN input.
64006         (sqrt_test): Remove duplicate test with qNaN input.
64007         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
64008         (round_test, signbit_test, significand_test): Note missing +/-Inf
64009         as well as qNaN tests.
64011         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
64012         qNaN_var.  Fix a few strings, too.
64013         * math/libm-test.inc (nan_value): Rename to qnan_value.
64014         * math/gen-libm-test.pl (%beautify): Adjust to that.
64015         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
64016         * math/test-misc.c (main): Likewise.
64017         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
64018         to __qnan_bytes, and __qnan_union, respectively.
64019         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
64020         Likewise.
64021         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
64022         and lqnanval, respectively.
64023         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
64024         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
64025         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
64026         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
64028         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
64029         * math/test-misc.c (main) [__x86_64__]: Enable test for long
64030         doubles.
64032         * math/test-misc.c (main): Fix copy'n'pastos.
64033         * misc/tst-efgcvt.c (special): Likewise.
64035         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
64036         Remove declarations.
64038 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
64040         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
64041         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
64042         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
64043         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
64045 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64047         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
64048         macro to return vdso values correctly in IFUNC implementations.
64049         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
64050         Optimization by using IFUNC.
64052 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
64053             Richard Henderson  <rth@redhat.com>
64054             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64056         * Makefile.in (bench): New target.
64057         * NEWS: Mention the benchmark framework.
64058         * Rules (bench): Likewise.
64059         (binaries-bench): Generate binaries for functions to
64060         benchmark.
64061         * benchtests/Makefile: New makefile for benchmark tests.
64062         * benchtests/bench-skeleton.c: New skeleton file for benchmark
64063         programs.
64064         * benchtests/exp-inputs: New input file for EXP function.
64065         * benchtests/pow-inputs: New input file for POW function.
64066         * scripts/bench.pl: New script to generate source files for
64067         benchmark programs.
64069 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
64071         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
64072         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
64073         computations on mantissa.  Use macros for rounding and
64074         division.
64075         (denorm): Likewise.
64076         (__dbl_mp): Likewise.
64077         (add_magnitudes): Likewise.
64078         (sub_magnitudes): Likewise.
64079         (__mul): Likewise.
64080         (__sqr): Likewise.
64081         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
64082         powers of two in terms of TWOPOW macro.
64083         (mp_no): Make type of mantissa as MANTISSA_T.
64084         [!RADIXI]: Define RADIXI.
64085         [!TWO52]: Define TWO52.
64086         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
64088         * manual/nptl.texi (cindex): Modify threads to pthreads.
64090 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
64092         * sysdeps/x86_64/preconfigure: Regenerated.
64094 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
64096         [BZ #14155]
64097         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
64098         0x1p28 and above.
64099         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
64100         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
64101         0x1p28 and above.
64102         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
64103         * math/libm-test.inc (j0_test): Do not allow one spurious
64104         underflow exception.
64105         (y1_test): Likewise.
64107 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
64109         * manual/Makefile (chapters): Add nptl.
64110         * manual/debug.texi (Debugging Support): Add link to Threads
64111         chapter.
64112         * manual/nptl.texi: New file.
64114         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
64116 2013-03-14  Petr Baudis  <pasky@ucw.cz>
64118         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
64119         for non-NULL pointer before the memory validity test. Pointed
64120         out by Holger Brunck <holger.brunck@keymile.com>.
64122 2013-03-13  Andreas Schwab  <schwab@suse.de>
64124         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
64125         instead of .os.
64127 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
64129         * timezone/zic.c: Update from tzcode 2013b.
64131 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
64133         * manual/install.texi (Configuring and compiling):
64134         Mention i686 and i586.
64135         * INSTALL: Regenerate.
64137 2013-03-12  Roland McGrath  <roland@hack.frob.com>
64139         * sysdeps/init_array/elf-init.c: New file.
64140         * csu/elf-init.c
64141         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
64142         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
64144         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
64145         __gmon_start__ as global, but as static with a .preinit_array pointer.
64146         * sysdeps/init_array/gmon-start.c: New file.  Use that.
64147         * sysdeps/init_array/crti.S: New file, empty except for comments.
64148         * sysdeps/init_array/crtn.S: Likewise.
64150 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
64152         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
64153         definining bcopy.
64154         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64155         Remove Prefer_SSE_for_memop.
64156         * sysdeps/x86_64/multiarch/init-arch.h: Remove
64157         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
64158         HAS_PREFER_SSE_FOR_MEMOP.
64159         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
64160         memset-x86-64.
64161         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
64162         Remove bzero, memset ifunc support.
64163         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
64164         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
64165         * sysdeps/x86_64/multiarch/memset.S: Likewise.
64166         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
64168 2013-03-11  Andreas Schwab  <schwab@suse.de>
64170         [BZ #15234]
64171         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
64172         by SHLIB_COMPAT.
64173         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
64174         (GLIBC_2.16): Remove pthread_atfork.
64176 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
64178         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
64179         (ptestcases.h): Likewise.
64181 2013-03-08  Roland McGrath  <roland@hack.frob.com>
64183         * Makeconfig ($(common-objpfx)config.status): Depend on
64184         sysdeps/*/preconfigure{,.in} too.
64186 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
64188         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
64189         (__free_hook): Use void * instead of __malloc_ptr_t.
64190         (__malloc_hook): Likewise.
64191         (__realloc_hook): Likewise.
64192         (__memalign_hook): Likewise.
64193         (__after_morecore_hook): Likewise.
64194         * malloc/arena.c (save_malloc_hook): Likewise.
64195         (save_free_hook): Likewise.
64196         * malloc/hooks.c (malloc_hook_ini): Likewise.
64197         (realloc_hook_ini): Likewise.
64198         (memalign_hook_ini): Likewise.
64199         * malloc/malloc.c (malloc_hook_ini): Likewise.
64200         (realloc_hook_ini): Likewise.
64201         (memalign_hook_ini): Likewise.
64202         (__free_hook): Likewise.
64203         (__malloc_hook): Likewise.
64204         (__realloc_hook): Likewise.
64205         (__memalign_hook): Likewise.
64206         (__libc_malloc): Likewise.
64207         (__libc_free): Likewise.
64208         (__libc_realloc): Likewise.
64209         (__libc_memalign): Likewise.
64210         (__libc_valloc): Likewise.
64211         (__libc_pvalloc): Likewise.
64212         (__libc_calloc): Likewise.
64213         (__posix_memalign): Likewise.
64214         * malloc/morecore.c (__sbrk): Likewise.
64215         (__default_morecore): Likewise.
64217         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
64219         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
64220         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
64221         __malloc_ptrdiff_t.
64223         * malloc/malloc.h (__malloc_size_t): Remove macro.
64224         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
64225         __malloc_size_t.
64226         (old_memalign_hook): Likewise.
64227         (old_realloc_hook): Likewise.
64228         (struct hdr): Likewise.
64229         (flood): Likewise.
64230         (mallochook): Likewise.
64231         (memalignhook): Likewise.
64232         (reallochook): Likewise.
64233         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
64234         (tr_old_realloc_hook): Likewise.
64235         (tr_old_memalign_hook): Likewise.
64236         (tr_mallochook): Likewise.
64237         (tr_reallochook): Likewise.
64238         (tr_memalignhook): Likewise.
64240 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64242         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
64243         default_ldbl_pack and using as default implementation.
64244         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
64245         implementation.
64246         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
64247         redundant definition.
64248         (ldbl_insert_mantissa): Likewise.
64249         (ldbl_canonicalize): Likewise.
64250         (ldbl_nearbyint): Likewise.
64251         (ldbl_pack): Rename to ldbl_pack_ppc.
64252         (ldbl_unpack): Rename to ldbl_unpack_ppc.
64253         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
64254         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
64256 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
64258         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
64259         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
64260         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
64261         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
64262         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
64263         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
64264         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
64265         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
64267 2013-03-07  Andreas Jaeger  <aj@suse.de>
64269         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64270         bits/mman-linux.h.
64272 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
64274         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
64275         Include mpa.h and declare __MPEXP.
64276         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
64277         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
64278         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
64279         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
64280         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
64281         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
64282         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
64284         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
64285         (__slowpow): Use long double EXPL and LOGL functions to
64286         compute POW.
64287         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
64288         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
64289         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
64290         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
64291         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
64292         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
64294         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
64295         intermediate variable to calculate exponent.
64296         (__sqr): Likewise.
64297         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
64298         Likewise.
64299         (__sqr): Likewise.
64301         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
64302         [!NO__SQR]: Define __sqr.
64303         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
64304         and NO__SQR.  Remove all code except __mul and __sqr.  Include
64305         sysdeps/ieee754/dbl-64/mpa.c.
64306         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
64308         [BZ #12723]
64309         * posix/Makefile (tests): Add tst-pathconf.
64310         * posix/tst-pathconf.c: New test case.
64311         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
64312         _PC_PIPE_BUF.
64313         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
64315 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
64317         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
64319 2013-03-06  Andreas Jaeger  <aj@suse.de>
64321         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
64322         definition via __MAP_ANONYMOUS.
64324         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
64325         it's not part of Linux headers.
64327         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
64328         (MAP_HUGE_MASK): Define.
64330         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
64331         Define.
64332         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
64333         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
64334         Define.
64335         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
64336         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
64337         Define.
64338         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
64339         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
64340         Define.
64341         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
64343         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
64344         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
64345         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
64346         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
64347         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
64348         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
64350         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
64351         Handle f2fs.
64353         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64354         Handle f2fs and efivarfs.
64356         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
64357         f2fs.
64359         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
64360         (EFIVARFS_MAGIC): Add.
64361         (F2FS_LINK_MAX): Add.
64363 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
64365         * stdio-common/vfprintf.c: Replace __builtin_expect with
64366         __glibc_unlikely.
64368 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
64370         [BZ #13550]
64371         * sysdeps/generic/bp-sym.h: Remove file.
64372         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
64373         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
64374         <bp-sym.h> and <bp-asm.h>.
64375         (__longjmp): Don't use BP_SYM.
64376         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
64377         and <bp-asm.h>.
64378         (memcpy): Don't use BP_SYM.
64379         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
64380         <bp-sym.h> and <bp-asm.h>.
64381         (memcpy): Don't use BP_SYM.
64382         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
64383         <bp-asm.h>.
64384         (memcpy): Don't use BP_SYM.
64385         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
64386         <bp-asm.h>.
64387         (memset): Don't use BP_SYM.
64388         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
64389         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
64390         (__bzero): Don't use BP_SYM.
64391         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
64392         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
64393         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
64394         <bp-sym.h> and <bp-asm.h>.
64395         (memcmp): Don't use BP_SYM.  Remove comment about bounded
64396         pointers.
64397         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
64398         <bp-sym.h> and <bp-asm.h>.
64399         (memcpy): Don't use BP_SYM.
64400         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
64401         <bp-sym.h> and <bp-asm.h>.
64402         (memset): Don't use BP_SYM.
64403         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
64404         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
64405         (__bzero): Don't use BP_SYM.
64406         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
64407         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
64408         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
64409         <bp-sym.h> and <bp-asm.h>.
64410         (strncmp): Don't use BP_SYM.  Remove comment about bounded
64411         pointers.
64412         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
64413         <bp-sym.h> and <bp-asm.h>.
64414         (memcpy): Don't use BP_SYM.
64415         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
64416         <bp-sym.h> and <bp-asm.h>.
64417         (memset): Don't use BP_SYM.
64418         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
64419         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
64420         (__bzero): Don't use BP_SYM.
64421         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
64422         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
64423         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
64424         <bp-sym.h> and <bp-asm.h>.
64425         (__memchr): Don't use BP_SYM.
64426         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
64427         <bp-sym.h> and <bp-asm.h>.
64428         (memcmp): Don't use BP_SYM.  Remove comment about bounded
64429         pointers.
64430         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
64431         <bp-sym.h> and <bp-asm.h>.
64432         (memcpy): Don't use BP_SYM.
64433         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
64434         <bp-sym.h> and <bp-asm.h>.
64435         (__mempcpy): Don't use BP_SYM.
64436         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
64437         <bp-sym.h> and <bp-asm.h>.
64438         (__memrchr): Don't use BP_SYM.
64439         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
64440         <bp-sym.h> and <bp-asm.h>.
64441         (memset): Don't use BP_SYM.
64442         (__bzero): Likewise.
64443         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
64444         <bp-sym.h> and <bp-asm.h>.
64445         (__rawmemchr): Don't use BP_SYM.
64446         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
64447         <bp-sym.h> and <bp-asm.h>.
64448         (__STRCMP): Don't use BP_SYM.
64449         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
64450         <bp-sym.h> and <bp-asm.h>.
64451         (strchr): Don't use BP_SYM.
64452         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
64453         <bp-sym.h> and <bp-asm.h>.
64454         (__strchrnul): Don't use BP_SYM.
64455         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
64456         <bp-sym.h> and <bp-asm.h>.
64457         (strlen): Don't use BP_SYM.
64458         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
64459         <bp-sym.h> and <bp-asm.h>.
64460         (strncmp): Don't use BP_SYM.  Remove comment about bounded
64461         pointers.
64462         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
64463         <bp-sym.h> and <bp-asm.h>.
64464         (__strnlen): Don't use BP_SYM.
64465         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
64466         <bp-sym.h> and <bp-asm.h>.
64467         (__GI__setjmp): Don't use BP_SYM.
64468         (_setjmp): Likewise.
64469         (__sigsetjmp): Likewise.
64470         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
64471         (L(start_addresses)): Don't use BP_SYM.
64472         (_start): Likewise.
64473         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
64474         <bp-asm.h>.
64475         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
64476         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
64477         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64478         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
64479         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
64480         <bp-asm.h>.
64481         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
64482         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
64483         about bounded pointers.
64484         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
64485         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
64486         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
64487         <bp-asm.h>.
64488         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
64489         about bounded pointers.  Remove GKM FIXME comments.
64490         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
64491         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
64492         <bp-asm.h>.
64493         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
64494         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
64495         Remove GKM FIXME comments.
64496         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64497         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
64498         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
64499         <bp-asm.h>.
64500         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
64501         about bounded pointers.  Remove GKM FIXME comment.
64502         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
64503         and <bp-asm.h>.
64504         (strncmp): Don't use BP_SYM.  Remove comment about bounded
64505         pointers.
64506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
64507         <bp-sym.h> and <bp-asm.h>.
64508         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
64509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
64510         <bp-sym.h> and <bp-asm.h>.
64511         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
64512         comment.
64514 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
64516         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
64517         call free(NULL).
64519 2013-03-05  David S. Miller  <davem@davemloft.net>
64521         * po/es.po: Update from translation team.
64523 2013-03-05  Andreas Jaeger  <aj@suse.de>
64525         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
64526         <bits/mman-linux.h>.
64527         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
64528         is fine.
64529         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
64530         <bits/mman-linux.h> to end of file.
64531         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
64532         is fine.
64533         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
64534         <bits/mman-linux.h> to end of file.
64535         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
64536         is fine.
64537         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
64538         <bits/mman-linux.h> to end of file.
64540         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
64541         (MCL_CURRENT, MCL_FUTURE): Define here.
64543 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64545         [BZ #15232]
64546         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
64547         attribute_hidden.
64548         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
64550 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64552         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
64553         fourth parameter needed for rt_sigprocmask syscall.
64554         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
64555         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
64556         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
64557         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
64558         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
64559         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
64561 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
64563         [BZ #13550]
64564         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
64565         comment about bounded pointers.
64566         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
64567         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
64569 2013-03-04  Andreas Jaeger  <aj@suse.de>
64571         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
64572         common definitions.
64574         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
64575         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
64576         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
64577         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
64578         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
64579         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
64581 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64583         [BZ #15055]
64584         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
64585         __ieee754_sqrl instead of __sqrl.
64587 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
64589         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
64590         * sysdeps/powerpc/fpu_control.h: ... here.
64591         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
64592         * sysdeps/powerpc/bits/fenvinline.h: ... here.
64593         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
64594         * sysdeps/powerpc/bits/mathinline.h: ... here.
64596 2013-03-01  Roland McGrath  <roland@hack.frob.com>
64598         * elf/dl-hwcaps.c (_dl_important_hwcaps):
64599         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
64600         to just [NEED_DL_SYSINFO_DSO].
64601         * elf/dl-support.c: Likewise.
64602         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
64603         * elf/rtld.c (dl_main): Likewise.
64604         * elf/setup-vdso.h (setup_vdso): Likewise.
64605         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
64606         * sysdeps/unix/sysv/linux/dl-sysdep.c
64607         (_dl_discover_osversion): Likewise.
64609 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
64611         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
64612         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
64614 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
64616         * NEWS: Mention libm performance improvements and non-x86 PI
64617         futex support.
64619         * csu/libc-start.c (__pthread_initialize_minimal): Change
64620         function arguments.
64621         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
64623 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
64625         [BZ #13550]
64626         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
64627         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
64628         <bp-sym.h> and <bp-asm.h>.
64629         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
64630         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
64631         and <bp-asm.h>.
64632         (memcpy): Don't use BP_SYM.
64633         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
64634         <bp-asm.h>.
64635         (__mpn_add_n): Don't use BP_SYM.
64636         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
64637         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
64638         and <bp-asm.h>.
64639         (__mpn_addmul_1): Don't use BP_SYM.
64640         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64641         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
64642         <bp-sym.h>.
64643         (_setjmp): Don't use BP_SYM.
64644         (__novmx_setjmp): Likewise.
64645         (__GI__setjmp): Likewise.
64646         (__vmx_setjmp): Likewise.
64647         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
64648         <bp-sym.h>.
64649         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
64650         (__bzero): Don't use BP_SYM.
64651         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
64652         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
64653         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
64654         <bp-sym.h> and <bp-asm.h>.
64655         (memcpy): Don't use BP_SYM.
64656         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
64657         <bp-sym.h> and <bp-asm.h>.
64658         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
64659         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
64660         <bp-sym.h> and <bp-asm.h>.
64661         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
64662         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
64663         <bp-asm.h>.
64664         (__mpn_lshift): Don't use BP_SYM.
64665         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64666         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
64667         <bp-asm.h>.
64668         (memset): Don't use BP_SYM.
64669         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
64670         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
64671         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
64672         <bp-asm.h>.
64673         (__mpn_mul_1): Don't use BP_SYM.
64674         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64675         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
64676         <bp-sym.h> and <bp-asm.h>.
64677         (memcmp): Don't use BP_SYM.
64678         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
64679         <bp-sym.h> and <bp-asm.h>.
64680         (memcpy): Don't use BP_SYM.
64681         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
64682         <bp-sym.h> and <bp-asm.h>.
64683         (memset): Don't use BP_SYM.
64684         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
64685         <bp-sym.h> and <bp-asm.h>.
64686         (strncmp): Don't use BP_SYM.
64687         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
64688         <bp-sym.h> and <bp-asm.h>.
64689         (memcpy): Don't use BP_SYM.
64690         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
64691         <bp-sym.h> and <bp-asm.h>.
64692         (memset): Don't use BP_SYM.
64693         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
64694         <bp-sym.h> and <bp-asm.h>.
64695         (__memchr): Don't use BP_SYM.
64696         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
64697         <bp-sym.h> and <bp-asm.h>.
64698         (memcmp): Don't use BP_SYM.
64699         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
64700         <bp-sym.h> and <bp-asm.h>.
64701         (memcpy): Don't use BP_SYM.
64702         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
64703         <bp-sym.h> and <bp-asm.h>.
64704         (__mempcpy): Don't use BP_SYM.
64705         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
64706         <bp-sym.h> and <bp-asm.h>.
64707         (__memrchr): Don't use BP_SYM.
64708         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
64709         <bp-sym.h> and <bp-asm.h>.
64710         (memset): Don't use BP_SYM.
64711         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
64712         <bp-sym.h> and <bp-asm.h>.
64713         (__rawmemchr): Don't use BP_SYM.
64714         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
64715         <bp-sym.h> and <bp-asm.h>.
64716         (__STRCMP): Don't use BP_SYM.
64717         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
64718         <bp-sym.h> and <bp-asm.h>.
64719         (strchr): Don't use BP_SYM.
64720         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
64721         <bp-sym.h> and <bp-asm.h>.
64722         (__strchrnul): Don't use BP_SYM.
64723         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
64724         <bp-sym.h> and <bp-asm.h>.
64725         (strlen): Don't use BP_SYM.
64726         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
64727         <bp-sym.h> and <bp-asm.h>.
64728         (strncmp): Don't use BP_SYM.
64729         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
64730         <bp-sym.h> and <bp-asm.h>.
64731         (__strnlen): Don't use BP_SYM.
64732         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
64733         <bp-asm.h>.
64734         (__mpn_rshift): Don't use BP_SYM.
64735         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64736         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
64737         <bp-sym.h> and <bp-asm.h>.
64738         (__sigsetjmp): Don't use BP_SYM.
64739         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
64740         (L(start_addresses)): Don't use BP_SYM.
64741         (_start): Likewise.
64742         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
64743         <bp-asm.h>.
64744         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
64745         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64746         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
64747         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
64748         <bp-asm.h>.
64749         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
64750         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
64751         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
64752         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
64753         <bp-asm.h>.
64754         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
64755         comments.
64756         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
64757         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
64758         <bp-asm.h>.
64759         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
64760         FIXME comments.
64761         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64762         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
64763         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
64764         <bp-asm.h>.
64765         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
64766         comment.
64767         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
64768         and <bp-asm.h>.
64769         (strncmp): Don't use BP_SYM,
64770         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
64771         <bp-asm.h>.
64772         (__mpn_sub_n): Don't use BP_SYM.
64773         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64774         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
64775         and <bp-asm.h>.
64776         (__mpn_submul_1): Don't use BP_SYM.
64777         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
64779         <bp-sym.h> and <bp-asm.h>.
64780         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
64781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
64782         <bp-sym.h> and <bp-asm.h>.
64783         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
64784         comment.
64786 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64788         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
64789         Use ZK to minimize writes to Z.
64790         (sub_magnitudes): Simplify code a bit.
64791         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
64792         Use ZK to minimize writes to Z.
64793         (sub_magnitudes): Simplify code a bit.
64795 2013-02-27  Roland McGrath  <roland@hack.frob.com>
64797         * csu/gmon-start.c: Add special exception to license text.
64799 2013-02-27  Richard Henderson  <rth@redhat.com>
64801         * scripts/config.guess: Update from config.git.
64802         * scripts/config.sub: Likewise.
64804 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
64806         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
64808         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
64810         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
64812         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
64814         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
64816 2013-02-26  Roland McGrath  <roland@hack.frob.com>
64818         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
64819         [$(build-shared = yes].
64821 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64823         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
64824         (__mul): Reduce iterations for calculating mantissa.
64826         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
64827         MPTWO.
64828         (__mpranred): Likewise.
64830         [BZ #15160]
64831         * malloc/memusagestat.c (main): Draw graphs for heap and stack
64832         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
64834 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
64836         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
64837         Define __attribute__.
64839 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64841         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
64842         unused.
64843         * posix/regex_internal.h (__attribute): Remove.
64844         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
64845         (re_string_context_at): Likewise.
64846         (bitset_not): Use __attribute__ and mark function as possibly
64847         unused.
64848         (bitset_merge): Likewise.
64849         (bitset_mask): Likewise.
64850         (re_string_char_size_at): Likewise.
64851         (re_string_wchar_at): Likewise.
64852         (re_string_elem_size_at): Likewise.
64854 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
64856         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
64857         code.
64858         (cc32): Likewise.
64860         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
64861         (__acr): Likewise.
64862         (__cpy): Likewise.
64863         (norm): Likewise.
64864         (denorm): Likewise.
64865         (__dbl_mp): Likewise.
64866         (add_magnitudes): Likewise.
64867         (sub_magnitudes): Likewise.
64868         (__mul): Likewise.
64869         (__inv): Likewise.
64871         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
64872         style.
64874         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
64875         style.
64877         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
64878         code.
64880         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
64881         up changes with default code.
64882         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
64883         Likewise.
64885 2013-02-24  Allan McRae  <allan@archlinux.org>
64887         * manual/socket.texi (The Internet Namespace): Order menu items
64888         to match that in the file.
64890         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
64891         node listing of the info page menu.
64893 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
64895         [BZ #13550]
64896         * sysdeps/i386/bp-asm.h: Remove file.
64897         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
64898         (PARMS): Do not use macros from bp-asm.h.
64899         (S1): Likewise.
64900         (S2): Likewise.
64901         (SIZE): Likewise.
64902         (__mpn_add_n): Do not use BP_SYM
64903         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
64904         "bp-asm.h".
64905         (PARMS): Do not use macros from bp-asm.h.
64906         (S1): Likewise.
64907         (SIZE): Likewise.
64908         (__mpn_addmul_1): Do not use BP_SYM
64909         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
64910         "bp-asm.h".
64911         (PARMS): Do not use macros from bp-asm.h.
64912         (SIGMSK): Likewise.
64913         (_setjmp): Likewise.  Do not use BP_SYM.
64914         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
64915         "bp-asm.h".
64916         (PARMS): Do not use macros from bp-asm.h.
64917         (SIGMSK): Likewise.
64918         (setjmp): Likewise.  Do not use BP_SYM.
64919         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
64920         "bp-asm.h".
64921         (PARMS): Do not use macros from bp-asm.h.
64922         (__frexp): Do not use BP_SYM.
64923         (frexp): Likewise.
64924         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
64925         "bp-asm.h".
64926         (PARMS): Do not use macros from bp-asm.h.
64927         (__frexpf): Do not use BP_SYM.
64928         (frexpf): Likewise.
64929         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
64930         "bp-asm.h".
64931         (PARMS): Do not use macros from bp-asm.h.
64932         (__frexpl): Do not use BP_SYM.
64933         (frexpl): Likewise.
64934         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
64935         "bp-asm.h".
64936         (PARMS): Do not use macros from bp-asm.h.
64937         (__remquo): Do not use BP_SYM.
64938         (remquo): Likewise.
64939         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
64940         "bp-asm.h".
64941         (PARMS): Do not use macros from bp-asm.h.
64942         (__remquof): Do not use BP_SYM.
64943         (remquof): Likewise.
64944         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
64945         "bp-asm.h".
64946         (PARMS): Do not use macros from bp-asm.h.
64947         (__remquol): Do not use BP_SYM.
64948         (remquol): Likewise.
64949         * sysdeps/i386/i486/strcat.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         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
64955         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
64956         "bp-asm.h".
64957         (PARMS): Do not use macros from bp-asm.h.
64958         (strlen): Do not use BP_SYM.
64959         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
64960         "bp-asm.h".
64961         (PARMS): Do not use macros from bp-asm.h.
64962         (S1): Likewise.
64963         (S2): Likewise.
64964         (SIZE): Likewise.
64965         (__mpn_add_n): Do not use BP_SYM.
64966         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
64967         "bp-asm.h".
64968         (PARMS): Do not use macros from bp-asm.h.
64969         (S1): Likewise.
64970         (SIZE): Likewise.
64971         (__mpn_addmul_1): Do not use BP_SYM.
64972         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
64973         weak_alias.
64974         (bzero): Likewise.
64975         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
64976         "bp-asm.h".
64977         (PARMS): Do not use macros from bp-asm.h.
64978         (S): Likewise.
64979         (SIZE): Likewise.
64980         (__mpn_lshift): Do not use BP_SYM.
64981         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
64982         "bp-asm.h".
64983         (PARMS): Do not use macros from bp-asm.h.
64984         (DEST): Likewise.
64985         (SRC): Likewise.
64986         (LEN): Likewise.
64987         (memcpy): Likewise.  Do not use BP_SYM.
64988         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
64989         libc_hidden_def and weak_alias.
64990         (mempcpy): Do not use BP_SYM in weak_alias.
64991         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
64992         "bp-asm.h".
64993         (PARMS): Do not use macros from bp-asm.h.
64994         (DEST): Likewise.
64995         (LEN): Likewise.
64996         [!BZERO_P] (CHR): Likewise.
64997         (memset): Likewise.  Do not use BP_SYM.
64998         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
64999         "bp-asm.h".
65000         (PARMS): Do not use macros from bp-asm.h.
65001         (S1): Likewise.
65002         (SIZE): Likewise.
65003         (__mpn_mul_1): Do not use BP_SYM.
65004         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
65005         "bp-asm.h".
65006         (PARMS): Do not use macros from bp-asm.h.
65007         (S): Likewise.
65008         (SIZE): Likewise.
65009         (__mpn_rshift): Do not use BP_SYM.
65010         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
65011         "bp-asm.h".
65012         (PARMS): Do not use macros from bp-asm.h.
65013         (STR): Likewise.
65014         (CHR): Likewise.
65015         (strchr): Likewise.  Do not use BP_SYM.
65016         (index): Do not use BP_SYM in weak_alias.
65017         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
65018         "bp-asm.h".
65019         (PARMS): Do not use macros from bp-asm.h.
65020         (DEST): Likewise.
65021         (SRC): Likewise.
65022         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
65023         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
65024         "bp-asm.h".
65025         (PARMS): Do not use macros from bp-asm.h.
65026         (strlen): Do not use BP_SYM.
65027         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
65028         "bp-asm.h".
65029         (PARMS): Do not use macros from bp-asm.h.
65030         (S1): Likewise.
65031         (S2): Likewise.
65032         (SIZE): Likewise.
65033         (__mpn_sub_n): Do not use BP_SYM.
65034         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
65035         "bp-asm.h".
65036         (PARMS): Do not use macros from bp-asm.h.
65037         (S1): Likewise.
65038         (SIZE): Likewise.
65039         (__mpn_submul_1): Do not use BP_SYM.
65040         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
65041         "bp-asm.h".
65042         (PARMS): Do not use macros from bp-asm.h.
65043         (S1): Likewise.
65044         (S2): Likewise.
65045         (SIZE): Likewise.
65046         (__mpn_add_n): Do not use BP_SYM.
65047         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
65048         weak_alias.
65049         (bzero): Likewise.
65050         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
65051         "bp-asm.h".
65052         (PARMS): Do not use macros from bp-asm.h.
65053         (BLK2): Likewise.
65054         (LEN): Likewise.
65055         (memcmp): Do not use BP_SYM.
65056         (bcmp): Do not use BP_SYM in weak_alias.
65057         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
65058         "bp-asm.h".
65059         (PARMS): Do not use macros from bp-asm.h.
65060         (DEST): Likewise.
65061         (SRC): Likewise.
65062         (LEN): Likewise.
65063         (memcpy): Likewise.  Do not use BP_SYM.
65064         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
65065         "bp-asm.h".
65066         (PARMS): Do not use macros from bp-asm.h.
65067         (DEST): Likewise.
65068         (SRC): Likewise.
65069         (LEN): Likewise.
65070         (memmove): Likewise.  Do not use BP_SYM.
65071         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
65072         "bp-asm.h".
65073         (PARMS): Do not use macros from bp-asm.h.
65074         (DEST): Likewise.
65075         (SRC): Likewise.
65076         (LEN): Likewise.
65077         (__mempcpy): Likewise.  Do not use BP_SYM.
65078         (mempcpy): Do not use BP_SYM in weak_alias.
65079         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
65080         "bp-asm.h".
65081         (PARMS): Do not use macros from bp-asm.h.
65082         (DEST): Likewise.
65083         (LEN): Likewise.
65084         [!BZERO_P] (CHR): Likewise.
65085         (memset): Likewise.  Do not use BP_SYM.
65086         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
65087         "bp-asm.h".
65088         (PARMS): Do not use macros from bp-asm.h.
65089         (STR2): Likewise.
65090         (strcmp): Do not use BP_SYM.
65091         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
65092         "bp-asm.h".
65093         (PARMS): Do not use macros from bp-asm.h.
65094         (STR): Likewise.
65095         (DELIM): Likewise.
65096         [USE_AS_STRTOK_R] (SAVE): Likewise.
65097         (FUNCTION): Likewise.  Do not use BP_SYM.
65098         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
65099         aliases.
65100         (strtok_r): Likewise.
65101         (__GI___strtok_r): Likewise.
65102         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
65103         (PARMS): Do not use macros from bp-asm.h.
65104         (S): Likewise.
65105         (SIZE): Likewise.
65106         (__mpn_lshift): Do not use BP_SYM.
65107         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
65108         (PARMS): Do not use macros from bp-asm.h.
65109         (STR): Likewise.
65110         (CHR): Likewise.
65111         (__memchr): Do not use BP_SYM.
65112         (memchr): Do not use BP_SYM in weak_alias.
65113         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
65114         (PARMS): Do not use macros from bp-asm.h.
65115         (BLK2): Likewise.
65116         (LEN): Likewise.
65117         (memcmp): Do not use BP_SYM.
65118         (bcmp): Do not use BP_SYM in weak_alias.
65119         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
65120         (PARMS): Do not use macros from bp-asm.h.
65121         (S1): Likewise.
65122         (SIZE): Likewise.
65123         (__mpn_mul_1): Do not use BP_SYM.
65124         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
65125         "bp-asm.h".
65126         (PARMS): Do not use macros from bp-asm.h.
65127         (STR): Likewise.
65128         (CHR): Likewise.
65129         (__rawmemchr): Do not use BP_SYM.
65130         (rawmemchr): Do not use BP_SYM in weak_alias.
65131         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
65132         (PARMS): Do not use macros from bp-asm.h.
65133         (S): Likewise.
65134         (SIZE): Likewise.
65135         (__mpn_rshift): Do not use BP_SYM.
65136         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
65137         (PARMS): Do not use macros from bp-asm.h.
65138         (SIGMSK): Likewise.
65139         (__sigsetjmp): Likewise.  Do not use BP_SYM.
65140         * sysdeps/i386/start.S: Do not include "bp-sym.h".
65141         (_start): Do not use BP_SYM.
65142         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
65143         (PARMS): Do not use macros from bp-asm.h.
65144         (DEST): Likewise.
65145         (SRC): Likewise.
65146         (__stpcpy): Likewise.  Do not use BP_SYM.
65147         (stpcpy): Do not use BP_SYM in weak_alias.
65148         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
65149         "bp-asm.h".
65150         (PARMS): Do not use macros from bp-asm.h.
65151         (DEST): Likewise.
65152         (SRC): Likewise.
65153         (LEN): Likewise.
65154         (__stpncpy): Likewise.  Do not use BP_SYM.
65155         (stpncpy): Do not use BP_SYM in weak_alias.
65156         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
65157         (PARMS): Do not use macros from bp-asm.h.
65158         (STR): Likewise.
65159         (CHR): Likewise.
65160         (strchr): Likewise.  Do not use BP_SYM.
65161         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
65162         "bp-asm.h".
65163         (PARMS): Do not use macros from bp-asm.h.
65164         (STR): Likewise.
65165         (CHR): Likewise.
65166         (__strchrnul): Likewise.  Do not use BP_SYM.
65167         (strchrnul): Do not use BP_SYM in weak_alias.
65168         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
65169         "bp-asm.h".
65170         (PARMS): Do not use macros from bp-asm.h.
65171         (STOP): Likewise.
65172         (strcspn): Do not use BP_SYM.
65173         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
65174         "bp-asm.h".
65175         (PARMS): Do not use macros from bp-asm.h.
65176         (STR): Likewise.
65177         (STOP): Likewise.
65178         (strpbrk): Likewise.  Do not use BP_SYM.
65179         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
65180         "bp-asm.h".
65181         (PARMS): Do not use macros from bp-asm.h.
65182         (STR): Likewise.
65183         (CHR): Likewise.
65184         (strrchr): Likewise.  Do not use BP_SYM.
65185         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
65186         (PARMS): Do not use macros from bp-asm.h.
65187         (SKIP): Likewise.
65188         (strspn): Do not use BP_SYM.
65189         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
65190         (PARMS): Do not use macros from bp-asm.h.
65191         (STR): Likewise.
65192         (DELIM): Likewise.
65193         (SAVE): Likewise.
65194         (FUNCTION): Likewise.  Do not use BP_SYM.
65195         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
65196         aliases.
65197         (strtok_r): Likewise.
65198         (__GI___strtok_r): Likewise.
65199         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
65200         (PARMS): Do not use macros from bp-asm.h.
65201         (S1): Likewise.
65202         (S2): Likewise.
65203         (SIZE): Likewise.
65204         (__mpn_sub_n): Do not use BP_SYM.
65205         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
65206         "bp-asm.h".
65207         (PARMS): Do not use macros from bp-asm.h.
65208         (S1): Likewise.
65209         (SIZE): Likewise.
65210         (__mpn_submul_1): Do not use BP_SYM.
65211         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
65212         <bp-sym.h>.
65213         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
65214         and <bp-asm.h>.
65215         (PARMS): Do not use macros from bp-asm.h.
65216         (FLAGS): Likewise.
65217         (PTID): Likewise.
65218         (TLS): Likewise.
65219         (CTID): Likewise.
65220         (__clone): Do not use BP_SYM.
65221         (clone): Do not use BP_SYM in weak_alias.
65222         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
65223         and <bp-asm.h>.
65224         (PARMS): Do not use macros from bp-asm.h.
65225         (LEN): Likewise.
65226         (__mmap64): Do not use BP_SYM.
65227         (mmap64): Do not use BP_SYM in weak_alias.
65228         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
65229         <bp-sym.h> and <bp-asm.h>.
65230         (PARMS): Do not use macros from bp-asm.h.
65231         (__posix_fadvise64_l64): Do not use BP_SYM.
65232         * sysdeps/unix/sysv/linux/i386/semtimedop.S
65233         (PARMS): Do not use macros from bp-asm.h.
65234         (NSOPS): Likewise.
65235         (semtimedop): Do not use BP_SYM.
65236         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
65237         and <bp-asm.h>.
65239 2013-02-21  Allan McRae  <allan@archlinux.org>
65241         * manual/message.texi (Charset conversion in gettext):
65242         Move @end statement to beginning of line.
65244 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
65246         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
65247         static.
65248         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
65249         Likewise.
65251         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
65252         (denorm): Likewise.
65253         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
65254         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
65256 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65258         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
65259         tail-call to the resolved function if pltexit isn't needed.
65261 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
65263         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
65264         or Y being zero as being unlikely.
65265         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
65266         Likewise.
65268 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
65270         * manual/nss.texi (System Databases and Name Service Switch):
65271         Remove frobnicate @pxref.
65273 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
65275         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
65276         __attribute__ ((unused)) to __attribute__ ((__unused__)).
65278 2013-02-20  Petr Machata  <pmachata@redhat.com>
65280         * elf/elf.h (R_ARM_TARGET1): New macro.
65281         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
65282         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
65283         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
65284         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
65285         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
65286         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
65287         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
65288         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
65289         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
65290         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
65291         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
65292         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
65293         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
65294         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
65295         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
65296         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
65297         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
65298         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
65299         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
65300         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
65301         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
65302         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
65303         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
65304         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
65305         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
65306         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
65307         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
65308         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
65309         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
65310         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
65311         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
65312         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
65313         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
65314         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
65315         (R_ARM_THM_GOT_BREL12): Likewise.
65316         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
65317         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
65318         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
65319         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
65320         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
65321         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
65322         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
65323         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
65324         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
65326 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
65328         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
65329         __attribute_used__ to __attribute__ ((unused)).
65331 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
65333         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
65334         powerpc mpa.c.
65335         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
65336         comment formatting.
65337         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
65339 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
65341         [BZ #13550]
65342         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
65343         Remove macro.
65344         (ENTER): Remove both macro definitions.
65345         (LEAVE): Likewise.
65346         (CHECK_BOUNDS_LOW): Likewise.
65347         (CHECK_BOUNDS_HIGH): Likewise.
65348         (CHECK_BOUNDS_BOTH): Likewise.
65349         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
65350         (RETURN_BOUNDED_POINTER): Likewise.
65351         (RETURN_NULL_BOUNDED_POINTER): Likewise.
65352         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
65353         (POP_ERRNO_LOCATION_RETURN): Likewise.
65354         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
65355         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
65356         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
65357         macros.
65358         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65359         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
65360         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
65361         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
65362         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
65363         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
65364         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
65365         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
65366         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
65367         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
65368         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
65369         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
65370         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
65371         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
65372         removed macros.
65373         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65374         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
65375         macros.
65376         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
65377         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
65378         * sysdeps/i386/i586/memset.S (memset): Likewise.
65379         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
65380         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65381         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
65382         macros.
65383         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
65384         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
65385         Change uses of L(2) to L(out).
65386         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
65387         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
65388         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
65389         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
65390         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
65391         removed macros.
65392         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65393         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
65394         macros.
65395         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
65396         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
65397         (RETURN): Do not use macro LEAVE.
65398         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
65399         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
65400         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
65401         * sysdeps/i386/i686/memset.S (memset): Likewise.
65402         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
65403         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
65404         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
65405         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
65406         Likewise.
65407         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
65408         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
65409         L(1_2) and L(1_3) into L(1).
65410         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
65411         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
65412         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
65413         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
65414         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
65415         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
65416         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
65417         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65418         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
65419         macros.
65420         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
65421         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
65422         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
65423         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
65424         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
65425         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
65426         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
65427         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
65428         * sysdeps/i386/strcspn.S (strcspn): Likewise.
65429         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
65430         * sysdeps/i386/strrchr.S (strrchr): Likewise.
65431         * sysdeps/i386/strspn.S (strspn): Likewise.
65432         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
65433         conditional code.
65434         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
65435         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
65436         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
65437         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
65438         L(1_3) into L(1_1).
65439         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
65440         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
65441         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
65442         macros.
65443         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65445 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
65447         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
65448         macro.
65450 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
65452         * math/atest-exp.c (exp_mpn): Remove ROUND.
65453         * math/atest-exp2.c (exp_mpn): Likewise.
65454         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
65456         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
65457         * stdlib/tst-tls-atexit-lib.c: Likewise.
65458         * stdlib/tst-tls-atexit.c: Likewise.
65460 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
65462         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
65463         and __attribute_alloc_size__.
65465 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
65467         * include/programs/xmalloc.h: Change __attribute_alloc_size to
65468         __attribute_alloc_size__.
65469         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
65470         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
65472 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
65474         * include/programs/xmalloc.h: New file.
65475         * catgets/gencat.c: Include it.
65476         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
65477         * elf/pldd.c: Likewise.
65478         * iconv/iconv_charmap.c: Likewise.
65479         * iconv/iconvconfig.c: Likewise.
65480         * iconv/strtab.c: Likewise.
65481         * locale/programs/locale.c: Likewise.
65482         * locale/programs/localedef.h: Likewise.
65483         * locale/programs/simple-hash.c: Likewise.
65484         * nscd/nscd.h: Likewise.
65485         * nss/makedb.c: Likewise.
65486         * sysdeps/generic/ldconfig.h: Likewise.
65488 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
65490         * Versions.def: Add GLIBC_2.18.
65491         * include/link.h (struct link_map): New member l_tls_dtor_count.
65492         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
65493         (__call_tls_dtors): Likewise.
65494         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
65495         __cxa_thread_atexit_impl.
65496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65497         Likewise.
65498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65499         Likewise.
65500         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
65501         Likewise.
65502         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
65503         Likewise.
65504         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
65505         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
65506         Likewise.
65507         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
65508         Likewise.
65509         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
65510         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
65511         Likewise.
65512         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
65513         (tests): Add test case tst-tls-atexit.
65514         (modules-names): Add shared library for tst-tls-atexit.
65515         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
65516         (GLIBC_PRIVATE): Add __call_tls_dtors.
65517         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
65518         for libstdc++.
65519         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
65520         * stdlib/tst-tls-atexit.c: New test case.
65521         * stdlib/tst-tls-atexit-lib.c: New test case.
65523         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
65525         * elf/Versions (ld): Add _dl_find_dso_for_object.
65526         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
65527         * elf/dl-open.c (_dl_find_dso_for_object): New function.
65528         (dl_open_worker): Use _dl_find_dso_for_object.
65529         * elf/dl-sym.c (do_sym): Likewise.
65530         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
65532 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65534         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
65535         Syntactic changes only.
65536         (_dl_runtime_profile): Do a tail-call to the resolved function.
65538 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
65540         [BZ #13550]
65541         * sysdeps/x86_64/bp-asm.h: Remove file.
65542         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
65543         <bp-sym.h> and <bp-asm.h>.
65544         (__clone): Do not use BP_SYM.
65545         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
65546         <bp-sym.h> and <bp-asm.h>.
65547         * sysdeps/unix/x86_64/sysdep.S: Likewise.
65548         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
65549         "bp-asm.h".
65550         (_setjmp): Do not use BP_SYM.
65551         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
65552         "bp-asm.h".
65553         (setjmp): Do not use BP_SYM.
65554         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
65555         libc_hidden_def.
65556         (mempcpy): Do not use BP_SYM in weak_alias.
65557         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
65558         "bp-asm.h".
65559         (strchr): Do not use BP_SYM.
65560         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
65561         "bp-asm.h".
65562         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
65563         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
65564         (_start): Do not use BP_SYM.
65565         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
65566         "bp-asm.h".
65567         (strcat): Do not use BP_SYM.
65568         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
65569         "bp-asm.h".
65570         (STRCMP): Do not use BP_SYM.
65571         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
65572         "bp-asm.h".
65573         (STRCPY): Do not use BP_SYM.
65574         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
65575         "bp-asm.h".
65576         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
65577         "bp-asm.h".
65578         (FUNCTION): Do not use BP_SYM.
65579         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
65580         weak_alias.
65581         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
65583 2013-02-17  Andreas Jaeger  <aj@suse.de>
65585         * time/Versions: Sort entries.
65586         * string/Versions: Likewise.
65587         * resolv/Versions: Likewise.
65588         * posix/Versions: Likewise.
65589         * iconv/Versions: Likewise.
65590         * elf/Versions: Likewise.
65591         * wcsmbs/Versions: Likewise.
65593 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65595         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
65596         loop termination condition.
65598         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
65599         variable to calculate EZ.
65600         (__sqr): Likewise.
65602         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
65603         the lower precision input.
65605 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
65607         [BZ #13550]
65608         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
65609         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
65610         (run-via-rtld-prefix): Do not handle %-bp tests.
65611         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
65612         (all-object-suffixes): Remove .ob.
65613         (bppfx): Remove variable.
65614         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
65615         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
65616         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
65617         [$(build-bounded) = yes] (libtype.ob): Likewise.
65618         * Makerules (elide-routines.ob): Remove variable.
65619         (do-tests-clean): Do not handle *-bp.out.
65620         (common-mostlyclean): Do not handle *-bp and *-bp.out.
65621         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
65622         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
65623         (tests): Do not include $(tests-bp.out).
65624         (xtests): Do not include $(xtests-bp.out).
65625         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
65626         [$(build-bounded) = yes] ($(addprefix
65627         $(objpfx),$(binaries-bounded))): Remove rule.
65628         ($(objpfx)%-bp.out): Remove rule.
65629         * config.make.in (build-bounded): Remove variable.
65630         * crypt/Makefile [$(build-bounded) = yes]
65631         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
65632         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
65633         append to variable.
65634         [$(build-bounded) = yes] (install-lib): Likewise.
65635         [$(build-bounded) = yes] (generated): Likewise.
65636         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
65637         Remove rule.
65638         * intl/Makefile [$(build-bounded) = yes]
65639         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
65640         * math/Makefile [$(build-bounded) = yes]
65641         ($(tests:%=$(objpfx)%-bp): Likewise.
65642         * misc/Makefile [$(build-bounded) = yes]
65643         ($(objpfx)tst-tsearch-bp): Likewise.
65644         * nptl/Makeconfig (bounded-thread-library): Remove variable.
65645         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
65646         Remove dependency.
65647         * string/Makefile (o-objects.ob): Remove variable.
65648         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
65649         (CFLAGS-.ob): Remove variable.
65650         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
65651         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
65652         both definitions of variable.
65653         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
65654         (ASFLAGS-.ob): Remove variable.
65656 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
65658         [BZ #13550]
65659         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
65660         Remove __BOUNDED_POINTERS__ from condition.
65661         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
65662         * string/bits/string2.h [!__NO_STRING_INLINES &&
65663         !__BOUNDED_POINTERS__]: Likewise.
65664         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
65665         Likewise.
65666         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
65667         Remove conditional code.
65668         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
65669         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
65670         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
65671         condition.
65673         [BZ #13550]
65674         * csu/libc-start.c: Do not include <bp-sym.h>.
65675         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
65676         * elf/dl-open.c: Do not include <bp-sym.h>.
65677         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
65678         * math/fegetenv.c: Do not include <bp-sym.h>.
65679         (fegetenv): Do not use BP_SYM in versioned symbols.
65680         * nptl/sysdeps/pthread/bits/libc-lockP.h
65681         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
65682         <bp-sym.h>.
65683         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65684         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
65685         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65686         (__pthread_mutex_destroy): Likewise.
65687         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65688         (__pthread_mutex_lock): Likewise.
65689         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65690         (__pthread_mutex_trylock): Likewise.
65691         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65692         (__pthread_mutex_unlock): Likewise.
65693         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65694         (__pthread_mutexattr_init): Likewise.
65695         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65696         (__pthread_mutexattr_destroy): Likewise.
65697         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65698         (__pthread_mutexattr_settype): Likewise.
65699         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65700         (__pthread_rwlock_init): Likewise.
65701         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65702         (__pthread_rwlock_destroy): Likewise.
65703         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65704         (__pthread_rwlock_rdlock): Likewise.
65705         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65706         (__pthread_rwlock_tryrdlock): Likewise.
65707         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65708         (__pthread_rwlock_wrlock): Likewise.
65709         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65710         (__pthread_rwlock_trywrlock): Likewise.
65711         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65712         (__pthread_rwlock_unlock): Likewise.
65713         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65714         (__pthread_key_create): Likewise.
65715         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65716         (__pthread_setspecific): Likewise.
65717         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65718         (__pthread_getspecific): Likewise.
65719         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
65720         Likewise.
65721         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65722         (_pthread_cleanup_push_defer): Likewise.
65723         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65724         (_pthread_cleanup_pop_restore): Likewise.
65725         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65726         (pthread_setcancelstate): Likewise.
65727         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
65728         <bp-sym.h>.
65729         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
65730         (memchr): Do not use BP_SYM in weak_alias.
65731         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
65732         (fegetenv): Do not use BP_SYM in versioned symbols.
65733         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
65734         (fesetenv): Do not use BP_SYM in versioned symbols.
65735         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
65736         (feupdateenv): Do not use BP_SYM in versioned symbols.
65737         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
65738         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
65739         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
65740         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
65741         (open64): Do not use BP_SYM in weak_alias.
65742         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
65743         (fegetenv): Do not use BP_SYM in versioned symbols.
65744         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
65745         (fesetenv): Do not use BP_SYM in versioned symbols.
65746         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
65747         (feupdateenv): Do not use BP_SYM in versioned symbols.
65748         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
65749         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
65750         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
65751         (feraiseexcept): Do not use BP_SYM in versioned symbols.
65752         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
65753         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
65754         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
65755         <bp-sym.h>.
65756         (__libc_start_main): Do not use BP_SYM.
65758 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
65760         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
65761         redundant return line.
65762         (norm): Likewise.
65763         (denorm): Likewise.
65764         (dbl_mp): Likewise.
65765         (sub_magnitudes): Likewise.
65766         (__add): Likewise.
65767         (__sub): Likewise.
65768         (__mul): Likewise.
65769         (__inv): Likewise.
65770         (__dvd): Likewise.
65771         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
65772         (norm): Likewise.
65773         (denorm): Likewise.
65774         (dbl_mp): Likewise.
65775         (sub_magnitudes): Likewise.
65776         (__add): Likewise.
65777         (__sub): Likewise.
65778         (__mul): Likewise.
65779         (__inv): Likewise.
65780         (__dvd): Likewise.
65782         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
65783         instead of __mul.
65784         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
65785         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
65786         (cc32): Likewise.
65788         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
65789         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
65790         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
65791         of __mul for squares.
65792         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
65793         function
65794         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
65795         Likewise.
65796         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
65797         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
65799 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
65801         [BZ #13550]
65802         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
65803         code.
65804         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
65805         prototype or function definition.  Rename ubp_* variables and
65806         parameters.  Remove argv definitions conditional on
65807         [__BOUNDED_POINTERS__].
65808         * debug/backtrace.c (__backtrace): Do not use __unbounded.
65809         * elf/dl-runtime.c (_dl_fixup): Likewise.
65810         * include/set-hooks.h (RUN_HOOK): Likewise.
65811         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
65812         definition.
65813         * string/strcpy.c (strcpy): Do not use __unbounded.
65814         * sysdeps/generic/frame.h (struct layout): Likewise.
65815         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
65816         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
65817         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
65818         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
65819         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
65820         (__backtrace): Likewise.
65821         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
65822         use __ptrvalue.
65823         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
65824         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
65825         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
65826         Likewise.
65827         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
65828         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
65829         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
65830         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
65831         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
65832         Do not use __unbounded.
65833         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
65834         Rename __unboundedrlimits parameter to rlimits in prototype.
65835         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
65836         Do not use __unbounded.
65837         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
65838         not use __ptrvalue.
65839         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
65840         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
65841         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
65842         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
65843         __ptrvalue or __unbounded.
65844         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
65845         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
65846         use __unbounded.
65847         (__new_msgctl): Do not use __ptrvalue.
65848         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
65849         __unbounded.
65850         (__libc_msgrcv): Do not use __ptrvalue.
65851         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
65852         startup_info): Do not use __unbounded.
65853         (__libc_start_main): Likewise.  Rename ubp_* variables and
65854         parameters.  Remove argv definitions conditional on
65855         [__BOUNDED_POINTERS__].
65856         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
65857         __ptrvalue.
65858         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
65859         use __unbounded.
65860         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
65861         or __ptrvalue.
65862         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
65863         use __unbounded.
65864         (__new_shmctl): Do not use __ptrvalue.
65865         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
65866         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
65867         Likewise.
65868         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
65869         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
65870         (__libc_sigaction): Likewise.
65871         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
65872         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
65873         Likewise.
65874         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
65876 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
65878         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
65880         * string/mempcpy.c: Implement by calling memcpy.
65882 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
65884         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
65886         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
65887         evaluation.
65889         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
65890         values in the mantissa.
65892         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
65893         minimize writes to Z.
65894         (sub_magnitudes): Simplify code a bit.
65896 2013-02-12  Roland McGrath  <roland@hack.frob.com>
65898         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
65899         from the message.  The linker prefixes all warnings with that already.
65901 2013-02-12  Andreas Schwab  <schwab@suse.de>
65903         [BZ #15078]
65904         * posix/regexec.c (extend_buffers): Add parameter min_len.
65905         (check_matching): Pass minimum needed length.
65906         (clean_state_log_if_needed): Likewise.
65907         (get_subexp): Likewise.
65908         * posix/Makefile (tests): Add bug-regex34.
65909         (bug-regex34-ENV): Define.
65910         * posix/bug-regex34.c: New file.
65912         [BZ #11561]
65913         * posix/regcomp.c (parse_bracket_exp): When looking up collating
65914         elements compare against the byte sequence of it, not its name.
65915         * posix/Makefile (tests): Add bug-regex35.
65916         (bug-regex35-ENV): Define.
65917         * posix/bug-regex35.c: New file.
65919 2013-02-11  Tom de Vries  <tom@codesourcery.com>
65921         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
65922         comment.
65923         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
65924         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
65925         (CHECK_EOL): Add undef.
65927 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
65929         * bits/stdlib-bsearch.h: New file.
65930         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
65931         * stdlib/stdlib.h: Likewise.
65933 2013-02-11  Roland McGrath  <roland@hack.frob.com>
65935         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
65936         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
65937         declaration.
65938         * manual/search.texi (Array Search Function): Add missing const in
65939         lfind prototype.
65940         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
65941         declaration to use rlim_t.
65942         (Basic Scheduling Functions): Remove erroneous const from
65943         sched_getparam prototype.  Remove erroneous * from
65944         sched_get_priority_max and sched_get_priority_min prototypes.
65945         (Resource Usage): Fix summary @comment on vtimes to refer to
65946         sys/vtimes.h rather than vtimes.h.
65947         Add missing *s in vtimes prototype.
65948         (Limits on Resources): Fix ulimit prototype to return long int.
65949         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
65950         prototypes to use long int rather than double.
65951         (BSD Random): Fix initstate and setstate to use char *, not void *.
65952         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
65953         prototype to make second argument 'struct aiocb64 *const[]'.
65954         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
65955         (Status of AIO Operations): Remove erroneous const in aio_return and
65956         aio_return64 prototypes.
65957         (Synchronizing I/O): Fix sync prototype to return void.
65958         * manual/startup.texi (Suboptions): Remove an erroneous const in
65959         getsubopt prototype.
65960         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
65961         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
65962         use size_t rather than int.
65963         (Scanning All Users): Likewise for getpwent_r.
65964         (Setting Groups): Add missing const to setgroups prototype.
65965         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
65966         * manual/socket.texi (Host Names): Fix gethostbyaddr and
65967         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
65968         'const void *' rather than 'const char *'.
65969         (Host Address Functions): Likewise for inet_ntop.
65970         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
65971         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
65972         ssize_t for return value.
65973         (Sending Data): Likewise for send, sendto, sendmsg.
65974         (Socket Option Functions): Add a missing const in setsockopt prototype.
65975         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
65976         use wchar_t for the argument.
65977         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
65978         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
65979         take no arguments.
65980         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
65981         double/float/long double for second argument.
65982         Fix return types of significand, significandf, significandl.
65983         * manual/filesys.texi (Setting Permissions): Use mode_t for second
65984         argument in fchmod prototype.
65985         (File Owner): Use uid_t and gid_t in fchown prototype.
65986         (File Times): Add const to utimes, futimes, and lutimes prototypes.
65987         (Making Special Files): Use mode_t and dev_t in mknod prototype.
65988         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
65989         use 'const struct dirent **' as argument types to CMP function pointer
65990         argument.
65991         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
65992         (File Times): Fix summary magic @comment for struct utimbuf and utime
65993         to refer to utime.h, not time.h.
65994         * manual/string.texi (Argz Functions): Add missing const in
65995         argz_extract and argz_next prototypes.
65996         (Finding Tokens in a String): Likewise for basename.
65997         (String/Array Comparison): Fix typo in wcscasecmp prototype.
65998         (Copying and Concatenation): Fix typo in wmemmove prototype.
65999         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
66000         (Signal Stack): Remove erroneous const in sigstack prototype.
66001         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
66002         prototype.
66003         (Simple Calendar Time): Likewise for stime.
66004         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
66005         prototype.
66006         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
66007         say sys/sysctl.h instead.
66008         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
66009         and vsyslog prototypes.
66011 2013-02-11  Tom de Vries  <tom@codesourcery.com>
66013         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
66014         Remove.
66016 2013-02-11  Roland McGrath  <roland@hack.frob.com>
66018         * misc/sys/mman.h: Fix typo in mremap comment.
66020 2013-02-08  Roland McGrath  <roland@hack.frob.com>
66022         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
66023         the '\0' terminator.
66025 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
66027         [BZ #13550]
66028         * debug/segfault.c: Don't include <bp-checks.h>.
66029         * sysdeps/generic/bp-checks.h: Remove file.
66030         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
66031         (__GETDENTS): Don't use CHECK_N.
66032         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
66033         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
66034         (__getgroups): Don't use CHECK_N.
66035         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
66036         (setgroups): Don't use CHECK_N.
66037         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
66038         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
66039         (__libc_msgrcv): Don't use CHECK_N.
66040         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
66041         (__libc_msgsnd): Don't use CHECK_N.
66042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
66043         <bp-checks.h>.
66044         (__libc_pread): Don't use CHECK_N.
66045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
66046         include <bp-checks.h>.
66047         (__libc_pread64): Don't use CHECK_N.
66048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
66049         include <bp-checks.h>.
66050         (__libc_pwrite): Don't use CHECK_N.
66051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
66052         include <bp-checks.h>.
66053         (__libc_pwrite64): Don't use CHECK_N.
66054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
66055         <bp-checks.h>.
66056         (__libc_pread): Don't use CHECK_N.
66057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
66058         include <bp-checks.h>.
66059         (__libc_pread64): Don't use CHECK_N.
66060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
66061         include <bp-checks.h>.
66062         (__libc_pwrite): Don't use CHECK_N.
66063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
66064         include <bp-checks.h>.
66065         (__libc_pwrite64): Don't use CHECK_N.
66066         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
66067         (do_pread): Don't use CHECK_N.
66068         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
66069         (do_pread64): Don't use CHECK_N.
66070         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
66071         (do_pwrite): Don't use CHECK_N.
66072         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
66073         (do_pwrite64): Don't use CHECK_N.
66074         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
66075         (__libc_readv): Don't use CHECK_N.
66076         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
66077         (semop): Don't use CHECK_N.
66078         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
66079         <bp-checks.h>.
66080         (semtimedop): Don't use CHECK_N.
66081         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
66082         (__libc_pread): Don't use CHECK_N.
66083         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
66084         <bp-checks.h>.
66085         (__libc_pread64): Don't use CHECK_N.
66086         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
66087         <bp-checks.h>.
66088         (__libc_pwrite): Don't use CHECK_N.
66089         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
66090         <bp-checks.h>.
66091         (__libc_pwrite64): Don't use CHECK_N.
66092         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
66093         <bp-checks.h>.
66094         (__libc_msgrcv): Don't use CHECK_N.
66095         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
66096         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
66097         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
66098         (__libc_writev): Don't use CHECK_N.
66100 2013-02-08  Roland McGrath  <roland@hack.frob.com>
66102         * string/strcpy.c: Removed unused variable.
66104         * Makeconfig (+sysdep-includes): Define with := rather than =.
66105         Use an existing include/ subdir of each sysdeps dir before it.
66107 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
66109         * nscd/connection.c (register_traced_file): Comment function.
66110         [HAVE_INOTIFY] (union __inev): Define.
66111         [HAVE_INOTIFY] (inotify_check_files): New function.
66112         [HAVE_INOTIFY] (clear_db_cache): Likewise.
66113         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
66114         clear_db_cache.
66115         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
66117 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
66119         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
66120         loaded if not already and that a failure is permanent.
66122 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
66124         [BZ #15006]
66125         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
66126         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
66128 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
66130         [BZ #13550]
66131         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
66132         (CHECK_1_NULL_OK): Likewise.
66133         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
66134         (__fxstat): Do not use CHECK_1.
66135         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
66136         <bp-checks.h>.
66137         (___fxstat64): Do not use CHECK_1.
66138         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
66139         <bp-checks.h>.
66140         (__fxstatat): Do not use CHECK_1.
66141         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
66142         <bp-checks.h>.
66143         (__fxstatat64): Do not use CHECK_1.
66144         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
66145         <bp-checks.h>.
66146         (__fxstat): Do not use CHECK_1.
66147         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
66148         <bp-checks.h>.
66149         (__fxstatat): Do not use CHECK_1.
66150         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
66151         <bp-checks.h>.
66152         (__getresgid): Do not use CHECK_1.
66153         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
66154         <bp-checks.h>.
66155         (__getresuid): Do not use CHECK_1.
66156         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
66157         <bp-checks.h>.
66158         (__lxstat): Do not use CHECK_1.
66159         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
66160         <bp-checks.h>.
66161         (__old_msgctl): Do not use CHECK_1.
66162         (__new_msgctl): Likewise.
66163         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
66164         <bp-checks.h>.
66165         (__new_setrlimit): Do not use CHECK_1.
66166         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
66167         <bp-checks.h>.
66168         (__old_shmctl): Do not use CHECK_1.
66169         (__new_shmctl): Likewise.
66170         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
66171         <bp-checks.h>.
66172         (__xstat): Do not use CHECK_1.
66173         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
66174         (__lxstat): Do not use CHECK_1.
66175         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
66176         <bp-checks.h>.
66177         (___lxstat64): Do not use CHECK_1.
66178         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
66179         (__old_msgctl): Do not use CHECK_1.
66180         (__new_msgctl): Likewise.
66181         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
66182         <bp-checks.h>.
66183         (__gettimeofday): Do not use CHECK_1.
66184         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
66185         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
66186         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
66187         <bp-checks.h>.
66188         (__gettimeofday): Do not use CHECK_1.
66189         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
66190         (__old_shmctl): Do not use CHECK_1_NULL_OK.
66191         (__new_shmctl): Do not use CHECK_1.
66192         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
66193         <bp-checks.h>.
66194         (do_sigtimedwait): Do not use CHECK_1.
66195         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
66196         <bp-checks.h>.
66197         (do_sigwaitinfo): Do not use CHECK_1.
66198         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
66199         <bp-checks.h>.
66200         (msgctl): Do not use CHECK_1.
66201         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
66202         <bp-checks.h>.
66203         (shmctl): Do not use CHECK_1.
66204         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
66205         (ustat): Do not use CHECK_1.
66206         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
66207         <bp-checks.h>.
66208         (__fxstat): Do not use CHECK_1.
66209         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
66210         <bp-checks.h>.
66211         (__fxstatat): Do not use CHECK_1.
66212         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
66213         <bp-checks.h>.
66214         (__lxstat): Do not use CHECK_1.
66215         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
66216         <bp-checks.h>.
66217         (__xstat): Do not use CHECK_1.
66218         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
66219         (__xstat): Do not use CHECK_1.
66220         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
66221         (___xstat64): Do not use CHECK_1.
66223         [BZ #13550]
66224         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
66225         definitions.
66226         (CHECK_BOUNDS_HIGH): Likewise.
66227         * string/strcpy.c: Do not include <bp-checks.h>.
66228         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
66230 2013-02-07  Roland McGrath  <roland@hack.frob.com>
66232         * nscd/nscd-client.h (__nscd_drop_map_ref):
66233         Add __attribute__ ((unused)).
66234         * nis/nss-nisplus.h (niserr2nss): Likewise.
66236         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
66237         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
66239         * csu/libc-tls.c (init_static_tls, init_slotinfo):
66240         Remove inline keyword.
66241         * include/rounding-mode.h (round_away): Likewise.
66242         * libio/wfileops.c (adjust_wide_data): Likewise.
66243         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
66244         (__m128i_strloadu_tolower): Likewise.
66245         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
66246         (__m128i_strloadu_tolower): Likewise.
66247         * time/mktime.c (ydhms_diff): Likewise.
66248         * locale/elem-hash.h (elem_hash): Likewise.
66249         * locale/setlocale.c (setdata): Likewise.
66250         * posix/regex_internal.h (re_string_char_size_at): Likewise.
66251         (re_string_wchar_at): Likewise.
66252         (bitset_not, bitset_merge, bitset_mask): Likewise.
66253         [!(__GNUC__ > 3)] (inline): Remove macro.
66254         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
66255         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
66256         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
66257         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
66258         * string/memcmp.c (memcmp_bytes): Likewise.
66259         * locale/programs/locarchive.c (compute_hashval): Likewise.
66260         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
66261         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
66262         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
66263         * nss/getent.c (print_rpc, print_protocols): Likewise.
66264         (print_passwd, print_group, print_aliases): Likewise.
66265         * nis/nss-nisplus.h (niserr2nss): Likewise.
66266         * nscd/connections.c (restart_p): Likewise.
66267         Change return type to bool.
66269 2013-02-05  Roland McGrath  <roland@hack.frob.com>
66271         * Makeconfig (all-Depend-files): Add existing
66272         $(sorted-subdirs:=/Depend) files.
66273         (all-subdirs): Remove nss.
66274         * sysdeps/unix/inet/Subdirs: Add it here instead.
66275         * hesiod/Depend: New file.
66277         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
66278         instead of calling alloca.
66280         * io/lseek.c (__lseek): Rename to __libc_lseek.
66281         Define __lseek as an alias.
66283         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
66285 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
66287         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
66288         else clause and remove check for non-standard endianness.
66290 2013-02-04  David S. Miller  <davem@davemloft.net>
66292         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66294 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
66296         [BZ #13550]
66297         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
66298         (__ubp_memchr): Remove prototype.
66299         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
66300         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
66301         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
66302         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
66303         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
66304         Remove alias.
66305         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
66306         (__ubp_memchr): Likewise.
66307         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
66308         (__ubp_memchr): Likewise.
66309         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
66310         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
66311         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
66312         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
66313         CHECK_STRING.
66314         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
66315         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
66316         (__getcwd): Do not use CHECK_STRING.
66317         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
66318         <bp-checks.h>.
66319         (__real_chown): Do not use CHECK_STRING.
66320         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
66321         <bp-checks.h>.
66322         (fchownat): Do not use CHECK_STRING.
66323         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
66324         CHECK_STRING.
66325         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
66326         <bp-checks.h>.
66327         (__lchown): Do not use CHECK_STRING.
66328         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
66329         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
66330         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
66331         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
66332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
66333         include <bp-checks.h>.
66334         (truncate64): Do not use CHECK_STRING.
66335         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
66336         <bp-checks.h>.
66337         (__real_chown): Do not use CHECK_STRING.
66338         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
66339         <bp-checks.h>.
66340         (__lchown): Do not use CHECK_STRING.
66341         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
66342         <bp-checks.h>.
66343         (__chown): Do not use CHECK_STRING.
66344         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
66345         <bp-checks.h>.
66346         (truncate64): Do not use CHECK_STRING.
66347         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
66348         Likewise.
66349         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
66350         (__xmknod): Do not use CHECK_STRING.
66351         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
66352         <bp-checks.h>.
66353         (__xmknodat): Do not use CHECK_STRING.
66354         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
66355         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
66357 2013-02-04  Andreas Schwab  <schwab@suse.de>
66359         [BZ #14142]
66360         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
66361         * include/netdb.h: Likewise for h_errno.
66362         * elf/tst-stackguard1.c: Include <tls.h>.
66364 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
66366         * elf/link.h (struct link_map): Extend the l_addr comment.
66367         * include/link.h (struct link_map): Likewise.
66369 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
66371         [BZ #13550]
66372         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
66373         (BOUNDED_1): Remove macro.
66374         * debug/backtrace.c: Don't include <bp-checks.h>.
66375         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
66376         (__backtrace): Likewise.
66377         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
66378         <bp-checks.h>.
66379         (__backtrace): Don't use BOUNDED_1.
66380         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
66381         <bp-checks.h>.
66382         (__backtrace): Don't use BOUNDED_1.
66383         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
66384         (__backtrace): Don't use BOUNDED_1.
66385         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
66386         (shmat): Don't use BOUNDED_N.
66388 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
66390         [BZ #13550]
66391         * sysdeps/generic/bp-start.h: Remove file.
66392         * csu/libc-start.c: Don't include <bp-start.h>.
66393         (LIBC_START_MAIN): Set up __environ directly instead of using
66394         INIT_ARGV_and_ENVIRON.
66395         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
66396         <bp-start.h>.
66398         [BZ #13550]
66399         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
66400         definitions.
66401         (CHECK_FCNTL): Likewise.
66402         (CHECK_N_PAGES): Likewise.
66404         [BZ #13550]
66405         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
66406         definitions.
66407         (CHECK_SIGSET_NULL_OK): Likewise.
66408         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
66409         <bp-checks.h>.
66410         (sigpending): Don't use CHECK_SIGSET.
66411         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
66412         <bp-checks.h>.
66413         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
66414         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
66415         <bp-checks.h>.
66416         (do_sigsuspend): Don't use CHECK_SIGSET.
66417         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
66418         use CHECK_SIGSET.
66419         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
66420         (do_sigwait): Don't use CHECK_SIGSET.
66421         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
66422         use CHECK_SIGSET.
66423         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
66424         include <bp-checks.h>.
66425         (sigpending): Don't use CHECK_SIGSET.
66426         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
66427         include <bp-checks.h>.
66428         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
66429         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
66430         <bp-checks.h>.
66431         (sigpending): Don't use CHECK_SIGSET.
66432         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
66433         <bp-checks.h>.
66434         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
66436         [BZ #13550]
66437         * sysdeps/generic/bp-semctl.h: Remove file.
66438         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
66439         <bp-checks.h> and <bp-semctl.h>.
66440         (__old_semctl): Don't use CHECK_SEMCTL.
66441         (__new_semctl): Likewise.
66442         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
66443         and <bp-semctl.h>.
66444         (__old_semctl): Don't use CHECK_SEMCTL.
66445         (__new_semctl): Likewise.
66446         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
66447         <bp-checks.h> and <bp-semctl.h>.
66448         (__old_semctl): Don't use CHECK_SEMCTL.
66449         (__new_semctl): Likewise.
66450         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
66451         <bp-checks.h> and <bp-semctl.h>.
66452         (semctl): Don't use CHECK_SEMCTL.
66454         [BZ #13550]
66455         * Makerules (elide-bp-thunks): Remove variable.
66456         (elide-routines.oS): Don't use $(elide-bp-thunks).
66457         (elide-routines.os): Likewise.
66458         (elide-routines.o): Likewise.
66459         (elide-routines.op): Likewise.
66460         (elide-routines.og): Likewise.
66461         (objects): Don't use $(bp-thunks).
66462         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
66463         include.
66464         (common-generated): Do not add s-proto-bp.d.
66465         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
66466         (int): Likewise.
66467         (typ): Likewise.
66468         Do not generate makefile rules for bounded-pointer thunks.
66469         * sysdeps/generic/bp-thunks.h: Remove file.
66470         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
66471         * sysdeps/unix/s-proto-bp.S: Likewise.
66473         [BZ #15062]
66474         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
66475         parts of result separately when argument is not close to line from
66476         -i to i and one part of argument is small.
66477         * math/k_casinhf.c (__kernel_casinhf): Likewise.
66478         * math/k_casinhl.c (__kernel_casinhl): Likewise.
66479         * math/libm-test.inc (cacos_test): Add more tests.
66480         (casin_test): Likewise.
66481         (casinh_test): Likewise.
66482         * sysdeps/i386/fpu/libm-test-ulps: Update.
66483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66485 2013-01-31  David S. Miller  <davem@davemloft.net>
66487         * po/de.po: Update from translation team.
66489 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
66491         * time/tzfile.c: Include stdint.h for SIZE_MAX.
66493 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
66495         * configure.in (_AC_PROG_CC_C89): New definition.
66496         * configure: Regenerate.
66498         * configure.in (AC_PROG_CPP): New definition.
66499         * configure: Regenerate.
66501 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
66503         * debug/tst-backtrace.h: New file.
66504         * debug/tst-backtrace2.c: Include tst-backtrace.h.
66505         (ret): Remove variable.
66506         (x): Likewise.
66507         (FAIL): Remove macro.
66508         (NO_INLINE): Likewise.
66509         (fn1): Use match function instead of strstr.
66510         * debug/tst-backtrace3.c: Include tst-backtrace.h.
66511         (ret): Remove variable.
66512         (x): Likewise.
66513         (FAIL): Remove macro.
66514         (NO_INLINE): Likewise.
66515         (fn): Use match function instead of strstr.
66516         * debug/tst-backtrace4.c: Include tst-backtrace.h.
66517         (ret): Remove variable.
66518         (x): Likewise.
66519         (FAIL): Remove macro.
66520         (NO_INLINE): Likewise.
66521         (handle_signal): Use match function instead of strstr.
66522         * debug/tst-backtrace5.c: Include tst-backtrace.h.
66523         (ret): Remove variable.
66524         (x): Likewise.
66525         (FAIL): Remove macro.
66526         (NO_INLINE): Likewise.
66527         (handle_signal): Use match function instead of strstr.
66529 2013-01-23  Roland McGrath  <roland@hack.frob.com>
66531         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
66533 2013-01-23  David S. Miller  <davem@davemloft.net>
66535         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
66536         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
66537         argument of CAS if possible.
66538         * sysdeps/sparc/sparc64/bits/atomic.h
66539         (__arch_compare_and_exchange_val_32_acq): Likewise.
66540         (__arch_compare_and_exchange_val_64_acq): Likewise.
66542 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
66544         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
66545         * sysdeps/posix/ulimit.c: ... this.
66546         Include <limits.h>.
66547         * sysdeps/unix/bsd/ulimit.c: Remove file.
66549 2013-01-23  Adam Conrad  <adconrad@0c3.net>
66551         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
66552         (LDFLAGS-tst-array5): Likewise.
66554 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
66556         [BZ #15036]
66557         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
66558         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
66559         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
66560         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
66562 2013-01-21  David S. Miller  <davem@davemloft.net>
66564         * sysdeps/sparc/backtrace.c: New file.
66565         * sysdeps/sparc/sparc32/backtrace.h: New file.
66566         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
66567         * sysdeps/sparc/sparc64/backtrace.h: New file.
66568         * sysdeps/sparc/sparc64/backtrace.c: Delete.
66569         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
66570         -funwind-tables.
66572 2013-01-21  Andreas Schwab  <schwab@suse.de>
66574         [BZ #15020]
66575         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
66576         closed its stdout.
66578 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
66580         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
66581         "mpa2.h".
66582         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66584 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
66585             Mark Mitchell  <mark@codesourcery.com>
66586             Tom de Vries  <tom@codesourcery.com>
66587             Paul Pluzhnikov  <ppluzhnikov@google.com>
66589         * debug/tst-backtrace2.c: New file.
66590         * debug/tst-backtrace3.c: Likewise.
66591         * debug/tst-backtrace4.c: Likewise.
66592         * debug/tst-backtrace5.c: Likewise.
66593         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
66594         (CFLAGS-tst-backtrace3.c): Likewise.
66595         (CFLAGS-tst-backtrace4.c): Likewise.
66596         (CFLAGS-tst-backtrace5.c): Likewise.
66597         (LDFLAGS-tst-backtrace2): Likewise.
66598         (LDFLAGS-tst-backtrace3): Likewise.
66599         (LDFLAGS-tst-backtrace4): Likewise.
66600         (LDFLAGS-tst-backtrace5): Likewise.
66601         (tests): Add new tests tst-backtrace2, tst-backtrace3,
66602         tst-backtrace4 and tst-backtrace5.
66604 2013-01-18  Anton Blanchard  <anton@samba.org>
66605             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
66607         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
66608         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
66609         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
66610         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
66611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
66612         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
66613         "+r" and remove output regs list as redundant.  Add explicit inline
66614         asm to specify register of return val to work around compiler codegen
66615         bug.  Remove (int) cast on return value.  Add return type parameter to
66616         use in macro so that this macro does not truncate return value for
66617         64-bit values.
66618         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
66619         pass to INTERNAL_VSYSCALL_NCS.
66620         (INLINE_VSYSCALL): Add 'long int' as return type to
66621         INTERNAL_VSYSCALL_NCS macro invocation.
66622         (INTERNAL_VSYSCALL): Add 'long int' as return type to
66623         INTERNAL_VSYSCALL_NCS macro invocation.
66624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
66626 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
66628         [BZ #14496]
66629         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
66630         Fix application of SIMD FP exception mask.
66632         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
66633         mp_no from a power of two.
66634         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
66635         __mpexp_twomm1.  Use __pow_mp.
66637         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
66638         multiplication.
66640 2013-01-17  David S. Miller  <davem@davemloft.net>
66642         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66644 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
66646         [BZ #15023]
66647         * include/complex.h: Condition contents on [!_COMPLEX_H].
66648         (__kernel_casinhf): New prototype.
66649         (__kernel_casinh): Likewise.
66650         (__kernel_casinhl): Likewise.
66651         * math/Makefile (libm_calls): Add k_casinh.
66652         * math/k_casinh.c: New file.
66653         * math/k_casinhf.c: Likewise.
66654         * math/k_casinhl.c: Likewise.
66655         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
66656         finite nonzero arguments.
66657         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
66658         finite nonzero arguments.
66659         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
66660         finite nonzero arguments.
66661         * math/s_casinh.c: Do not include <float.h>.
66662         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
66663         * math/s_casinhf.c: Do not include <float.h>.
66664         (__casinhf): Move code for finite nonzero arguments to
66665         k_casinhf.c.
66666         * math/s_casinhl.c: Do not include <float.h>.
66667         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
66668         redefine.
66669         (__casinhl): Move code for finite nonzero arguments to
66670         k_casinhl.c.
66671         * math/libm-test.inc (cacos_test): Add more tests.
66672         * sysdeps/i386/fpu/libm-test-ulps: Update.
66673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66675 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
66677         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
66678         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
66679         [!HAVE_MREMAP]: Remove [defined linux] case.
66680         * malloc/arena.c: Do not include <malloc-sysdep.h>.
66682 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
66684         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
66686 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
66688         * elf/elf.h (R_386_SIZE32): New relocation.
66689         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
66690         R_386_SIZE32.
66691         (elf_machine_rela): Likewise.
66692         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
66693         R_X86_64_SIZE64 and R_X86_64_SIZE32.
66695 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
66697         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
66698         (FP_FAST_FMA): Do not define.
66699         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
66700         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
66701         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
66702         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
66703         !_SOFT_FLOAT]: Likewise.
66704         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
66705         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
66706         value.
66707         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
66708         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
66709         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
66710         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
66711         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
66712         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
66713         file.
66715 2013-01-16  Andreas Schwab  <schwab@suse.de>
66717         [BZ #14327]
66718         * include/stdlib.h (__mktemp): Add declaration.
66719         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
66720         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
66722 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
66724         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
66725         definitions.
66726         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
66727         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
66728         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
66729         definitions here.
66730         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
66731         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
66732         definitions.
66733         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
66734         and ONE.
66735         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
66736         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
66737         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
66738         definitions.
66739         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
66740         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
66741         definitions.
66742         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
66744         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
66746 2013-01-15  David S. Miller  <davem@davemloft.net>
66748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
66749         trunc{,f} to libm-sysdep_routes.
66750         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
66751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
66752         file.
66753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
66754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
66755         file.
66756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
66757         file.
66758         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
66759         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
66760         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
66761         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
66762         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
66763         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
66764         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
66765         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
66767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
66768         nearbyint{,f} to libm-sysdep_routes.
66769         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
66770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
66771         New file.
66772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
66773         file.
66774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
66775         New file.
66776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
66777         file.
66778         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
66779         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
66780         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
66781         file.
66782         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
66783         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
66784         file.
66785         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
66786         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
66787         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
66789         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
66790         libc_feholdexcept and libc_fesetenv.
66792 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
66794         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
66796 2013-01-14  David S. Miller  <davem@davemloft.net>
66798         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
66799         (SPARC_ASM_VIS2_IFUNC): Likewise.
66800         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
66801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
66802         use of 'siam' instruction.
66803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
66804         Likewise.
66805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
66806         Likewise.
66807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
66808         Likewise.
66809         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
66810         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
66811         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
66812         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
66813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
66814         file.
66815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
66816         file.
66817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
66818         file.
66819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
66820         file.
66821         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
66822         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
66823         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
66824         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
66825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
66826         new VIS2 routines.
66827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
66828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
66829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
66830         Likewise.
66831         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
66832         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
66833         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
66834         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
66835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
66836         routines to libm-sysdep_routines.
66837         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
66839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
66840         fdim/fdimf to libm-sysdep_routines.
66841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
66842         file.
66843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
66844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
66845         file.
66846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
66847         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
66848         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
66849         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
66850         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
66851         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
66852         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
66854 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
66856         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
66857         to optimize copies.
66859         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
66860         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
66861         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66863         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
66864         local variable MPTWO.
66865         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
66866         Likewise.
66868 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
66870         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
66871         GLOB_NOESCAPE.
66873 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
66875         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
66877 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
66879         * manual/pattern.texi (glob_t): Document gl_flags.
66880         (glob64_t): Likewise.
66882 2013-01-11  David S. Miller  <davem@davemloft.net>
66884         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
66885         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
66886         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
66887         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
66888         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
66889         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
66890         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
66891         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
66892         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
66893         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
66894         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
66895         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
66896         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
66898         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
66899         sparc V9 rather than using V8 code.
66900         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
66901         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
66903         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
66904         Move to...
66905         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
66906         Here.
66908 2013-01-11  Roland McGrath  <roland@hack.frob.com>
66910         [BZ #14941]
66911         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
66912         not in the main loop.
66913         * configure: Regenerated.
66915 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
66917         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
66918         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
66919         to just #else.
66920         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
66921         [!__GLIBC_HAVE_LONG_LONG] case.
66922         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
66923         condition to just #else.
66924         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
66925         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
66926         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
66927         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
66928         unconditional.
66929         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
66930         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
66931         #elif condition to just #else.
66932         * sysdeps/unix/sysv/linux/sys/sysmacros.h
66933         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
66934         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
66935         #elif condition to just #else.
66937 2013-01-11  Steve Ellcey  <sellcey@mips.com>
66939         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
66940         (EF_MIPS_ARCH_64): Fix value.
66941         (EF_MIPS_ARCH_32R2): New.
66942         (EF_MIPS_ARCH_64R2): New.
66944 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
66946         * Makeconfig (+link-pie-before-libc): New.
66947         (+link-pie-after-libc): Likewise.
66948         (+link-pie-tests): Likewise.
66949         (+link-pie): Rewritten.
66950         (link-before-libc): Remove $(config-LDFLAGS).
66951         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
66952         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
66953         (config-LDFLAGS): Renamed to ...
66954         (rtld-LDFLAGS): This.
66955         (rtld-tests-LDFLAGS): New macro.
66956         (link-libc-rpath-link): Likewise.
66957         (link-libc-tests-rpath-link): Likewise.
66958         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
66959         (link-libc): Prepand $(link-libc-rpath-link).
66960         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
66961         (test-program-prefix): New macro.
66962         (test-via-rtld-prefix): Likewise.
66963         (test-program-cmd): Likewise.
66964         (host-test-program-cmd): Likewise.
66965         * Makefile ($(common-objpfx)testrun.sh): Replace
66966         $(run-program-prefix) with $(test-program-prefix).
66967         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
66968         $(rtld-LDFLAGS).
66969         ($(common-objpfx)shlib.lds): Likewise.
66970         (build-module-helper): Likewise.
66971         ($(common-objpfx)format.lds): Likewise.
66972         * Rules (binaries-pie-tests): New.
66973         (binaries-pie-notests): Likewise.
66974         (binaries-pie): Rewritten.
66975         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
66976         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
66977         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
66978         (make-test-out): Replace $(host-built-program-cmd) with
66979         $(host-test-program-cmd).
66980         * config.make.in (build-hardcoded-path-in-tests): New variable.
66981         * configure.in (--enable-hardcoded-path-in-tests): New configure
66982         option.
66983         (hardcoded_path_in_tests): New AC_SUBST.
66984         * configure: Regenerated.
66985         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
66986         $(built-program-cmd) with $(test-program-cmd).
66987         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
66988         (test_program_cmd): This.
66989         * elf/Makefile ($(objpfx)order.out): Run test with
66990         $(test-program-prefix).
66991         ($(objpfx)order2.out): Likewise.
66992         ($(objpfx)tst-initorder.out): Likewise.
66993         ($(objpfx)tst-initorder2.out): Likewise.
66994         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
66995         $(test-program-cmd).
66996         ($(objpfx)tst-array1-static.out): Likewise.
66997         ($(objpfx)tst-array2.out): Likewise.
66998         ($(objpfx)tst-array3.out): Likewise.
66999         ($(objpfx)tst-array4.out): Likewise.
67000         ($(objpfx)tst-array5.out): Likewise.
67001         ($(objpfx)tst-array5-static.out): Likewise.
67002         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
67003         $(test-program-cmd).
67004         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
67005         $(run-program-prefix) with $(test-program-prefix).
67006         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
67007         (test_program_prefix): This.
67008         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
67009         $(run-program-prefix) with $(test-program-prefix).
67010         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
67011         (test_program_prefix): This.
67012         * iconvdata/tst-tables.sh: Likewise.
67013         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
67014         $(run-program-prefix) with $(test-program-prefix).
67015         ($(objpfx)tst-translit.out): Likewise.
67016         ($(objpfx)tst-gettext2.out): Likewise.
67017         ($(objpfx)tst-gettext4.out): Likewise.
67018         ($(objpfx)tst-gettext6.out): Likewise.
67019         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
67020         (test_program_prefix): This.
67021         * intl/tst-gettext2.sh: Likewise.
67022         * intl/tst-gettext4.sh  Likewise.
67023         * intl/tst-gettext6.sh: Likewise.
67024         * intl/tst-translit.sh: Likewise.
67025         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
67026         with $(test-program-cmd).
67027         * libio/Makefile ($(objpfx)test-freopen.out): Replace
67028         $(run-program-prefix) with $(test-program-prefix).
67029         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
67030         (test_program_prefix): This.
67031         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
67032         $(run-program-prefix) with $(test-program-prefix).
67033         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
67034         (test_program_prefix): This.
67035         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
67036         * posix/Makefile ($(objpfx)globtest.out): Replace
67037         $(run-via-rtld-prefix) and $(test-wrapper) with
67038         $(test-program-prefix) and $(test-via-rtld-prefix).
67039         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
67040         $(test-program-prefix).
67041         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
67042         $(host-test-program-cmd).
67043         (tst-spawn-ARGS): Likewise.
67044         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
67045         $(test-program-prefix).
67046         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
67047         (test_via_rtld_prefix): This.
67048         (test_wrapper): Renamed to ...
67049         (test_program_prefix): This.
67050         (run_program_prefix): Replaced by test_program_prefix.
67051         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
67052         (test_program_prefix): This.
67053         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
67054         with $(host-test-program-cmd).
67055         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
67056         $(run-program-prefix) with $(test-program-prefix).
67057         ($(objpfx)tst-printf.out): Likewise.
67058         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
67059         $(test-program-cmd).
67060         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
67061         (test_program_prefix): This.
67062         * stdio-common/tst-unbputc.sh: Likewise.
67063         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
67064         $(run-program-prefix) with $(test-program-prefix).
67065         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
67066         (test_program_prefix): This.
67067         * string/Makefile ($(objpfx)tst-svc.out):  Replace
67068         $(built-program-cmd) with $(test-program-cmd).
67070 2013-01-11  Andreas Jaeger  <aj@suse.de>
67072         [BZ #15003]
67073         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
67074         value. Sync with Linux 3.7.
67076 2013-01-10  David S. Miller  <davem@davemloft.net>
67078         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
67079         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
67080         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
67082 2013-01-10  Roland McGrath  <roland@hack.frob.com>
67084         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
67085         never set.
67086         * configure: Regenerated.
67088 2013-01-10  David S. Miller  <davem@davemloft.net>
67090         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
67091         sparc V9 rather than using V8 code.
67092         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
67093         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
67095 2013-01-10  Roland McGrath  <roland@hack.frob.com>
67097         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
67098         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
67099         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
67100         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
67101         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
67102         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
67103         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
67104         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
67105         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
67106         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
67107         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
67108         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
67109         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
67110         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
67111         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
67112         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
67113         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
67114         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
67115         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
67116         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
67117         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
67118         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
67119         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
67120         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
67121         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
67122         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
67123         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
67125 2013-01-10  David S. Miller  <davem@davemloft.net>
67127         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67129 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
67131         * posix/Makefile (tests-static): New variable.
67132         (tests): Add $(tests-static).
67133         (tst-exec-static-ARGS): New variable.
67134         (tst-spawn-static-ARGS): Likewise.
67135         * posix/tst-exec-static.c: New file.
67136         * posix/tst-spawn-static.c: Likewise.
67137         * posix/tst-exec.c: Support run directly.
67138         * posix/tst-spawn.c: Likewise.
67140 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
67142         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
67143         long.
67144         * math/bits/mathcalls.h (llrint): Likewise.
67145         (llround): Likewise.
67146         * stdlib/stdlib.h (struct drand48_data): Likewise.
67147         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
67148         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
67149         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
67150         Likewise.
67151         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
67152         Likewise.
67153         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
67154         (elf_greg_t): Likewise.
67155         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
67156         (__jmp_buf): Likewise.
67157         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
67158         definitions.
67159         (llrint): Likewise, for all definitions.
67160         (llrintl): Likewise.
67162         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
67163         Remove [__GNUC__] condition.
67164         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
67165         condition to just [__USE_ISOC99].
67166         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
67168 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
67170         [BZ #14200]
67171         * sysdeps/unix/sysv/linux/x86/bits/environments.h
67172         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
67173         defined.
67174         (_POSIX_V6_ILP32_OFF32): Likewise.
67175         (_XBS5_ILP32_OFF32): Likewise.
67176         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
67177         (__ILP32_OFFBIG_LDFLAGS): Likewise.
67179 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
67181         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
67183         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
67184         doubles __mpexp_twomm1.  Adjust usage.
67185         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
67186         Remove.
67188 2013-01-10  Andreas Schwab  <schwab@suse.de>
67190         [BZ #14964]
67191         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
67192         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
67194 2013-01-09  David S. Miller  <davem@davemloft.net>
67196         [BZ #15003]
67197         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
67198         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
67199         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
67200         (TCP_FASTOPEN): Define.
67201         (tcp_repair_opt): New structure.
67202         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
67203         enum values.
67204         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
67205         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
67206         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
67207         (tcp_cookie_transactions): New structure.
67209 2013-01-09  Anton Blanchard  <anton@samba.org>
67211         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
67212         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
67213         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
67214         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
67216 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
67218         * include/features.h (__USE_ANSI): Remove.
67220 2013-01-09  Roland McGrath  <roland@hack.frob.com>
67222         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
67224         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
67226 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
67228         * sysdeps/s390/fpu/libm-test-ulps: Update.
67230         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67232         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
67233         (__acr): Likewise.
67234         (__cpy): Likewise.
67235         (norm): Likewise.
67236         (denorm): Likewise.
67237         (__mp_dbl): Likewise.
67238         (__dbl_mp): Likewise.
67239         (add_magnitudes): Likewise.
67240         (sub_magnitudes): Likewise.
67241         (__add): Likewise.
67242         (__sub): Likewise.
67243         (__mul): Likewise.
67244         (__inv): Likewise.
67245         (__dvd): Likewise.
67246         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
67247         (__acr): Likewise.
67248         (__cpy): Likewise.
67249         (norm): Likewise.
67250         (denorm): Likewise.
67251         (__mp_dbl): Likewise.
67252         (__dbl_mp): Likewise.
67253         (add_magnitudes): Likewise.
67254         (sub_magnitudes): Likewise.
67255         (__add): Likewise.
67256         (__sub): Likewise.
67257         (__mul): Likewise.
67258         (__inv): Likewise.
67259         (__dvd): Likewise.
67260         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
67261         (__acr): Likewise.
67262         (__cpy): Likewise.
67263         (norm): Likewise.
67264         (denorm): Likewise.
67265         (__mp_dbl): Likewise.
67266         (__dbl_mp): Likewise.
67267         (add_magnitudes): Likewise.
67268         (sub_magnitudes): Likewise.
67269         (__add): Likewise.
67270         (__sub): Likewise.
67271         (__mul): Likewise.
67272         (__inv): Likewise.
67273         (__dvd): Likewise.
67275 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
67277         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
67278         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
67279         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
67280         2 && __USE_EXTERN_INLINES]: Likewise.
67282 2013-01-08  Andreas Jaeger  <aj@suse.de>
67284         [BZ #14985]
67285         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
67286         Remove.
67287         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
67288         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
67290 2013-01-07  Anton Blanchard  <anton@samba.org>
67292         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
67293         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
67294         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
67295         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
67296         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
67297         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
67298         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
67299         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
67300         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
67301         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
67302         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
67303         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
67304         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
67305         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
67306         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
67307         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
67308         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
67309         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
67310         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
67311         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
67312         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
67313         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
67314         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
67315         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
67316         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
67317         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
67318         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
67319         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
67320         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
67321         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
67322         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
67323         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
67324         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
67325         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
67326         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
67327         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
67328         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
67329         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
67330         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
67331         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
67332         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
67333         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
67334         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
67336 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
67338         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
67339         (__MALLOC_PMT): Likewise.
67340         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
67341         [__GNUC__], only on [_LIBC].
67342         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
67343         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
67344         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
67345         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
67346         forward declaration.
67347         (realloc_hook_ini): Likewise.
67348         (memalign_hook_ini): Likewise.
67349         (__libc_memalign): Do not use __MALLOC_PMT in variable
67350         declaration.
67351         (__libc_valloc): Likewise.
67352         (__libc_pvalloc): Likewise.
67353         (__libc_calloc): Likewise.
67354         (__posix_memalign): Likewise.
67356         [BZ #14996]
67357         * math/s_casinh.c: Include <float.h>.
67358         (__casinh): Do not do computation with squaring and square root
67359         for large arguments.
67360         * math/s_casinhf.c: Include <float.h>.
67361         (__casinhf): Do not do computation with squaring and square root
67362         for large arguments.
67363         * math/s_casinhl.c: Include <float.h>.
67364         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
67365         (__casinhl): Do not do computation with squaring and square root
67366         for large arguments.
67367         * math/libm-test.inc (casin_test): Add more tests.
67368         (casinh_test): Likewise.
67369         * sysdeps/i386/fpu/libm-test-ulps: Update.
67370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67372 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
67374         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
67375         (__x86_64_raw_data_cache_size): Likewise.
67376         (__x86_64_data_cache_size_half): Likewise.
67377         (__x86_64_raw_data_cache_size_half): Likewise.
67378         (__x86_64_shared_cache_size): Likewise.
67379         (__x86_64_raw_shared_cache_size): Likewise.
67380         (__x86_64_shared_cache_size_half): Likewise.
67381         (__x86_64_raw_shared_cache_size_half): Likewise.
67382         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
67383         to ...
67384         (__x86_data_cache_size): This.
67385         (__x86_64_raw_data_cache_size): Renamed to ...
67386         (__x86_raw_data_cache_size): This.
67387         (__x86_64_data_cache_size_half): Renamed to ...
67388         (__x86_data_cache_size_half): This.
67389         (__x86_64_raw_data_cache_size_half): Renamed to ...
67390         (__x86_raw_data_cache_size_half): This.
67391         (__x86_64_shared_cache_size): Renamed to ...
67392         (__x86_shared_cache_size): This.
67393         (__x86_64_raw_shared_cache_size): Renamed to ...
67394         (__x86_raw_shared_cache_size): This.
67395         (__x86_64_shared_cache_size_half): Renamed to ...
67396         (__x86_shared_cache_size_half): This.
67397         (__x86_64_raw_shared_cache_size_half): Renamed to ...
67398         (__x86_raw_shared_cache_size_half): This.
67399         * sysdeps/x86_64/memcpy.S: Updated.
67400         * sysdeps/x86_64/memset.S: Likewise.
67401         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
67402         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
67403         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
67405 2013-01-04  David S. Miller  <davem@davemloft.net>
67407         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67409 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
67411         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
67412         1 to avoid redefinition warning.
67413         (__USE_GNU): Don't define.
67414         (init_signaling_nan): Protoize.
67416         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67418 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
67420         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
67421         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
67422         (__cpymn): Likewise.
67423         (norm): Remove commented code.
67424         (denorm): Likewise.
67425         (__mp_dbl): Likewise.
67426         (__inv): Likewise.
67427         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
67428         (__cpymn): Likewise.
67429         (norm): Remove commented code.
67430         (denorm): Likewise.
67431         (__mp_dbl): Likewise.
67432         (__inv): Likewise.
67434         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
67435         mp_no value for 1.0 and 2.0.
67436         (norm): Use RADIXI instead of radixi.d.
67437         (denorm): Likewise.
67438         (__mul): Use 0.0 instead of zero.d.
67439         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
67440         mp_no value for 1.0 and 2.0.
67441         (norm): Use RADIXI instead of radixi.d.
67442         (denorm): Likewise.
67443         (__mul): Use 0.0 instead of zero.d.
67445 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
67447         [BZ #14994]
67448         * math/s_casinh.c (__casinh): Reduce finite argument to first
67449         quadrant then set signs of results at the end.
67450         * math/s_casinhf.c (__casinhf): Likewise.
67451         * math/s_casinhl.c (__casinhl): Likewise.
67452         * math/libm-test.inc (casin_test): Add more tests.
67453         (casinh_test): Likewise.
67454         * sysdeps/i386/fpu/libm-test-ulps: Update.
67455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67457 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
67459         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
67461         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
67463         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
67464         declarations.
67465         (denorm): Likewise.
67466         (__mp_dbl): Likewise.
67467         (__inv): Likewise.
67469         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
67470         and adjust the header comment.
67472         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
67473         variable name from declaration.
67475 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
67477         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67478         Initialize COMMON_CPUID_INDEX_7 element.
67479         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
67480         (CPUID_RTM): Likewise.
67481         (HAS_RTM): Likewise.
67482         (COMMON_CPUID_INDEX_7): New enum.
67484 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
67486         [BZ #14981]
67487         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
67488         size is zero, record memory as freed.
67490 2013-01-03  Andreas Jaeger  <aj@suse.de>
67492         * po/ia.po: Add new Interlingua translation.
67494 2012-01-03  Allan McRae  <allan@archlinux.org>
67496         * locale/programs/localedef.c: Fix description of '--posix' flag.
67498 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
67500         * NEWS: Update dates in second copyright notice.
67501         * README: Update copyright dates in example.
67502         * manual/libc.texinfo: Update copyright dates.
67503         * scripts/test-installation.pl: Update copyright date in --version
67504         output.
67506         * hurd/ctty-input.c: Fix copyright notice formatting.
67507         * hurd/ctty-output.c: Likewise.
67508         * hurd/dtable.c: Likewise.
67509         * hurd/hurd-raise.c: Likewise.
67510         * hurd/hurdprio.c: Likewise.
67511         * hurd/msgportdemux.c: Likewise.
67512         * misc/sys/file.h: Likewise.
67513         * misc/sys/ioctl.h: Likewise.
67514         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
67515         * sysdeps/mach/hurd/chdir.c: Likewise.
67516         * sysdeps/mach/hurd/fchdir.c: Likewise.
67517         * sysdeps/mach/hurd/rename.c: Likewise.
67518         * sysdeps/mach/hurd/rmdir.c: Likewise.
67519         * sysdeps/mach/hurd/seekdir.c: Likewise.
67520         * sysdeps/mach/hurd/setsid.c: Likewise.
67521         * sysdeps/posix/wait3.c: Likewise.
67523         * All files with FSF copyright notices: Update copyright dates
67524         using scripts/update-copyrights.
67525         * intl/plural.c: Regenerated.
67526         * locale/programs/charmap-kw.h: Likewise.
67527         * locale/programs/locfile-kw.h: Likewise.
67529 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
67531         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
67532         four values.
67534         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
67535         calculation loop and add branch prediction.
67537         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
67538         check access beyond bounds of m1np.
67540         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
67541         MPTWO.
67542         (__inv): Remove local variable MPTWO to use the global
67543         constant.
67544         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
67545         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
67546         variable MPTWO.
67547         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
67548         MP3HALFS static const.
67550 2013-01-01  David S. Miller  <davem@davemloft.net>
67552         * po/ca.po: Update from translation team.
67554 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
67556         * scripts/update-copyrights: New file.
67557         * Makeconfig: Reformat copyright notice.
67558         * ctype/ctype.h: Likewise.
67559         * debug/swprintf_chk.c: Likewise.
67560         * elf/dl-cache.c: Likewise.
67561         * elf/dl-debug.c: Likewise.
67562         * elf/dl-object.c: Likewise.
67563         * grp/initgroups.c: Likewise.
67564         * hurd/Makefile: Likewise.
67565         * hurd/hurd/signal.h: Likewise.
67566         * hurd/hurdfault.c: Likewise.
67567         * hurd/hurdioctl.c: Likewise.
67568         * hurd/hurdlookup.c: Likewise.
67569         * hurd/intr-msg.c: Likewise.
67570         * iconv/gconv_open.c: Likewise.
67571         * libio/swprintf.c: Likewise.
67572         * locale/lc-ctype.c: Likewise.
67573         * locale/nl_langinfo.c: Likewise.
67574         * mach/Machrules: Likewise.
67575         * mach/Makefile: Likewise.
67576         * malloc/obstack.h: Likewise.
67577         * manual/Makefile: Likewise.
67578         * manual/tsort.awk: Likewise.
67579         * misc/bits/stab.def: Likewise.
67580         * nis/nis_print_group_entry.c: Likewise.
67581         * nis/nis_table.c: Likewise.
67582         * nis/nss_compat/compat-pwd.c: Likewise.
67583         * nis/nss_compat/compat-spwd.c: Likewise.
67584         * po/Makefile: Likewise.
67585         * posix/fnmatch.c: Likewise.
67586         * posix/regex.h: Likewise.
67587         * resolv/Makefile: Likewise.
67588         * resolv/nss_dns/dns-network.c: Likewise.
67589         * resolv/res_hconf.c: Likewise.
67590         * scripts/gen-sorted.awk: Likewise.
67591         * soft-fp/soft-fp.h: Likewise.
67592         * stdio-common/printf.h: Likewise.
67593         * stdlib/monetary.h: Likewise.
67594         * stdlib/random.c: Likewise.
67595         * stdlib/random_r.c: Likewise.
67596         * sysdeps/generic/Makefile: Likewise.
67597         * sysdeps/gnu/Makefile: Likewise.
67598         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
67599         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67600         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67601         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67602         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67603         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67604         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67605         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
67606         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67607         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67608         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
67609         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
67610         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
67611         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
67612         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
67613         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
67614         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
67615         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67616         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
67617         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67618         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
67619         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
67620         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
67621         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
67622         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
67623         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
67624         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
67625         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
67626         * sysdeps/mach/hurd/errnos.awk: Likewise.
67627         * sysdeps/mach/hurd/fork.c: Likewise.
67628         * sysdeps/mach/hurd/getcwd.c: Likewise.
67629         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
67630         * sysdeps/mach/hurd/mmap.c: Likewise.
67631         * sysdeps/mach/hurd/utimes.c: Likewise.
67632         * sysdeps/mach/hurd/xmknod.c: Likewise.
67633         * sysdeps/posix/profil.c: Likewise.
67634         * sysdeps/posix/readdir_r.c: Likewise.
67635         * sysdeps/powerpc/bits/mathdef.h: Likewise.
67636         * sysdeps/powerpc/bits/setjmp.h: Likewise.
67637         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
67638         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
67639         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
67640         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
67641         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
67642         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
67643         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
67644         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
67645         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
67646         * sysdeps/pthread/lio_listio.c: Likewise.
67647         * sysdeps/sparc/dl-procinfo.h: Likewise.
67648         * sysdeps/unix/i386/sysdep.S: Likewise.
67649         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
67650         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
67651         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
67652         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
67653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
67654         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
67655         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
67656         * sysdeps/unix/sysv/linux/speed.c: Likewise.
67657         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
67658         * sysdeps/wordsize-32/divdi3.c: Likewise.
67659         * time/sys/time.h: Likewise.
67660         * wcsmbs/Makefile: Likewise.
67662 2013-01-01  David S. Miller  <davem@davemloft.net>
67664         * po/fr.po: Update from translation team.
67666         * catgets/gencat.c: Update copyright year.
67667         * csu/version.c: Likewise.
67668         * debug/catchsegv.sh: Likewise.
67669         * debug/pcprofiledump.c: Likewise.
67670         * debug/xtrace.sh: Likewise.
67671         * elf/ldconfig.c: Likewise.
67672         * elf/ldd.bash.in: Likewise.
67673         * elf/pldd.c: Likewise.
67674         * elf/sotruss.ksh: Likewise.
67675         * elf/sprof.c: Likewise.
67676         * iconv/iconv_prog.c: Likewise.
67677         * iconv/iconvconfig.c: Likewise.
67678         * locale/programs/locale.c: Likewise.
67679         * locale/programs/localedef.c: Likewise.
67680         * login/programs/pt_chown.c: Likewise.
67681         * malloc/memusage.sh: Likewise.
67682         * malloc/memusagestat.c: Likewise.
67683         * malloc/mtrace.pl: Likewise.
67684         * nscd/nscd.c: Likewise.
67685         * nss/getent.c: Likewise.
67686         * nss/makedb.c: Likewise.
67687         * posix/getconf.c: Likewise.
67689 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
67691         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
67692         numbers.
67694 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
67696         * math/bits/mathcalls.h (modf): Use __nonnull.
67698 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
67700         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
67701         (split): Use macro CN instead of the bare value.
67702         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
67703         could be used.
67704         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
67705         instead of the bare value.
67706         (power1): Likewise.
67708 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67710         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
67711         __ATAN_TWOM.
67712         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
67714         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
67715         their values.
67716         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
67717         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
67718         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
67719         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
67721 2012-12-28  Andreas Jaeger  <aj@suse.de>
67723         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
67724         values are from Linux 3.7.
67726         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
67727         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
67729 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67731         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
67732         TRUE case.
67734         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
67735         (norm): Likewise.
67736         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
67737         variables with preprocessor constants.
67738         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
67739         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
67740         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
67742 2012-12-27  Bruno Haible  <bruno@clisp.org>
67744         [BZ #14317]
67745         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
67746         only if needed.
67748 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
67750         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
67751         and use variable directly.
67752         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
67754         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
67755         MPONE.
67756         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
67757         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
67758         variable MPONE.
67759         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
67760         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
67761         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
67762         include directive.  Remove local variable MPONE.
67763         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
67764         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
67765         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
67767 2012-12-25  David S. Miller  <davem@davemloft.net>
67769         * version.h (RELEASE): Set to "development".
67770         (VERSION): Set to "2.17.90".
67771         * NEWS: Add 2.18 section.
67773 2012-12-21  David S. Miller  <davem@davemloft.net>
67775         * po/hr.po: Update from translation team.
67777 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67779         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
67781 2012-12-19  Steve Ellcey  <sellcey@mips.com>
67783         * NEWS:  Mention new memcpy for MIPS.
67785 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67787         * manual/contrib.texi (Contributors): Spelling correction.
67789 2012-12-15  David S. Miller  <davem@davemloft.net>
67791         * po/ru.po: Update from translation team.
67793 2012-12-13  David S. Miller  <davem@davemloft.net>
67795         * NEWS: Mention IFUNC testsuite enhancements.
67797         * po/pl.po: Update from translation team.
67798         * po/bg.po: Likewise.
67800         * manual/contrib.texi (Contributors): Update entries for Hongjiu
67801         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
67803 2012-12-11  David S. Miller  <davem@davemloft.net>
67805         * po/sv.po: Update from translation team.
67807         * po/vi.po: Update from translation team.
67809         * po/cs.po: Update from translation team.
67811         * po/de.po: Update from translation team.
67812         * po/eo.po: Likewise.
67813         * po/nl.po: Likewise.
67815 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
67817         [BZ #14246]
67818         * manual/argp.texi (Argp Helper Functions): Move node to follow
67819         Argp Parsing State.
67821         [BZ #14872]
67822         * manual/conf.texi (Limits on File System Capacity): Mention if
67823         terminating null is included in the max size.
67825 2012-12-10  Andreas Jaeger  <aj@suse.de>
67827         * po/cs.po: Update from translation team.
67829 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
67831         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
67832         void pointer and cast to uintptr_t.
67833         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
67834         path.
67835         * sysdeps/s390/s390-64/memcpy.S: Likewise.
67836         * sysdeps/s390/s390-64/memset.S: Likewise.
67838 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
67840         [BZ #14833]
67841         * menual/message.texi (Message Translation): Fix typos.
67842         (Helper programs for gettext): Likewise.
67844 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
67846         [BZ #14898]
67847         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
67848         Change to -1.
67850 2012-12-07  David S. Miller  <davem@davemloft.net>
67852         * po/libc.pot: Update.
67854 2012-12-07  Richard Henderson  <rth@redhat.com>
67856         [BZ #10114]
67857         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
67858         normal/normal case to before the switch.
67859         (_FP_DIV): Likewise.
67861 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
67862             Mike Frysinger  <vapier@gentoo.org>
67864         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
67865         check for __NR_fadvise64_64.
67867 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
67869         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
67870         0, not just to plain "0" as a statement.
67871         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
67872         with cw.
67874 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
67876         * NEWS: Use sourceware.org in Bugzilla URL.
67878 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
67880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
67881         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
67883         * stdio-common/tst-put-error.c (do_test): Add newline to the
67884         padded test to ensure flush.
67886 2012-12-05  Jeff Law  <law@redhat.com>
67888         * sunrpc/etc.rpc (fedfs_admin): Add entry.
67890 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
67892         * README: Don't refer to ports add-on as distributed separately.
67893         Mention AArch64 in list of systems supported in the ports add-on.
67895         * LICENSES: Add more non-FSF copyright and license notices.
67897         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
67898         ((unused)).
67900         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
67902         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
67903         10000 as width of padded output.
67905 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
67907         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
67909         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
67910         variable LX with __attribute__ ((unused)).
67911         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
67912         Likewise.
67913         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
67914         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
67915         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
67916         with __attribute__ ((unused)).
67918 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
67920         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
67922 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
67924         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
67925         (CFLAGS-nldbl-acos.c): New variable.
67926         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
67927         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
67928         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
67929         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
67930         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
67931         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
67932         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
67933         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
67934         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
67935         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
67936         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
67937         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
67938         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
67939         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
67940         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
67941         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
67942         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
67943         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
67944         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
67945         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
67946         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
67947         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
67948         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
67949         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
67950         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
67951         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
67952         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
67953         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
67954         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
67955         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
67956         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
67957         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
67958         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
67959         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
67960         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
67961         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
67962         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
67963         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
67964         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
67965         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
67966         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
67967         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
67968         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
67969         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
67970         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
67971         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
67972         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
67973         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
67974         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
67975         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
67976         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
67977         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
67978         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
67979         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
67980         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
67981         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
67982         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
67983         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
67984         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
67985         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
67986         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
67987         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
67988         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
67989         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
67990         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
67991         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
67992         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
67993         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
67994         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
67995         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
67996         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
67997         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
67998         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
67999         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
68000         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
68001         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
68002         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
68003         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
68004         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
68005         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
68006         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
68007         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
68008         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
68009         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
68010         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
68011         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
68012         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
68013         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
68014         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
68015         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
68016         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
68017         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
68018         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
68019         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
68020         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
68021         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
68022         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
68024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
68025         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
68027         [BZ #14914]
68028         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
68029         whole low double instead of just low 47 bits when splitting values
68030         into two parts.
68032 2012-12-03  Allan McRae  <allan@archlinux.org>
68034         * manual/stdio.texi (Predefined Printf Handlers): Remove
68035         @hsep and @vsep usage.
68037 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
68039         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
68040         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
68042 2012-12-03  Jeff Law  <law@redhat.com>
68044         * time/sys/time.h (settimeofday): Do not mark TV argument
68045         as __nonnull.
68047 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
68049         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
68050         when currently writing and seek to current position when not.
68051         * libio/Makefile (tests): Remove bug-fclose1.
68052         * libio/bug-fclose1.c: Delete.
68054 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
68056         * manual/arith.texi (feenableexcept): Fix typo.
68057         (fedisableexcept): Likewise.
68059 2012-11-30  Roland McGrath  <roland@hack.frob.com>
68061         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
68062         second, differently-typed declaration, rather than a cast.
68064 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
68066         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
68067         * include/rpc/svc.h: ... here.
68069 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
68071         [BZ #13013]
68072         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
68073         depending n and resplen2 to catch cases where answer
68074         equals answerp2.
68076 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
68078         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
68079         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
68081 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
68083         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
68085 2012-11-29  Roland McGrath  <roland@hack.frob.com>
68087         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
68089 2012-11-28  Jeff Law  <law@redhat.com>
68091         [BZ #13761]
68092         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
68093         dataset_temporary.  Track alloca usage into alloca_used.
68094         If dataset is large allocate and release it via malloc/free.
68096 2012-06-04  Florian Weimer  <fweimer@redhat.com>
68098         [BZ #14197]
68099         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
68101 2012-11-28  David S. Miller  <davem@davemloft.net>
68103         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68105 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
68107         [BZ #14803]
68108         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
68109         of pi/2 rounded to nearest to 64 bits.
68110         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
68111         nearest to 64 bits.
68112         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
68113         bits.
68115 2012-11-28  Jeff Law <law@redhat.com>
68116             Martin Osvald <mosvald@redhat.com>
68118         [BZ #14889]
68119         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
68120         * sunrpc/svc.c: Include time.h.
68121         (__svc_accept_failed): New function.
68122         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
68123         any reason other than EINTR, call __svc_accept_failed.
68124         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
68125         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
68127 2012-11-28  Andreas Schwab  <schwab@suse.de>
68129         * scripts/abilist.awk: Also handle indirect functions in .opd
68130         section.
68132 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
68134         [BZ #13881]
68135         * sysdeps/x86/fpu/powl_helper.c: New file.
68136         * sysdeps/x86/fpu/Makefile: Likewise.
68137         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
68138         (p3): New object.
68139         (__ieee754_powl): Use __powl_helper for finite arguments except
68140         integer exponents below 8.
68141         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
68142         (p3): New object.
68143         (__ieee754_powl): Use __powl_helper for finite arguments except
68144         integer exponents below 8.
68145         * math/libm-test.inc (pow_test): Add more tests and enable some
68146         previously disabled tests.
68147         * sysdeps/i386/fpu/libm-test-ulps: Update.
68148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68150 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68151             Carlos O'Donell  <carlos_odonell@mentor.com>
68153         * nss/makedb.c (is_prime): Assert that input is odd and greater
68154         than 4.  Note that fact in a comment too.
68155         (next_prime): Add 4 to input.
68157 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
68159         [BZ #11741]
68160         * libio/Makefile (tests): Add test case tst-fwrite-error.
68161         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
68162         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
68163         * libio/tst-fwrite-error.c: New test case.
68165 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
68167         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
68168         before casting to void *.
68169         * include/libc-internal.h (__pointer_type): New macro.
68170         (__integer_if_pointer_type_sub): Likewise.
68171         (__integer_if_pointer_type): Likewise.
68172         (cast_to_integer): Likewise.
68173         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
68174         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
68175         before casting to atomic64_t.
68176         (atomic_exchange_acq): Likewise.
68177         (__arch_exchange_and_add_body): Likewise.
68178         (__arch_add_body): Likewise.
68179         (atomic_add_negative): Likewise.
68180         (atomic_add_zero): Likewise.
68182 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
68184         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
68185         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
68186         (add_fdes): Likewise.
68187         (linear_search_fdes): Likewise.
68188         (binary_search_unencoded_fdes): Likewise.
68190 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
68192         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
68194 2012-11-24  Adam Conrad  <adconrad@0c3.net>
68196         * configure.in: Autodetect C++ header directories.
68197         * configure: Regenerated.
68199 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
68201         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
68203 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
68205         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68207 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
68209         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
68210         LDBL_MANT_DIG == 106]: Disable some tests.
68211         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
68212         Likewise.
68213         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
68214         Likewise.
68216         [BZ #14871]
68217         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
68218         input for small inputs.  Return +/- pi/2 for large inputs.
68219         * math/libm-test.inc (atan_test): Add more tests.
68221         * sysdeps/generic/unwind-dw2-fde-glibc.c
68222         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
68223         __attribute__ ((unused)).
68225         [BZ #14645]
68226         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
68227         x * y if x and y are nonzero and z is zero.
68229         [BZ #14811]
68230         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
68231         nonzero exponents with absolute value below 0x1p-117 to +/-
68232         0x1p-117.
68234         [BZ #14869]
68235         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
68236         up arguments below 2**-450, not just those below 2**-500.
68237         * math/libm-test.inc (hypot_test): Add another test.
68239         [BZ #14868]
68240         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
68241         Return a+b for ratio over 2**120, not 2**60.
68242         * math/libm-test.inc (hypot_test): Add another test.
68244         * math/libm-test.inc (clog_test): Use
68245         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
68246         (clog10_test): Likewise.
68248         [BZ #6778]
68249         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
68251 2012-11-22  Andreas Schwab  <schwab@suse.de>
68253         * sysdeps/i386/fpu/libm-test-ulps: Update.
68255 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
68257         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
68258         printf output with newline.
68260 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
68262         [BZ #14865]
68263         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
68264         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
68265         -z nodlopen, -z initfirst and -z execstack support.
68266         * configure: Regenerated.
68268         * elf/elf.h (DF_1_NODIRECT): New macro.
68269         (DF_1_IGNMULDEF): Likewise.
68270         (DF_1_NOKSYMS): Likewise.
68271         (DF_1_NOHDR): Likewise.
68272         (DF_1_EDITED): Likewise.
68273         (DF_1_NORELOC): Likewise.
68274         (DF_1_SYMINTPOSE): Likewise.
68275         (DF_1_GLOBAUDIT): Likewise.
68276         (DF_1_SINGLETON): Likewise.
68277         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
68278         DT_1_SUPPORTED_MASK bits.
68279         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
68281 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
68283         * sysdeps/unix/make-syscalls.sh: Document prefixes.
68285 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
68287         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
68288         macro.
68290         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
68291         (sendmmsg): Move declarations...
68292         * socket/sys/socket.h: ... here.
68293         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
68294         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
68295         include it from...
68296         * socket/recvmmsg.c: ... this new file.
68297         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
68298         (sendmmsg): Rename to __sendmmsg, create weak alias and make
68299         definition of __sendmmsg hidden.
68300         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
68301         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
68302         Move ENOSYS stub into and include it from...
68303         * socket/sendmmsg.c: ... this new file.
68304         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
68305         (sysdep_routines): Move recvmmsg and sendmmsg...
68306         * socket/Makefile (routines): ... here.
68307         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
68308         (GLIBC_PRIVATE): Add __sendmmsg.
68309         * include/sys/socket.h (__sendmmsg): Add declarations.
68310         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
68311         sendmmsg.
68313 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
68315         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
68316         variable I1 with __attribute__ ((unused)).
68317         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
68319 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
68321         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
68322         DUMMY variables with __attribute__ ((unused)).
68324         * bits/byteswap.h: Include <bits/types.h>.
68325         (__bswap_64): Use __uint64_t instead of unsigned long long int.
68327 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
68329         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
68330         string_t.  Do not manually set errno.
68331         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
68332         length with __strnlen.  Make sure to both set errno and return it on
68333         failure.
68335 2012-11-19  David S. Miller  <davem@davemloft.net>
68337         With help from Joseph Myers.
68338         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
68339         very large arguments properly.
68340         * math/libm-test.inc (atan_test): New tests.
68341         (atan2_test): New tests.
68342         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68343         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68345 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
68347         [BZ #14856]
68348         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
68349         Define to 3.
68351         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
68352         [POSIX] (EADDRNOTAVAIL): Likewise.
68353         [POSIX] (EAFNOSUPPORT): Likewise.
68354         [POSIX] (EALREADY): Likewise.
68355         [POSIX] (ECONNABORTED): Likewise.
68356         [POSIX] (ECONNREFUSED): Likewise.
68357         [POSIX] (ECONNRESET): Likewise.
68358         [POSIX] (EDESTADDRREQ): Likewise.
68359         [POSIX] (EDQUOT): Likewise.
68360         [POSIX] (EHOSTUNREACH): Likewise.
68361         [POSIX] (EIDRM): Likewise.
68362         [POSIX] (EISCONN): Likewise.
68363         [POSIX] (ELOOP): Likewise.
68364         [POSIX] (EMULTIHOP): Likewise.
68365         [POSIX] (ENETDOWN): Likewise.
68366         [POSIX] (ENETUNREACH): Likewise.
68367         [POSIX] (ENOBUFS): Likewise.
68368         [POSIX] (ENODATA): Likewise.
68369         [POSIX] (ENOLINK): Likewise.
68370         [POSIX] (ENOMSG): Likewise.
68371         [POSIX] (ENOPROTOOPT): Likewise.
68372         [POSIX] (ENOSR): Likewise.
68373         [POSIX] (ENOSTR): Likewise.
68374         [POSIX] (ENOTCONN): Likewise.
68375         [POSIX] (ENOTSOCK): Likewise.
68376         [POSIX] (EOPNOTSUPP): Likewise.
68377         [POSIX] (EOVERFLOW): Likewise.
68378         [POSIX] (EPROTO): Likewise.
68379         [POSIX] (EPROTONOSUPPORT): Likewise.
68380         [POSIX] (EPROTOTYPE): Likewise.
68381         [POSIX] (ESTALE): Likewise.
68382         [POSIX] (ETIME): Likewise.
68383         [POSIX] (ETXTBSY): Likewise.
68384         [POSIX] (EWOULDBLOCK): Likewise.
68385         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
68386         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
68387         [POSIX] (SEEK_CUR): Likewise.
68388         [POSIX] (SEEK_END): Likewise.
68389         [POSIX || UNIX98] (mode_t): Do not require.
68390         [POSIX] (off_t): Likewise.
68391         [POSIX] (pid_t): Likewise.
68392         [POSIX] (sys/stat.h): Do not allow header.
68393         [POSIX] (unistd.h): Likewise.
68394         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
68395         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
68396         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
68397         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
68398         require.
68399         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
68400         sigevent): Specify elements.
68401         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
68402         entry.
68403         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
68404         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
68406         * conform/data/cpio.h-data [POSIX]: Disable whole file.
68407         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
68408         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
68409         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
68410         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
68411         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
68412         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
68413         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
68414         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
68415         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
68416         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
68417         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
68418         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
68419         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
68420         Likewise.
68421         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
68422         Likewise.
68423         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
68424         Likewise.
68425         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
68426         Likewise.
68427         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
68428         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
68429         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
68430         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
68431         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
68432         Specify lower bound on value.
68433         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
68434         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
68435         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
68436         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
68437         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
68438         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
68439         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
68440         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
68441         value.
68442         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
68443         as optional.
68444         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
68445         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
68446         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
68447         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
68448         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
68449         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
68450         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
68451         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
68452         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
68453         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
68454         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
68455         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
68456         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
68457         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
68458         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
68459         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
68460         entry.
68461         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
68462         optional.
68463         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
68464         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
68465         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
68466         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
68467         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
68468         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
68469         Likewise.
68470         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
68471         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
68472         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
68473         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
68474         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
68475         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
68476         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
68477         as optional.
68478         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
68479         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
68480         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
68481         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
68482         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
68483         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
68484         specify as optional.
68485         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
68486         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
68487         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
68488         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
68489         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
68490         [XPG3] (NL_LANGMAX): Likewise.
68491         [POSIX || XPG3] (NL_MSGMAX): Likewise.
68492         [POSIX || XPG3] (NL_NMAX): Likewise.
68493         [POSIX || XPG3] (NL_SETMAX): Likewise.
68494         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
68495         [XPG3] (NZERO): Likewise.
68496         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
68497         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
68498         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
68499         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
68500         (REG_ERANGE): Expect.
68501         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
68502         optional-constant.
68503         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
68504         Use (void) in prototype.
68505         [POSIX] (*_t): Allow.
68506         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
68507         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
68508         (WRDE_BADVAL): Expect.
68510         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
68511         expect.
68512         [XPG3 || XPG4] (O_RSYNC): Likewise.
68513         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
68514         Likewise.
68515         [XPG3 || XPG4] (pthread_sigmask): Likewise.
68516         [XPG3 || XPG4] (sigqueue): Likewise.
68517         [XPG3 || XPG4] (sigtimedwait): Likewise.
68518         [XPG3 || XPG4] (sigwaitinfo): Likewise.
68519         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
68520         [XPG3 || XPG4] (vsnprintf): Likewise.
68521         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
68522         Likewise.
68523         [XPG3 || XPG4] (blksize_t): Likewise.
68524         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
68525         Likewise.
68526         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
68527         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
68528         [XPG3 || XPG4] (struct itimerspec): Likewise.
68529         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
68530         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
68531         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
68532         [XPG3 || XPG4] (clockid_t): Likewise.
68533         [XPG3 || XPG4] (timer_t): Likewise.
68534         [XPG3 || XPG4] (clock_getres): Likewise.
68535         [XPG3 || XPG4] (clock_gettime): Likewise.
68536         [XPG3 || XPG4] (clock_settime): Likewise.
68537         [XPG3 || XPG4] (nanosleep): Likewise.
68538         [XPG3 || XPG4] (timer_create): Likewise.
68539         [XPG3 || XPG4] (timer_delete): Likewise.
68540         [XPG3 || XPG4] (timer_gettime): Likewise.
68541         [XPG3 || XPG4] (timer_getoverrun): Likewise.
68542         [XPG3 || XPG4] (timer_settime): Likewise.
68543         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
68544         [XPG3 || XPG4] (getlogin_r): Likewise.
68545         [XPG3 || XPG4] (pread): Likewise.
68546         [XPG3 || XPG4] (pthread_atfork): Likewise.
68547         [XPG3 || XPG4] (pwrite): Likewise.
68549         [BZ #14835]
68550         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
68551         <bits/siginfo.h>.
68553 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
68555         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
68556         finalizing MALLSTREAM.
68558         * sysdeps/mach/hurd/syncfs.c: New file.
68560 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
68562         [BZ #14719]
68563         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
68564         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
68565         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
68566         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
68567         (_nss_dns_gethostbyname4_r): Likewise.
68568         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
68569         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
68571 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
68573         [BZ #13763]
68574         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
68576 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
68578         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
68579         * elf/cache.c (print_entry): Print ",AArch64" for
68580         FLAG_AARCH64_LIB64
68582         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
68583         * elf/cache.c (print_entry): Print ",hard-float" for
68584         FLAG_ARM_LIBHF.
68586 2012-11-18  David S. Miller  <davem@davemloft.net>
68588         With help from Joseph Myers.
68589         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
68590         cutoff to 2**-13.
68591         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
68592         cutoff to 2**-25.
68593         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
68594         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
68595         small.
68596         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
68597         * math/libm-test.inc (y0_test): New tests.
68598         (y1_test): New tests.
68599         * sysdeps/i386/fpu/libm-test-ulps: Update.
68600         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68601         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68603 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
68605         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
68606         64-bit targets.
68607         * configure: Regenerated.
68609 2012-11-17  David S. Miller  <davem@davemloft.net>
68611         [BZ #14811]
68612         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
68613         nonzero exponents with absolute value below 0x1p-128 to +/-
68614         0x1p-128.
68616 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
68618         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
68620         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
68622         * posix/getconf-speclist.c: New file.
68623         * posix/posix-envs.def: Likewise.
68624         * posix/confstr.c (START_ENV_GROUP): New macro.
68625         (END_ENV_GROUP): Likewise.
68626         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
68627         (KNOWN_PRESENT_ENV_STRING): Likewise.
68628         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
68629         (UNKNOWN_ENVIRONMENT): Likewise.
68630         (confstr): Include posix-envs.def instead of handling
68631         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
68632         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
68633         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
68634         (END_ENV_GROUP): Likewise.
68635         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
68636         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
68637         (UNKNOWN_ENVIRONMENT): Likewise.
68638         (__sysconf): Include posix-envs.def instead of handling associated
68639         cases directly here.
68640         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
68641         preprocessing getconf-speclist.c rather than running getconf or
68642         generating empty file.
68644 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
68646         * scripts/check-local-headers.sh: Ignore 'mach' headers.
68648 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
68650         [BZ #14672]
68651         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
68653 2012-11-16  David S. Miller  <davem@davemloft.net>
68655         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
68656         smaller than LDBL_EPSILON/2.0L, just return xm1.
68658 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
68660         * elf/tst-array1.c (init): Set constructor priority to 1000.
68661         (fini): Set destructor priority to 1000.
68662         * elf/tst-array2dep.c: Likewise.
68664 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
68666         [BZ #11741]
68667         * libio/fileops.c (_IO_new_file_write): Correctly return error.
68668         (_IO_new_file_xsputn): Also return EOF if none of the input
68669         data was written when overflow failed.
68670         * libio/iopadn.c (_IO_padn): Likewise.
68671         * libio/iowpadn.c (_IO_wpadn): Likewise.
68672         * stdio-common/tst-put-error.c: Add copyright notice.
68673         (do_test): Add case for printing padded string.
68674         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
68675         _IO_padn returned error.
68676         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
68677         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
68678         return EOF.
68680 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
68682         * libio/libioP.h: Add comment note that the references to C++
68683         bits are now obsolete.
68685 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68687         * math/libm-test.inc (check_complex): Use asprintf.
68689 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
68691         * debug/pcprofiledump.c (print_version): Update copyright year.
68692         * malloc/memusagestat.c (print_version): Likewise.
68694 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
68696         [BZ #14831]
68697         * elf/Makefile (tests): Add tst-audit8.
68698         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
68699         ($(objpfx)tst-audit8.out): New target.
68700         (tst-audit8-ENV): New variable.
68701         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
68702         audit if l_reloc_result is NULL.
68703         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
68704         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
68705         * elf/tst-audit8.c: New file.
68707 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68709         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
68710         * misc/Makefile (CFLAGS-select.c): Define.
68711         * posix/Makefile (CFLAGS-pause.c): Define.
68713 2012-11-13  David S. Miller  <davem@davemloft.net>
68715         * crypt/Makefile: Move test targets after toplevel Rules
68716         inclusion.  Grab any necessary sysdep routines when linking.
68717         * crypt/md5.c (md5_process_block): Remove define, we will always
68718         name it __md5_process_block.
68719         (md5_finish_ctx): Update md5_process_block call.
68720         (md5_stream): Likewise.
68721         (md5_process_bytes): Likewise.
68722         (md5_process_block): Rename to __md5_process_block and move to ...
68723         * crypt/md5-block.c: ... here.
68724         * crypt/sha256.c (sha256_process_block): Move to ...
68725         * crypt/sha256-block.c: ... here.
68726         * crypt/sha512.c (sha512_process_block): Move to ...
68727         * crypt/sha512-block.c: ... here.
68728         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
68729         path.
68730         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
68731         * sysdeps/sparc/sparc64/multiarch/Makefile
68732         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
68733         crypt subdir.
68734         (localedef-aux): Add md5 crypto assembler when in locale subdir.
68735         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
68736         multiarch changes.
68737         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
68738         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
68739         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
68740         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
68741         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
68742         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
68743         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
68744         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
68745         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
68746         file.
68747         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
68748         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
68749         file.
68750         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
68752 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
68754         * timezone/tzselect.ksh: Update from tzcode git revision
68755         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
68756         * timezone/zdump.c: Likewise.
68757         * timezone/zic.c: Likewise.
68758         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
68759         in TZVERSION setting, not $(PKGVERSION).
68760         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
68761         REPORT_BUGS_TO settings.
68763         [BZ #14838]
68764         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
68765         macro.
68767 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68769         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
68770         detection to immediately after _FP_ROUND().
68771         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
68772         bits are 0.
68774 2012-11-11  David S. Miller  <davem@davemloft.net>
68776         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
68777         inttypes.h
68778         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
68779         __close rather than their public counterparts.
68781 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
68783         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
68784         file.
68785         [UNIX98] (sem_timedwait): Do not expect.
68786         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
68787         [XPG4 || UNIX98] (sockatmark): Do not expect.
68788         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
68789         (clock_getcpuclockid): Do not expect.
68790         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
68791         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
68792         Do not expect.
68793         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
68794         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
68795         [UNIX98] (vwscanf): Likewise.
68796         [UNIX98] (vswscanf): Likewise.
68798 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
68800         * timezone/version.h: Remove file.
68801         * timezone/README: Do not refer to version.h.
68802         * timezone/Makefile ($(objpfx)zic.o): New dependency on
68803         $(objpfx)version.h.
68804         ($(objpfx)zdump.o): Likewise.
68805         ($(objpfx)version.h): New target.
68807         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
68808         2012i.
68809         * timezone/README: Don't mention modification to tzselect.ksh.
68810         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
68811         work on unmodified tzselect.ksh.  Substitute version numbers in
68812         tzselect.ksh.
68814         * Makefile (format-me): Remove.
68815         (INSTALL): Adjust indentation.  Use commands directly instead of
68816         using $(format-me).
68818         * aclocal.m4 (ACX_PKGVERSION): New macro.
68819         (ACX_BUGURL): Likewise.
68820         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
68821         (PKGVERSION): New AC_DEFINE_UNQUOTED.
68822         (REPORT_BUGS_TO): Likewise.
68823         * configure: Regenerated.
68824         * config.h.in (PKGVERSION): New macro.
68825         (REPORT_BUGS_TO): Likewise.
68826         * config.make.in (PKGVERSION): New variable.
68827         (PKGVERSION_TEXI): Likewise.
68828         (REPORT_BUGS_TO): Likewise.
68829         (REPORT_BUGS_TEXI): Likewise.
68830         * Makefile (format-me): Use -I$(common-objpfx)manual.
68831         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
68832         ($(common-objpfx)manual/%): New target.
68833         (manual/%): Remove target.
68834         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
68835         (print_version): Use PKGVERSION.
68836         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
68837         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
68838         and REPORT_BUGS_TO.
68839         ($(objpfx)xtrace): Likewise.
68840         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
68841         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
68842         (print_version): Use PKGVERSION.
68843         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
68844         (do_version): Use PKGVERSION.
68845         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
68846         REPORT_BUGS_TO.
68847         (common-ldd-rewrite): Likewise.
68848         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
68849         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
68850         (print_version): Use PKGVERSION.
68851         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
68852         * elf/pldd.c (argp_program_bug_address): Remove variable.
68853         (more_help): New function.
68854         (argp): Use more_help.
68855         (print_version): Use PKGVERSION.
68856         * elf/sln.c (main): Use PKGVERSION.
68857         (usage): Use REPORT_BUGS_TO.
68858         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
68859         (top level): Use PKGVERSION.
68860         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
68861         (print_version): Use PKGVERSION.
68862         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
68863         (print_version): Use PKGVERSION.
68864         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
68865         (print_version): Use PKGVERSION.
68866         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
68867         (print_version): Use PKGVERSION.
68868         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
68869         (print_version): Use PKGVERSION.
68870         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
68871         (print_version): Use PKGVERSION.
68872         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
68873         and BUGURL.
68874         ($(objpfx)memusage): Likewise.
68875         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
68876         (do_version): Use PKGVERSION.
68877         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
68878         (print_version): Use PKGVERSION.
68879         * malloc/mtrace.pl ($PACKAGE): Remove variable.
68880         ($PKGVERSION): New variable.
68881         ($REPORT_BUGS_TO): Likewise.
68882         (usage): Use $REPORT_BUGS_TO.
68883         (top level): Use $PKGVERSION.
68884         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
68885         ($(objpfx)pkgvers.texi): New rule.
68886         ($(objpfx)stamp-pkgvers): Likewise.
68887         * manual/install.texi: Include pkgvers.texi.
68888         (--with-pkgversion): Document new configure option.
68889         (--with-bugurl): Likewise.
68890         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
68891         than necessarily for this particular distribution.  Use
68892         REPORT_BUGS_TO for where to report bugs.
68893         * INSTALL: Regenerated.
68894         * manual/libc.texinfo: Include pkgvers.texi.
68895         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
68896         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
68897         (print_version): Use PKGVERSION.
68898         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
68899         (print_version): Use PKGVERSION.
68900         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
68901         (print_version): Use PKGVERSION.
68902         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
68903         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
68904         macro.
68905         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
68906         (print_version): Use PKGVERSION.
68907         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
68908         (print_version): Use PKGVERSION.
68909         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
68910         and PKGVERSION.
68912         * timezone/checktab.awk: Update from tzcode 2012i.
68913         * timezone/ialloc.c: Likewise.
68914         * timezone/private.h: Likewise.
68915         * timezone/scheck.c: Likewise.
68916         * timezone/tzfile.h: Likewise.
68917         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
68918         (TZVERSION): Hardcode tzcode version number.
68919         * timezone/zdump.c: Update from tzcode 2012i.
68920         * timezone/zic.c: Likewise.
68921         * timezone/version.h: New file.
68922         * timezone/README: Describe version.h.  Update upstream location.
68924         [BZ #14824]
68925         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
68926         (mktemp): Enable declaration.
68927         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
68928         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
68929         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
68930         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
68931         Likewise.
68932         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
68933         Likewise.
68934         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
68935         Likewise.
68936         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
68937         Likewise.
68938         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
68939         Likewise.
68940         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
68941         Likewise.
68943         [BZ #14821]
68944         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
68945         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
68946         for copies of such integer values.
68947         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
68948         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
68950 2012-11-09  Andreas Jaeger  <aj@suse.de>
68952         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
68953         definitions and declarations that are provided by
68954         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
68956 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68958         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
68959         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
68960         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
68961         definition.
68963 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68965         * elf/elf.h: Update comment before AArch64 relocations.
68967 2012-11-07  David S. Miller  <davem@davemloft.net>
68969         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
68970         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
68971         (__start_context): Declare.
68972         (__makecontext_ret): Delete.
68973         (__makecontext): Hook up __start_context instead of
68974         __makecontext_ret.
68975         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
68976         (sysdep_routines): Add __start_context when in stdlib.
68978 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68980         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
68981         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
68982         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
68983         hardcoded "nm".
68984         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
68985         (READELF): New variable.  Use it instead of hardcoded "readelf".
68987 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
68989         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
68990         * sysdeps/x86/Makefile: Here.
68991         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
68992         * sysdeps/x86/tst-xmmymm.sh: This.
68994 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68996         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
68997         expectations.
68998         [UNIX98] (pthread_barrier_t): Do not expect.
68999         [UNIX98] (pthread_barrierattr_t): Likewise.
69000         [UNIX98] (pthread_spinlock_t): Likewise.
69001         [UNIX98] (pthread_barrier_destroy): Likewise.
69002         [UNIX98] (pthread_barrier_init): Likewise.
69003         [UNIX98] (pthread_barrier_wait): Likewise.
69004         [UNIX98] (pthread_barrierattr_destroy): Likewise.
69005         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
69006         [UNIX98] (pthread_barrierattr_init): Likewise.
69007         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
69008         [UNIX98] (pthread_getcpuclockid): Likewise.
69009         [UNIX98] (pthread_mutex_timedlock): Likewise.
69010         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
69011         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
69012         [UNIX98] (pthread_sigmask): Likewise.
69013         [UNIX98] (pthread_spin_destroy): Likewise.
69014         [UNIX98] (pthread_spin_init): Likewise.
69015         [UNIX98] (pthread_spin_lock): Likewise.
69016         [UNIX98] (pthread_spin_trylock): Likewise.
69017         [UNIX98] (pthread_spin_unlock): Likewise.
69018         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
69019         Do not expect.
69020         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
69021         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
69022         [XPG3 || XPG4] (pthread_cond_t): Likewise.
69023         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
69024         [XPG3 || XPG4] (pthread_key_t): Likewise.
69025         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
69026         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
69027         [XPG3 || XPG4] (pthread_once_t): Likewise.
69028         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
69029         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
69030         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
69031         [XPG3 || XPG4] (pthread_t): Likewise.
69033         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
69034         not expect.
69035         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
69037         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
69038         Change function return type to int.
69040         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
69041         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
69042         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
69043         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
69044         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
69045         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
69046         [!POSIX] (posix_madvise): Likewise.
69047         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
69048         && !UNIX98].
69049         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
69050         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
69051         (mode_t): Likewise.
69052         (posix_mem_offset): Likewise.
69053         (posix_typed_mem_get_info): Likewise.
69054         (posix_typed_mem_open): Likewise.
69056         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
69057         Change condition to [XOPEN2K8].
69059         * conform/conformtest.pl: Preprocess allow-header data with -x c
69060         instead of from stdin.
69061         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
69062         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
69063         [C99-based standards] (cerfc): Likewise.
69064         [C99-based standards] (cexp2): Likewise.
69065         [C99-based standards] (cexpm1): Likewise.
69066         [C99-based standards] (clog10): Likewise.
69067         [C99-based standards] (clog1p): Likewise.
69068         [C99-based standards] (clog2): Likewise.
69069         [C99-based standards] (clgamma): Likewise.
69070         [C99-based standards] (ctgamma): Likewise.
69071         [C99-based standards] (cerff): Likewise.
69072         [C99-based standards] (cerfcf): Likewise.
69073         [C99-based standards] (cexp2f): Likewise.
69074         [C99-based standards] (cexpm1f): Likewise.
69075         [C99-based standards] (clog10f): Likewise.
69076         [C99-based standards] (clog1pf): Likewise.
69077         [C99-based standards] (clog2f): Likewise.
69078         [C99-based standards] (clgammaf): Likewise.
69079         [C99-based standards] (ctgammaf): Likewise.
69080         [C99-based standards] (cerfl): Likewise.
69081         [C99-based standards] (cerfcl): Likewise.
69082         [C99-based standards] (cexp2l): Likewise.
69083         [C99-based standards] (cexpm1l): Likewise.
69084         [C99-based standards] (clog10l): Likewise.
69085         [C99-based standards] (clog1pl): Likewise.
69086         [C99-based standards] (clog2l): Likewise.
69087         [C99-based standards] (clgammal): Likewise.
69088         [C99-based standards] (ctgammal): Likewise.
69089         * conform/data/inttypes.h-data [C99-based standards]: Include
69090         stdint.h-data.  Remove all expectations for stdint.h contents.
69091         [C99-based standards] (PRI*): Do not allow.
69092         [C99-based standards] (SCN*): Likewise.
69093         [C99-based standards] (*_t): Likewise.
69094         [C99-based-standards] (PRId8): Expect macro.
69095         [C99-based-standards] (PRIi8): Likewise.
69096         [C99-based-standards] (PRIo8): Likewise.
69097         [C99-based-standards] (PRIu8): Likewise.
69098         [C99-based-standards] (PRIx8): Likewise.
69099         [C99-based-standards] (PRIX8): Likewise.
69100         [C99-based-standards] (SCNd8): Likewise.
69101         [C99-based-standards] (SCNi8): Likewise.
69102         [C99-based-standards] (SCNo8): Likewise.
69103         [C99-based-standards] (SCNu8): Likewise.
69104         [C99-based-standards] (SCNx8): Likewise.
69105         [C99-based-standards] (PRIdLEAST8): Likewise.
69106         [C99-based-standards] (PRIiLEAST8): Likewise.
69107         [C99-based-standards] (PRIoLEAST8): Likewise.
69108         [C99-based-standards] (PRIuLEAST8): Likewise.
69109         [C99-based-standards] (PRIxLEAST8): Likewise.
69110         [C99-based-standards] (PRIXLEAST8): Likewise.
69111         [C99-based-standards] (SCNdLEAST8): Likewise.
69112         [C99-based-standards] (SCNiLEAST8): Likewise.
69113         [C99-based-standards] (SCNoLEAST8): Likewise.
69114         [C99-based-standards] (SCNuLEAST8): Likewise.
69115         [C99-based-standards] (SCNxLEAST8): Likewise.
69116         [C99-based-standards] (PRIdFAST8): Likewise.
69117         [C99-based-standards] (PRIiFAST8): Likewise.
69118         [C99-based-standards] (PRIoFAST8): Likewise.
69119         [C99-based-standards] (PRIuFAST8): Likewise.
69120         [C99-based-standards] (PRIxFAST8): Likewise.
69121         [C99-based-standards] (PRIXFAST8): Likewise.
69122         [C99-based-standards] (SCNdFAST8): Likewise.
69123         [C99-based-standards] (SCNiFAST8): Likewise.
69124         [C99-based-standards] (SCNoFAST8): Likewise.
69125         [C99-based-standards] (SCNuFAST8): Likewise.
69126         [C99-based-standards] (SCNxFAST8): Likewise.
69127         [C99-based-standards] (PRId16): Likewise.
69128         [C99-based-standards] (PRIi16): Likewise.
69129         [C99-based-standards] (PRIo16): Likewise.
69130         [C99-based-standards] (PRIu16): Likewise.
69131         [C99-based-standards] (PRIx16): Likewise.
69132         [C99-based-standards] (PRIX16): Likewise.
69133         [C99-based-standards] (SCNd16): Likewise.
69134         [C99-based-standards] (SCNi16): Likewise.
69135         [C99-based-standards] (SCNo16): Likewise.
69136         [C99-based-standards] (SCNu16): Likewise.
69137         [C99-based-standards] (SCNx16): Likewise.
69138         [C99-based-standards] (PRIdLEAST16): Likewise.
69139         [C99-based-standards] (PRIiLEAST16): Likewise.
69140         [C99-based-standards] (PRIoLEAST16): Likewise.
69141         [C99-based-standards] (PRIuLEAST16): Likewise.
69142         [C99-based-standards] (PRIxLEAST16): Likewise.
69143         [C99-based-standards] (PRIXLEAST16): Likewise.
69144         [C99-based-standards] (SCNdLEAST16): Likewise.
69145         [C99-based-standards] (SCNiLEAST16): Likewise.
69146         [C99-based-standards] (SCNoLEAST16): Likewise.
69147         [C99-based-standards] (SCNuLEAST16): Likewise.
69148         [C99-based-standards] (SCNxLEAST16): Likewise.
69149         [C99-based-standards] (PRIdFAST16): Likewise.
69150         [C99-based-standards] (PRIiFAST16): Likewise.
69151         [C99-based-standards] (PRIoFAST16): Likewise.
69152         [C99-based-standards] (PRIuFAST16): Likewise.
69153         [C99-based-standards] (PRIxFAST16): Likewise.
69154         [C99-based-standards] (PRIXFAST16): Likewise.
69155         [C99-based-standards] (SCNdFAST16): Likewise.
69156         [C99-based-standards] (SCNiFAST16): Likewise.
69157         [C99-based-standards] (SCNoFAST16): Likewise.
69158         [C99-based-standards] (SCNuFAST16): Likewise.
69159         [C99-based-standards] (SCNxFAST16): Likewise.
69160         [C99-based-standards] (PRId32): Likewise.
69161         [C99-based-standards] (PRIi32): Likewise.
69162         [C99-based-standards] (PRIo32): Likewise.
69163         [C99-based-standards] (PRIu32): Likewise.
69164         [C99-based-standards] (PRIx32): Likewise.
69165         [C99-based-standards] (PRIX32): Likewise.
69166         [C99-based-standards] (SCNd32): Likewise.
69167         [C99-based-standards] (SCNi32): Likewise.
69168         [C99-based-standards] (SCNo32): Likewise.
69169         [C99-based-standards] (SCNu32): Likewise.
69170         [C99-based-standards] (SCNx32): Likewise.
69171         [C99-based-standards] (PRIdLEAST32): Likewise.
69172         [C99-based-standards] (PRIiLEAST32): Likewise.
69173         [C99-based-standards] (PRIoLEAST32): Likewise.
69174         [C99-based-standards] (PRIuLEAST32): Likewise.
69175         [C99-based-standards] (PRIxLEAST32): Likewise.
69176         [C99-based-standards] (PRIXLEAST32): Likewise.
69177         [C99-based-standards] (SCNdLEAST32): Likewise.
69178         [C99-based-standards] (SCNiLEAST32): Likewise.
69179         [C99-based-standards] (SCNoLEAST32): Likewise.
69180         [C99-based-standards] (SCNuLEAST32): Likewise.
69181         [C99-based-standards] (SCNxLEAST32): Likewise.
69182         [C99-based-standards] (PRIdFAST32): Likewise.
69183         [C99-based-standards] (PRIiFAST32): Likewise.
69184         [C99-based-standards] (PRIoFAST32): Likewise.
69185         [C99-based-standards] (PRIuFAST32): Likewise.
69186         [C99-based-standards] (PRIxFAST32): Likewise.
69187         [C99-based-standards] (PRIXFAST32): Likewise.
69188         [C99-based-standards] (SCNdFAST32): Likewise.
69189         [C99-based-standards] (SCNiFAST32): Likewise.
69190         [C99-based-standards] (SCNoFAST32): Likewise.
69191         [C99-based-standards] (SCNuFAST32): Likewise.
69192         [C99-based-standards] (SCNxFAST32): Likewise.
69193         [C99-based-standards] (PRId64): Likewise.
69194         [C99-based-standards] (PRIi64): Likewise.
69195         [C99-based-standards] (PRIo64): Likewise.
69196         [C99-based-standards] (PRIu64): Likewise.
69197         [C99-based-standards] (PRIx64): Likewise.
69198         [C99-based-standards] (PRIX64): Likewise.
69199         [C99-based-standards] (SCNd64): Likewise.
69200         [C99-based-standards] (SCNi64): Likewise.
69201         [C99-based-standards] (SCNo64): Likewise.
69202         [C99-based-standards] (SCNu64): Likewise.
69203         [C99-based-standards] (SCNx64): Likewise.
69204         [C99-based-standards] (PRIdLEAST64): Likewise.
69205         [C99-based-standards] (PRIiLEAST64): Likewise.
69206         [C99-based-standards] (PRIoLEAST64): Likewise.
69207         [C99-based-standards] (PRIuLEAST64): Likewise.
69208         [C99-based-standards] (PRIxLEAST64): Likewise.
69209         [C99-based-standards] (PRIXLEAST64): Likewise.
69210         [C99-based-standards] (SCNdLEAST64): Likewise.
69211         [C99-based-standards] (SCNiLEAST64): Likewise.
69212         [C99-based-standards] (SCNoLEAST64): Likewise.
69213         [C99-based-standards] (SCNuLEAST64): Likewise.
69214         [C99-based-standards] (SCNxLEAST64): Likewise.
69215         [C99-based-standards] (PRIdFAST64): Likewise.
69216         [C99-based-standards] (PRIiFAST64): Likewise.
69217         [C99-based-standards] (PRIoFAST64): Likewise.
69218         [C99-based-standards] (PRIuFAST64): Likewise.
69219         [C99-based-standards] (PRIxFAST64): Likewise.
69220         [C99-based-standards] (PRIXFAST64): Likewise.
69221         [C99-based-standards] (SCNdFAST64): Likewise.
69222         [C99-based-standards] (SCNiFAST64): Likewise.
69223         [C99-based-standards] (SCNoFAST64): Likewise.
69224         [C99-based-standards] (SCNuFAST64): Likewise.
69225         [C99-based-standards] (SCNxFAST64): Likewise.
69226         [C99-based-standards] (PRIdMAX): Likewise.
69227         [C99-based-standards] (PRIiMAX): Likewise.
69228         [C99-based-standards] (PRIoMAX): Likewise.
69229         [C99-based-standards] (PRIuMAX): Likewise.
69230         [C99-based-standards] (PRIxMAX): Likewise.
69231         [C99-based-standards] (PRIXMAX): Likewise.
69232         [C99-based-standards] (SCNdMAX): Likewise.
69233         [C99-based-standards] (SCNiMAX): Likewise.
69234         [C99-based-standards] (SCNoMAX): Likewise.
69235         [C99-based-standards] (SCNuMAX): Likewise.
69236         [C99-based-standards] (SCNxMAX): Likewise.
69237         [C99-based-standards] (PRIdPTR): Likewise.
69238         [C99-based-standards] (PRIiPTR): Likewise.
69239         [C99-based-standards] (PRIoPTR): Likewise.
69240         [C99-based-standards] (PRIuPTR): Likewise.
69241         [C99-based-standards] (PRIxPTR): Likewise.
69242         [C99-based-standards] (PRIXPTR): Likewise.
69243         [C99-based-standards] (SCNdPTR): Likewise.
69244         [C99-based-standards] (SCNiPTR): Likewise.
69245         [C99-based-standards] (SCNoPTR): Likewise.
69246         [C99-based-standards] (SCNuPTR): Likewise.
69247         [C99-based-standards] (SCNxPTR): Likewise.
69248         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
69249         allow.
69250         * conform/data/stdint.h-data: Update comments to clarify
69251         requirements.
69252         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
69253         type.
69254         [C99-based standards] (INT8_MAX): Likewise.
69255         [C99-based standards] (INT16_MIN): Likewise.
69256         [C99-based standards] (INT16_MAX): Likewise.
69257         [C99-based standards] (INT32_MIN): Likewise.
69258         [C99-based standards] (INT32_MAX): Likewise.
69259         [C99-based standards] (INT64_MIN): Likewise.
69260         [C99-based standards] (INT64_MAX): Likewise.
69261         [C99-based standards] (UINT8_MAX): Likewise.
69262         [C99-based standards] (UINT16_MAX): Likewise.
69263         [C99-based standards] (UINT32_MAX): Likewise.
69264         [C99-based standards] (UINT64_MAX): Likewise.
69265         [C99-based standards] (INT_LEAST8_MIN): Likewise.
69266         [C99-based standards] (INT_LEAST8_MAX): Likewise.
69267         [C99-based standards] (INT_LEAST16_MIN): Likewise.
69268         [C99-based standards] (INT_LEAST16_MAX): Likewise.
69269         [C99-based standards] (INT_LEAST32_MIN): Likewise.
69270         [C99-based standards] (INT_LEAST32_MAX): Likewise.
69271         [C99-based standards] (INT_LEAST64_MIN): Likewise.
69272         [C99-based standards] (INT_LEAST64_MAX): Likewise.
69273         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
69274         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
69275         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
69276         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
69277         [C99-based standards] (INT_FAST8_MIN): Likewise.
69278         [C99-based standards] (INT_FAST8_MAX): Likewise.
69279         [C99-based standards] (INT_FAST16_MIN): Likewise.
69280         [C99-based standards] (INT_FAST16_MAX): Likewise.
69281         [C99-based standards] (INT_FAST32_MIN): Likewise.
69282         [C99-based standards] (INT_FAST32_MAX): Likewise.
69283         [C99-based standards] (INT_FAST64_MIN): Likewise.
69284         [C99-based standards] (INT_FAST64_MAX): Likewise.
69285         [C99-based standards] (UINT_FAST8_MAX): Likewise.
69286         [C99-based standards] (UINT_FAST16_MAX): Likewise.
69287         [C99-based standards] (UINT_FAST32_MAX): Likewise.
69288         [C99-based standards] (UINT_FAST64_MAX): Likewise.
69289         [C99-based standards] (INTPTR_MIN): Likewise.
69290         [C99-based standards] (INTPTR_MAX): Likewise.
69291         [C99-based standards] (UINTPTR_MAX): Likewise.
69292         [C99-based standards] (INTMAX_MIN): Likewise.
69293         [C99-based standards] (INTMAX_MAX): Likewise.
69294         [C99-based standards] (UINTMAX_MAX): Likewise.
69295         [C99-based standards] (PTRDIFF_MIN): Likewise.
69296         [C99-based standards] (PTRDIFF_MAX): Likewise.
69297         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
69298         [C99-based standards] (SIZE_MAX): Likewise.
69299         [C99-based standards] (WCHAR_MAX): Likewise.
69300         [C99-based standards] (WINT_MAX): Likewise.
69301         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
69302         constraint on value.
69303         [C99-based standards] (WCHAR_MIN): Likewise.
69304         [C99-based standards] (WINT_MIN): Likewise.
69305         [C99-based standards] (*_t): Allow.
69306         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
69307         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
69308         Include math.h-data and complex.h-data.  Remove all expectations
69309         of math.h and complex.h contents.
69310         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
69311         at end of line.
69312         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
69313         (struct tm): Expect tag.
69314         [C99-based-standards] (wcstof): Expect function.
69315         [C99-based-standards] (wcstold): Likewise.
69316         [C99-based-standards] (wcstoll): Likewise.
69317         [C99-based-standards] (wcstoull): Likewise.
69318         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
69319         macro-int-constant.  Specify type.
69320         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
69321         constraint on value.
69322         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
69323         Specify type.
69324         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
69325         Specify value.
69326         [ISO C standards]: Do not allow headers.
69327         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
69328         wcs[abcdefghijklmnopqrstuvwxyz]*.
69329         [ISO C standards] (*_t): Do not allow.
69330         * conform/data/wctype.h-data [C99-based standards] (iswblank):
69331         Expect function.
69332         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
69333         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
69334         Specify type.
69335         [ISO C standards]: Do not allow headers.
69336         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
69337         is[abcdefghijklmnopqrstuvwxyz]*.
69338         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
69339         to[abcdefghijklmnopqrstuvwxyz]*.
69340         [ISO C standards] (*_t): Do not allow.
69341         * conform/data/stdalign.h-data: New file.
69342         * conform/data/stdbool.h-data: Likewise.
69343         * conform/data/stdnoreturn.h-data: Likewise.
69345 2012-11-07  Roland McGrath  <roland@hack.frob.com>
69347         [BZ #14815]
69348         * manual/filesys.texi (Directory Entries): Typo fix.
69349         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
69351 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
69353         * elf/elf.h (EM_AARCH64): New macro.
69354         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
69355         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
69356         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
69357         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
69358         (R_AARCH64_TLSDESC): Likewise.
69359         (NT_ARM_TLS): Likewise.
69360         (NT_ARM_HW_BREAK): Likewise.
69361         (NT_ARM_HW_WATCH): Likewise.
69363 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
69365         [BZ #14811]
69366         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
69367         (__ieee754_powl): Saturate nonzero exponents with absolute value
69368         below 0x1p-79 to +/- 0x1p-79.
69369         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
69370         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
69371         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
69372         nonzero exponents with absolute value below 0x1p-32 to +/-
69373         0x1p-32.
69374         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
69375         (__ieee754_powl): Saturate nonzero exponents with absolute value
69376         below 0x1p-79 to +/- 0x1p-79.
69377         * math/libm-test.inc (pow_test): Add more tests.
69379 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69381         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
69382         _dl_s390_cap_flags with kernel. Increase string length.
69383         (_dl_s390_platforms): Add z196 and zEC12.
69385 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
69387         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
69388         Change XOPEN21K to XOPEN2K.
69390 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
69392         * string/memmove.c: Use memcpy when possible.
69394 2012-11-06  Andreas Jaeger  <aj@suse.de>
69396         * po/eo.po: Update from translation team.
69398 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
69400         [BZ #14793]
69401         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
69402         exponent and small x and y exponents, scale x or y up.  Increase
69403         by 2 the exponent used in scaling up.
69404         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69405         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69406         * math/libm-test.inc (fma_test): Add more tests.
69407         (fma_test_towardzero): Likewise.
69408         (fma_test_downward): Likewise.
69409         (fma_test_upward): Likewise.
69411 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
69413         [BZ #14805]
69414         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
69415         fenv_t *.
69417         [BZ #14801]
69418         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
69419         namespace for names of struct fields.
69420         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
69421         fenv_t fields.
69422         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
69423         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
69425 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69427         [BZ #3665]
69428         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
69430 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
69432         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
69433         PTR_DEMANGLE.
69435         [BZ #5246]
69436         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
69437         PTR_DEMANGLE.
69439 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
69441         [BZ #14797]
69442         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
69443         definitely overflow as x * y not x * y + z.
69444         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69445         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69446         * math/libm-test.inc (fma_test): Add more tests.
69447         (fma_test_towardzero): Likewise.
69448         (fma_test_downward): Likewise.
69449         (fma_test_upward): Likewise.
69451 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
69453         [BZ #157]
69455         * include/stub-tag.h: Remove file.
69456         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
69457         '#include' of it.
69458         * manual/maint.texi (Porting): Don't reference it.
69459         * Makerules ($(objpfx)stubs): Likewise.
69460         * dirent/closedir.c: Don't include <stub-tag.h>.
69461         * dirent/dirfd.c: Likewise.
69462         * dirent/fdopendir.c: Likewise.
69463         * dirent/getdents.c: Likewise.
69464         * dirent/getdents64.c: Likewise.
69465         * dirent/opendir.c: Likewise.
69466         * dirent/readdir.c: Likewise.
69467         * dirent/readdir64.c: Likewise.
69468         * dirent/readdir64_r.c: Likewise.
69469         * dirent/readdir_r.c: Likewise.
69470         * dirent/rewinddir.c: Likewise.
69471         * dirent/seekdir.c: Likewise.
69472         * dirent/telldir.c: Likewise.
69473         * gmon/profil.c: Likewise.
69474         * grp/setgroups.c: Likewise.
69475         * inet/if_index.c: Likewise.
69476         * io/access.c: Likewise.
69477         * io/chdir.c: Likewise.
69478         * io/chmod.c: Likewise.
69479         * io/chown.c: Likewise.
69480         * io/close.c: Likewise.
69481         * io/dup.c: Likewise.
69482         * io/dup2.c: Likewise.
69483         * io/dup3.c: Likewise.
69484         * io/euidaccess.c: Likewise.
69485         * io/faccessat.c: Likewise.
69486         * io/fchdir.c: Likewise.
69487         * io/fchmod.c: Likewise.
69488         * io/fchmodat.c: Likewise.
69489         * io/fchown.c: Likewise.
69490         * io/fchownat.c: Likewise.
69491         * io/fcntl.c: Likewise.
69492         * io/flock.c: Likewise.
69493         * io/fstatfs.c: Likewise.
69494         * io/fstatfs64.c: Likewise.
69495         * io/fstatvfs.c: Likewise.
69496         * io/fstatvfs64.c: Likewise.
69497         * io/futimens.c: Likewise.
69498         * io/fxstat.c: Likewise.
69499         * io/fxstat64.c: Likewise.
69500         * io/fxstatat.c: Likewise.
69501         * io/fxstatat64.c: Likewise.
69502         * io/getcwd.c: Likewise.
69503         * io/isatty.c: Likewise.
69504         * io/lchmod.c: Likewise.
69505         * io/lchown.c: Likewise.
69506         * io/link.c: Likewise.
69507         * io/linkat.c: Likewise.
69508         * io/lseek.c: Likewise.
69509         * io/lseek64.c: Likewise.
69510         * io/lxstat64.c: Likewise.
69511         * io/mkdir.c: Likewise.
69512         * io/mkdirat.c: Likewise.
69513         * io/mkfifo.c: Likewise.
69514         * io/mkfifoat.c: Likewise.
69515         * io/open.c: Likewise.
69516         * io/open64.c: Likewise.
69517         * io/openat.c: Likewise.
69518         * io/openat64.c: Likewise.
69519         * io/pipe.c: Likewise.
69520         * io/pipe2.c: Likewise.
69521         * io/poll.c: Likewise.
69522         * io/posix_fadvise.c: Likewise.
69523         * io/posix_fadvise64.c: Likewise.
69524         * io/posix_fallocate.c: Likewise.
69525         * io/posix_fallocate64.c: Likewise.
69526         * io/read.c: Likewise.
69527         * io/readlink.c: Likewise.
69528         * io/readlinkat.c: Likewise.
69529         * io/rmdir.c: Likewise.
69530         * io/sendfile.c: Likewise.
69531         * io/sendfile64.c: Likewise.
69532         * io/statfs.c: Likewise.
69533         * io/statfs64.c: Likewise.
69534         * io/statvfs.c: Likewise.
69535         * io/statvfs64.c: Likewise.
69536         * io/symlink.c: Likewise.
69537         * io/symlinkat.c: Likewise.
69538         * io/ttyname.c: Likewise.
69539         * io/ttyname_r.c: Likewise.
69540         * io/umask.c: Likewise.
69541         * io/unlink.c: Likewise.
69542         * io/unlinkat.c: Likewise.
69543         * io/utime.c: Likewise.
69544         * io/utimensat.c: Likewise.
69545         * io/write.c: Likewise.
69546         * io/xmknod.c: Likewise.
69547         * io/xmknodat.c: Likewise.
69548         * io/xstat.c: Likewise.
69549         * io/xstat64.c: Likewise.
69550         * login/getpt.c: Likewise.
69551         * login/grantpt.c: Likewise.
69552         * login/unlockpt.c: Likewise.
69553         * math/e_acoshl.c: Likewise.
69554         * math/e_acosl.c: Likewise.
69555         * math/e_asinl.c: Likewise.
69556         * math/e_atan2l.c: Likewise.
69557         * math/e_atanhl.c: Likewise.
69558         * math/e_coshl.c: Likewise.
69559         * math/e_expl.c: Likewise.
69560         * math/e_fmodl.c: Likewise.
69561         * math/e_gammal_r.c: Likewise.
69562         * math/e_hypotl.c: Likewise.
69563         * math/e_j0l.c: Likewise.
69564         * math/e_j1l.c: Likewise.
69565         * math/e_jnl.c: Likewise.
69566         * math/e_lgammal_r.c: Likewise.
69567         * math/e_log10l.c: Likewise.
69568         * math/e_log2l.c: Likewise.
69569         * math/e_logl.c: Likewise.
69570         * math/e_powl.c: Likewise.
69571         * math/e_rem_pio2l.c: Likewise.
69572         * math/e_sinhl.c: Likewise.
69573         * math/e_sqrtl.c: Likewise.
69574         * math/fclrexcpt.c: Likewise.
69575         * math/fedisblxcpt.c: Likewise.
69576         * math/feenablxcpt.c: Likewise.
69577         * math/fegetenv.c: Likewise.
69578         * math/fegetexcept.c: Likewise.
69579         * math/fegetround.c: Likewise.
69580         * math/feholdexcpt.c: Likewise.
69581         * math/fesetenv.c: Likewise.
69582         * math/fesetround.c: Likewise.
69583         * math/feupdateenv.c: Likewise.
69584         * math/fgetexcptflg.c: Likewise.
69585         * math/fraiseexcpt.c: Likewise.
69586         * math/fsetexcptflg.c: Likewise.
69587         * math/ftestexcept.c: Likewise.
69588         * math/k_cosl.c: Likewise.
69589         * math/k_rem_pio2l.c: Likewise.
69590         * math/k_sinl.c: Likewise.
69591         * math/k_tanl.c: Likewise.
69592         * math/s_asinhl.c: Likewise.
69593         * math/s_atanl.c: Likewise.
69594         * math/s_cbrtl.c: Likewise.
69595         * math/s_erfl.c: Likewise.
69596         * math/s_expm1l.c: Likewise.
69597         * math/s_log1pl.c: Likewise.
69598         * math/s_tanhl.c: Likewise.
69599         * misc/acct.c: Likewise.
69600         * misc/brk.c: Likewise.
69601         * misc/chflags.c: Likewise.
69602         * misc/chroot.c: Likewise.
69603         * misc/fchflags.c: Likewise.
69604         * misc/fgetxattr.c: Likewise.
69605         * misc/flistxattr.c: Likewise.
69606         * misc/fremovexattr.c: Likewise.
69607         * misc/fsetxattr.c: Likewise.
69608         * misc/fsync.c: Likewise.
69609         * misc/ftruncate.c: Likewise.
69610         * misc/futimes.c: Likewise.
69611         * misc/futimesat.c: Likewise.
69612         * misc/getdomain.c: Likewise.
69613         * misc/getdtsz.c: Likewise.
69614         * misc/gethostid.c: Likewise.
69615         * misc/gethostname.c: Likewise.
69616         * misc/getloadavg.c: Likewise.
69617         * misc/getpagesize.c: Likewise.
69618         * misc/getsysstats.c: Likewise.
69619         * misc/getxattr.c: Likewise.
69620         * misc/gtty.c: Likewise.
69621         * misc/ioctl.c: Likewise.
69622         * misc/lgetxattr.c: Likewise.
69623         * misc/listxattr.c: Likewise.
69624         * misc/llistxattr.c: Likewise.
69625         * misc/lremovexattr.c: Likewise.
69626         * misc/lsetxattr.c: Likewise.
69627         * misc/lutimes.c: Likewise.
69628         * misc/madvise.c: Likewise.
69629         * misc/mincore.c: Likewise.
69630         * misc/mlock.c: Likewise.
69631         * misc/mlockall.c: Likewise.
69632         * misc/mmap.c: Likewise.
69633         * misc/mprotect.c: Likewise.
69634         * misc/msync.c: Likewise.
69635         * misc/munlock.c: Likewise.
69636         * misc/munlockall.c: Likewise.
69637         * misc/munmap.c: Likewise.
69638         * misc/preadv.c: Likewise.
69639         * misc/preadv64.c: Likewise.
69640         * misc/ptrace.c: Likewise.
69641         * misc/pwritev.c: Likewise.
69642         * misc/pwritev64.c: Likewise.
69643         * misc/readv.c: Likewise.
69644         * misc/reboot.c: Likewise.
69645         * misc/remap_file_pages.c: Likewise.
69646         * misc/removexattr.c: Likewise.
69647         * misc/revoke.c: Likewise.
69648         * misc/select.c: Likewise.
69649         * misc/setdomain.c: Likewise.
69650         * misc/setegid.c: Likewise.
69651         * misc/seteuid.c: Likewise.
69652         * misc/sethostid.c: Likewise.
69653         * misc/sethostname.c: Likewise.
69654         * misc/setregid.c: Likewise.
69655         * misc/setreuid.c: Likewise.
69656         * misc/setxattr.c: Likewise.
69657         * misc/sstk.c: Likewise.
69658         * misc/stty.c: Likewise.
69659         * misc/swapoff.c: Likewise.
69660         * misc/swapon.c: Likewise.
69661         * misc/sync.c: Likewise.
69662         * misc/syncfs.c: Likewise.
69663         * misc/syscall.c: Likewise.
69664         * misc/truncate.c: Likewise.
69665         * misc/ualarm.c: Likewise.
69666         * misc/usleep.c: Likewise.
69667         * misc/ustat.c: Likewise.
69668         * misc/utimes.c: Likewise.
69669         * misc/vhangup.c: Likewise.
69670         * misc/writev.c: Likewise.
69671         * posix/_exit.c: Likewise.
69672         * posix/alarm.c: Likewise.
69673         * posix/execve.c: Likewise.
69674         * posix/fexecve.c: Likewise.
69675         * posix/fork.c: Likewise.
69676         * posix/fpathconf.c: Likewise.
69677         * posix/getaddrinfo.c: Likewise.
69678         * posix/getegid.c: Likewise.
69679         * posix/geteuid.c: Likewise.
69680         * posix/getgid.c: Likewise.
69681         * posix/getgroups.c: Likewise.
69682         * posix/getlogin.c: Likewise.
69683         * posix/getlogin_r.c: Likewise.
69684         * posix/getpgid.c: Likewise.
69685         * posix/getpid.c: Likewise.
69686         * posix/getppid.c: Likewise.
69687         * posix/getresgid.c: Likewise.
69688         * posix/getresuid.c: Likewise.
69689         * posix/getsid.c: Likewise.
69690         * posix/getuid.c: Likewise.
69691         * posix/glob64.c: Likewise.
69692         * posix/nanosleep.c: Likewise.
69693         * posix/pathconf.c: Likewise.
69694         * posix/pause.c: Likewise.
69695         * posix/posix_madvise.c: Likewise.
69696         * posix/pread.c: Likewise.
69697         * posix/pread64.c: Likewise.
69698         * posix/pwrite.c: Likewise.
69699         * posix/pwrite64.c: Likewise.
69700         * posix/sched_getaffinity.c: Likewise.
69701         * posix/sched_getp.c: Likewise.
69702         * posix/sched_gets.c: Likewise.
69703         * posix/sched_primax.c: Likewise.
69704         * posix/sched_primin.c: Likewise.
69705         * posix/sched_rr_gi.c: Likewise.
69706         * posix/sched_setaffinity.c: Likewise.
69707         * posix/sched_setp.c: Likewise.
69708         * posix/sched_sets.c: Likewise.
69709         * posix/sched_yield.c: Likewise.
69710         * posix/setgid.c: Likewise.
69711         * posix/setlogin.c: Likewise.
69712         * posix/setpgid.c: Likewise.
69713         * posix/setresgid.c: Likewise.
69714         * posix/setresuid.c: Likewise.
69715         * posix/setsid.c: Likewise.
69716         * posix/setuid.c: Likewise.
69717         * posix/sleep.c: Likewise.
69718         * posix/spawni.c: Likewise.
69719         * posix/sysconf.c: Likewise.
69720         * posix/times.c: Likewise.
69721         * posix/wait.c: Likewise.
69722         * posix/wait3.c: Likewise.
69723         * posix/wait4.c: Likewise.
69724         * posix/waitpid.c: Likewise.
69725         * resolv/gai_sigqueue.c: Likewise.
69726         * resource/getpriority.c: Likewise.
69727         * resource/getrlimit.c: Likewise.
69728         * resource/getrusage.c: Likewise.
69729         * resource/nice.c: Likewise.
69730         * resource/setpriority.c: Likewise.
69731         * resource/setrlimit.c: Likewise.
69732         * resource/ulimit.c: Likewise.
69733         * rt/aio_cancel.c: Likewise.
69734         * rt/aio_fsync.c: Likewise.
69735         * rt/aio_read.c: Likewise.
69736         * rt/aio_sigqueue.c: Likewise.
69737         * rt/aio_suspend.c: Likewise.
69738         * rt/aio_write.c: Likewise.
69739         * rt/clock_getres.c: Likewise.
69740         * rt/clock_gettime.c: Likewise.
69741         * rt/clock_nanosleep.c: Likewise.
69742         * rt/clock_settime.c: Likewise.
69743         * rt/lio_listio.c: Likewise.
69744         * rt/mq_close.c: Likewise.
69745         * rt/mq_getattr.c: Likewise.
69746         * rt/mq_notify.c: Likewise.
69747         * rt/mq_open.c: Likewise.
69748         * rt/mq_receive.c: Likewise.
69749         * rt/mq_send.c: Likewise.
69750         * rt/mq_setattr.c: Likewise.
69751         * rt/mq_timedreceive.c: Likewise.
69752         * rt/mq_timedsend.c: Likewise.
69753         * rt/mq_unlink.c: Likewise.
69754         * rt/shm_open.c: Likewise.
69755         * rt/shm_unlink.c: Likewise.
69756         * rt/timer_create.c: Likewise.
69757         * rt/timer_delete.c: Likewise.
69758         * rt/timer_getoverr.c: Likewise.
69759         * rt/timer_gettime.c: Likewise.
69760         * rt/timer_settime.c: Likewise.
69761         * setjmp/__longjmp.c: Likewise.
69762         * setjmp/setjmp.c: Likewise.
69763         * signal/kill.c: Likewise.
69764         * signal/killpg.c: Likewise.
69765         * signal/raise.c: Likewise.
69766         * signal/sigaction.c: Likewise.
69767         * signal/sigaltstack.c: Likewise.
69768         * signal/sigblock.c: Likewise.
69769         * signal/sigignore.c: Likewise.
69770         * signal/sigintr.c: Likewise.
69771         * signal/signal.c: Likewise.
69772         * signal/sigpause.c: Likewise.
69773         * signal/sigpending.c: Likewise.
69774         * signal/sigqueue.c: Likewise.
69775         * signal/sigreturn.c: Likewise.
69776         * signal/sigset.c: Likewise.
69777         * signal/sigsetmask.c: Likewise.
69778         * signal/sigstack.c: Likewise.
69779         * signal/sigsuspend.c: Likewise.
69780         * signal/sigtimedwait.c: Likewise.
69781         * signal/sigvec.c: Likewise.
69782         * signal/sigwait.c: Likewise.
69783         * signal/sigwaitinfo.c: Likewise.
69784         * signal/sysv_signal.c: Likewise.
69785         * socket/accept.c: Likewise.
69786         * socket/accept4.c: Likewise.
69787         * socket/bind.c: Likewise.
69788         * socket/connect.c: Likewise.
69789         * socket/getpeername.c: Likewise.
69790         * socket/getsockname.c: Likewise.
69791         * socket/getsockopt.c: Likewise.
69792         * socket/isfdtype.c: Likewise.
69793         * socket/listen.c: Likewise.
69794         * socket/recv.c: Likewise.
69795         * socket/recvfrom.c: Likewise.
69796         * socket/recvmsg.c: Likewise.
69797         * socket/send.c: Likewise.
69798         * socket/sendmsg.c: Likewise.
69799         * socket/sendto.c: Likewise.
69800         * socket/setsockopt.c: Likewise.
69801         * socket/shutdown.c: Likewise.
69802         * socket/sockatmark.c: Likewise.
69803         * socket/socket.c: Likewise.
69804         * socket/socketpair.c: Likewise.
69805         * stdio-common/ctermid.c: Likewise.
69806         * stdio-common/cuserid.c: Likewise.
69807         * stdio-common/remove.c: Likewise.
69808         * stdio-common/rename.c: Likewise.
69809         * stdio-common/renameat.c: Likewise.
69810         * stdio-common/tempname.c: Likewise.
69811         * stdlib/getcontext.c: Likewise.
69812         * stdlib/makecontext.c: Likewise.
69813         * stdlib/setcontext.c: Likewise.
69814         * stdlib/swapcontext.c: Likewise.
69815         * stdlib/system.c: Likewise.
69816         * streams/fattach.c: Likewise.
69817         * streams/fdetach.c: Likewise.
69818         * streams/getmsg.c: Likewise.
69819         * streams/getpmsg.c: Likewise.
69820         * streams/putmsg.c: Likewise.
69821         * streams/putpmsg.c: Likewise.
69822         * sysdeps/unix/bsd/getpt.c: Likewise.
69823         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
69824         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
69825         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
69826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
69827         Likewise.
69828         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
69829         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
69830         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
69831         * sysvipc/msgctl.c: Likewise.
69832         * sysvipc/msgget.c: Likewise.
69833         * sysvipc/msgrcv.c: Likewise.
69834         * sysvipc/msgsnd.c: Likewise.
69835         * sysvipc/semctl.c: Likewise.
69836         * sysvipc/semget.c: Likewise.
69837         * sysvipc/semop.c: Likewise.
69838         * sysvipc/semtimedop.c: Likewise.
69839         * sysvipc/shmat.c: Likewise.
69840         * sysvipc/shmctl.c: Likewise.
69841         * sysvipc/shmdt.c: Likewise.
69842         * sysvipc/shmget.c: Likewise.
69843         * termios/tcdrain.c: Likewise.
69844         * termios/tcflow.c: Likewise.
69845         * termios/tcflush.c: Likewise.
69846         * termios/tcgetattr.c: Likewise.
69847         * termios/tcgetpgrp.c: Likewise.
69848         * termios/tcsendbrk.c: Likewise.
69849         * termios/tcsetattr.c: Likewise.
69850         * termios/tcsetpgrp.c: Likewise.
69851         * time/adjtime.c: Likewise.
69852         * time/clock.c: Likewise.
69853         * time/getitimer.c: Likewise.
69854         * time/gettimeofday.c: Likewise.
69855         * time/setitimer.c: Likewise.
69856         * time/settimeofday.c: Likewise.
69857         * time/stime.c: Likewise.
69858         * time/time.c: Likewise.
69860 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
69862         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
69863         /usr/old/bin.
69865         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
69866         instead of spaces.
69867         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
69869 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
69871         [BZ #14796]
69872         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
69873         FE_TONEAREST before applying Dekker multiplication and Knuth
69874         addition.  Clear inexact exceptions and check for exact zero
69875         results afterwards.
69876         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69877         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
69878         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69879         * math/libm-test.inc (fma_test): Add more tests.
69880         (fma_test_towardzero): Likewise.
69881         (fma_test_downward): Likewise.
69882         (fma_test_upward): Likewise.
69883         * sysdeps/generic/math_private.h (default_libc_fesetround): New
69884         function.
69885         (libc_fesetround): New macro.
69886         (libc_fesetroundf): Likewise.
69887         (libc_fesetroundl): Likewise.
69888         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
69889         function.
69890         (libc_fesetround_387): Likewise.
69891         (libc_fesetroundf): New macro.
69892         (libc_fesetround): Likewise.
69893         (libc_fesetroundl): Likewise.
69894         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
69895         function.
69896         (libc_fesetroundf): New macro.
69897         (libc_fesetround): Likewise.
69898         (libc_fesetroundl): Likewise.
69899         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
69900         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
69901         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
69902         libm_hidden_ver.
69903         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
69904         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
69905         libm_hidden_def.
69906         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
69907         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
69908         libm_hidden_ver.
69909         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
69910         libm_hidden_def.
69912         [BZ #3439]
69913         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
69914         integer constant usable in #if and use that to give value to enum
69915         constant.
69916         (FE_DIVBYZERO): Likewise.
69917         (FE_UNDERFLOW): Likewise.
69918         (FE_OVERFLOW): Likewise.
69919         (FE_INVALID): Likewise.
69920         (FE_INVALID_SNAN): Likewise.
69921         (FE_INVALID_ISI): Likewise.
69922         (FE_INVALID_IDI): Likewise.
69923         (FE_INVALID_ZDZ): Likewise.
69924         (FE_INVALID_IMZ): Likewise.
69925         (FE_INVALID_COMPARE): Likewise.
69926         (FE_INVALID_SOFTWARE): Likewise.
69927         (FE_INVALID_SQRT): Likewise.
69928         (FE_INVALID_INTEGER_CONVERSION): Likewise.
69929         (FE_TONEAREST): Likewise.
69930         (FE_TOWARDZERO): Likewise.
69931         (FE_UPWARD): Likewise.
69932         (FE_DOWNWARD): Likewise.
69933         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
69934         (FE_DIVBYZERO): Likewise.
69935         (FE_OVERFLOW): Likewise.
69936         (FE_UNDERFLOW): Likewise.
69937         (FE_INEXACT): Likewise.
69938         (FE_TONEAREST): Likewise.
69939         (FE_DOWNWARD): Likewise.
69940         (FE_UPWARD): Likewise.
69941         (FE_TOWARDZERO): Likewise.
69942         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
69943         (FE_UNDERFLOW): Likewise.
69944         (FE_OVERFLOW): Likewise.
69945         (FE_DIVBYZERO): Likewise.
69946         (FE_INVALID): Likewise.
69947         (FE_TONEAREST): Likewise.
69948         (FE_TOWARDZERO): Likewise.
69949         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
69950         (FE_OVERFLOW): Likewise.
69951         (FE_UNDERFLOW): Likewise.
69952         (FE_DIVBYZERO): Likewise.
69953         (FE_INEXACT): Likewise.
69954         (FE_TONEAREST): Likewise.
69955         (FE_TOWARDZERO): Likewise.
69956         (FE_UPWARD): Likewise.
69957         (FE_DOWNWARD): Likewise.
69958         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
69959         (FE_DIVBYZERO): Likewise.
69960         (FE_OVERFLOW): Likewise.
69961         (FE_UNDERFLOW): Likewise.
69962         (FE_INEXACT): Likewise.
69963         (FE_TONEAREST): Likewise.
69964         (FE_DOWNWARD): Likewise.
69965         (FE_UPWARD): Likewise.
69966         (FE_TOWARDZERO): Likewise.
69968 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
69970         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
69972 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
69974         * scripts/cross-test-ssh.sh (command): Use newlines to separate
69975         commands.  Quote $PWD.
69976         (blacklist_exports): Don't use remove_newlines.  Replace "declare
69977         -x" by "export".
69978         (remove_newlines): Remove.
69980 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
69982         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
69983         * stdlib/stdlib.h (atof): Moved to ...
69984         * include/bits/stdlib-float.h: Here.  New file.
69985         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
69986         * stdlib/bits/stdlib-float.h: New file.
69987         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
69988         -mno-sse -mno-mmx.
69989         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
69990         <xmmintrin.h>.
69992 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
69994         * conform/conformtest.pl (@headers): Add fenv.h.
69995         * conform/data/fenv.h-data: New file.
69996         * include/fenv.h [_ISOMAC]: Disable all contents of file except
69997         include of <math/fenv.h>.
69999         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
70000         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
70001         && !UNIX98].  Enables tests for XOPEN2K8.
70002         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
70003         POSIX2008]: Likewise.
70005         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
70006         (struct rusage): Do not expect type or its members.
70008         [BZ #3439]
70009         * math/math.h (FP_NAN): Define macro to integer constant usable in
70010         #if and use that to give value to enum constant.
70011         (FP_INFINITE): Likewise.
70012         (FP_ZERO): Likewise.
70013         (FP_SUBNORMAL): Likewise.
70014         (FP_NORMAL): Likewise.
70016 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
70018         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
70019         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
70020         arguments.
70022 2012-11-02  Roland McGrath  <roland@hack.frob.com>
70024         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
70025         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
70026         autoconf-time if not.
70027         * configure.in: Remove AC_PREREQ.
70029 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70031         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
70032         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
70033         of the internal implementation.
70035 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
70037         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
70038         except include of <misc/sys/syslog.h>.
70040 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
70042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
70043         function returns with a NULL context exit with zero.
70045 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70047         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
70049 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
70051         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
70052         (run_program_cmd): This.
70053         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
70054         (tst_langinfo): New variable.  Use it.
70056 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
70058         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
70059         floating point opcodes.
70061 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
70063         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
70064         variable.
70066         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
70068         * sysdeps/mach/hurd/powerpc: Remove directory.
70069         * sysdeps/mach/powerpc: Likewise.
70071 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
70073         * scripts/check-local-headers.sh: Ignore c++ headers.
70075 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
70077         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
70078         __libc_cleanup_region_start argument.
70080 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
70082         [BZ #14784]
70083         [BZ #14785]
70084         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
70085         x * y using scaling, not as x * y + z.
70086         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
70087         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70088         * math/libm-test.inc (fma_test): Add more tests.
70089         (fma_test_towardzero): Likewise.
70090         (fma_test_downward): Likewise.
70091         (fma_test_upward): Likewise.
70093 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
70095         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
70097 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
70099         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
70100         New variable.
70102 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
70104         * rt/tst-shm.c (worker): Correct checking for mmap failure.
70106 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
70108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70109         Fix sort order.
70110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70111         Likewise.
70113 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70116         Fix the order of the list for glibc 2.17.
70117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70118         Likewise.
70120 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
70122         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70124 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
70126         [BZ #14610]
70127         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
70128         for low part of x being zero before using __atanl (y).
70129         * math/libm-test.inc (atan2_test): Add another test.
70131         * manual/install.texi (Configuring and compiling): Document
70132         general use of test-wrapper and test-wrapper-env.
70133         * INSTALL: Regenerated.
70135         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
70136         (__fma): Do not extract and scale down low bits on after-rounding
70137         systems when result rounded to normal precision would have normal
70138         exponent.
70139         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
70140         (__fmal): Do not extract and scale down low bits on after-rounding
70141         systems when result rounded to normal precision would have normal
70142         exponent.
70143         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
70144         (__fmal): Do not extract and scale down low bits on after-rounding
70145         systems when result rounded to normal precision would have normal
70146         exponent.
70147         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
70148         macro.
70149         (fma_test): Add more tests.
70150         (fma_test_towardzero): Likewise.
70151         (fma_test_downward): Likewise.
70152         (fma_test_upward): Likewise.
70154 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
70156         * sysdeps/i386/tininess.h: Renamed to ...
70157         * sysdeps/x86/tininess.h: This.
70158         * sysdeps/x86_64/tininess.h: Removed.
70160 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
70162         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
70163         input.  Use $(build-program-cmd).
70164         ($(objpfx)tst-array1-static.out): Likewise.
70165         ($(objpfx)tst-array2.out): Likewise.
70166         ($(objpfx)tst-array3.out): Likewise.
70167         ($(objpfx)tst-array4.out): Likewise.
70168         ($(objpfx)tst-array5.out): Likewise.
70169         ($(objpfx)tst-array5-static.out): Likewise.
70171 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
70173         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
70174         if defined.
70176         * nss/nsswitch.h (nss_interface_function): Provide new
70177         macro for use with NSS functions.
70178         * grp/initgroups.c: Use new macro.
70179         * nss/getXXbyYY.c: Likewise.
70180         * nss/getXXbyYY_r.c: Likewise.
70181         * nss/getXXent.c: Likewise.
70182         * nss/getXXent_r.c: Likewise.
70183         * sysdeps/posix/getaddrinfo.c: Likewise.
70185 2012-10-30  Andreas Jaeger  <aj@suse.de>
70187         * po/ru.po: Update Russion translation from translation project.
70189 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
70191         [BZ #14152]
70192         [BZ #14783]
70193         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
70194         result and shift together with sticky bit instead of replicating
70195         round-to-nearest rounding.
70196         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
70197         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70198         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
70199         missing underflow exceptions.
70200         (fma_test_towardzero): Add more tests.
70201         (fma_test_downward): Likewise.
70202         (fma_test_upward): Likewise.
70204         [BZ #14047]
70205         * sysdeps/generic/tininess.h: New file.
70206         * sysdeps/i386/tininess.h: Likewise.
70207         * sysdeps/sh/tininess.h: Likewise.
70208         * sysdeps/x86_64/tininess.h: Likewise.
70209         * stdlib/tst-strtod-underflow.c: Likewise.
70210         * stdlib/tst-tininess.c: Likewise.
70211         * stdlib/strtod_l.c: Include <tininess.h>.
70212         (round_and_return): Do not set errno for exact underflow cases.
70213         Force an underflow exception when setting errno for underflow.
70214         Determine underflow based on rounding to normal precision if
70215         TININESS_AFTER_ROUNDING.
70216         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
70217         ERANGE for exact underflow cases.
70218         * stdlib/Makefile (tests): Add tst-tininess and
70219         tst-strtod-underflow.
70220         ($(objpfx)tst-tininess): Use $(link-libm).
70221         ($(objpfx)tst-strtod-underflow): Likewise.
70223 2012-10-30  Andreas Jaeger  <aj@suse.de>
70225         [BZ #14767]
70226         * elf/Makefile (tests): Remove conditional for have-initfini-array
70227         since this is now always required and the variable does not exist
70228         anymore.
70229         (tests-static): Likewise.
70230         (modules-names): Likewise.
70232         * po/eo.po: Add Esperanto translation from translation project.
70234         * elf/tst-array1.c (fini_array): Make writeable so that it can be
70235         merged with constructor/destructor.
70236         (init_array): Likewise.
70237         * elf/tst-array2dep.c (fini_array): Likewise.
70238         (init_array): Likewise.
70240 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
70242         * manual/message.texi: Delete @cartouche tags.
70244 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
70246         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
70247         EOPNOTSUPP.
70248         * sysdeps/mach/hurd/fsync.c: Likewise.
70250         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
70251         [_POSIX_REALTIME_SIGNALS]: Change condition to
70252         [_POSIX_REALTIME_SIGNALS > 0].
70254 2012-10-27  Andreas Jaeger  <aj@suse.de>
70256         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
70257         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
70258         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
70259         [__WORDSIZE != 64]: Likewise.
70261 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
70263         *  iconvdata/tst-table.sh: Remove ${SHELL}.
70264         *  iconvdata/tst-tables.sh: Likewise.
70266 2012-10-25  David S. Miller  <davem@davemloft.net>
70268         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70269         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
70270         of strtoull.
70272         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
70273         ifunc-impl-list.c
70274         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
70275         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
70276         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
70277         file.
70279 2012-10-25  Roland McGrath  <roland@hack.frob.com>
70281         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70282         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
70283         __getdirentries.
70285 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
70286             Jim Blandy  <jimb@codesourcery.com>
70288         * scripts/cross-test-ssh.sh: New file.
70289         * manual/install.texi (Configuring and compiling): Document use of
70290         cross-test-ssh.sh.
70291         * INSTALL: Regenerated.
70293 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
70295         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
70296         EOPNOTSUPP.
70298 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
70300         * Makeconfig (run-program-prefix): Fix comment.
70302 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
70303             Jim Blandy  <jimb@codesourcery.com>
70305         * Makeconfig (test-wrapper): New variable,
70306         (test-wrapper-env): Likewise.
70307         [$(cross-compiling) = yes && $(test-wrapper) != ""]
70308         (run-built-tests): Define to yes.
70309         (run-program-prefix): Use $(test-wrapper).
70310         (built-program-cmd): Likewise.
70311         * Rules (make-test-out): Use $(test-wrapper-env) and
70312         $(host-built-program-cmd).
70313         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
70314         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
70315         tst-pathopt.sh.
70316         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
70317         $(test-wrapper-env) to tst-rtld-load-self.sh.
70318         ($(objpfx)order2.out): Use $(test-wrapper).
70319         ($(objpfx)tst-initorder.out): Likewise.
70320         ($(objpfx)tst-initorder2.out): Likewise.
70321         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
70322         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
70323         (test_wrapper_env): New variable.  Use it to run ld.so.
70324         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
70325         Use it to run ld.so.
70326         (test_wrapper_env): Likewise.
70327         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
70328         $(test-wrapper) to run-iconv-test.sh.
70329         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
70330         (ICONV): Use $test_wrapper.
70331         * posix/Makefile ($(objpfx)globtest.out): Pass
70332         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
70333         globtest.sh, not $(run-program-prefix).
70334         * posix/globtest.sh (run_via_rtld_prefix): New variable.
70335         (test_wrapper): Likewise.
70336         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
70337         set together with run_via_rtld_prefix.
70338         (run_program_prefix): Define in terms of test_wrapper and
70339         run_via_rtld_prefix.
70341 2012-10-24  Roland McGrath  <roland@hack.frob.com>
70343         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
70344         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
70345         Targets removed.
70347         [BZ #14743]
70348         * include/time.h: Remove librt_hidden_proto (clock_gettime).
70349         Declare __clock_getres, __clock_gettime, __clock_settime,
70350         __clock_nanosleep, and __clock_getcpuclockid.
70351         * rt/clock_gettime.c: Define __clock_gettime as an alias.
70352         Remove librt_hidden_def (clock_gettime).
70353         * sysdeps/unix/clock_gettime.c: Likewise.
70354         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
70355         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
70356         * rt/clock_getres.c: Define __clock_getres as an alias.
70357         * sysdeps/posix/clock_getres.c: Likewise.
70358         * rt/clock_settime.c: Define __clock_settime as an alias.
70359         * sysdeps/unix/clock_settime.c: Likewise.
70360         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
70361         * sysdeps/unix/clock_nanosleep.c: Likewise.
70362         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
70363         * rt/clock-compat.c: New file.
70364         * rt/Makefile (librt-routines): Add clock-compat and move
70365         $(clock-routines) to ...
70366         (routines): ... here, new variable.
70367         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
70368         Don't add get_clockfreq here.
70369         * rt/Versions (libc: GLIBC_2.17): New version set.
70370         Add clock_* symbols here.
70371         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
70372         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
70373         (GLIBC_2.17): Add clock_* symbols.
70374         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
70375         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
70376         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
70377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70378         Likewise.
70379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70380         Likewise.
70381         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
70382         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
70383         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
70384         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
70385         * NEWS: Mention the move.
70387         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
70388         Use __open, __read, __close rather than their public counterparts.
70389         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70390         (__get_clockfreq_via_cpuinfo): Likewise.
70391         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
70392         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
70394         * config.h.in (HAVE_IFUNC): New #undef.
70395         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
70396         was successful.
70397         * configure: Regenerated.
70399 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
70401         * configure.in: Move READELF check to start of file.
70402         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
70403         libc_cv_asm_gnu_indirect_function in the process.
70404         * configure: Regenerated.
70406 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
70408         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
70409         send the output to /dev/null.
70410         (libc_cv_cc_with_libunwind): Likewise.
70411         (libc_cv_as_noexecstack): Likewise.
70412         * configure: Regenerate.
70414 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
70416         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
70418         * posix/globtest.sh (TMPDIR): Do not set.
70419         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
70420         (testout): Likewise.
70422 2012-10-24  Andreas Jaeger  <aj@suse.de>
70424         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
70425         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
70426         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
70427         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
70428         posix_fadvise64, posix_fallocate64.
70430         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
70431         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
70432         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
70433         Likewise.
70434         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
70435         Likewise.
70436         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
70438         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
70439         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
70440         <bits/fcntl-linux.h>.
70441         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
70443         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
70444         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
70445         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
70446         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
70447         [__WORDSIZE != 64]: Likewise.
70449 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
70451         * Makeconfig (run-built-tests): New variable.
70452         * Rules [$(cross-compiling) = yes]: Change condition to
70453         [$(run-built-tests) = no].
70454         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
70455         to [$(run-built-tests) = yes].
70456         * elf/Makefile [$(cross-compiling) = no]: Likewise.
70457         * grp/Makefile [$(cross-compiling) = no]: Likewise.
70458         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
70459         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
70460         * intl/Makefile [$(cross-compiling) = no]: Likewise.
70461         * io/Makefile [$(cross-compiling) = no]: Likewise.
70462         * libio/Makefile [$(cross-compiling) = no]: Likewise.
70463         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
70464         * misc/Makefile [$(cross-compiling) = no]: Likewise.
70465         * posix/Makefile [$(cross-compiling) = no]: Likewise.
70466         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
70467         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
70468         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
70469         * string/Makefile [$(cross-compiling) = no]: Likewise.
70471         * posix/Makefile ($(objpfx)globtest.out): Pass
70472         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
70473         $(rtld-installed-name).
70474         * posix/globtest.sh (elf_objpfx): Remove variable.
70475         (rtld_installed_name): Likewise.
70476         (library_path): Likewise.
70477         (run_program_prefix): New variable.  Use for running globtest
70478         binary.
70480 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
70481             Joseph Myers  <joseph@codesourcery.com>
70483         * Makeconfig (host-built-program-cmd): New variable.
70484         * elf/Makefile (tst-stackguard1-ARGS): Use
70485         $(host-built-program-cmd).
70486         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
70487         (tst-spawn-ARGS): Likewise.
70488         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
70490 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
70491             Jim Blandy  <jimb@codesourcery.com>
70493         * Makeconfig (run-via-rtld-prefix): New variable.
70494         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
70495         (built-program-cmd): Likewise.
70497 2012-10-22  Andreas Jaeger  <aj@suse.de>
70499         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
70500         __O_RSYNC if it exists, otherwise to O_SYNC.
70502 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
70503             Joseph Myers  <joseph@codesourcery.com>
70505         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
70506         /dev/null.
70507         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
70508         from /dev/null
70509         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
70510         /dev/null.
70512 2012-10-22  Andreas Jaeger  <aj@suse.de>
70514         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
70515         Define always.
70516         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
70518         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70519         bits/fcntl-linux.h.
70521         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
70522         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
70524         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
70525         to __O_LARGEFILE.
70526         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
70527         to __O_LARGEFILE.
70529 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
70530             Joseph Myers  <joseph@codesourcery.com>
70532         * config.make.in (NM): New variable.
70534 2012-10-21  Andreas Jaeger  <aj@suse.de>
70536         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
70537         definitions and declarations that are provided by
70538         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
70540 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
70542         [BZ #14683]
70543         * elf/Makefile (tests-static): Add tst-leaks1-static.
70544         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
70545         ($(objpfx)tst-leaks1-static): New rule.
70546         ($(objpfx)tst-leaks1-static-mem): Likewise.
70547         (tst-leaks1-static-ENV): New macro.
70548         * elf/dl-open.c (dl_open_worker): Check the main application
70549         only if SHARED is defined.
70550         * elf/tst-leaks1-static.c: New file.
70552 2012-10-20  Andreas Jaeger  <aj@suse.de>
70554         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
70555         generic values for Linux.
70556         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
70557         and declarations that are provided by <bits/fcntl-linux.h> and
70558         include <bits/fcntl-linux.h>.
70559         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70560         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70562 2012-10-20  Roland McGrath  <roland@hack.frob.com>
70564         * io/fcntl.h: Move include of <bits/types.h> to the top and
70565         include it unconditionally.
70567 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
70569         * wcsmbs/Makefile (tests-ifunc): New variable.
70570         (tests): Add $(tests-ifunc).
70571         * wcsmbs/test-wcschr-ifunc.c: New file.
70572         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
70573         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
70574         * wcsmbs/test-wcslen-ifunc.c: Likewise.
70575         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
70576         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
70578         * string/Makefile (tests-ifunc): New variable.
70579         (tests): Add $(tests-ifunc).
70580         * string/test-memccpy.c (TEST_NAME): New macro.
70581         * string/test-memchr.c (TEST_NAME): Likewise.
70582         * string/test-memcmp.c (TEST_NAME): Likewise.
70583         * string/test-memcpy.c (TEST_NAME): Likewise.
70584         * string/test-memmem.c (TEST_NAME): Likewise.
70585         * string/test-memmove.c (TEST_NAME): Likewise.
70586         * string/test-memset.c (TEST_NAME): Likewise.
70587         * string/test-rawmemchr.c (TEST_NAME): Likewise.
70588         * string/test-stpcpy.c (TEST_NAME): Likewise.
70589         * string/test-stpncpy.c (TEST_NAME): Likewise.
70590         * string/test-strcasecmp.c (TEST_NAME): Likewise.
70591         * string/test-strcasestr.c (TEST_NAME): Likewise.
70592         * string/test-strcat.c (TEST_NAME): Likewise.
70593         * string/test-strchr.c (TEST_NAME): Likewise.
70594         * string/test-strcmp.c(TEST_NAME): Likewise.
70595         * string/test-strcpy.c (TEST_NAME): Likewise.
70596         * string/test-strcspn.c (TEST_NAME): Likewise.
70597         * string/test-strlen.c (TEST_NAME): Likewise.
70598         * string/test-strncasecmp.c (TEST_NAME): Likewise.
70599         * string/test-strncmp.c (TEST_NAME): Likewise.
70600         * string/test-strncpy.c (TEST_NAME): Likewise.
70601         * string/test-strnlen.c (TEST_NAME): Likewise.
70602         * string/test-strpbrk.c (TEST_NAME): Likewise.
70603         * string/test-strrchr.c (TEST_NAME): Likewise.
70604         * string/test-strspn.c (TEST_NAME): Likewise.
70605         * string/test-strstr.c (TEST_NAME): Likewise.
70606         * string/test-bcopy-ifunc.c: New file.
70607         * string/test-bzero-ifunc.c: Likewise.
70608         * string/test-memccpy-ifunc.c: Likewise.
70609         * string/test-memchr-ifunc.c: Likewise.
70610         * string/test-memcmp-ifunc.c: Likewise.
70611         * string/test-memcpy-ifunc.c: Likewise.
70612         * string/test-memmem-ifunc.c: Likewise.
70613         * string/test-memmove-ifunc.c: Likewise.
70614         * string/test-mempcpy-ifunc.c: Likewise.
70615         * string/test-memset-ifunc.c: Likewise.
70616         * string/test-rawmemchr-ifunc.c: Likewise.
70617         * string/test-stpcpy-ifunc.c: Likewise.
70618         * string/test-stpncpy-ifunc.c: Likewise.
70619         * string/test-strcasecmp-ifunc.c: Likewise.
70620         * string/test-strcasestr-ifunc.c: Likewise.
70621         * string/test-strcat-ifunc.c: Likewise.
70622         * string/test-strchr-ifunc.c: Likewise.
70623         * string/test-strchrnul-ifunc.c: Likewise.
70624         * string/test-strcmp-ifunc.c: Likewise.
70625         * string/test-strcpy-ifunc.c: Likewise.
70626         * string/test-strcspn-ifunc.c: Likewise.
70627         * string/test-strlen-ifunc.c: Likewise.
70628         * string/test-strncasecmp-ifunc.c: Likewise.
70629         * string/test-strncat-ifunc.c: Likewise.
70630         * string/test-strncmp-ifunc.c: Likewise.
70631         * string/test-strncpy-ifunc.c: Likewise.
70632         * string/test-strnlen-ifunc.c: Likewise.
70633         * string/test-strpbrk-ifunc.c: Likewise.
70634         * string/test-strrchr-ifunc.c: Likewise.
70635         * string/test-strspn-ifunc.c: Likewise.
70636         * string/test-strstr-ifunc.c: Likewise.
70638         * debug/Makefile (tests-ifunc): New variable.
70639         (tests): Add $(tests-ifunc).
70640         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
70641         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
70642         * debug/test-stpcpy_chk-ifunc.c: New file.
70643         * debug/test-strcpy_chk-ifunc.c: Likewise.
70645 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
70647         [BZ #13601]
70648         * elf/dl-load.c (open_verify): Retry read if the entire ELF
70649         header is not read in.
70651 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
70653         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
70654         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
70655         directly.  Pass built executable to script as
70656         $(built-program-cmd).
70657         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
70658         $testprogram without using LD_LIBRARY_PATH and $ldso.
70660         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
70661         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
70662         $(rtld-installed-name).
70663         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
70664         (rtld_installed_name): Likewise.
70665         (library_path): Likewise.
70666         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
70667         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
70668         $(run-program-prefix) to tst-tables.sh.
70669         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
70670         it to run tst-table-from and tst-table-to.
70671         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
70672         Pass it to tst-table.sh.
70673         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
70674         $(run-program-prefix) to tst-gettext.sh.
70675         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
70676         tst-translit.sh.
70677         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
70678         tst-gettext2.sh.
70679         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
70680         to run tst-gettext.
70681         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
70682         to run tst-gettext2.
70683         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
70684         to run tst-translit.
70685         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
70686         $(run-program-prefix) to tst-mtrace.sh.
70687         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
70688         to run tst-mtrace.
70689         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
70690         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
70691         $(rtld-installed-name).
70692         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
70693         (rtld_installed_name): Likewise.
70694         (run_program_prefix): New variable.  Use it to run wordexp-test.
70696         * Makeconfig (ARCH): Remove all definitions.
70697         (machine): Likewise.
70698         [ARCH]: Remove conditional code.
70699         [!objdir]: Give error.
70700         [!objdir] (objpfx): Remove.
70701         [!objdir] (common-objpfx): Likewise.
70702         [!objdir] (common-objdir): Likewise.
70703         * configure.in (config_makefile): Remove.  Hardcode Makefile in
70704         AC_CONFIG_FILES call.
70705         * configure: Regenerated.
70707         [BZ #13888]
70708         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
70709         or TMPDIR.
70710         (testout): Likewise.
70712         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
70713         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
70714         $(rtld-installed-name).
70715         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
70716         (rtld_installed_name): Likewise.
70717         (runit): Remove function.
70718         (run_getconf): New variable,  Use it for running getconf binary.
70720 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
70722         [BZ #14716]
70723         * string/test-memmem.c (check_result): New function.
70724         (do_one_test): Use it.
70725         (check1): New function.
70726         (test_main): Use it.
70728 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
70730         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
70732 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
70734         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
70735         (_G_LSEEK64): Likewise.
70736         (_G_MMAP64): Likewise.
70737         (_G_FSTAT64): Likewise.
70738         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
70739         (_G_LSEEK64): Likewise.
70740         (_G_MMAP64): Likewise.
70741         (_G_FSTAT64): Likewise.
70742         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
70743         unconditional.  Call __mmap64 directly.
70744         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
70745         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
70746         __lseek64 directly.
70747         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
70748         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
70749         __mmap64 directly.
70750         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
70751         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
70752         __lseek64 directly.
70753         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
70754         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
70755         __lseek64 directly.
70756         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
70757         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
70758         __lseek64 directly.
70759         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
70760         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
70761         __fxstat64 directly.
70762         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
70763         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
70764         unconditional.
70765         (freopen64) [!_G_OPEN64]: Remove conditional code.
70766         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
70767         unconditional.
70768         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
70769         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
70770         unconditional.
70771         (ftello64) [!_G_LSEEK64]: Remove conditional code.
70772         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
70773         unconditional.
70774         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
70775         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
70776         unconditional.
70777         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
70778         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
70779         unconditional.
70780         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
70781         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
70782         unconditional.
70783         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
70784         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
70785         unconditional.
70786         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
70788 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
70790         [BZ #12140]
70791         * manual/memory.texi (Malloc Tunable Parameters): Add note
70792         about free list pointers overwriting some perturb bytes.
70793         Wording suggested by Roland McGrath.
70795 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
70797         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
70798         (lgamma_test): Likewise.
70799         (tgamma_test): Likewise.
70801 2012-10-16  Florian Weimer  <fweimer@redhat.com>
70803         [BZ #14700]
70804         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
70805         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
70807 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
70809         * NEWS: Mention BZ #14716.
70810         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
70811         when removing AVAILABLE1_USES_J macro.
70813 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
70815         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
70816         (__bswap_64): __uint64_t for unsigned 64-bit int.
70818 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
70820         * include/string.h (memmem): Declare libc hidden alias.
70821         * string/memmem.c (memmem): Define libc hidden alias.
70822         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
70823         __read, __close instead of open, read, close.
70825 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
70827         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
70828         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
70829         global and hidden.
70830         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
70831         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
70832         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
70833         Likewise.
70834         (__rawmemchr_sse2): Likewise.
70835         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
70836         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
70837         (__strchr_sse2): Likewise.
70838         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
70839         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
70840         (__strcasecmp_sse2): Likewise.
70841         (__strncasecmp_sse2): Likewise.
70842         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
70843         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
70844         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
70845         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
70846         (__strrchr_sse2): Likewise.
70847         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
70848         ifunc-impl-list.c.
70849         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
70850         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
70851         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
70852         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
70853         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
70854         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
70855         * sysdeps/x86_64/multiarch/memset.S: Likewise.
70856         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
70857         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
70858         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
70859         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
70860         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
70861         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
70862         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
70863         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
70864         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
70865         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
70866         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
70867         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
70868         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
70869         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
70870         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
70871         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
70872         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
70873         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
70874         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
70875         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
70876         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
70877         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
70878         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
70880         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
70881         global and hidden.
70882         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
70883         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
70884         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
70885         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
70886         Likewise.
70887         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
70888         Likewise.
70889         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
70890         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
70891         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
70892         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
70893         ifunc-impl-list.c.
70894         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
70895         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
70896         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
70897         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
70898         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
70899         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
70900         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
70901         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
70902         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
70903         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
70904         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
70905         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
70906         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
70907         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
70908         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
70909         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
70910         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
70911         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
70912         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
70913         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
70914         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
70915         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
70916         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
70917         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
70918         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
70919         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
70920         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
70921         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
70922         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
70923         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
70924         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
70925         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
70926         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
70927         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
70928         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
70929         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
70930         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
70931         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
70932         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
70933         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
70934         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
70936         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
70937         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
70938         * include/ifunc-impl-list.h: New file.
70939         * misc/ifunc-impl-list.c: Likewise.
70940         * misc/Makefile (routines): Add ifunc-impl-list.
70941         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
70942         * string/test-string.h: Include <ifunc-impl-list.h>.
70943         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
70944         TEST_NAME]: New variables.
70945         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
70946         are defined.
70947         (test_init): Call __libc_ifunc_impl_list to initialize
70948         func_list if TEST_IFUNC and TEST_NAME are defined.
70950         * string/Makefile (strop-tests): Add bcopy and bzero.
70951         * string/test-bcopy.c: New file.
70952         * string/test-bzero.c: Likewise.
70953         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
70954         defined.
70955         * string/test-memset.c: Support bzero test if TEST_BZERO is
70956         defined.
70957         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
70958         __libc_memmove.
70959         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
70960         __libc_memset.
70961         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
70962         of memset.
70964 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
70966         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
70967         * configure: Regenerated.
70969         * Makeconfig (+link-static-before-libc): Don't include
70970         $(link-static-libc).
70972         * libio/libio.h (_IO_pos_t): Remove.
70974 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
70976         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
70977         McGrath.
70979 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
70981         * crypt/crypt-entry.c: Include fips-private.h.
70982         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
70983         * crypt/md5c-test.c (main): Tolerate disabled MD5.
70984         * sysdeps/unix/sysv/linux/fips-private.h: New file.
70985         * sysdeps/generic/fips-private.h: New file, dummy fallback.
70987 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
70989         * crypt/crypt-private.h: Include stdbool.h.
70990         (_ufc_setup_salt_r): Return bool.
70991         * crypt/crypt-entry.c: Include errno.h.
70992         (__crypt_r): Return NULL with EINVAL for bad salt.
70993         * crypt/crypt_util.c (bad_for_salt): New.
70994         (_ufc_setup_salt_r): Check that salt is long enough and within
70995         the specified alphabet.
70996         * crypt/badsalttest.c: New file.
70997         * crypt/Makefile (tests): Add it.
70998         ($(objpfx)badsalttest): New.
71000 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
71002         * NEWS: Add entry for BZ #14602.
71004 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
71006         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
71007         type-generic.
71008         * math/libm-test.inc: Update comment listing what functions and
71009         macros are tested.
71010         (isgreater_test): New function.
71011         (isgreaterequal_test): Likewise.
71012         (isless_test): Likewise.
71013         (islessequal_test): Likewise.
71014         (islessgreater_test): Likewise.
71015         (isunordered_test): Likewise.
71016         (main): Call the new functions.
71018 2012-10-09  Roland McGrath  <roland@hack.frob.com>
71020         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
71021         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
71022         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
71023         * sysdeps/i386/configure: Regenerated.
71024         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
71025         * sysdeps/mach/configure: Regenerated.
71026         * sysdeps/mach/hurd/configure: Regenerated.
71027         * sysdeps/powerpc/configure: Regenerated.
71028         * sysdeps/powerpc/powerpc32/configure: Regenerated.
71029         * sysdeps/powerpc/powerpc64/configure: Regenerated.
71030         * sysdeps/s390/s390-32/configure: Regenerated.
71031         * sysdeps/s390/s390-64/configure: Regenerated.
71032         * sysdeps/sh/configure: Regenerated.
71033         * sysdeps/sparc/configure: Regenerated.
71034         * sysdeps/unix/sysv/linux/configure: Regenerated.
71035         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
71036         * sysdeps/x86_64/configure: Regenerated.
71038         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
71039         defined.  Don't check if MAP is NULL.
71041 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
71043         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
71044         (_G_stat64): Likewise.
71045         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
71046         (_G_stat64): Likewise.
71047         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
71048         instead of struct _G_stat64.
71049         * libio/fileops.c (mmap_remap_check): Likewise.
71050         (decide_maybe_mmap): Likewise.
71051         (_IO_new_file_seekoff): Likewise.
71052         (_IO_file_stat): Likewise.
71053         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
71054         _G_off64_t.
71055         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
71056         instead of struct _G_stat64.
71057         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
71059 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
71061         [BZ #14602]
71062         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
71063         Replace with ...
71064         (CHECK_EOL): New macro.
71065         (two_way_short_needle): Check beginning of haystack for EOL.  Use
71066         CHECK_EOL.
71067         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
71068         Replace with CHECK_EOL.
71069         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
71070         Replace with CHECK_EOL.
71072 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
71074         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
71075         type-generic.
71076         * math/libm-test.inc: Update comment listing what functions and
71077         macros are tested.
71078         (finite_test): New function.
71079         (isinf_test): Likewise.
71080         (isnan_test): Likewise.
71081         (fpclassify_test): Test subnormal input.
71082         (isfinite_test): Likewise.
71083         (isnormal_test): Likewise.
71084         (main): Call the new functions.
71086 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
71088         [BZ #14660]
71089         * Makerules (%.dynsym): Force C locale when running
71090         $(OBJDUMP) --dynamic-syms.
71092 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
71094         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
71095         <stdint.h>.
71097 2012-10-06  David S. Miller  <davem@davemloft.net>
71099         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
71100         upper 32-bits of the length value in %o2 since we use branch-on-register
71101         tests which consider the entire 64-bit register.
71103 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
71105         * string/test-strstr.c (check2): Add a test for page boundary.
71107 2012-10-05  David S. Miller  <davem@davemloft.net>
71109         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
71110         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
71111         file.
71112         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
71113         sysdep_routines.
71114         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
71115         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
71116         and bzero when HWCAP_SPARC_CRYPTO is present.
71118 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
71120         [BZ #14602]
71121         * string/test-strstr.c (check2): New function.
71122         (test_main): Call check2.
71124         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
71125         and bug-strchr1.
71126         * string/bug-strcasestr1.c (do_test): Moved to ...
71127         * string/test-strcasestr.c (check1): Here.  New function.
71128         (do_one_test): Break out result checking code into ...
71129         (check_result): This.  New function.
71130         (do_one_test): Call check_result.
71131         (test_main): Call check1.
71132         * string/bug-strchr1.c (do_test): Moved to ...
71133         * string/test-strchr.c (check1): Here.  New function.
71134         (do_one_test): Break out result checking code into ...
71135         (check_result): This.  New function.
71136         (do_one_test): Call check_result.
71137         (test_main): Call check1.
71138         * string/bug-strstr1.c (main): Moved to ...
71139         * string/test-strstr.c (check1): Here.  New function.
71140         (do_one_test): Break out result checking code into ...
71141         (check_result): This.  New function.
71142         (do_one_test): Call check_result.
71143         (test_main): Call check1.
71144         * string/bug-strcasestr1.c: Removed.
71145         * string/bug-strchr1.c: Likewise.
71146         * string/bug-strstr1.c: Likewise.
71148         * elf/Makefile (dl-routines): Add hwcaps.
71149         * elf/dl-support.c (_dl_important_hwcaps): Removed.
71150         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
71151         (_dl_important_hwcaps): Moved to ...
71152         * elf/dl-hwcaps.c: Here.  New file.
71153         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
71155         [BZ #14557]
71156         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
71157         if IS_IN_rtld isn't defined.
71159         * elf/dl-support.c (_dl_sysinfo_map): New.
71160         Include "get-dynamic-info.h" and "setup-vdso.h".
71161         (_dl_non_dynamic_init): Call setup_vdso.
71162         * elf/dynamic-link.h: Don't include <assert.h>.
71163         (elf_get_dynamic_info): Moved to ...
71164         * elf/get-dynamic-info.h: Here.  New file.
71165         * elf/dynamic-link.h: Include "get-dynamic-info.h".
71166         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
71167         * elf/setup-vdso.h: Here.  New file.
71168         * elf/rtld.c: Include "setup-vdso.h".
71169         (dl_main): Call setup_vdso.
71171 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
71173         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
71174         creal in comment listing functions tested.  List finite, isinf,
71175         isnan, isless, islessequal, isgreater, isgreaterequal,
71176         islessgreater, isunordered, lgamma_r and pow10 as functions and
71177         macros not tested.  Mention which functions not tested are aliases
71178         for other functions.  Fix typo.  Note that signs of NaNs are not
71179         tested.
71181         * scripts/config.guess: Update from config.git.
71182         * scripts/config.sub: Likewise.
71184 2012-10-04  Roland McGrath  <roland@hack.frob.com>
71186         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
71187         * misc/madvise.c (madvise): Renamed to __madvise.
71188         Make madvise a weak alias.
71189         * include/sys/mman.h: Declare __madvise.
71190         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
71191         * sysdeps/unix/syscalls.list
71192         (madvise): Make __madvise the strong name, and madvise a weak alias.
71193         * sysdeps/unix/sysv/linux/syscalls.list
71194         (madvise, mmap): Remove redundant entries.
71195         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
71196         * malloc/malloc.c (mtrim): Likewise.
71197         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
71199 2012-10-03  Roland McGrath  <roland@hack.frob.com>
71201         * sysdeps/mach/hurd/dl-cache.c: File removed.
71202         * config.h.in (USE_LDCONFIG): New #undef.
71203         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
71204         * configure: Regenerated.
71205         * elf/Makefile (dl-routines): Add dl-cache only under
71206         [$(use-ldconfig) = yes].
71207         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
71208         cache on [USE_LDCONFIG].
71209         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
71210         [USE_LDCONFIG].
71211         * elf/rtld.c (dl_main): Likewise.
71213 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
71215         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
71216         _SC_LEVEL4_CACHE_LINESIZE.
71218 2012-10-03  Roland McGrath  <roland@hack.frob.com>
71220         * sysdeps/unix/bsd/confstr.h: File removed.
71222 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
71224         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
71225         sys/sdt-config.h.
71227 2012-10-02  Roland McGrath  <roland@hack.frob.com>
71229         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
71230         Make 'mapoff' field ElfW(Off) rather than off_t.
71232 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
71234         * nscd/Makefile: Remove nscd-cflags and all its users.
71235         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
71236         (CFLAGS-nonlib): Add compiler flags for nscd modules.
71238         [BZ #10631]
71239         * malloc.c (malloc_printerr): Clarify error message.
71241 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
71243         [BZ #14648]
71244         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71245         Set bit_FMA_Usable if FMA is supported.
71246         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
71247         macro.
71248         (bit_FMA4_Usable): Updated.
71249         (index_FMA_Usable): New macro.
71250         (CPUID_FMA): Likewise.
71251         (HAS_FMA): Defined with bit_FMA_Usable.
71253 2012-10-01  Roland McGrath  <roland@hack.frob.com>
71255         * bits/types.h (__swblk_t): Type removed.
71256         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
71257         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
71258         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71259         (__SWBLK_T_TYPE): Likewise.
71260         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
71261         (__SWBLK_T_TYPE): Likewise.
71262         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71263         (__SWBLK_T_TYPE): Likewise.
71264         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71265         (__SWBLK_T_TYPE): Likewise.
71267 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
71268             Honza Horak <hhorak@redhat.com>
71270         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
71271         (xdr_mapname): Use YPMAXMAP as maxsize.
71272         (xdr_peername): Use YPMAXPEER as maxsize.
71273         (xdr_keydat): Use YPAXRECORD as maxsize.
71274         (xdr_valdat): Use YPMAXRECORD as maxsize.
71276 2012-10-01  Roland McGrath  <roland@hack.frob.com>
71278         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
71280         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
71281         * csu/init-first.c: ... here.
71282         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
71283         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
71284         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
71285         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
71286         * sysdeps/i386/init-first.c: File removed.
71287         * sysdeps/sh/init-first.c: File removed.
71289 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
71291         [BZ #14645]
71292         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
71293         if x * y might underflow to zero and z is zero.
71294         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71295         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71296         * math/libm-test.inc (min_subnorm_value): New variable.
71297         (fma_test): Add more tests.
71298         (fma_test_towardzero): Likewise.
71299         (fma_test_downward): Likewise.
71300         (fma_test_upward): Likewise.
71301         (initialize): Set min_subnorm_value.
71303 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
71305         [BZ #14638]
71306         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
71307         0 + 0.
71308         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
71309         mode for addition resulting in exact zero.
71310         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
71311         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
71312         exact 0 + 0.
71313         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
71314         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71315         * math/libm-test.inc (fma_test): Add more tests.
71316         (fma_test_towardzero): New function.
71317         (fma_test_downward): Likewise.
71318         (fma_test_upward): Likewise.
71319         (main): Call the new functions.
71321 2012-09-28  David S. Miller  <davem@davemloft.net>
71323         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
71325 2012-09-28  Roland McGrath  <roland@hack.frob.com>
71327         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
71328         instead of SIGALRM.
71330         * sysdeps/gnu/_G_config.h: Moved to ...
71331         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
71332         * sysdeps/mach/hurd/_G_config.h: Moved to ...
71333         * sysdeps/generic/_G_config.h: ... here.
71335         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
71337         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
71339         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
71340         Conditionalize target on [libnss_test1.so-version].
71342         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
71344         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
71345         (elfobjdir): Move out of conditionals.
71347         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
71348         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
71349         (__nss_lookup_function): Conditionalize label remove_from_tree on
71350         [!DO_STATIC_NSS || SHARED], matching its only use.
71352 2012-09-28  David S. Miller  <davem@davemloft.net>
71354         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
71355         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
71356         file.
71357         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
71358         sysdep_routines.
71359         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
71360         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
71361         when HWCAP_SPARC_CRYPTO is present.
71363 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
71365         * io/tst-mknodat.c: Create a FIFO instead of a socket.
71367 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
71369         [BZ #6530]
71370         * stdio-common/vfprintf.c (process_string_arg): Revert
71371         2000-07-22 change.
71373 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
71375         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
71376         for testcase.
71377         * stdio-common/tst-sprintf.c: Include <locale.h>
71378         (main): Test sprintf's handling of incomplete multibyte
71379         characters.
71381 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
71383         * elf/dl-runtime.c (VERSYMIDX): Removed.
71384         * elf/dl-version.c (VERSYMIDX): Likewise.
71385         * elf/do-rel.h (VERSYMIDX): Likewise.
71386         (VALIDX): Likewise.
71387         * elf/dynamic-link.h (VERSYMIDX): Likewise.
71388         * elf/rtld.c (VALIDX): Likewise.
71389         (ADDRIDX): Likewise.
71390         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
71391         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
71392         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
71393         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
71394         (VALIDX): Likewise.
71395         (ADDRIDX): Likewise.
71397 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
71399         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
71401 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
71403         [BZ #11438]
71404         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
71405         to global scope.
71406         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
71407         addresses are in the same scope as 192.0.2/24.
71408         * posix/gai.conf: Document new scope table defaults.
71410 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
71412         [BZ #5298]
71413         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
71414         for ftell.  Compute offsets from write pointers instead.
71415         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
71417 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
71419         [BZ #14543]
71420         * libio/Makefile (tests): New test case tst-fseek.
71421         * libio/tst-fseek.c: New test case to verify that fseek/ftell
71422         combination works in wide mode.
71423         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
71424         state when the external buffer state changes.
71426 2012-09-27  David S. Miller  <davem@davemloft.net>
71428         [BZ #14376]
71429         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
71430         pass reloc->r_addend in as the 'high' argument to
71431         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
71433         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71435 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
71437         * rt/tst-aio2.c: Include <pthread.h>.
71438         * rt/tst-aio3.c: Likewise.
71440 2012-09-27  Steve Ellcey  <sellcey@mips.com>
71442         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
71444 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
71446         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
71447         contents on [SHARED].
71449 2012-09-26  Marek Polacek  <polacek@redhat.com>
71451         [BZ #14530]
71452         [BZ #13741]
71453         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
71454         for C++ and GCC <4.3 as well as for non GCC compilers.
71456 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
71458         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71460 2012-09-25  Roland McGrath  <roland@hack.frob.com>
71462         * Makefile.in (all, install): Declare with .PHONY.
71463         Reported by Michael Hope <michael.hope@linaro.org>.
71465 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71467         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
71468         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
71469         system header.
71470         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
71471         Likewise.
71472         (sydep_routines): Add the new and the internal functions.
71473         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
71474         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
71475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
71476         (GLIBC_2.17): Add the new function.
71477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
71478         (GLIBC_2.17): Likewise.
71479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
71480         (GLIBC_2.17): Likewise.
71481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
71482         (GLIBC_2.17): Likewise.
71483         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
71485 2012-09-25  Alan Modra  <amodra@gmail.com>
71487         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
71488         Add release barrier before setting once_control to say
71489         initialisation is done.  Add hints on lwarx.  Use macro in
71490         place of isync.
71491         (clear_once_control): Add release barrier.
71493 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
71495         [BZ #13629]
71496         * math/s_clog.c (__clog): Handle more values close to |z| = 1
71497         specially.
71498         * math/s_clog10.c (__clog10): Likewise.
71499         * math/s_clog10f.c (__clog10f): Likewise.
71500         * math/s_clog10l.c (__clog10l): Likewise.
71501         * math/s_clogf.c (__clogf): Likewise.
71502         * math/s_clogl.c (__clogl): Likewise.
71503         * math/Makefile (libm-calls): Add x2y2m1.
71504         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
71505         (__x2y2m1): Likewise.
71506         (__x2y2m1l): Likewise.
71507         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
71508         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
71509         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
71510         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
71511         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
71512         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
71513         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
71514         * sysdeps/i386/fpu/libm-test-ulps: Update.
71515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71517         [BZ #14621]
71518         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
71519         int as type of variable DEPTH.
71520         (glob): Use size_t instead of int as type of variables NEWCOUNT
71521         and OLD_PATHC.
71523 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71525         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
71526         Add s_sincosf-sse2.
71527         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
71528         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
71529         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
71530         macros for using routine as __sincosf_ia32.
71531         Use macro for function declaration and weak_alias.
71532         * sysdeps/i386/fpu/libm-test-ulps: Update.
71534         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
71535         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71537         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
71538         subnormal argument.
71539         * math/s_cexpf.c (__cexpf): Likewise.
71540         * math/s_csinf.c (__csinf): Likewise.
71541         * math/s_csinhf.c (__csinhf): Likewise.
71542         * math/s_ctanf.c (__ctanf): Likewise.
71543         * math/s_ctanhf.c (__ctanhf): Likewise.
71544         * math/s_ccosh.c (__ccoshf): Likewise.
71545         * math/s_cexp.c (__cexpl): Likewise.
71546         * math/s_csin.c (__csin): Likewise.
71547         * math/s_csinh.c (__csinh): Likewise.
71548         * math/s_ctan.c (__ctan): Likewise.
71549         * math/s_ctanh.c (ctanh): Likewise.
71550         * math/s_ccoshl.c (__ccoshl): Likewise.
71551         * math/s_cexpl.c (__cexpl): Likewise.
71552         * math/s_csinl.c (__csinl): Likewise.
71553         * math/s_csinhl.c (__csinhl): Likewise.
71554         * math/s_ctanl.c (__ctanl): Likewise.
71555         * math/s_ctanhl.c (__ctanhl): Likewise.
71557 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
71559         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
71560         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
71561         (_IO_off_t): Define to __off_t, not _G_off_t.
71562         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
71563         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
71564         (_IO_wint_t): Define to wint_t, not _G_wint_t.
71565         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
71566         type of __dummy and __dummy2 fields.
71567         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
71568         (_G_ssize_t): Likewise.
71569         (_G_off_t): Likewise.
71570         (_G_pid_t): Likewise.
71571         (_G_uid_t): Likewise.
71572         (_G_wchar_t): Likewise.
71573         (_G_wint_t): Likewise.
71574         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
71575         (_G_ssize_t): Likewise.
71576         (_G_off_t): Likewise.
71577         (_G_pid_t): Likewise.
71578         (_G_uid_t): Likewise.
71579         (_G_wchar_t): Likewise.
71580         (_G_wint_t): Likewise.
71581         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
71582         (_G_ssize_t): Likewise.
71583         (_G_off_t): Likewise.
71584         (_G_pid_t): Likewise.
71585         (_G_uid_t): Likewise.
71586         (_G_wchar_t): Likewise.
71587         (_G_wint_t): Likewise.
71589 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
71591         * malloc/arena.c: Include malloc-sysdep.h.
71592         (shrink_heap): Use check_may_shrink_heap to decide if madvise
71593         is sufficient to shrink the heap or an unmap is needed.
71594         * sysdeps/generic/malloc-sysdep.h: New file.  Define
71595         new function check_may_shrink_heap.
71596         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
71597         new function check_may_shrink_heap.
71599 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
71601         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
71602         comments.
71604 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
71606         * catgets/test-gencat.sh: Add "set -e".
71607         * elf/tst-pathopt.sh: Likewise.
71608         * grp/tst_fgetgrent.sh: Likewise.
71609         * iconvdata/run-iconv-test.sh: Likewise.
71610         * intl/tst-gettext.sh: Likewise.
71611         * intl/tst-gettext2.sh: Likewise.
71612         * intl/tst-gettext4.sh: Likewise.
71613         * intl/tst-gettext6.sh: Likewise.
71614         * intl/tst-translit.sh: Likewise.
71615         * io/ftwtest-sh: Likewise.
71616         * libio/test-freopen.sh: Likewise.
71617         * malloc/tst-mtrace.sh: Likewise.
71618         * posix/globtest.sh: Likewise.
71619         * posix/tst-getconf.sh: Likewise.
71620         * posix/wordexp-tst.sh: Likewise.
71621         * stdio-common/tst-printf.sh: Likewise.
71622         * stdio-common/tst-unbputc.sh: Likewise.
71623         * stdlib/tst-fmtmsg.sh: Likewise.
71624         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
71625         * catgets/Makefile: Do not specify -e option when running
71626         testsuite shell scripts.
71627         * elf/Makefile: Likewise.
71628         * grp/Makefile: Likewise.
71629         * iconvdata/Makefile: Likewise.
71630         * intl/Makefile: Likewise.
71631         * io/Makefile: Likewise.
71632         * libio/Makefile: Likewise.
71633         * malloc/Makefile: Likewise.
71634         * posix/Makefile: Likewise.
71635         * stdio-common/Makefile: Likewise.
71636         * stdlib/Makefile: Likewise.
71637         * sysdeps/x86_64/Makefile: Likewise.
71639         * io/ftwtest-sh: Add copyright header.
71640         * posix/globtest.sh: Likewise.
71641         * posix/tst-getconf.sh: Likewise.
71642         * posix/wordexp-tst.sh: Likewise.
71643         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
71645 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
71647         [BZ #13679]
71648         * Makeconfig (+link): Defined as $(+link-static) if
71649         $(build-shared) isn't yes.
71650         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
71651         isn't yes.
71652         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
71654         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
71656         [BZ #14562]
71657         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
71658         new chunk size with MALLOC_ALIGN_MASK.
71660 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
71662         [BZ #5044]
71663         * stdio-common/printf_fphex.c: Include <stdbool.h> and
71664         <rounding-mode.h>.
71665         (__printf_fphex): Determine rounding using get_rounding_mode and
71666         round_away.
71667         * stdio-common/tst-printf-round.c (struct hex_test): New
71668         structure.
71669         (hex_tests): New variable.
71670         (test_hex_in_one_mode): New function.
71671         (do_test): Also run tests for hex float output.
71673 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
71675         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
71676         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
71677         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
71678         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
71679         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
71680         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
71681         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
71682         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
71684 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
71686         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
71687         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
71688         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
71689         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
71691 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
71693         [BZ #14579]
71694         * elf/rtld.c (dl_main): Limit the check for self loading to normal
71695         mode only.
71696         * elf/tst-rtld-load-self.sh: New test.
71697         * elf/Makefile: Run it.
71699 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
71701         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
71702         (tst-writev-ENV): Remove.
71703         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
71705 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
71707         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
71709 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
71711         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
71712         unconditional.
71713         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
71714         Likewise.
71715         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
71716         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
71717         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
71718         Likewise.
71720 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
71722         [BZ #14587]
71723         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
71724         * config.make.in (have-cpp-asm-debuginfo): Removed.
71725         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
71726         * configure: Regenerated.
71728 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
71730         [BZ #5044]
71731         * stdio-common/printf_fp.c: Include <stdbool.h> and
71732         <rounding-mode.h>.
71733         (___printf_fp): Determine rounding using get_rounding_mode and
71734         round_away.
71735         * stdio-common/tst-printf-round.c: New file.
71736         * stdio-common/Makefile (tests): Add tst-printf-round.
71737         (link-libm): New variable.
71738         ($(objpfx)tst-printf-round): Depend in $(link-libm).
71740 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
71742         [BZ #14576]
71743         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
71744         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
71745         Likewise.
71746         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
71747         Likewise.
71749 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
71751         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
71752         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
71753         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
71754         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
71756 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
71758         [BZ #14518]
71759         * include/rounding-mode.h: New file.
71760         * sysdeps/generic/get-rounding-mode.h: Likewise.
71761         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
71762         * stdlib/strtod_l.c: Include <rounding-mode.h>.
71763         (MAX_VALUE): New macro.
71764         (MIN_VALUE): Likewise.
71765         (overflow_value): New function.
71766         (underflow_value): Likewise.
71767         (round_and_return): Use overflow_value and underflow_value to
71768         determine return values in overflow and underflow cases.  Use
71769         round_away to determine rounding depending on rounding mode.
71770         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
71771         determine return values in overflow and underflow cases.
71772         * stdlib/tst-strtod-round.c: Include <fenv.h>.
71773         (struct test_results): New structure.
71774         (struct test): Use struct test_results to store expected results
71775         for all rounding modes.
71776         (TEST): Include expected results for all rounding modes.
71777         (test_in_one_mode): New function.
71778         (do_test): Use test_in_one_mode to compute and check results.
71779         Check results for all rounding modes.
71780         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
71781         $(link-libm).
71783 2012-12-09  Allan McRae  <allan@archlinux.org>
71785         * sysdeps/i386/fpu/libm-test-ulps: Update
71787 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
71789         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
71790         (_G_int32_t): Likewise.
71791         (_G_uint16_t): Likewise.
71792         (_G_uint32_t): Likewise.
71793         (_G_HAVE_BOOL): Likewise.
71794         (_G_HAVE_ATEXIT): Likewise.
71795         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
71796         (_G_HAVE_IO_FILE_OPEN): Likewise.
71797         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
71798         (_G_int32_t): Likewise.
71799         (_G_uint16_t): Likewise.
71800         (_G_uint32_t): Likewise.
71801         (_G_HAVE_BOOL): Likewise.
71802         (_G_HAVE_ATEXIT): Likewise.
71803         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
71804         (_G_HAVE_IO_FILE_OPEN): Likewise.
71805         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
71806         (_G_int32_t): Likewise.
71807         (_G_uint16_t): Likewise.
71808         (_G_uint32_t): Likewise.
71809         (_G_HAVE_BOOL): Likewise.
71810         (_G_HAVE_ATEXIT): Likewise.
71811         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
71812         (_G_HAVE_IO_FILE_OPEN): Likewise.
71814 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
71816         * csu/libc-tls.c: Update copyright years.
71818 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
71820         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
71821         [!_G_USING_THUNKS]: Remove conditional code.
71822         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
71823         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
71825         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
71826         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
71827         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
71828         (_G_VTABLE_LABEL_PREFIX): Likewise.
71829         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
71830         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
71831         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
71832         (_G_VTABLE_LABEL_PREFIX): Likewise.
71833         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
71834         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
71835         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
71836         (_G_VTABLE_LABEL_PREFIX): Likewise.
71837         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
71839 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
71841         * libio/Makefile: Include ../Makeconfig before tests.
71842         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
71843         only if $(build-shared) is yes.
71845         * iconv/gconv_db.c: Update copyright years.
71847 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71849         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
71850         unwind info if defined PIC. Fix special cases description.
71851         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
71853         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
71854         DP_HI_MASK entry.
71855         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
71857 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
71859         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
71861         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
71862         is NULL.
71864         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
71865         (LDLIBS-tst-chk4): This.
71866         (LDFLAGS-tst-chk5): Renamed to ...
71867         (LDLIBS-tst-chk5): This.
71868         (LDFLAGS-tst-chk6): Renamed to ...
71869         (LDLIBS-tst-chk6): This.
71870         (LDFLAGS-tst-lfschk4): Renamed to ...
71871         (LDLIBS-tst-lfschk4): This.
71872         (LDFLAGS-tst-lfschk5): Renamed to ...
71873         (LDLIBS-tst-lfschk5): This.
71874         (LDFLAGS-tst-lfschk6): Renamed to ...
71875         (LDLIBS-tst-lfschk6): This.
71877         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
71878         on $(common-objpfx)soversions.mk.
71880 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
71882         [BZ #10014]
71883         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
71884         example host name.
71886 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
71888         * malloc/arena.c (arena_get_retry): New function that gets
71889         another arena for the caller to try its request on.
71890         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
71891         current arena cannot fulfill the request.
71892         (__libc_memalign): Likewise.
71893         (__libc_memalign): Likewise.
71894         (__libc_pvalloc): Likewise.
71895         (__libc_calloc): Likewise.
71897 2012-09-05  John Tobey  <john.tobey@gmail.com>
71899         [BZ #13542]
71900         * manual/arith.texi (Operations on Complex): Fix description
71901         of carg branch cut.
71903 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
71905         [BZ #10014]
71906         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
71907         host name.
71909         [BZ #10038]
71910         * manual/memory.texi (Memory): Make order of menu items match
71911         order of sections.
71913 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71915         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
71916         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
71917         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
71919 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71921         * csu/libc-tls.c (static_dtv): Renamed to ...
71922         (_dl_static_dtv): This.  Make it global.
71923         (_dl_initial_dtv): Removed.
71924         (__libc_setup_tls): Updated.
71925         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
71926         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
71927         DL_INITIAL_DTV.
71929 2012-09-06  Petr Machata  <pmachata@redhat.com>
71931         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
71932         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
71933         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
71934         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
71936 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71938         [BZ #14545]
71939         * csu/libc-tls.c (_dl_initial_dtv): New variable.
71940         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
71941         freeing dtv[-1].
71943 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71945         [BZ #14544]
71946         * Makeconfig (link-static-before-libc): Replace $(+prector)
71947         with $(+prectorT).
71948         (link-static-after-libc): Replace $(+postctor) with
71949         $(+postctorT).
71950         (link-bounded): Replace $(+prector)/$(+postctor) with
71951         $(+prectorT)/$(+postctorT).
71952         (+prectorT): New macro.
71953         (+postctorT): Likewise.
71955 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
71957         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
71958         (round_str): Handle values above the maximum for IBM long double
71959         as inexact.
71960         * stdlib/tst-strtod-round.c (tests): Regenerated.
71962 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71964         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
71965         assembler flag.
71966         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
71967         zarch_nohighgprs around the zarch optimized routines.
71968         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
71969         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
71970         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
71971         for zarch.
71973 2012-09-05  David S. Miller  <davem@davemloft.net>
71975         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71977         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
71978         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
71979         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
71980         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
71981         entries.
71983 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71985         * malloc/arena.c: Fold copyright years.
71986         * malloc/mcheck.c, malloc/memusage.c: Likewise.
71988 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71990         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
71992 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71994         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
71996 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71998         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
71999         change internal state upon failure.
72001 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
72003         * malloc/mcheck.c (mcheck_check_all): Fix typo.
72004         * malloc/memusage.c (mmap): Likewise.
72005         (mmap64, mremap): Likewise.  Adjust name in comment.
72007 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
72009         * libio/fileops.c: Fix typos in comments.
72010         * libio/oldfileops.c: Likewise.
72011         * libio/wfileops.c: Likewise.
72013 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
72015         [BZ #1349]
72016         * malloc/Makefile (tests): Add tst-malloc-usable test case.
72017         (tst-malloc-usable-ENV): Set environment for test case.
72018         * malloc/hooks.c (malloc_check_get_size): New function to get
72019         requested size.
72020         * malloc/malloc.c (musable): Use malloc_check_get_size.
72021         * malloc/tst-malloc-usable.c: New test case.
72023 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
72025         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
72027 2012-09-05  Allan McRae  <allan@archlinux.org>
72029         [BZ #13966]
72030         * configure.in (CXX_SYSINCLUDES): Use compiler output to
72031         determine header location.
72032         * configure: Regenerated.
72034 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
72036         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
72037         float format.
72038         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
72039         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
72040         format.
72041         (test): Regenerate.
72043 2012-09-04  David S. Miller  <davem@davemloft.net>
72045         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
72046         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
72047         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
72049 2012-09-04  Florian Weimer  <fweimer@redhat.com>
72051         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
72052         failures.
72054         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
72056 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
72058         [BZ #9914]
72059         * libio/iogetdelim.c: Include <limits.h>.
72060         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
72061         + len + 1 would overflow.
72063 2012-09-03  Andreas Jaeger  <aj@suse.de>
72065         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72066         * sysdeps/i386/fpu/libm-test-ulps: Update.
72068 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72070         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
72071         Add s_sinf-sse2, s_conf-sse2.
72073         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
72074         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
72075         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
72076         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
72078         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
72079         for using routine as __sinf_ia32.
72080         Use macro for function declaration and weak_alias.
72081         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
72082         for using routine as __cosf_ia32.
72083         Use macro for function declaration and weak_alias.
72085         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
72086         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
72088         * sysdeps/x86_64/fpu/s_sinf.S: New file.
72089         * sysdeps/x86_64/fpu/s_cosf.S: New file.
72090         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72092         * math/libm-test.inc (cos_test): Add more test cases.
72093         (sin_test): Likewise.
72094         (sincos_test): Likewise.
72096 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72098         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
72099         (IFUNC_RESOLVE): Make pointers to the specialized implementations
72100         hidden.
72101         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
72103 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
72105         [BZ #14538]
72106         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
72107         first element of the GOT.
72108         (elf_machine_load_address): Return the difference between
72109         the runtime address of _DYNAMIC and elf_machine_dynamic ().
72111 2012-09-01  Allan McRae  <allan@archlinux.org>
72113         [BZ #13412]
72114         * configure.in (AWK): Require gawk version 3.0 or later.
72115         * configure: Regenerated.
72117 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
72119         * sysdeps/unix/sysv/linux/kernel-features.h
72120         (__ASSUME_POSIX_CPU_TIMERS): Remove.
72121         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
72122         [__NR_clock_getres]: Make code unconditional.
72123         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
72124         (clock_getcpuclockid): Remove code left unreachable by removal of
72125         conditionals.
72126         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
72127         code unconditional.
72128         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
72129         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
72130         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
72131         Make code unconditional.
72132         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
72133         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
72134         * sysdeps/unix/sysv/linux/clock_settime.c
72135         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
72136         conditional code.
72137         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
72138         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
72140 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
72142         [BZ #14476]
72143         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
72144         scripts/test-installation.pl.
72146         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
72147         and $ld_so_version if it is set.
72149 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
72151         [BZ #14516]
72152         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
72153         failure if reading from procfs failed.
72154         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
72156 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
72158         * sysdeps/unix/sysv/linux/kernel-features.h
72159         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
72160         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
72161         Remove conditional code.
72162         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72163         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
72164         Remove conditional code.
72165         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72166         * sysdeps/unix/sysv/linux/i386/fxstat.c
72167         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
72168         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72169         * sysdeps/unix/sysv/linux/i386/fxstatat.c
72170         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
72171         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72172         * sysdeps/unix/sysv/linux/i386/lxstat.c
72173         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
72174         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72175         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
72176         Remove conditional code.
72177         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72178         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
72179         Remove conditional code.
72180         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72181         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
72182         <kernel-features.h>.
72183         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
72184         Remove.
72185         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
72186         Remove conditional code.
72187         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72188         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
72189         Remove conditional.
72191 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
72193         [BZ #5400]
72194         * NEWS: Add fixed bug number.
72196 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
72198         [BZ #14519]
72199         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
72200         underflowing exponent in case of negative sign.
72201         * stdlib/tst-strtod-round-data: Add more tests.
72202         * stdlib/tst-strtod-round.c (tests): Regenerated.
72204         [BZ #3479]
72205         * stdlib/strtod_l.c (NDIG): Remove.
72206         (HEXNDIG): Likewise.
72207         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
72208         smallest representable value.
72209         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
72210         lie within an exact representation of 1/2 ulp of the result.
72211         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
72212         unconditionally.
72213         (TENS_P9_IDX): Define unconditionally.
72214         (TENS_P9_SIZE): Likewise.
72215         (TENS_P10_IDX): Likewise.
72216         (TENS_P10_SIZE): Likewise.
72217         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
72218         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
72219         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
72220         entries for 10^2^13 and 10^2^14.
72221         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
72222         (TENS_P13_IDX): Define.
72223         (TENS_P13_SIZE): Likewise.
72224         (TENS_P14_IDX): Likewise.
72225         (TENS_P14_SIZE): Likewise.
72226         (_fpioconst_pow10): Change array size to
72227         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
72228         unconditional.
72229         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
72230         1024]: Add entries for 10^2^13 and 10^2^14.
72231         [LAST_POW10 > _LAST_POW10]: Remove #error.
72232         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
72233         (_fpioconst_pow10): Change array size to
72234         FPIOCONST_POW10_ARRAY_SIZE.
72235         * stdlib/gen-fpioconst.c: New file.
72236         * stdlib/gen-tst-strtod-round.c: Likewise.
72237         * stdlib/tst-strtod-round-data: Likewise.
72238         * stdlib/tst-strtod-round.c: Likewise.
72239         * stdlib/Makefile (tests): Add tst-strtod-round.
72241         [BZ #14459]
72242         * stdlib/strtod_l.c: Include <stdint.h>.
72243         (NDEBUG): Do not define.
72244         (round_and_return): Change EXPONENT parameter to type intmax_t.
72245         Rearrange calculations to avoid internal overflow possibilities.
72246         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
72247         Rearrange calculations to avoid internal overflow possibilities.
72248         Assert that number fits inside MPNSIZE limbs.
72249         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
72250         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
72251         calculations and add assertions to avoid internal overflow
72252         possibilities.  Add casts to avoid signed/unsigned operations.
72253         * stdlib/tst-strtod-overflow.c: New file.
72254         * stdlib/Makefile (tests): Add tst-strtod-overflow.
72256 2012-08-25  Marek Polacek  <polacek@redhat.com>
72258         * time/time.h: Fix some typos in comments.
72260 2012-08-23  Roland McGrath  <roland@hack.frob.com>
72262         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
72263         * posix/tst-rfc3484-2.c: Likewise.
72264         * posix/tst-rfc3484-3.c: Likewise.
72266 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
72268         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
72269         (EF_ARM_ABI_FLOAT_HARD): Likewise.
72271 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
72273         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
72274         #include of fxstatat64.c.
72276 2012-08-22  Roland McGrath  <roland@hack.frob.com>
72278         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
72279         * shadow/getspent_r.c: Likewise.
72280         * shadow/getspnam.c: Likewise.
72281         * shadow/getspnam_r.c: Likewise.
72282         * gshadow/getsgent.c: Likewise.
72283         * gshadow/getsgent_r.c: Likewise.
72284         * gshadow/getsgnam.c: Likewise.
72285         * gshadow/getsgnam_r.c: Likewise.
72286         * inet/getnetbyad.c: Likewise.
72287         * inet/getnetbyad_r.c: Likewise.
72288         * inet/getnetbynm.c: Likewise.
72289         * inet/getnetbynm_r.c: Likewise.
72290         * inet/getnetent.c: Likewise.
72291         * inet/getnetent_r.c: Likewise.
72292         * inet/getproto.c: Likewise.
72293         * inet/getproto_r.c: Likewise.
72294         * inet/getprtent.c: Likewise.
72295         * inet/getprtent_r.c: Likewise.
72296         * inet/getprtname.c: Likewise.
72297         * inet/getprtname_r.c: Likewise.
72298         * inet/getrpcbyname.c: Likewise.
72299         * inet/getrpcbyname_r.c: Likewise.
72300         * inet/getrpcbynumber.c: Likewise.
72301         * inet/getrpcbynumber_r.c: Likewise.
72302         * inet/getrpcent.c: Likewise.
72303         * inet/getrpcent_r.c: Likewise.
72304         * inet/getaliasent.c: Likewise.
72305         * inet/getaliasent_r.c: Likewise.
72306         * inet/getaliasname.c: Likewise.
72307         * inet/getaliasname_r.c: Likewise.
72308         * nscd/getgrgid_r.c: Likewise.
72309         * nscd/getgrnam_r.c: Likewise.
72310         * nscd/gethstbyad_r.c: Likewise.
72311         * nscd/gethstbynm3_r.c: Likewise.
72312         * nscd/getpwnam_r.c: Likewise.
72313         * nscd/getpwuid_r.c: Likewise.
72314         * nscd/getsrvbynm_r.c: Likewise.
72315         * nscd/getsrvbypt_r.c: Likewise.
72316         * nscd/gai.c: Likewise.
72318         * configure.in (build_nscd): New substituted variable, set
72319         by --disable-build-nscd and defaults to $use_nscd.
72320         * configure: Regenerated.
72321         * config.make.in (build-nscd): New substituted variable.
72322         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
72323         Change conditional to require [$(build-nscd) = yes] as well.
72324         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
72326         [BZ #13696]
72327         * configure.in (use_nscd): New substituted variable, set by
72328         --disable-nscd.  If enabled, define USE_NSCD.
72329         * configure: Regenerated.
72330         * config.h.in: Add USE_NSCD.
72331         * config.make.in (use-nscd): New substituted variable.
72332         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
72333         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
72334         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
72335         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
72336         (CFLAGS-getgrnam_r.c): Likewise.
72337         (CFLAGS-initgroups.c): Likewise.
72338         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
72339         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
72340         Variables removed.
72341         * inet/getnetgrent_r.c
72342         (nscd_setnetgrent): New function, broken out of ...
72343         (setnetgrent): ... here.  Call it.
72344         (innetgr): Conditionalize nscd bits on [USE_NSCD].
72345         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
72346         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
72347         * nscd/Makefile (routines, aux): Move definitions after include of
72348         Makeconfig.  Conditionalize on [$(use-nscd) != no].
72349         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
72350         Conditionalize on [USE_NSCD].
72351         (is_nscd, nscd_init_cb): Likewise.
72352         (nss_load_library): Conditionalize init callback on [USE_NSCD].
72353         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
72354         * nss/nss_db/db-init.c: Likewise.
72355         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
72356         [USE_NSCD].
72357         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
72358         (make_request): Use it.
72359         (cache_valid_p): New function.
72360         (__check_pf): Use it.
72361         * NEWS: Add item for --disable-nscd.
72363 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
72365         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
72366         to support sed >= 4.2.1-20-ga9bf076.
72367         * configure: Regenerated.
72369 2012-08-22  Roland McGrath  <roland@hack.frob.com>
72371         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
72372         Conditionalize whole body on [IREL].
72374 2012-08-22  Jeff Law <law@redhat.com>
72376         [BZ #14505]
72377         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
72378         if the family is PF_UNSPEC.
72380 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
72382         * Makerules (lib-version): Rename from V.
72383         (install-lib-nosubdir): Change V to lib-version.
72385 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
72387         [BZ #14252]
72388         * powerpc32/power6/wcschr.c: New file.
72389         * powerpc32/power6/wcscpy.c: New file.
72390         * powerpc32/power6/wcsrchr.c: New file.
72391         * powerpc64/power6/wcschr.c: New file.
72392         * powerpc64/power6/wcscpy.c: New file.
72393         * powerpc64/power6/wcsrchr.c: New file.
72395 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
72397         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
72398         (two_way_short_needle): Use it.
72399         * string/strstr.c (AVAILABLE1_USES_J): Define.
72400         * string/strcasestr.c: Likewise.
72402         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
72403         array references.
72404         * string/strcasestr.c (TOLOWER): Make side-effect safe.
72406         [BZ #11607]
72407         * NEWS: Add an entry.
72408         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
72409         define their defaults.
72410         (two_way_short_needle): Detect end-of-string on-the-fly.
72411         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
72412         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
72413         * string/bug-strcasestr1.c: New test.
72414         * string/Makefile: Run it.
72416 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
72418         [BZ #11607]
72419         * string/str-two-way.h (two_way_short_needle): Optimize matching of
72420         the first character.
72422 2012-08-21  Roland McGrath  <roland@hack.frob.com>
72424         * csu/elf-init.c (__libc_csu_irel): Function removed.
72425         * csu/libc-start.c (apply_irel): New function.
72426         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
72428 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
72430         * sysdeps/unix/sysv/linux/kernel-features.h
72431         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
72432         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
72433         <kernel-features.h>.
72434         [__NR_fadvise64_64]: Make code unconditional.
72435         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
72436         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
72437         !__NR_fadvise64_64)]: Likewise.
72438         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
72439         !__NR_fadvise64_64))]: Likewise.
72440         [__NR_fadvise64]: Make code unconditional.
72441         [!__NR_fadvise64]: Remove conditional code.
72442         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
72443         <kernel-features.h>.
72444         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
72445         unconditional.
72446         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
72447         conditional code.
72448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
72449         not include <kernel-features.h>.
72450         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
72451         unconditional.
72452         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
72453         conditional code.
72454         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
72455         include <kernel-features.h>.
72456         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
72457         unconditional.
72458         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
72459         conditional code.
72461 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
72463         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
72464         slight instruction rearrangements per scrollpipe analysis.
72465         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
72467 2012-08-20  Roland McGrath  <roland@hack.frob.com>
72469         * manual/syslog.texi (syslog; vsyslog, closelog):
72470         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
72471         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
72473         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
72474         DSOCAPS to match condition on defining it.
72476 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
72478         * sysdeps/unix/sysv/linux/kernel-features.h
72479         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
72480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
72481         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
72482         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
72483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
72484         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
72485         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
72486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
72487         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
72488         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
72490         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
72491         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
72493         * sysdeps/unix/sysv/linux/kernel-features.h
72494         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
72495         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
72496         unconditional.
72497         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
72498         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
72499         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
72500         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
72501         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
72502         Make code unconditional.
72503         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
72504         (__mmap64) [!__NR_mmap2]: Likewise.
72505         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
72506         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
72507         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
72508         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
72509         [__NR_mmap2]: Make code unconditional.
72510         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
72511         (__mmap64) [!__NR_mmap2]: Likewise.
72513 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72515         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
72517 2012-08-18  Andreas Jaeger  <aj@suse.de>
72519         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
72521 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
72523         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
72524         * include/unistd.h (__have_sock_cloexec): Likewise.
72525         (__have_pipe2): Likewise.
72526         (__have_dup3): Likewise.
72528 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
72530         [BZ #9685]
72531         * include/unistd.h (__have_pipe2): Change define into an extern int.
72532         (__have_dup3): Likewise.
72533         * socket/have_sock_cloexec.c: Include fcntl.h.
72534         (__have_pipe2): New variable.
72535         (__have_dup3): Likewise.
72537 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
72539         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
72541 2012-08-17  Marek Polacek  <polacek@redhat.com>
72543         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
72544         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
72546 2012-08-17  Roland McGrath  <roland@hack.frob.com>
72548         * configure.in: Add AC_SUBST for sysheaders.
72549         * configure: Regenerated.
72550         * config.make.in (sysheaders): New substituted variable.
72552         * sysdeps/unix/mkfifo.c: Moved ...
72553         * sysdeps/posix/mkfifo.c: ... here.
72554         * sysdeps/unix/mkfifoat.c: Moved ...
72555         * sysdeps/posix/mkfifoat.c: ... here.
72557         * sysdeps/unix/utime.c: Moved ...
72558         * sysdeps/posix/utime.c: ... here.
72560         * sysdeps/unix/time.c: Moved ...
72561         * sysdeps/posix/time.c: ... here.
72562         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
72563         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
72565         * sysdeps/unix/nice.c: Moved ...
72566         * sysdeps/posix/nice.c: ... here.
72568         * sysdeps/unix/alarm.c: Moved ...
72569         * sysdeps/posix/alarm.c: ... here.
72571         * intl/Makefile ($(codeset_mo)): Depend on the input file.
72573 2012-08-17  Jeff Law <law@redhat.com>
72575         * intl/Makefile (codeset_mo): New variable.
72576         ($(codeset_mo)): New target.
72577         (tst-codeset.out): Depend on that.  Remove explicit rule.
72578         (tst-gettext3.out, tst-gettext5.out): Likewise.
72579         (LOCPATH-ENV, tst-codeset-ENV): New variables.
72580         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
72581         * intl/tst-codeset.sh: Remove.
72582         * intl/tst-gettext3.sh: Likewise.
72583         * intl/tst-gettext5.sh: Likewise.
72585 2012-08-17  Roland McGrath  <roland@hack.frob.com>
72587         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
72588         * sysdeps/unix/syscalls.list: ... here.
72590         * sysdeps/posix/getaddrinfo.c
72591         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
72592         (gaiconf_init, gaiconf_reload): Use them.
72593         [!_STATBUF_ST_NSEC]
72594         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
72595         Define using time_t rather than struct timespec.
72597         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
72598         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
72599         Macros removed.
72600         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
72601         [!NO_THREADS].
72602         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
72603         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
72604         Likewise.
72606         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
72607         __libc_cleanup_push argument.
72609         * bits/param.h: New file.
72610         * misc/sys/param.h: New file.
72611         * include/sys/param.h: New file.
72612         * misc/Makefile (headers): Add bits/param.h.
72613         * sysdeps/generic/sys/param.h: File removed.
72614         * sysdeps/unix/sysv/linux/bits/param.h: New file.
72615         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
72616         * sysdeps/mach/hurd/bits/param.h: New file.
72617         * sysdeps/mach/hurd/sys/param.h: File removed.
72619         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
72620         last change.
72622         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
72623         [_IO_MTSAFE_IO].
72624         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
72625         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
72626         New macros.
72628         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
72629         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
72630         rather than -D_IO_MTSAFE_IO conditionally.
72631         * stdio-common/Makefile (CPPFLAGS): Likewise.
72632         * wcsmbs/Makefile (CPPFLAGS): Likewise.
72633         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
72634         Use $(libio-mtsafe).
72635         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
72636         of -D_IO_MTSAFE_IO.
72637         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
72638         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
72639         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
72640         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
72641         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
72642         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
72643         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
72644         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
72645         (CFLAGS-fread_u_chk.c): Likewise.
72646         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
72647         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
72648         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
72649         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
72650         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
72651         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
72652         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
72653         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
72654         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
72656         * libio/Makefile: Test [$(libc-reentrant) = yes]
72657         instead of [$(filter %REENTRANT, $(defines)) nonempty].
72659         * Makeconfig
72660         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
72661         * sysdeps/pthread/configure: File removed.
72662         * sysdeps/pthread/Makeconfig: New file.
72663         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
72664         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
72666 2012-08-16  Gary Benson  <gbenson@redhat.com>
72668         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
72669         unmapping the first object in a namespace.
72671 2012-08-16  Roland McGrath  <roland@hack.frob.com>
72673         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
72674         (__internal_setnetgrent): ... this.  Add internal_function to
72675         definition.  Add libc_hidden_def.
72676         (setnetgrent): Update caller.
72677         (internal_endnetgrent): Renamed to ...
72678         (__internal_endnetgrent): ... this.  Add internal_function to
72679         definition.  Add libc_hidden_def.
72680         (endnetgrent): Update caller.
72681         (internal_getnetgrent_r): Renamed to ...
72682         (__internal_getnetgrent_r): ... this.  Add internal_function to
72683         definition.  Add libc_hidden_def.
72684         (__getnetgrent_r): Update caller.
72685         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
72687 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
72689         * stdlib/longlong.h: Update from GCC.
72691 2012-08-16  Roland McGrath  <roland@hack.frob.com>
72693         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
72694         on _QL, which is set by umul_ppmm but never used.
72695         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
72696         variables, which are set by GMP macros but never used.
72697         * stdio-common/_itowa.c (_itowa): Likewise.
72698         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
72699         * stdlib/mod_1.c (mpn_mod_1): Likewise.
72701 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
72703         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
72704         struct La_sh_regs is not constant.
72705         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
72706         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
72707         and struct La_sparc64_regs are not constant.
72709 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
72711         * sysdeps/unix/sysv/linux/kernel-features.h
72712         (__ASSUME_POSIX_TIMERS): Remove.
72713         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
72714         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72715         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
72716         Make code unconditional.
72717         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72718         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
72719         Make code unconditional.
72720         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72721         * sysdeps/unix/sysv/linux/clock_nanosleep.c
72722         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
72723         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72724         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
72725         Make code unconditional.
72726         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72727         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
72728         (__libc_missing_posix_timers): Remove.
72730 2012-08-15  Roland McGrath  <roland@hack.frob.com>
72732         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
72733         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
72735         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
72737         * elf/dl-sym.c: Include <stdlib.h>.
72739         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
72740         constants, which avoids warnings in 32-bit builds.
72742         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
72743         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
72745         * misc/lseek.c: File moved to ...
72746         * io/lseek.c: ... here.
72748         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
72750         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
72751         shifting LEN more than 31 bits at once.
72753 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72755         [BZ #14195]
72756         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
72757         segmentation fault for a case of two empty input strings.
72758         * string/test-strncasecmp.c (check1): Renamed to...
72759         (bz12205): ...this.
72760         (bz14195): Add new testcase for two empty input strings and N > 0.
72761         (test_main): Call new testcase, adapt for renamed function.
72763 2012-08-15  Andreas Jaeger  <aj@suse.de>
72765         [BZ #14090]
72766         * crypt/md5test2.c: New test, based on test supplied by Serge
72767         Belyshev <belyshev@depni.sinp.msu.ru>.
72768         * crypt/Makefile (xtests): Add md5test-giant..
72769         * crypt/Makefile ($(objpfx)md5test-giant): Add.
72771 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
72773         [BZ #14090]
72774         * crypt/md5.c (md5_process_block): Don't assume the buffer
72775         length is less than 2**32.
72776         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
72777         length is less than 2**64.
72779 2012-08-15  Roland McGrath  <roland@hack.frob.com>
72781         * string/str-two-way.h: Include <sys/param.h>.
72782         (MAX): Macro removed.
72784         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
72785         Move #define and #undef of memmove to just before and after
72786         including <string.h>.
72788         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
72789         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
72790         and after including <string.h>.  Move declarations of
72791         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
72792         to before #include "string/memmove.c".
72794         * include/dirent.h: Declare __getdirentries.
72796         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
72797         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
72799 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
72801         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
72802         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
72803         * sysdeps/i386/configure: Regenerated.
72804         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
72805         STABS_CURRENT_FILE, and STABS_FUN.
72806         (END): Remove call to STABS_FUN_END.
72807         (STABS_CURRENT_FILE1): Delete.
72808         (STABS_CURRENT_FILE): Likewise.
72809         (STABS_FUN): Likewise.
72810         (STABS_FUN_END): Likewise.
72811         (STABS_FUN2): Likewise.
72812         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
72813         * sysdeps/x86_64/configure: Regenerated.
72815 2012-08-14  Roland McGrath  <roland@hack.frob.com>
72817         * elf/dl-open.c: Include <atomic.h>.
72818         * elf/dl-lookup.c: Likewise.
72820 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
72822         * sysdeps/unix/sysv/linux/kernel-features.h
72823         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
72824         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
72825         unconditionally.
72826         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
72827         unconditionally.
72828         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
72829         condition on __ASSUME_CLONE_THREAD_FLAGS.
72831 2012-08-14  Andreas Jaeger  <aj@suse.de>
72833         * sysdeps/i386/fpu/libm-test-ulps: Update.
72835 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
72837         * include/atomic.h (atomic_exchange_and_add): Split into ...
72838         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
72839         New atomic macros.
72841 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
72843         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72845 2012-08-13  Jeff Law <law@redhat.com>
72847         * manual/stdio.texi (snprintf): Clarify handling of the trailing
72848         null byte in the output string.
72850 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
72852         * sysdeps/unix/sysv/linux/kernel-features.h
72853         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
72854         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
72855         (__ASSUME_ARG_MAX_STACK_BASED): Define.
72856         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
72857         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
72858         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
72859         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
72861 2012-08-09  Jeff Law <law@redhat.com>
72863         [BZ #13939]
72864         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
72865         When avoid_arena is set, don't retry in the that arena.  Pick the
72866         next one, whatever it might be.
72867         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
72868         (arena_lock): Pass in new parameter to arena_get2.
72869         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
72870         arena_get2.
72871         (__libc_malloc): Unify retrying after main arena failure with
72872         __libc_memalign version.
72873         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
72875 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
72877         [BZ #14166]
72878         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
72879         to __redirect_strstr.
72880         (__strstr_sse42): Use typeof __redirect_strstr.
72881         (__strstr_ia32): Likewise.
72882         (__libc_strstr): New prototype.
72883         (strstr): Renamed to ...
72884         (__libc_strstr): This.
72885         (strstr): New strong alias of __libc_strstr.
72886         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
72887         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
72888         __redirect_time.
72889         Include <time.h>.
72890         (__libc_time): New prototype.
72891         (time_ifunc): Replace time with __libc_time.
72892         (time): New strong alias and hidden definition of __libc_time.
72893         (__GI_time): Remove strong alias.
72894         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
72895         Include <stddef.h>.
72896         (memmove): Redefined to __redirect_memmove.
72897         (__memmove_sse2): Use typeof __redirect_memmove.
72898         (__memmove_ssse3): Likewise.
72899         (__memmove_ssse3_back): Likewise.
72900         (__libc_memmove): New prototype.
72901         (memmove): Renamed to ...
72902         (__libc_memmove): This.
72903         (memmove): New strong alias of __libc_memmove.
72905 2012-08-08  Mark Salter  <msalter@redhat.com>
72907         * elf/elf.h
72908         (R_MN10300_TLS_GD): Define.
72909         (R_MN10300_TLS_LD): Likewise.
72910         (R_MN10300_TLS_LDO): Likewise.
72911         (R_MN10300_TLS_GOTIE): Likewise.
72912         (R_MN10300_TLS_IE): Likewise.
72913         (R_MN10300_TLS_LE): Likewise.
72914         (R_MN10300_TLS_DTPMOD): Likewise.
72915         (R_MN10300_TLS_DTPOFF): Likewise.
72916         (R_MN10300_TLS_TPOFF): Likewise.
72917         (R_MN10300_SYM_DIFF): Likewise.
72918         (R_MN10300_ALIGN): Likewise.
72919         (R_MN10300_NUM): Update.
72921 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
72923         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
72924         Remove.
72926 2012-08-08  Roland McGrath  <roland@hack.frob.com>
72928         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
72930         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
72931         sysdeps/unix -> sysdeps/posix move.
72932         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
72934 2012-08-07      Allan McRae     <allan@archlinux.org>
72936         [BZ #14303]
72937         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
72938         (SUNOS_CPP): Likewise.
72939         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
72940         not found.
72941         (open_input): Call CPP using execvp.
72943 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
72945         * sysdeps/unix/sysv/linux/kernel-features.h
72946         (__ASSUME_PROT_GROWSUPDOWN): Remove.
72947         (__ASSUME_NO_CLONE_DETACHED): Likewise.
72948         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
72949         (__ASSUME_WAITID_SYSCALL): Likewise.
72950         * sysdeps/unix/sysv/linux/dl-execstack.c
72951         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
72952         code unconditional.
72953         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
72954         conditional code.
72955         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
72956         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
72957         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
72958         code.
72959         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
72960         unconditional.
72961         [__ASSUME_WAITID_SYSCALL]: Likewise.
72962         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
72964 2012-08-07  Roland McGrath  <roland@hack.frob.com>
72966         * sysdeps/unix/closedir.c: Renamed to ...
72967         * sysdeps/posix/closedir.c: ... here.
72968         * sysdeps/unix/dirfd.c: Renamed to ...
72969         * sysdeps/posix/dirfd.c: ... here.
72970         * sysdeps/unix/dirstream.h: Renamed to ...
72971         * sysdeps/posix/dirstream.h: ... here.
72972         * sysdeps/unix/fdopendir.c: Renamed to ...
72973         * sysdeps/posix/fdopendir.c: ... here.
72974         * sysdeps/unix/opendir.c: Renamed to ...
72975         * sysdeps/posix/opendir.c: ... here.
72976         * sysdeps/unix/readdir.c: Renamed to ...
72977         * sysdeps/posix/readdir.c: ... here.
72978         * sysdeps/unix/readdir_r.c: Renamed to ...
72979         * sysdeps/posix/readdir_r.c: ... here.
72980         * sysdeps/unix/rewinddir.c: Renamed to ...
72981         * sysdeps/posix/rewinddir.c: ... here.
72982         * sysdeps/unix/seekdir.c: Renamed to ...
72983         * sysdeps/posix/seekdir.c: ... here.
72984         * sysdeps/unix/telldir.c: Renamed to ...
72985         * sysdeps/posix/telldir.c: ... here.
72986         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
72987         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
72988         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
72989         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
72991         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
72992         * bits/fcntl.h: ... here.
72994         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
72995         not 0.
72996         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
72997         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
72998         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
72999         (struct flock): Move l_start, l_len to the beginning.
73000         Use __pid_t for l_pid.
73001         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
73002         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
73003         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
73004         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
73005         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
73006         [__USE_LARGEFILE64] (struct flock64): New type.
73007         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
73009         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
73010         * bits/dirent.h: ... here.
73012         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
73013         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
73015 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
73017         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
73018         Change from 2.6.0 to 2.6.16.
73019         * sysdeps/unix/sysv/linux/configure: Regenerated.
73020         * sysdeps/unix/sysv/linux/kernel-features.h
73021         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
73022         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
73023         version.
73024         (__ASSUME_UTIMES): Likewise.
73025         (__ASSUME_CLONE_STOPPED): Remove.
73026         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
73027         architectures, not kernel version.
73028         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
73029         (__ASSUME_NO_CLONE_DETACHED): Likewise.
73030         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
73031         (__ASSUME_WAITID_SYSCALL): Likewise.
73032         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
73033         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
73034         * README: State 2.6.16 as minimum Linux kernel version.  Do not
73035         refer to older versions.
73037 2012-08-06  Roland McGrath  <roland@hack.frob.com>
73039         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
73040         Define alphasort64 as an alias.
73041         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
73042         Define versionsort64 as an alias.
73043         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
73044         Define scandir64 as an alias.
73045         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
73046         Define scandirat64 as an alias.
73047         * dirent/alphasort64.c (alphasort64):
73048         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
73049         * dirent/versionsort64.c: Likewise.
73050         * dirent/scandir64.c: Likewise.
73051         * dirent/scandirat64.c: Likewise.
73052         * sysdeps/wordsize-64/alphasort.c: File removed.
73053         * sysdeps/wordsize-64/alphasort64.c: File removed.
73054         * sysdeps/wordsize-64/scandir.c: File removed.
73055         * sysdeps/wordsize-64/scandir64.c: File removed.
73056         * sysdeps/wordsize-64/scandirat.c: File removed.
73057         * sysdeps/wordsize-64/scandirat64.c: File removed.
73058         * sysdeps/wordsize-64/versionsort.c: File removed.
73059         * sysdeps/wordsize-64/versionsort64.c: File removed.
73060         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
73061         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
73062         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
73063         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
73064         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
73065         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
73066         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
73067         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
73069         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
73070         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
73071         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
73072         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73073         [defined __arch64__ || defined __sparcv9]
73074         (__INO_T_MATCHES_INO64_T): New macro.
73075         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
73076         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
73077         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
73078         * sysdeps/unix/sysv/linux/bits/dirent.h
73079         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
73080         (_DIRENT_MATCHES_DIRENT64): New macro.
73082         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
73083         Define lockf64 as an alias.
73084         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
73085         Define fseeko64 as an alias.
73086         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
73087         Define ftello64 as an alias.
73088         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
73089         Define _IO_fgetpos64 and fgetpos64 as aliases.
73090         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
73091         Define _IO_fsetpos64 and fsetpos64 as aliases.
73092         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
73093         Conditionalize body on this.
73094         * libio/fseeko64.c: Likewise.
73095         * libio/ftello64.c: Likewise.
73096         * libio/iofgetpos64.c: Likewise.
73097         * libio/iofsetpos64.c: Likewise.
73098         * sysdeps/wordsize-64/lockf.c: File removed.
73099         * sysdeps/wordsize-64/lockf64.c: File removed.
73100         * sysdeps/wordsize-64/fseeko.c: File removed.
73101         * sysdeps/wordsize-64/fseeko64.c: File removed.
73102         * sysdeps/wordsize-64/ftello.c: File removed.
73103         * sysdeps/wordsize-64/ftello64.c: File removed.
73104         * sysdeps/wordsize-64/iofgetpos.c: File removed.
73105         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
73106         * sysdeps/wordsize-64/iofsetpos.c: File removed.
73107         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
73108         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
73109         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
73110         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
73111         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
73112         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
73113         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
73114         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
73115         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
73116         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
73117         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
73119         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
73120         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
73121         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
73122         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73123         [defined __arch64__ || defined __sparcv9]
73124         (__OFF_T_MATCHES_OFF64_T): New macro.
73125         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
73126         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
73127         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73128         (__OFF_T_MATCHES_OFF64_T): New macro.
73130 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
73132         * stdlib/secure-getenv.c (__secure_getenv): Replace
73133         GLIBC_2_16 with GLIBC_2_17.
73135 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
73137         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
73138         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
73140 2012-08-03  David S. Miller  <davem@davemloft.net>
73142         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73144 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
73146         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
73147         Remove.
73148         (__ASSUME_CORRECT_SI_PID): Likewise.
73149         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
73150         (__ASSUME_TMPFS_NAME): Likewise.
73151         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
73152         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
73153         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
73154         (HAVE_AUX_SECURE): Make definition unconditional.
73155         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
73156         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
73158 2012-08-03  Roland McGrath  <roland@hack.frob.com>
73160         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
73161         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
73162         * sysdeps/mach/hurd/eloop-threshold.h: New file.
73163         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
73164         __eloop_threshold instead of SYMLOOP_MAX.
73166         * sysdeps/generic/eloop-threshold.h: New file.
73167         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
73168         of MAXSYMLINKS.
73169         * elf/chroot_canon.c (chroot_canon): Likewise.
73171 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
73173         [BZ #13717]
73174         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
73175         Change to 2.6.0 everywhere.
73176         * sysdeps/unix/sysv/linux/configure: Regenerated.
73177         * sysdeps/unix/sysv/linux/kernel-features.h
73178         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
73179         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
73180         kernel versions.
73181         (__ASSUME_POSIX_TIMERS): Define unconditionally.
73182         (__ASSUME_FUTEX_REQUEUE): Remove.
73183         (__ASSUME_STATFS64): Define unconditionally.
73184         (__ASSUME_AT_SECURE): Likewise.
73185         (__ASSUME_CORRECT_SI_PID): Likewise.
73186         (__ASSUME_TGKILL): Define without depending on kernel version for
73187         i386.
73188         (__ASSUME_UTIMES): Likewise.
73189         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
73190         kernel version.
73191         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
73192         (__ASSUME_TMPFS_NAME): Likewise.
73193         * README: Update reference to Linux kernel versions.
73195 2012-08-02  Marek Polacek  <polacek@redhat.com>
73197         [BZ #14150]
73198         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
73199         libc_cv_asm_type_prefix with %.
73200         * configure: Regenerated.
73201         * include/libc-symbols.h: Remove comment about
73202         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
73203         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
73204         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
73205         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
73206         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
73207         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
73208         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
73209         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
73210         * elf/tst-unique2mod1.c: Likewise.
73211         * elf/tst-unique1mod2.c: Likewise.
73212         * elf/tst-unique1mod1.c: Likewise.
73213         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
73214         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
73215         Replace ASM_TYPE_DIRECTIVE with .type.
73216         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73217         * sysdeps/i386/sysdep.h: Likewise.
73218         * sysdeps/x86_64/sysdep.h: Likewise.
73219         * sysdeps/sh/sysdep.h: Likewise.
73220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
73221         Do not define ASM_TYPE_DIRECTIVE.
73222         * sysdeps/powerpc/sysdep.h: Likewise.
73223         * sysdeps/powerpc/powerpc32/sysdep.h:
73224         Replace ASM_TYPE_DIRECTIVE with .type.
73225         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
73226         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
73227         * sysdeps/i386/fpu/e_powf.S: Likewise.
73228         * sysdeps/i386/fpu/e_expl.S: Likewise.
73229         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
73230         * sysdeps/i386/fpu/e_acosh.S: Likewise.
73231         * sysdeps/i386/fpu/e_pow.S: Likewise.
73232         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
73233         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
73234         * sysdeps/i386/fpu/s_expm1.S: Likewise.
73235         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
73236         * sysdeps/i386/fpu/e_log2.S: Likewise.
73237         * sysdeps/i386/fpu/e_log2l.S: Likewise.
73238         * sysdeps/i386/fpu/e_scalb.S: Likewise.
73239         * sysdeps/i386/fpu/e_powl.S: Likewise.
73240         * sysdeps/i386/fpu/e_log10f.S: Likewise.
73241         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
73242         * sysdeps/i386/fpu/e_logl.S: Likewise.
73243         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
73244         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
73245         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
73246         * sysdeps/i386/fpu/e_log2f.S: Likewise.
73247         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
73248         * sysdeps/i386/fpu/e_log.S: Likewise.
73249         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
73250         * sysdeps/i386/fpu/e_logf.S: Likewise.
73251         * sysdeps/i386/fpu/e_log10l.S: Likewise.
73252         * sysdeps/i386/fpu/e_atanh.S: Likewise.
73253         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
73254         * sysdeps/i386/fpu/e_log10.S: Likewise.
73255         * sysdeps/i386/fpu/s_frexp.S: Likewise.
73256         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
73257         * sysdeps/i386/fpu/s_asinh.S: Likewise.
73258         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
73259         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
73260         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
73261         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
73262         * sysdeps/i386/i686/strtok.S: Likewise.
73263         * sysdeps/i386/i386-mcount.S: Likewise.
73264         * sysdeps/i386/strtok.S: Likewise.
73265         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
73266         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
73267         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73268         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
73269         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
73270         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
73271         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
73272         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
73273         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
73274         * sysdeps/x86_64/_mcount.S: Likewise.
73275         * sysdeps/x86_64/strtok.S: Likewise.
73276         * sysdeps/sh/_mcount.S: Likewise.
73278 2012-08-01  Roland McGrath  <roland@hack.frob.com>
73280         * libio/iofopen.c: Include <fcntl.h>.
73281         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
73282         (_IO_fopen64, fopen64): Define as aliases.
73283         * libio/iofopen64.c: Include <fcntl.h>.
73284         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
73285         Conditionalize body on this.
73286         * sysdeps/wordsize-64/iofopen.c: File removed.
73287         * sysdeps/wordsize-64/iofopen64.c: File removed.
73289 2012-08-01  Marek Polacek  <polacek@redhat.com>
73291         * libc/Makeconfig: Use elf in place of binfmt-subdir.
73292         Use dlfcn directly instead of a variable.
73293         (binfmt-subdir): Do not define.
73294         (dlfcn): Likewise.
73296 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
73298         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
73299         Remove all definitions.
73300         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
73301         <kernel-features.h>.
73302         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
73303         (miss_F_GETOWN_EX): Remove all definitions.
73304         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
73305         macro definition.
73306         [!__ASSUME_FCNTL64]: Remove conditional code.
73307         [__ASSUME_FCNTL64]: Make code unconditional.
73308         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
73309         <kernel-features.h>.
73310         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
73311         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
73312         (lockf64) [__NR_fcntl64]: Make code unconditional.
73313         (lockf64) [__ASSUME_FCNTL64]: Likewise.
73315         * sysdeps/unix/sysv/linux/kernel-features.h
73316         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
73317         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
73318         Make code unconditional.
73319         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
73320         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
73321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
73322         [__NR_vfork]: Make code unconditional.
73323         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
73324         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
73325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
73326         [__NR_vfork]: Make code unconditional.
73327         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
73328         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
73330 2012-08-01  Roland McGrath  <roland@hack.frob.com>
73332         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
73333         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
73335         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
73336         Define mkstemp64 as an alias.
73337         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
73338         Define mkstemps64 as an alias.
73339         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
73340         Define mkostemp64 as an alias.
73341         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
73342         Define mkostemps64 as an alias.
73343         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
73344         Conditionalize body on this.
73345         * misc/mkostemp64.c: Likewise.
73346         * misc/mkostemps64.c: Likewise.
73347         * misc/mkstemps64.c: Likewise.
73348         * sysdeps/wordsize-64/mkstemp64.c: File removed.
73349         * sysdeps/wordsize-64/mkostemp64.c: File removed.
73350         * sysdeps/wordsize-64/mkostemp.c: File removed.
73351         * sysdeps/wordsize-64/mkstemp.c: File removed.
73352         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
73353         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
73354         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
73355         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
73357         [BZ #14138]
73358         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
73359         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
73360         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
73361         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
73363         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
73364         compat_symbol macros from <shlib-compat.h> rather than the underlying
73365         default_symbol_version and symbol_version macros, so that DEFAULT
73366         lines in shlib-versions are respected.
73367         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
73369 2012-08-01  Florian Weimer  <fweimer@redhat.com>
73371         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
73372         Declare with warn_unused_result.
73373         (setgid, setregid, setegid, setresgid): Likewise.
73374         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
73375         Likewise.
73376         * WUR-REPORT: Remove set*id functions.
73378 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
73380         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
73382 2012-07-31  Roland McGrath  <roland@hack.frob.com>
73384         [BZ #10191]
73385         * include/sys/socket.h (__libc_accept, __libc_accept4):
73386         Add attribute_hidden.
73387         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
73389         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
73390         use of PTR_MANGLE.
73391         * inet/getnetgrent_r.c (setup): Likewise.
73393         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
73395 2012-07-31  David S. Miller  <davem@davemloft.net>
73397         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73399 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
73401         [BZ #13629]
73402         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
73403         value between 1.0 and 2.0 and smaller part has absolute value less
73404         than 1.0.
73405         * math/s_clog10.c (__clog10): Likewise.
73406         * math/s_clog10f.c (__clog10f): Likewise.
73407         * math/s_clog10l.c (__clog10l): Likewise.
73408         * math/s_clogf.c (__clogf): Likewise.
73409         * math/s_clogl.c (__clogl): Likewise.
73410         * math/libm-test.inc (clog_test): Add more tests.
73411         (clog10_test): Likewise.
73412         * sysdeps/i386/fpu/libm-test-ulps: Update.
73413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73415 2012-07-31  Florian Weimer  <fweimer@redhat.com>
73417         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
73418         Exit with zero in case no suitable GID is found, and write a
73419         message to standard error.
73421 2012-07-30  Roland McGrath  <roland@hack.frob.com>
73423         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
73424         rather than to 1.
73425         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
73426         (MAXPATHLEN): Removed.
73427         (NOGROUP, NODEV): New macros.
73428         (setbit, clrbit, isset, isclr): New macros.
73429         (howmany, roundup, powerof2): New macros.
73430         (DEV_BSIZE): New macro.
73432         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
73433         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
73435         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
73436         definition on [!__NO_LONG_DOUBLE_MATH].
73438         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
73439         PTR_MANGLE and PTR_DEMANGLE.
73441         * socket/accept4.c (accept4): Rename to __libc_accept4.
73442         Define accept4 as a weak alias.
73444         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
73445         on [_DIRENT_HAVE_D_TYPE].
73446         * io/ftw.c (ftw_dir): Likewise.
73448         * io/xmknod.c (__xmknod): Don't check PATH for being null.
73450         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
73452         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
73453         Use the BSD numbers rather than the arbitrary ones we had.
73454         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
73455         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
73456         (SIGXCPU, SIGXFSZ): New macros.
73457         (_NSIG): Now 32.
73459         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
73460         initializer on [_LIBC_REENTRANT].
73462         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
73463         definitions inside [_POSIX_MAPPED_FILES].
73465         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
73467         * dirent/opendir.c: Include <fcntl.h>.
73469         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
73470         (__libc_getspecific): Likewise.
73471         (__libc_key_create): Likewise.
73473         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
73474         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
73475         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
73476         (tmpfile64): Define as alias.
73477         * sysdeps/wordsize-64/tmpfile.c: File removed.
73478         * sysdeps/wordsize-64/tmpfile64.c: File removed.
73479         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
73480         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
73482         * stdio-common/vfscanf.c: Include <stdbool.h>.
73483         * nss/makedb.c: Likewise.
73484         * stdio-common/_i18n_number.h: Likewise.
73485         * argp/argp-help.c: Likewise.
73486         * posix/wordexp.c: Likewise.
73487         * sysdeps/posix/spawni.c: Likewise.
73488         * nss/nss_files/files-initgroups.c: Likewise.
73489         * stdio-common/reg-modifier.c: Include <stdlib.h>.
73490         * nss/nss_files/files-initgroups.c: Likewise.
73491         * nss/nss_db/db-netgrp.c: Likewise.
73492         * nss/nss_db/db-initgroups.c: Likewise.
73493         * io/fchmodat.c: Include <sys/stat.h>.
73495         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
73496         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
73498         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
73499         [HAVE_MMAP].
73501         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
73502         Add multiple inclusion protection.
73504 2012-07-27  David S. Miller  <davem@davemloft.net>
73506         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73508 2012-07-27  Gary Benson  <gbenson@redhat.com>
73510         [BZ #14298]
73511         * elf/rtld.c: Include <stap-probe.h>.
73512         (dl_main): Added static probes "init_start" and "init_complete".
73513         * elf/dl-load.c: Include <stap-probe.h>.
73514         (lose): Take new parameter "nsid".
73515         Added static probe "map_failed".
73516         (_dl_map_object_from_fd): Pass namespace id to lose.
73517         Added static probe "map_start".
73518         (open_verify): Pass namespace id to lose.
73519         * elf/dl-open.c: Include <stap-probe.h>.
73520         (dl_open_worker) Added static probes "map_complete", "reloc_start"
73521         and "reloc_complete".
73522         * elf/dl-close.c: Include <stap-probe.h>.
73523         (_dl_close_worker): Added static probes "unmap_start" and
73524         "unmap_complete".
73525         * elf/rtld-debugger-interface.txt: New file documenting the above.
73527 2012-07-26  Roland McGrath  <roland@hack.frob.com>
73529         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
73530         rather than a string variable.
73531         * sunrpc/rpc_main.c (h_output): Likewise.
73532         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
73534 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
73536         * inet/check_native.c: New file.
73538 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
73540         [BZ #13629]
73541         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
73542         if larger part has absolute value 1.0.
73543         * math/s_clog10.c (__clog10): Likewise.
73544         * math/s_clog10f.c (__clog10f): Likewise.
73545         * math/s_clog10l.c (__clog10l): Likewise.
73546         * math/s_clogf.c (__clogf): Likewise.
73547         * math/s_clogl.c (__clogl): Likewise.
73548         * math/libm-test.inc (clog_test): Add more tests.
73549         (clog10_test): Likewise.
73550         * sysdeps/i386/fpu/libm-test-ulps: Update.
73551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73553         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
73554         (pltexit): Likewise.
73555         (La_regs): Likewise.
73556         (La_retval): Likewise.
73557         (int_retval): Likewise.
73558         Update #error for removed macros to refer only to definitions in
73559         tst-audit.h.
73560         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
73561         macro.
73562         (pltexit): Likewise.
73563         (La_regs): Likewise.
73564         (La_retval): Likewise.
73565         (int_retval): Likewise.
73566         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
73567         macro.
73568         (pltexit): Likewise.
73569         (La_regs): Likewise.
73570         (La_retval): Likewise.
73571         (int_retval): Likewise.
73572         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
73573         macro.
73574         (pltexit): Likewise.
73575         (La_regs): Likewise.
73576         (La_retval): Likewise.
73577         (int_retval): Likewise.
73578         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
73579         macro.
73580         (pltexit): Likewise.
73581         (La_regs): Likewise.
73582         (La_retval): Likewise.
73583         (int_retval): Likewise.
73584         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
73585         macro.
73586         (pltexit): Likewise.
73587         (La_regs): Likewise.
73588         (La_retval): Likewise.
73589         (int_retval): Likewise.
73590         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
73591         macro.
73592         (pltexit): Likewise.
73593         (La_regs): Likewise.
73594         (La_retval): Likewise.
73595         (int_retval): Likewise.
73596         * sysdeps/generic/tst-audit.h: Update comment to refer only to
73597         macro definitions in tst-audit.h.
73598         * sysdeps/i386/tst-audit.h: New file.
73599         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
73600         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
73601         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
73602         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
73603         * sysdeps/sh/tst-audit.h: Likewise.
73604         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
73605         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
73606         * sysdeps/x86_64/tst-audit.h: Likewise.
73608 2012-07-26  Andreas Jaeger  <aj@suse.de>
73610         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
73611         ptrace.
73613         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
73614         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
73615         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
73616         PTRACE_O_MASK.
73617         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
73618         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
73619         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
73621         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
73622         value.
73624         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
73625         _sigsys.
73626         (si_call_addr, si_syscall, si_arch): Define new macro.
73627         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
73628         _sigsys.
73629         (si_call_addr, si_syscall, si_arch): Define new marcro.
73630         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
73631         _sigsys.
73632         (si_call_addr, si_syscall, si_arch): Define new macro.
73633         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
73634         _sigsys.
73635         (si_call_addr, si_syscall, si_arch): Define new macro.
73637 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
73639         [BZ #13717]
73640         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
73641         Change to 2.4.21 where previously 2.4.1.
73642         * sysdeps/unix/sysv/linux/configure: Regenerated.
73643         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
73644         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
73645         Linux kernel version.
73646         (__ASSUME_STD_AUXV): Remove.
73647         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
73648         kernel version.
73649         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
73650         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
73651         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
73652         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
73653         (__ASSUME_NETLINK_SUPPORT): Likewise.
73654         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
73655         (__no_netlink_support): Remove conditional definition.
73656         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
73657         Remove.
73658         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
73659         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
73660         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
73661         (if_nameindex_ioctl): Remove.
73662         (if_nameindex_netlink): Do not handle __no_netlink_support.
73663         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
73664         code.
73665         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
73666         Remove conditional code.
73667         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
73668         code.
73669         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
73670         unconditional.
73671         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
73672         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
73673         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
73674         Remove.
73675         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
73676         [!__ASSUME_STD_AUXV]: Remove conditional code.
73677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
73678         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
73679         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
73680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
73681         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
73682         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
73683         code.
73684         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
73685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
73686         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
73687         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
73688         conditional code.
73689         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
73690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
73691         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
73692         code.
73693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
73694         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
73695         conditional code.
73696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
73697         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
73698         code unconditional.
73699         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73700         conditional code.
73701         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73702         unconditional.
73703         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73704         conditional code.
73705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
73706         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73707         unconditional.
73708         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73709         conditional code.
73710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
73711         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
73712         code unconditional.
73713         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73714         conditional code.
73715         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73716         unconditional.
73717         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73718         conditional code.
73719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
73720         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
73721         code unconditional.
73722         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73723         conditional code.
73724         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73725         unconditional.
73726         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73727         conditional code.
73729 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
73731         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
73732         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
73733         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
73734         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
73735         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
73736         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
73737         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
73738         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
73739         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
73740         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
73741         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
73742         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
73743         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
73744         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
73745         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
73746         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
73747         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
73748         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
73749         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
73750         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
73751         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
73752         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
73753         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
73755 2012-07-25  Florian Weimer  <fweimer@redhat.com>
73757         * Versions.def: Add GLIBC_2.17.
73758         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
73759         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
73760         Introduce __libc_secure_getenv.
73761         * stdlib/Versions (2.17): Add secure_getenv
73762         (GLIBC_PRIVATE): Add __libc_secure_getenv.
73763         * stdlib/secure-getenv.c: Rename __secure_getenv to
73764         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
73765         symbol __secure_getenv for GLIBC_2.0.
73766         * stdlib/tst-secure-getenv.c: New.
73767         * stdlib/Makefile (tests): Add testcase.
73768         * manual/startup.texi (Environment Access): Document
73769         secure_getenv.
73770         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
73771         __libc_secure_getenv.
73772         * inet/ruserpass.c (ruserpass): Likewise.
73773         * malloc/mtrace.c (mtrace): Likewise.
73774         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
73775         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
73776         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
73777         * sysdeps/posix/tempname.c: Likewise.  Evaluate
73778         HAVE_SECURE_GETENV.
73779         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
73780         __secure_getenv to __libc_secure_getenv.
73781         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
73782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73783         Likewise.
73784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73785         Likewise.
73786         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
73787         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
73788         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
73789         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
73790         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
73791         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
73792         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
73794 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
73796         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
73797         (struct La_i86_retval): Likewise.
73798         (struct La_x86_64_regs): Likewise.
73799         (struct La_x86_64_retval): Likewise.
73800         (struct La_x32_regs): Likewise.
73801         (struct La_x32_retval): Likewise.
73802         (struct La_ppc32_regs): Likewise.
73803         (struct La_ppc32_retval): Likewise.
73804         (struct La_ppc64_regs): Likewise.
73805         (struct La_ppc64_retval): Likewise.
73806         (struct La_sh_regs): Likewise.
73807         (struct La_sh_retval): Likewise.
73808         (struct La_s390_32_regs): Likewise.
73809         (struct La_s390_32_retval): Likewise.
73810         (struct La_s390_64_regs): Likewise.
73811         (struct La_s390_64_retval): Likewise.
73812         (struct La_sparc32_regs): Likewise.
73813         (struct La_sparc32_retval): Likewise.
73814         (struct La_sparc64_regs): Likewise.
73815         (struct La_sparc64_retval): Likewise.
73816         (struct audit_ifaces): Remove architecture-specific pltenter and
73817         pltexit members.
73818         * sysdeps/i386/ldsodefs.h: New file.
73819         * sysdeps/powerpc/ldsodefs.h: Likewise.
73820         * sysdeps/s390/ldsodefs.h: Likewise.
73821         * sysdeps/sh/ldsodefs.h: Likewise.
73822         * sysdeps/sparc/ldsodefs.h: Likewise.
73823         * sysdeps/x86_64/ldsodefs.h: Likewise.
73825 2012-07-25  Marek Polacek  <polacek@redhat.com>
73827         [BZ #6808]
73828         * math/libm-test.inc (yn_test): Add another test.
73829         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
73830         to ERANGE when the result is +-Inf.
73831         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
73832         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
73833         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
73834         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
73836 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
73838         * conform/data/time.h-data (NULL): Use macro-constant.  Require
73839         equal to 0.
73840         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
73841         clock_t.
73842         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
73844 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
73846         * configure.in <sysdeps resolving>: Correct printing
73847         Implies_before.
73848         * configure: Regenerate.
73850 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
73852         * math/w_ilogb.c: Include <limits.h>.
73853         * math/w_ilogbl.c: Likewise.
73855 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
73857         * manual/lang.texi (__va_copy): Document primarily as ISO C99
73858         va_copy.  Document allowing for unavailable va_copy only as
73859         pre-C99 compatibility.
73860         * manual/string.texi (Copying and Concatenation): Use va_copy
73861         instead of __va_copy in concat example.
73863 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
73865         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
73866         (__sendto): Use create_address_port.  Initialize APORT and deallocate
73867         it if not null.
73869         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
73870         with O_NOLINK passed to __file_name_lookup.
73872         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
73873         with O_NOLINK passed to __file_name_lookup.
73875         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
73876         negative N or less than NGIDS.
73878         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
73879         type to string_t.  Set ERANGE as errno and return it if NAME is not big
73880         enough.  Use memcpy instead of strncpy.
73882 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
73884         * elf/Makefile (check-data): Remove.
73885         (localplt.data): New vpath directive.
73886         ($(objpfx)check-localplt.out): Use localplt.data from vpath
73887         instead of $(check-data).
73888         * scripts/data/localplt-generic.data: Move to ...
73889         * sysdeps/generic/localplt.data: ... here.
73890         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
73891         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
73892         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
73893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
73894         ... here.
73895         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
73896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
73897         ... here.
73898         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
73899         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
73900         ... here.
73901         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
73902         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
73903         ... here.
73904         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
73905         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
73906         ... here.
73907         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
73908         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
73909         ... here.
73911 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73913         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
73914         PPC32 and PPC64 files.
73915         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
73916         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
73918 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73920         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
73921         __makecontext_ret to ...
73922         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
73923         ... here and call exit if uc_link is NULL.  New file.
73924         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
73925         __makecontext_ret.S.
73926         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
73927         __makecontext_ret to ...
73928         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
73929         ... here and call exit if uc_link is NULL.  New file.
73930         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
73931         __makecontext_ret.S.
73933 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73935         * elf/elf.h (R_390_IRELATIVE): New definition.
73936         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
73937         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
73938         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
73939         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
73940         (elf_machine_lazy_rel): Likewise.
73941         * sysdeps/s390/dl-irel.h: New file.
73942         * sysdeps/s390/s390-64/memcpy.S: New asm code.
73943         * sysdeps/s390/s390-64/memset.S: New asm code.
73944         * sysdeps/s390/s390-64/memcmp.S: New asm code.
73945         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
73946         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
73947         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
73948         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
73949         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
73950         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
73951         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
73952         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
73953         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
73954         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
73955         * sysdeps/s390/s390-32/memcpy.S: New asm code.
73956         * sysdeps/s390/s390-32/memset.S: New asm code.
73957         * sysdeps/s390/s390-32/memcmp.S: New asm code.
73959 2012-07-17  Marek Polacek  <polacek@redhat.com>
73961         [BZ #14349]
73962         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
73963         * sysdeps/s390/s390-64/configure.in: Likewise.
73964         * sysdeps/sparc/configure.in: Likewise.
73965         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
73966         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
73967         * sysdeps/i386/configure.in: Likewise.
73968         * sysdeps/x86_64/configure.in: Likewise.
73969         * sysdeps/sh/configure.in: Likewise.
73970         * sysdeps/s390/s390-32/configure: Regenerated.
73971         * sysdeps/s390/s390-64/configure: Likewise.
73972         * sysdeps/x86_64/configure: Likewise.
73973         * sysdeps/sh/configure: Likewise.
73974         * sysdeps/powerpc/powerpc64/configure: Likewise.
73975         * sysdeps/powerpc/powerpc32/configure: Likewise.
73976         * sysdeps/sparc/configure: Likewise.
73977         * sysdeps/i386/configure: Likewise.
73979         * elf/dl-open.c: Comment fixes.
73981 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
73983         * Makefile [CXX] (check-data): Remove.
73984         [CXX] (c++-types.data): New vpath directive.
73985         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
73986         vpath.  Do not allow for C++ type data being missing.
73987         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
73988         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
73989         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
73990         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
73991         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
73992         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
73993         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
73994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
73995         ... here.
73996         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
73997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
73998         ... here.
73999         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
74000         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
74001         ... here.
74002         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
74003         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
74004         ... here.
74005         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
74006         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
74007         ... here.
74008         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
74009         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
74010         ... here.
74011         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
74012         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
74013         ... here.
74014         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
74015         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
74017         * elf/tls-macros.h (TLS_LE): Move architecture-specific
74018         definitions to architecture-specific files.
74019         (TLS_IE): Likewise.
74020         (TLS_LD): Likewise.
74021         (TLS_GD): Likewise.
74022         * sysdeps/i386/tls-macros.h: New file.
74023         * sysdeps/powerpc/tls-macros.h: Likewise.
74024         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
74025         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
74026         * sysdeps/sh/tls-macros.h: Likewise.
74027         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
74028         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
74029         * sysdeps/x86_64/tls-macros.h: Likewise.
74031 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
74033         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
74034         zero value for regular exit case.
74036         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
74037         (__start_context): Preserve zero value for regular exit case.
74039 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
74040             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74042         * manual/setjmp.texi (setcontext): Clarify normal process
74043         termination when uc_link is the null pointer.
74044         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
74045         exit call.
74047 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
74049         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
74050         preprocessor.  Test for each exception mask separately.
74052 2012-07-16  Andreas Jaeger  <aj@suse.de>
74054         * po/ru.po: Update from translation team.
74056 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
74058         * conform/data/string.h-data (NULL): Use macro-constant.  Require
74059         equal to 0.
74060         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
74061         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
74062         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
74063         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
74064         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74066 2012-07-13  Andreas Jaeger  <aj@suse.de>
74068         * po/fr.po: Update from translation team.
74070 2012-07-12  Marek Polacek  <polacek@redhat.com>
74072         [BZ #14173]
74073         * math/libm-test.inc (yn_test): Add test for BZ #14173.
74074         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
74075         loop condition.
74077 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
74079         [BZ #13717]
74080         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
74081         Change to 2.4.1 where previously 2.4.0.
74082         * sysdeps/unix/sysv/linux/configure: Regenerated.
74083         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
74084         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
74085         version.
74086         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
74087         (__ASSUME_AT_CLKTCK): Remove.
74088         (__ASSUME_AT_PAGESIZE): Likewise.
74089         (__ASSUME_AT_XID): Likewise.
74090         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
74091         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
74092         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
74093         unconditionally.
74094         (HAVE_AUX_PAGESIZE): Likewise.
74095         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
74096         [__ASSUME_AT_CLKTCK]: Make code unconditional.
74097         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
74099 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
74101         [BZ #14307]
74102         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
74103         the temporary buffer used to invoke __gethostbyname2_r,
74104         __gethostbyaddr_r and gethostbyname4_r to make room for struct
74105         host_data / struct gaih_addrtuple.
74106         * resolv/nss_dns/dns-host.c (global scope): Move definition of
74107         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
74108         header file nss/nsswitch.h.
74109         * nss/nsswitch.h (global scope): Add definition of implementation
74110         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
74111         resolv/nss_dns/dns-host.c).
74113 2012-07-11  Andreas Jaeger  <aj@suse.de>
74115         * po/fr.po: Update from translation team.
74117         * po/sv.po: Update from translation team
74118         * po/fr.po: Another update from translation team.
74120 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74122         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
74123         for subnormals or multiply small sinh result by itself.
74124         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
74125         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74127 2012-07-11  David S. Miller  <davem@davemloft.net>
74129         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74131 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
74133         [BZ #14347]
74134         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
74135         (INTERNAL_MARK): Shift it here.
74137 2012-07-10  Marek Polacek  <polacek@redhat.com>
74139         [BZ #14151]
74140         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
74141         libc_cv_asm_global_directive with .globl.
74142         * configure: Regenerated.
74143         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
74144         with .globl.
74145         * sysdeps/i386/configure: Regenerated.
74146         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
74147         with .globl.
74148         * sysdeps/x86_64/configure: Regenerated.
74149         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
74150         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
74151         * elf/tst-unique2mod2.c: Likewise.
74152         * elf/tst-unique2mod1.c: Likewise.
74153         * elf/tst-unique1mod2.c: Likewise.
74154         * elf/tst-unique1mod1.c: Likewise.
74155         * sysdeps/s390/s390-32/sysdep.h: Likewise.
74156         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
74157         * sysdeps/s390/s390-64/sysdep.h: Likewise.
74158         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
74159         * sysdeps/mach/sysdep.h: Likewise.
74160         * sysdeps/i386/sysdep.h: Likewise.
74161         * sysdeps/i386/i386-mcount.S: Likewise.
74162         * sysdeps/x86_64/_mcount.S: Likewise.
74163         * sysdeps/x86_64/sysdep.h: Likewise.
74164         * sysdeps/sh/_mcount.S: Likewise.
74165         * sysdeps/sh/sysdep.h: Likewise.
74166         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
74167         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
74168         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
74169         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
74170         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
74171         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
74172         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
74173         * locale/localeinfo.h: Likewise.
74174         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
74175         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
74177 2012-07-09  Roland McGrath  <roland@hack.frob.com>
74179         [BZ #14336]
74180         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
74181         system".
74182         * manual/message.texi (The Uniforum approach): Likewise.
74183         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
74184         (glibc iconv Implementation): Likewise.
74186 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
74188         [BZ #14337]
74189         * math/s_clog.c (__clog): Avoid scaling a value down where that
74190         could result in underflow.
74191         * math/s_clog10.c (__clog10): Likewise.
74192         * math/s_clog10f.c (__clog10f): Likewise.
74193         * math/s_clog10l.c (__clog10l): Likewise.
74194         * math/s_clogf.c (__clogf): Likewise.
74195         * math/s_clogl.c (__clogl): Likewise.
74196         * math/libm-test.inc (clog_test): Add more tests.
74197         (clog10_test): Likewise.
74198         * sysdeps/i386/fpu/libm-test-ulps: Update.
74199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74201 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
74203         [BZ #14283]
74204         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
74205         by 7 not 8 to examine high bit of fractional part.
74207         [BZ #14042]
74208         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
74209         for call to __mcount_internal.
74210         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
74211         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
74212         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
74214 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
74216         [BZ #14154]
74217         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
74218         approximation for values within 0x1p-13f of an odd multiple of
74219         pi/4.
74220         * math/libm-test.inc (tan_test): Do not allow spurious underflow
74221         exception.  Add more tests.
74222         * sysdeps/i386/fpu/libm-test-ulps: Update.
74224         [BZ #6778]
74225         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
74226         inputs and return -1 for them.  Do not check for +Inf in case not
74227         reachable for +Inf.
74228         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
74229         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
74230         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
74231         and return -1 for them.  Do not check for +Inf in case not
74232         reachable for +Inf.
74233         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
74234         define.
74235         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
74236         and return -1 for them.  Do not check for +Inf in case not
74237         reachable for +Inf.
74238         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
74239         spurious underflow.
74240         * sysdeps/i386/fpu/libm-test-ulps: Update.
74241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74243 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
74245         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
74247 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
74249         [BZ #14157]
74250         [BZ #14331]
74251         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
74252         could result in spurious underflow.  Scale down values above
74253         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
74254         * math/s_csqrtf.c (__csqrtf): Likewise.
74255         * math/s_csqrtl.c (__csqrtl): Likewise.
74256         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
74257         spurious underflow.
74258         * sysdeps/i386/fpu/libm-test-ulps: Update.
74259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74261 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
74263         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
74264         xopen-msg.sed.
74265         * catgets/xopen-msg.awk: New file.
74266         * catgets/xopen-msg.sed: Removed.
74268         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
74269         po2text.sed.
74270         * intl/po2test.awk: New file.
74271         * intl/po2test.sed: Removed.
74273 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
74275         [BZ #14328]
74276         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
74277         or multiply small sinh result by itself.
74278         * math/s_ctanf.c (__ctanf): Likewise.
74279         * math/s_ctanh.c (__ctanh): Likewise.
74280         * math/s_ctanhf.c (__ctanhf): Likewise.
74281         * math/s_ctanhl.c (__ctanhl): Likewise.
74282         * math/s_ctanl.c (__ctanl): Likewise.
74283         * math/libm-test.inc (ctan_test_tonearest): New function.
74284         (ctan_test_towardzero): Likewise.
74285         (ctan_test_downward): Likewise.
74286         (ctan_test_upward): Likewise.
74287         (ctanh_test_tonearest): Likewise.
74288         (ctanh_test_towardzero): Likewise.
74289         (ctanh_test_downward): Likewise.
74290         (ctanh_test_upward): Likewise.
74291         (main): Call these new functions.
74292         * sysdeps/i386/fpu/libm-test-ulps: Update.
74293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74295 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
74297         * .gitignore: Delete /ports entry.
74299 2012-07-03  Andreas Jaeger  <aj@suse.de>
74301         * po/bg.po: Update from translation team.
74302         * po/cs.po: Likewise.
74303         * po/de.po: Likewise.
74304         * po/hr.po: Likewise.
74305         * po/nl.pl: Likewise.
74306         * po/pl.po: Likewise.
74307         * po/vi.po: Likewise.
74309 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
74311         * Makeconfig [!+link] (+link-before-libc): New variable.
74312         [!+link] (+link-after-libc): Likewise.
74313         [!+link] (+link-tests): Likewise.
74314         [!+link] (+link): Define in terms of $(+link-before-libc) and
74315         $(+link-after-libc).
74316         [!+link-static] (+link-static-before-libc): New variable.
74317         [!+link-static] (+link-static-after-libc): Likewise.
74318         [!+link-static] (+link-static-tests): Likewise.
74319         [!+link-static] (+link-static): Define in terms of
74320         $(+link-static-before-libc) and $(+link-static-after-libc).
74321         [build-shared] (link-libc-before-gnulib): New variable.
74322         [build-shared] (link-libc-tests): Likewise.
74323         [build-shared] (link-libc): Define in terms of
74324         $(link-libc-before-gnulib).
74325         [!build-shared] (link-libc-tests): New variable.
74326         (link-libc-static-tests): New variable.
74327         [!gnulib] (gnulib-arch): New variable.
74328         [!gnulib] (gnulib-tests): Likewise.
74329         [!gnulib] (static-gnulib-arch): Likewise.
74330         [!gnulib] (static-gnulib-tests): Likewise.
74331         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
74332         Define with "=" instead of ":=".
74333         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
74334         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
74335         * Rules (binaries-all-notests): New variable.
74336         (binaries-all-tests): Likewise.
74337         (binaries-static-notests): Likewise.
74338         (binaries-static-tests): Likewise.
74339         (binaries-all): Define using $(binaries-all-notests) and
74340         $(binaries-all-tests).
74341         (binaries-static): Define using $(binaries-static-notests) and
74342         $(binaries-static-tests).
74343         (binaries-shared-tests): New variable.
74344         (binaries-shared-notests): Likewise.
74345         (binaries-shared): Remove variable.
74346         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
74347         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
74348         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
74349         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
74350         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
74351         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
74352         * elf/Makefile (sln-modules): New variable.
74353         (extra-objs): Add $(sln-modules:=.o).
74354         (ldconfig-modules): Add static-stubs.
74355         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
74356         * elf/static-stubs.c: New file.
74358         [BZ #14283]
74359         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
74360         by 7 not 8 to examine high bit of fractional part.  Use volatile
74361         variables when splitting into final array of floats if
74362         __FLT_EVAL_METHOD__ != 0.
74363         * math/libm-test.inc (cos_test): Add another test.
74364         (sin_test): Likewise.
74365         * sysdeps/i386/fpu/libm-test-ulps: Update.
74367         [BZ #14273]
74368         * math/libm-test.inc (cosh_test): Add more tests.
74370         * version.h (RELEASE): Set to "development".
74371         (VERSION): Set to "2.16.90".
74373 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
74375         * NEWS: Update copyright. Remove last-updated date.
74376         Mention math library bug fixes and timezone data changes.
74377         * README: Mention GNU/Hurd, x32, and HPPA support status.
74379 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
74381         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
74383 2012-06-27  Andreas Jaeger  <aj@suse.de>
74385         * manual/contrib.texi (Contributors): Add Samuel Thibault.
74387 2012-06-25  Andreas Jaeger  <aj@suse.de>
74389         * sysdeps/s390/fpu/libm-test-ulps: Update.
74391 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
74392             Thomas Schwinge  <thomas@codesourcery.com>
74394         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
74395         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
74396         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
74397         fanotify_mark.
74399 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
74401         * sysdeps/mach/start.c: Remove file.
74402         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
74403         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
74404         * sysdeps/sh/init-first.c: Likewise.
74406         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
74407         registers for frame unwinding purposes, add CFI directives.
74408         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
74409         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
74410         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
74411         Likewise.
74413         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
74414         __fortify_fail returning.
74415         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
74417         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
74418         sysdeps/sh/____longjmp_chk.S.
74419         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
74420         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
74421         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
74422         (gen-as-const-headers): Append sigaltstack-offsets.sym.
74424         * sysdeps/sh/abort-instr.h: New file.
74425         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
74426         process in case exit returns.
74428         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
74429         initialize the GOT register before use.
74431         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
74432         calculation of ARGC > 4.
74434         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
74435         meaningful names to some local labels.
74437 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
74438             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
74440         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
74441         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
74442         (__arch_compare_and_exchange_val_16_acq): Likewise.
74443         (__arch_compare_and_exchange_val_32_acq): Likewise.
74444         (atomic_exchange_and_add): Fix gUSA sequence.
74445         (atomic_add): Likewise.
74446         (atomic_add_negative): Likewise.
74447         (atomic_add_zero): Likewise.
74448         (atomic_bit_test_set): Likewise.
74450 2012-06-22  Andreas Schwab  <schwab@redhat.com>
74452         [BZ #13579]
74453         * include/link.h (struct link_map): Add l_free_initfini.
74454         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
74455         l_initfini.
74456         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
74457         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
74458         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
74459         set.
74461 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
74463         * configure.in: Use AC_LANG_SOURCE.
74464         * configure: Regenerate.
74466 2012-06-22  Roland McGrath  <roland@hack.frob.com>
74468         * configure.in (libc_cv_localstatedir): New substituted variable.
74469         * configure: Regenerated.
74470         * config.make.in (localstatedir): New variable, substituted from
74471         libc_cv_localstatedir.
74472         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
74473         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
74474         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
74475         * sysdeps/gnu/configure: Regenerated.
74477 2012-06-21  Jeff Law  <law@redhat.com>
74479         [BZ #14277]
74480         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
74481         free.  Simplify list management for _LIBC case.
74483 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
74485         [BZ #14273]
74486         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
74487         Clear sign bit of 64-bit integer value before comparing against
74488         overflow value.
74490         * sysdeps/mach/configure: Regenerated.
74492 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
74494         [BZ #14278]
74495         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
74497 2012-06-21  Jeff Law  <law@redhat.com>
74499         [BZ #13882]
74500         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
74501         uint16_t for elements in the "seen" array to avoid char overflows.
74502         * elf/dl-fini.c (_dl_sort_fini): Likewise.
74503         * elf/dl-open.c (dl_open_worker): Likewise.
74505 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
74507         * scripts/list-sources.sh: Scan PORTS for translations.
74508         * po/libc.pot: Regenerated.
74510 2012-06-21  Andreas Jaeger  <aj@suse.de>
74512         [BZ #12194]
74513         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
74514         warning.
74515         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
74516         * bits/byteswap-16.h (__bswap_16): Likewise.
74517         * bits/byteswap.h (__bswap_constant_16): Likewise.
74519 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
74521         [BZ #14117]
74522         * sysdeps/i386/fpu_control.h: Removed.
74523         * sysdeps/x86_64/fpu_control.h: Moved to ...
74524         * sysdeps/x86/fpu_control.h: Here.
74526         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
74527         (_FPU_SETCW): Likewise.
74529 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
74531         [BZ #14117]
74532         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
74533         * sysdeps/x86/fpu/bits/mathinline.h: This.
74534         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
74536         [BZ #14050]
74537         [BZ #14117]
74538         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
74539         functions if __x86_64__ is defined.
74541 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
74543         * string/endian.h: Add !__ASSEMBLER__ condition for including
74544         conversion interfaces.
74546 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
74548         [BZ #14241]
74549         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
74550         of ABS(x) in calculating zero to negative powers other than odd
74551         integers.
74552         * math/libm-test.inc (pow_test): Add more tests.
74554 2012-06-15  Andreas Jaeger  <aj@suse.de>
74556         * manual/contrib.texi (Contributors): Update entry of Liubov
74557         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
74558         Machado Filho.
74560 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
74562         * string/string.h: Add __wur to GNU version of strerror_r.
74564 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
74566         [BZ #14229]
74567         * string/Makefile (tests): Add tst-strtok_r.
74568         * string/tst-strtok_r.c: New file.
74569         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
74570         RAX_LP/RDX_LP on SAVE_PTR.
74572 2012-06-14  Roland McGrath  <roland@hack.frob.com>
74574         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
74576 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
74578         * libm_test.inc (csqrt_test): Allow more spurious underflow
74579         exceptions.
74580         (j0_test): Likewise.
74581         (j1_test): Likewise.
74582         (y0_test): Likewise.
74583         (y1_test): Likewise.
74585 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
74587         * po/Makefile (libc.pot): Use UTF-8 charset.
74589 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
74591         [BZ #14210]
74592         Suppress sign-conversion warning from FD_SET.
74593         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
74594         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
74595         not unsigned long int.
74596         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
74598 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
74600         [BZ #14050]
74601         [BZ #14117]
74602         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
74603         __extern_always_inline instead of __extern_inline.
74604         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
74605         (__signbit): Likewise.
74606         (__signbitl): Support C++ namespace.
74607         (lrintf): New inline function.
74608         (lrint): Likewise.
74609         (llrintf): Likewise.
74610         (llrint): Likewise.
74611         (fmaxf): Likewise.
74612         (fmax): Likewise.
74613         (fminf): Likewise.
74614         (fmin): Likewise.
74615         (rint): Likewise.
74616         (rintf): Likewise.
74617         (ceil): Likewise.
74618         (ceilf): Likewise.
74619         (floor): Likewise.
74620         (floorf): Likewise.
74621         (nearbyint): Likewise.
74622         (nearbyintf): Likewise.
74624 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
74626         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
74627         non-default versions.
74629 2012-06-11  Roland McGrath  <roland@hack.frob.com>
74631         [BZ #14218]
74632         * manual/argp.texi (Argp): Reword argp_parse description slightly.
74634 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
74636         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
74637         (FE_UPWARD, FE_DOWNWARD): Don't define.
74638         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
74639         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
74641         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
74642         reading it.
74643         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
74644         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
74646 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
74648         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
74649         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
74650         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
74651         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
74653 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
74655         [BZ #14117]
74656         * sysdeps/i386/fpu/bits/fenv.h: Removed.
74657         * sysdeps/i386/fpu/Implies: New file.
74658         * sysdeps/x86_64/fpu/Implies: Likewise.
74659         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
74660         * sysdeps/x86/fpu/bits/fenv.h: This.
74662         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
74663         __SSE_MATH__.
74665 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
74667         [BZ #14134]
74668         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
74669         character 0xffff that matches the last element of the
74670         conversion table.
74672 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74674         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
74675         fmodl commit.
74677 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74679         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
74680         values higher than 25.6283.
74682 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74684         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
74685         subnormal exponent extraction and add some __builtin_expect.
74686         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
74687         Fix for subnormal mantissa calculation.
74689 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
74691         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
74692         cpu2 is -1 and errno is not ENOSYS.
74694 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
74696         [BZ #14117]
74697         * sysdeps/i386/i486/bits/string.h: Renamed to ...
74698         * sysdeps/x86/bits/string.h: This.
74699         * sysdeps/x86_64/bits/string.h: Removed.
74701         * sysdeps/i386/i486/bits/string.h: Define inline functions only
74702         if not compiling for x86-64, but compiling for >= i486.
74704         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
74705         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
74707         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
74708         New macro from Linux kernel 3.4.0.
74709         (FP_XSTATE_MAGIC2): Likewise.
74710         (FP_XSTATE_MAGIC2_SIZE): Likewise.
74711         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
74712         (struct _fpx_sw_bytes): New struct.
74713         (struct _xsave_hdr): Likewise.
74714         (struct _ymmh_state): Likewise.
74715         (struct _xstate): Likewise.
74717         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
74718         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
74719         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
74720         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
74721         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
74722         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
74724         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
74725         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
74726         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
74727         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
74728         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
74729         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
74731 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74733         [BZ #13743]
74734         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
74735         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
74736         (sysdep_headers): Include sys/platform/ppc.h.
74737         * sysdeps/powerpc/test-gettimebase.c: Test for
74738         __ppc_get_timebase() to catch future ISA opcode/insn changes.
74739         * manual/Makefile (appendices): Include platform.texi.
74740         * manual/contrib.texi (Contributors): Update @node pointers.
74741         * manual/maint.texi (Maintenance): Likewise.
74742         (Platform): New node.
74743         * manual/platform.texi: New file.  Document the new features.
74745 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
74746             Jakub Jelinek  <jakub@redhat.com>
74748         [BZ #14188]
74749         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
74750         where __builtin_expect is unavailable.
74752 2012-06-03  David S. Miller  <davem@davemloft.net>
74754         * stdlib/longlong.h: Updated from GCC.
74756 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
74758         [BZ #14042]
74759         * sysdeps/powerpc/powerpc32/mcount.c: New file.
74760         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
74761         __mcount_internal.
74762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
74763         (GLIBC_2.16): Likewise.
74765 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
74767         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
74769 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
74771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
74772         (default-abi): New variable.
74773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
74774         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
74775         variable.
74776         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
74777         Likewise.
74778         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
74779         Likewise.
74780         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
74781         Likewise.
74783         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
74784         definition.  Document in comment.
74786 2012-06-01  David S. Miller  <davem@davemloft.net>
74788         * stdlib/longlong.h: Updated from GCC.
74790 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
74792         [BZ #14117]
74793         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
74794         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
74795         sys/debugreg.h sys/io.h here.
74796         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
74797         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
74798         sys/io.h.
74799         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
74800         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
74801         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
74802         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
74803         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
74804         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
74806         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
74807         Define only if __x86_64__ is defined.
74809 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
74811         [BZ #14048]
74812         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
74813         Use int64_t for variable i.
74814         * math/libm-test.inc (fmod_test): Add more tests.
74816         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
74817         z computation is not scheduled after fetestexcept.
74818         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
74819         Use math_force_eval instead of asm to ensure calculation scheduled
74820         before exception test.
74821         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
74822         Ensure a1 + u.d computation is not scheduled after fetestexcept.
74824 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
74826         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
74827         computation is not scheduled after fetestexcept.
74829 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
74831         [BZ #14117]
74832         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
74833         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
74835 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74837         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
74838         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
74840 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
74842         [BZ #14117]
74843         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
74844         <bits/wordsize.h>.
74845         (__WCHAR_MIN): Support __WORDSIZE == 64.
74846         (__WCHAR_MAX): Likewise.
74848         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
74849         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
74851         [BZ #14183]
74852         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
74853         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
74855         [BZ #14117]
74856         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
74857         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
74859         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
74860         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
74862         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
74863         Defined to 1 if __x86_64__ isn't defined.
74864         (_STAT_VER_LINUX_OLD): New.
74865         (st_atime): Remove duplicate.
74866         (st_mtime): Likewise.
74867         (st_ctime): Likewise.
74869 2012-05-31  David S. Miller  <davem@davemloft.net>
74871         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
74872         entries.
74874 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
74876         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
74877         gen-libm-test.pl.
74879         [BZ #14132]
74880         * elf/dl-reloc.c: Include <_itoa.h>.
74881         (_dl_reloc_bad_type): Remove use of INTUSE.
74882         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
74883         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
74884         * stdio-common/psiginfo.c (psiginfo): Likewise.
74885         * stdio-common/psignal.c (psignal): Likewise.
74886         * string/strsignal.c (strsignal): Likewise.
74887         * include/signal.h (_sys_siglist): Declare hidden proto.
74888         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
74889         INTVARDEF with libc_hidden_data_def.
74890         * stdio-common/itoa-udigits.c: Likewise.
74891         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
74892         (_itoa_lower_digits_internal): Remove declaration.
74893         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
74894         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
74895         (_sys_sigabbrev_internal): Remove aliases.
74896         (_sys_siglist): Define hidden alias.
74898 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
74900         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74901         bits/sysctl.h.
74903 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
74905         [BZ #14117]
74906         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
74907         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
74909         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
74910         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
74911         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
74912         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
74913         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
74914         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
74916         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
74917         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
74918         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
74920         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
74921         with __addr.
74922         (insw): Likewise.
74923         (insl): Likewise.
74924         (outsb): Likewise.
74925         (outsw): Likewise.
74926         (outsl): Likewise.
74928         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
74929         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
74930         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
74932         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
74933         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
74934         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
74935         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
74936         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
74937         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
74939         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
74940         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
74942         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
74943         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
74945         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
74946         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
74947         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
74949         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
74950         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
74951         to ...
74952         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
74954         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
74955         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
74956         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
74958         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
74959         for x86-64.
74960         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
74962 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
74964         * math/math.h (M_El): Use two more decimal places.
74965         (M_LOG2El): Likewise.
74966         (M_LOG10El): Likewise.
74967         (M_LN2l): Likewise.
74968         (M_LN10l): Likewise.
74969         (M_PIl): Likewise.
74970         (M_PI_2l): Likewise.
74971         (M_PI_4l): Likewise.
74972         (M_1_PIl): Likewise.
74973         (M_2_PIl): Likewise.
74974         (M_2_SQRTPIl): Likewise.
74975         (M_SQRT2l): Likewise.
74976         (M_SQRT1_2l): Likewise.
74978 2012-05-31  David S. Miller  <davem@davemloft.net>
74980         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
74981         values between float registers.
74982         * sysdeps/sparc/sparc64/memset.S: Likewise.
74983         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
74985 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
74987         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
74988         -D_FORTIFY_SOURCE=1.
74989         (CPPFLAGS-tst-longjmp_chk.c): Define.
74990         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
74991         (CPPFLAGS-tst-longjmp_chk2.c): Define.
74992         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
74993         CFLAGS-tst-wchar-h.c.
74995 2012-05-31  Marek Polacek  <polacek@redhat.com>
74997         [BZ #14132]
74998         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
74999         __endmntent_internal): Remove declaration.
75000         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
75001         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
75002         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
75004 2012-05-30  David S. Miller  <davem@davemloft.net>
75006         * sysdeps/sparc/sparc32/soft-fp/q_util.c
75007         (___Q_simulate_exceptions): Use real FP ops rather than writing
75008         into the %fsr.
75009         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
75010         Likewise.
75012 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
75014         [BZ #14117]
75015         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
75016         * sysdeps/x86/bits/xtitypes.h: This.
75018         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
75019         * sysdeps/x86/bits/wordsize.h: This.
75021         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
75022         * sysdeps/x86/bits/huge_vall.h: This.
75024         * sysdeps/i386/bits/select.h: Removed.
75025         * sysdeps/x86_64/bits/select.h: Renamed to ...
75026         * sysdeps/x86/bits/select.h: This.
75028         * sysdeps/i386/bits/setjmp.h: Removed.
75029         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
75030         * sysdeps/x86/bits/setjmp.h: This.
75032         * sysdeps/i386/bits/mathdef.h: Removed.
75033         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
75034         * sysdeps/x86/bits/mathdef.h: This.
75036 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
75038         [BZ #14132]
75039         * include/sys/socket.h (__connect_internal)
75040         (__libc_sa_len_internal): Remove declaration.
75041         (__connect, __libc_sa_len): Declare hidden_proto.
75042         (SA_LEN): Remove use of INTUSE.
75043         * socket/connect.c: Add libc_hidden_def.
75044         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
75045         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
75046         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
75047         alias.
75048         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
75049         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
75050         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
75051         of adding _internal alias.
75053 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
75055         [BZ #14117]
75056         * sysdeps/i386/bits/link.h: Removed.
75057         * sysdeps/i386/bits/linkmap.h: Likewise.
75058         * sysdeps/x86_64/bits/link.h: Renamed to ...
75059         * sysdeps/x86/bits/link.h: This.
75060         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
75061         * sysdeps/x86/bits/linkmap.h: This.
75063         * sysdeps/i386/bits/endian.h: Removed.
75064         * sysdeps/x86_64/bits/endian.h: Renamed to ...
75065         * sysdeps/x86/bits/endian.h: This.
75067         * sysdeps/i386/bits/byteswap.h: Removed.
75068         * sysdeps/i386/bits/byteswap-16.h: Likewise.
75069         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
75070         * sysdeps/x86/bits/byteswap.h: This.
75071         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
75072         * sysdeps/x86/bits/byteswap-16.h: This.
75073         * sysdeps/i386/Implies: Add x86.
75074         * sysdeps/x86_64/Implies: Likewise.
75076 2012-05-30  David S. Miller  <davem@davemloft.net>
75078         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
75079         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
75080         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
75081         (FP_TRAPPING_EXCEPTIONS): Define.
75082         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
75083         (FP_TRAPPING_EXCEPTIONS): Define.
75084         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
75085         subnormals only when inexact has been signalled or underflow
75086         exceptions are enabled.
75087         (_FP_PACK_CANONICAL): Likewise.
75089 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
75091         [BZ #14183]
75092         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
75093         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
75095 2012-05-30  Richard Henderson  <rth@twiddle.net>
75097         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
75098         with #ifndef NOT_IN_libc.
75100         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
75101         marked to avoid plt entry.
75103 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
75105         [BZ #14112]
75106         * Makeconfig (default-abi): New macro.
75107         (abi-includes): Likewise.
75108         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
75109         $(abi-$(default-abi)-lib-soname) for soname if defined.
75110         ($(common-objpfx)gnu/lib-names.stmp): Generate from
75111         abi-variants.
75112         * Makefile (installed-stubs): Likewise.
75113         * include/stubs-biarch.h: Removed.
75114         * scripts/lib-names.awk: Only handle one library at a time.
75115         * scripts/soversions.awk: Remove WORDSIZE support.
75116         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
75117         entries.
75118         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
75119         Removed.
75120         (syscall-list-default-condition): Likewise.
75121         (syscall-list-default-condition): Likewise.
75122         (syscall-list-includes): Likewise.
75123         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
75124         syscall-list-* with abi-*.  Handle undefined abi-variants.
75125         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
75126         * sysdeps/unix/sysv/linux/i386/Implies: New file.
75127         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
75128         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
75129         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
75130         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
75131         Removed.
75132         (syscall-list-32-options): Likewise.
75133         (syscall-list-32-condition): Likewise.
75134         (syscall-list-64-options): Likewise.
75135         (syscall-list-64-condition): Likewise.
75136         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
75137         macro.
75138         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
75139         Renamed to ...
75140         (abi-*): This.
75141         (abi-64-ld-soname): New macro.
75142         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
75143         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
75144         Renamed to ...
75145         (abi-*): This.
75146         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
75147         * sysdeps/x86_64/x32/shlib-versions: Likewise.
75149 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
75151         * sysdeps/unix/sysv/linux/kernel-features.h
75152         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
75153         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
75154         include <kernel-features.h>.
75155         [!__NR_ftruncate64]: Remove conditional code.
75156         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75157         [__NR_ftruncate64]: Make code unconditional.
75158         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75159         * sysdeps/unix/sysv/linux/truncate64.c: Do not
75160         include <kernel-features.h>.
75161         [!__NR_ftruncate64]: Remove conditional code.
75162         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75163         [__NR_ftruncate64]: Make code unconditional.
75164         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
75166         include <kernel-features.h>.
75167         [!__NR_ftruncate64]: Remove conditional code.
75168         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75169         [__NR_ftruncate64]: Make code unconditional.
75170         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
75172         include <kernel-features.h>.
75173         [!__NR_ftruncate64]: Remove conditional code.
75174         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75175         [__NR_ftruncate64]: Make code unconditional.
75176         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75178         * configure.in (libc_cv_fpie): Weaken to a compile test using
75179         LIBC_TRY_CC_OPTION.
75180         * configure: Regenerated.
75182 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75184         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
75185         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
75186         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
75187         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
75188         Refreshed.
75189         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
75190         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
75191         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
75192         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
75193         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
75194         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
75195         Refreshed.
75197 2012-05-27  David S. Miller  <davem@davemloft.net>
75199         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
75200         (___Q_zero): New.
75201         (__Q_simulate_exceptions): Return void.  Change to simulate
75202         exceptions by writing into the %fsr.
75203         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
75204         (__Qp_handle_exceptions): Likewise.
75205         (numbers): Delete.
75206         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
75207         __Qp_handle_exceptions.
75208         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
75209         __Qp_handle_exceptions.
75210         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
75211         as unused and give dummy FP_RND_NEAREST initializer.
75212         (FP_INHIBIT_RESULTS): Define.
75213         (___Q_simulate_exceptions): Update declaration.
75214         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
75215         formatting.
75216         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
75217         as unused and give dummy FP_RND_NEAREST initializer.
75218         (__Qp_handle_exceptions): Update declaration.
75219         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
75220         formatting.
75222 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
75224         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
75225         the temporary FPU control word.
75226         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
75227         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
75228         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
75229         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
75230         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
75231         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
75232         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
75233         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
75234         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
75235         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
75236         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
75238 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
75240         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
75241         fields.
75243 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
75245         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
75246         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
75247         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
75248         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
75249         Likewise.
75250         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
75251         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
75252         Likewise.
75254 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
75256         * po/h.po: Update from translation team.
75258 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
75260         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
75262         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
75263         handling of denormals.
75264         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
75265         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
75266         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
75267         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
75268         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
75269         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
75270         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
75271         Likewise.
75273 2012-05-26  Marek Polacek  <polacek@redhat.com>
75275         [BZ #14152]
75276         * math/libm-test.inc (fma_test): Don't always expect underflow
75277         exception.
75279 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
75281         [BZ #12416]
75282         * elf/tst-execstack.c: Include stackinfo.h.
75283         (do_test): Adjust test case to ensure that pthread_getattr_np
75284         behaviour remains the same after marking stack executable.
75286 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
75288         * sysdeps/unix/sysv/linux/kernel-features.h
75289         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
75290         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
75291         kernel-features.h.
75292         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
75293         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
75294         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
75295         kernel-features.h.
75296         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
75297         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
75299 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
75301         * configure.in: Define the default includes to being none.
75302         * configure: Regenerated.
75304 2012-05-25  Roland McGrath  <roland@hack.frob.com>
75306         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
75307         * sysdeps/x86_64/setjmp.S: Likewise.
75308         * sysdeps/i386/bsd-setjmp.S: Likewise.
75309         * sysdeps/i386/bsd-_setjmp.S: Likewise.
75310         * sysdeps/i386/setjmp.S: Likewise.
75311         * sysdeps/i386/__longjmp.S: Likewise.
75312         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
75313         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
75315         * include/stap-probe.h: New file.
75316         * configure.in: Handle --enable-systemtap.
75317         * configure: Regenerated.
75318         * config.h.in (USE_STAP_PROBE): New #undef.
75319         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
75320         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
75321         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
75323 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
75325         [BZ #13717]
75326         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
75327         to 2.4.0 where earlier.
75328         * sysdeps/unix/sysv/linux/configure: Regenerated.
75329         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
75330         <kernel-features.h>.
75331         [__ASSUME_32BITUIDS]: Make code unconditional.
75332         [!__ASSUME_32BITUIDS]: Remove conditional code.
75333         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
75334         <kernel-features.h>.
75335         [__ASSUME_32BITUIDS]: Make code unconditional.
75336         [!__ASSUME_32BITUIDS]: Remove conditional code.
75337         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
75338         [__ASSUME_32BITUIDS]: Make code unconditional.
75339         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
75340         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
75341         <kernel-features.h>.
75342         [__ASSUME_32BITUIDS]: Make code unconditional.
75343         [!__ASSUME_32BITUIDS]: Remove conditional code.
75344         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
75345         <kernel-features.h>.
75346         [__ASSUME_32BITUIDS]: Make code unconditional.
75347         [!__ASSUME_32BITUIDS]: Remove conditional code.
75348         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
75349         <kernel-features.h>.
75350         [__ASSUME_32BITUIDS]: Make code unconditional.
75351         [!__ASSUME_32BITUIDS]: Remove conditional code.
75352         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
75353         <kernel-features.h>.
75354         [__ASSUME_32BITUIDS]: Make code unconditional.
75355         [!__ASSUME_32BITUIDS]: Remove conditional code.
75356         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
75357         <kernel-features.h>.
75358         [__ASSUME_32BITUIDS]: Make code unconditional.
75359         [!__ASSUME_32BITUIDS]: Remove conditional code.
75360         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
75361         <kernel-features.h>.
75362         [__ASSUME_32BITUIDS]: Make code unconditional.
75363         [!__ASSUME_32BITUIDS]: Remove conditional code.
75364         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
75365         <kernel-features.h>.
75366         [__ASSUME_32BITUIDS]: Make code unconditional.
75367         [!__ASSUME_32BITUIDS]: Remove conditional code.
75368         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
75369         <kernel-features.h>.
75370         [__ASSUME_32BITUIDS]: Make code unconditional.
75371         [!__ASSUME_32BITUIDS]: Remove conditional code.
75372         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
75373         <kernel-features.h>.
75374         [__ASSUME_32BITUIDS]: Make code unconditional.
75375         [!__ASSUME_32BITUIDS]: Remove conditional code.
75376         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
75377         <kernel-features.h>.
75378         [__ASSUME_32BITUIDS]: Make code unconditional.
75379         [!__ASSUME_32BITUIDS]: Remove conditional code.
75380         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
75381         <kernel-features.h>.
75382         [__NR_setresgid] (__setresgid): Do not declare.
75383         [__ASSUME_32BITUIDS]: Make code unconditional.
75384         [!__ASSUME_32BITUIDS]: Remove conditional code.
75385         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
75386         <kernel-features.h>.
75387         [__NR_setresuid] (__setresuid): Do not declare.
75388         [__ASSUME_32BITUIDS]: Make code unconditional.
75389         [!__ASSUME_32BITUIDS]: Remove conditional code.
75390         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
75391         <kernel-features.h>.
75392         [__ASSUME_32BITUIDS]: Make code unconditional.
75393         [!__ASSUME_32BITUIDS]: Remove conditional code.
75394         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
75395         <kernel-features.h>.
75396         [__ASSUME_32BITUIDS]: Make code unconditional.
75397         [!__ASSUME_32BITUIDS]: Remove conditional code.
75398         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
75399         <kernel-features.h>.
75400         [__ASSUME_32BITUIDS]: Make code unconditional.
75401         [!__ASSUME_32BITUIDS]: Remove conditional code.
75402         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
75403         <kernel-features.h>.
75404         [__ASSUME_32BITUIDS]: Make code unconditional.
75405         [!__ASSUME_32BITUIDS]: Remove conditional code.
75406         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
75407         <kernel-features.h>.
75408         [__ASSUME_32BITUIDS]: Make code unconditional.
75409         [!__ASSUME_32BITUIDS]: Remove conditional code.
75410         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
75411         <kernel-features.h>.
75412         [__ASSUME_32BITUIDS]: Make code unconditional.
75413         [!__ASSUME_32BITUIDS]: Remove conditional code.
75414         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
75415         <kernel-features.h>.
75416         [__ASSUME_32BITUIDS]: Make code unconditional.
75417         [!__ASSUME_32BITUIDS]: Remove conditional code.
75418         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
75419         <kernel-features.h>.
75420         [__ASSUME_32BITUIDS]: Make code unconditional.
75421         [!__ASSUME_32BITUIDS]: Remove conditional code.
75422         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
75423         <kernel-features.h>.
75424         [__ASSUME_32BITUIDS]: Make code unconditional.
75425         [!__ASSUME_32BITUIDS]: Remove conditional code.
75426         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
75427         <kernel-features.h>.
75428         [__ASSUME_32BITUIDS]: Make code unconditional.
75429         [!__ASSUME_32BITUIDS]: Remove conditional code.
75430         * sysdeps/unix/sysv/linux/kernel-features.h
75431         (__ASSUME_SETRESUID_SYSCALL): Remove.
75432         (__ASSUME_SETRESGID_SYSCALL): Likewise.
75433         (__ASSUME_32BITUIDS): Likewise.
75434         (__ASSUME_LDT_WORKS): Likewise.
75435         (__ASSUME_O_DIRECTORY): Likewise.
75436         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
75437         architecture but not kernel version.
75438         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
75439         (__ASSUME_MMAP2_SYSCALL): Likewise.
75440         (__ASSUME_STAT64_SYSCALL): Likewise.
75441         (__ASSUME_IPC64): Likewise.
75442         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
75443         <kernel-features.h>.
75444         [__ASSUME_32BITUIDS]: Make code unconditional.
75445         [!__ASSUME_32BITUIDS]: Remove conditional code.
75446         * sysdeps/unix/sysv/linux/opendir.c: Do not include
75447         <kernel-features.h>.
75448         [__ASSUME_O_DIRECTORY]: Make code unconditional.
75449         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
75450         132096]: Remove conditional code.
75451         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
75452         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
75453         <kernel-features.h>.
75454         [__ASSUME_32BITUIDS]: Make code unconditional.
75455         [!__ASSUME_32BITUIDS]: Remove conditional code.
75456         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
75457         <kernel-features.h>.
75458         [__ASSUME_32BITUIDS]: Make code unconditional.
75459         [!__ASSUME_32BITUIDS]: Remove conditional code.
75460         * sysdeps/unix/sysv/linux/setegid.c: Do not include
75461         <kernel-features.h>.
75462         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
75463         unconditional.
75464         (__setresgid): Do not declare.
75465         [__ASSUME_32BITUIDS]: Make code unconditional.
75466         [!__ASSUME_32BITUIDS]: Remove conditional code.
75467         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
75468         <kernel-features.h>.
75469         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
75470         unconditional.
75471         (__setresuid): Do not declare.
75472         [__ASSUME_32BITUIDS]: Make code unconditional.
75473         [!__ASSUME_32BITUIDS]: Remove conditional code.
75474         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
75475         <kernel-features.h>.
75476         [__ASSUME_32BITUIDS]: Make code unconditional.
75477         [!__ASSUME_32BITUIDS]: Remove conditional code.
75478         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
75479         <kernel-features.h>.
75480         [__ASSUME_32BITUIDS]: Make code unconditional.
75481         [!__ASSUME_32BITUIDS]: Remove conditional code.
75483 2012-05-25  Richard Henderson  <rth@twiddle.net>
75485         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
75486         dl_hwcap to ifunc resolver.
75487         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
75488         elf_ifunc_invoke.
75489         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
75490         dl_hwcap to ifunc resolver.
75491         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
75493 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
75495         [BZ #14153]
75496         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
75497         for |x| <= 2**-26, not 2**-57.
75498         * math/libm-test.inc (acos_test): Do not allow spurious underflow
75499         exception.
75501 2012-05-24  Jeff Law  <law@redhat.com>
75503         * stdio-common/Makefile (tests): Add bug25.
75504         * stdio-common/bug25.c: New test.
75506 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
75508         [BZ #13576]
75509         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
75510         multiple of MALLOC_ALIGNMENT in size.
75511         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
75513 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
75515         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
75516         Require >= 256.
75517         (FILENAME_MAX): Use macro-int-constant.
75518         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
75519         (_IOFBF): Use macro-int-constant.
75520         (_IOLBF): Likewise.
75521         (_IONBF): Likewise.
75522         (SEEK_CUR): Likewise.
75523         (SEEK_END): Likewise.
75524         (SEEK_SET): Likewise.
75525         (TMP_MAX): Likewise.
75526         (EOF): Use macro-int-constant.  Require < 0.
75527         (NULL): Use macro-constant.  Require == 0.
75528         (stdin): Require type to be FILE *.
75529         (stdout): Likewise.
75530         (stderr): Likewise.
75531         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
75532         macro-int-constant.
75533         (EXIT_SUCCESS): Likewise.
75534         (NULL): Use macro-constant.  Require == 0.
75535         (RAND_MAX): Use macro-int-constant.
75536         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
75537         [C99-based standards] (strtof): Require function.
75538         [C99-based standards] (strtold): Likewise.
75539         [C99-based standards] (strtoll): Likewise.
75540         [C99-based standards] (strtoull): Likewise.
75541         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
75542         [ISO || ISO99 || ISO11] (limits.h): Likewise.
75543         [ISO || ISO99 || ISO11] (math.h): Likewise.
75544         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
75545         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
75546         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75548 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
75550         [BZ #14132]
75551         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
75552         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
75553         * intl/dgettext.c (DCGETTEXT): Likewise.
75554         * intl/gettext.c (DCGETTEXT): Likewise.
75555         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
75556         * posix/regex_internal.h (gettext): Likewise.
75557         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
75558         Remove declaration.
75559         * include/argz.h (__argz_count_internal)
75560         (__argz_stringify_internal): Remove declaration.
75561         (__argz_count, __argz_stringify): Declare hidden proto.
75562         * intl/dcgettext.c: Remove use of INTDEF.
75563         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
75564         * string/argz-stringify.c: Likewise.
75565         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
75566         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
75567         Declare hidden proto.
75568         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
75569         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
75570         Declare hidden proto.
75571         * include/stdio.h (__asprintf_internal): Don't declare.
75572         (__asprintf): Don't define as macro.  Declare hidden proto.
75573         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
75574         (__fsetlocking): Declare hidden proto.
75575         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
75576         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
75577         hidden proto.
75578         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
75579         (_IO_setlinebuf): Remove use of INTUSE.
75580         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
75581         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
75582         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
75583         Remove declaration.
75584         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
75585         (_IO_do_flush): Remove use of INTUSE.
75586         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
75587         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
75588         (_IO_adjust_column, _IO_least_wmarker)
75589         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
75590         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
75591         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
75592         (_IO_default_doallocate, _IO_wdefault_doallocate)
75593         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
75594         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
75595         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
75596         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
75597         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
75598         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
75599         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
75600         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
75601         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
75602         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
75603         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
75604         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
75605         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
75606         proto.
75607         (_IO_flush_all_internal, _IO_adjust_column_internal)
75608         (_IO_default_uflow_internal, _IO_default_finish_internal)
75609         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
75610         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
75611         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
75612         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
75613         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
75614         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
75615         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
75616         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
75617         (_IO_file_close_internal, _IO_file_close_it_internal)
75618         (_IO_file_underflow_internal, _IO_file_overflow_internal)
75619         (_IO_file_init_internal, _IO_file_attach_internal)
75620         (_IO_file_fopen_internal, _IO_file_read_internal)
75621         (_IO_file_sync_internal, _IO_file_seek_internal)
75622         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
75623         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
75624         (_IO_str_underflow_internal, _IO_str_overflow_internal)
75625         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
75626         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
75627         (_IO_list_all_internal, _IO_link_in_internal)
75628         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
75629         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
75630         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
75631         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
75632         (_IO_do_write_internal, _IO_padn_internal)
75633         (_IO_getline_info_internal, _IO_getline_internal)
75634         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
75635         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
75636         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
75637         (_IO_vfscanf_internal, _IO_vfprintf_internal)
75638         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
75639         (_IO_init_internal, _IO_un_link_internal): Don't declare.
75640         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
75641         with libc_hidden_ver, remove use of INTUSE.
75642         * libio/genops.c: Likewise.
75643         * libio/freopen.c: Likewise.
75644         * libio/freopen64.c: Likewise.
75645         * libio/iofclose.c: Likewise.
75646         * libio/iofdopen.c: Likewise.
75647         * libio/iofflush.c: Likewise.
75648         * libio/iofflush_u.c: Likewise.
75649         * libio/iofgets.c: Likewise.
75650         * libio/iofgets_u.c: Likewise.
75651         * libio/iofopen.c: Likewise.
75652         * libio/iofopncook.c: Likewise.
75653         * libio/iofread.c: Likewise.
75654         * libio/iofread_u.c: Likewise.
75655         * libio/ioftell.c: Likewise.
75656         * libio/iofwrite.c: Likewise.
75657         * libio/iogetline.c: Likewise.
75658         * libio/iogets.c: Likewise.
75659         * libio/iogetwline.c: Likewise.
75660         * libio/iopadn.c: Likewise.
75661         * libio/iopopen.c: Likewise.
75662         * libio/ioseekoff.c: Likewise.
75663         * libio/ioseekpos.c: Likewise.
75664         * libio/iosetbuffer.c: Likewise.
75665         * libio/iosetvbuf.c: Likewise.
75666         * libio/ioungetc.c: Likewise.
75667         * libio/ioungetwc.c: Likewise.
75668         * libio/iovdprintf.c: Likewise.
75669         * libio/iovsprintf.c: Likewise.
75670         * libio/iovsscanf.c: Likewise.
75671         * libio/memstream.c: Likewise.
75672         * libio/obprintf.c: Likewise.
75673         * libio/oldfileops.c: Likewise.
75674         * libio/oldiofclose.c: Likewise.
75675         * libio/oldiofdopen.c: Likewise.
75676         * libio/oldiofopen.c: Likewise.
75677         * libio/oldiopopen.c: Likewise.
75678         * libio/oldstdfiles.c: Likewise.
75679         * libio/putc.c: Likewise.
75680         * libio/setbuf.c: Likewise.
75681         * libio/setlinebuf.c: Likewise.
75682         * libio/stdfiles.c: Likewise.
75683         * libio/strops.c: Likewise.
75684         * libio/vasprintf.c: Likewise.
75685         * libio/vscanf.c: Likewise.
75686         * libio/vsnprintf.c: Likewise.
75687         * libio/vswprintf.c: Likewise.
75688         * libio/wfiledoalloc.c: Likewise.
75689         * libio/wfileops.c: Likewise.
75690         * libio/wgenops.c: Likewise.
75691         * libio/wmemstream.c: Likewise.
75692         * libio/wstrops.c: Likewise.
75693         * libio/__fpurge.c: Likewise.
75694         * libio/__fsetlocking.c: Likewise.
75695         * assert/assert.c: Likewise.
75696         * debug/fgets_chk.c: Likewise.
75697         * debug/fgets_u_chk.c: Likewise.
75698         * debug/fread_chk.c: Likewise.
75699         * debug/fread_u_chk.c: Likewise.
75700         * debug/gets_chk.c: Likewise.
75701         * debug/obprintf_chk.c: Likewise.
75702         * debug/vasprintf_chk.c: Likewise.
75703         * debug/vdprintf_chk.c: Likewise.
75704         * debug/vsnprintf_chk.c: Likewise.
75705         * debug/vsprintf_chk.c: Likewise.
75706         * malloc/mtrace.c: Likewise.
75707         * misc/error.c: Likewise.
75708         * misc/syslog.c: Likewise.
75709         * stdio-common/asprintf.c: Likewise.
75710         * stdio-common/fxprintf.c: Likewise.
75711         * stdio-common/getw.c: Likewise.
75712         * stdio-common/isoc99_fscanf.c: Likewise.
75713         * stdio-common/isoc99_scanf.c: Likewise.
75714         * stdio-common/isoc99_vfscanf.c: Likewise.
75715         * stdio-common/isoc99_vscanf.c: Likewise.
75716         * stdio-common/isoc99_vsscanf.c: Likewise.
75717         * stdio-common/printf-prs.c: Likewise.
75718         * stdio-common/printf_fp.c: Likewise.
75719         * stdio-common/printf_fphex.c: Likewise.
75720         * stdio-common/printf_size.c: Likewise.
75721         * stdio-common/putw.c: Likewise.
75722         * stdio-common/scanf.c: Likewise.
75723         * stdio-common/sprintf.c: Likewise.
75724         * stdio-common/tmpfile.c: Likewise.
75725         * stdio-common/vfprintf.c: Likewise.
75726         * stdio-common/vfscanf.c: Likewise.
75727         * stdlib/strfmon_l.c: Likewise.
75728         * sunrpc/openchild.c: Likewise.
75729         * sunrpc/xdr_stdio.c: Likewise.
75730         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
75731         * sysdeps/mach/hurd/tmpfile.c: Likewise.
75733 2012-05-24  Roland McGrath  <roland@hack.frob.com>
75735         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
75737         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
75738         in the third column, to generate for the shared library an IFUNC
75739         that uses _dl_vdso_vsym.
75740         * Makerules (COMPILE.c, compile-stdin.c): New variables.
75741         * Makeconfig (object-suffixes-noshared): New variable.
75743         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
75744         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
75745         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
75746         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
75748         [BZ #14132]
75749         * include/sys/time.h (__gettimeofday): Remove macro.
75750         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
75751         * time/gettimeofday.c (__gettimeofday): Remove #undef.
75752         Remove INTDEF.
75753         (__gettimeofday): Add libc_hidden_def.
75754         (gettimeofday): Add libc_hidden_weak.
75755         * sysdeps/mach/gettimeofday.c: Likewise.
75756         * sysdeps/posix/gettimeofday.c: Likewise.
75757         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
75758         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
75759         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
75760         (__gettimeofday_internal): Remove strong_alias.
75761         (__gettimeofday): Add libc_hidden_def.
75762         (gettimeofday): Add libc_hidden_weak.
75763         * sysdeps/unix/syscalls.list (gettimeofday):
75764         Remove __gettimeofday_internal alias.
75766 2012-05-24  Daniel Jacobowitz  <drow@false.org>
75767             H.J. Lu  <hongjiu.lu@intel.com>
75769         [BZ #12495]
75770         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
75771         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
75772         (largebin_index_32_big): New.
75773         (largebin_index): Use it for 16-byte alignment.
75774         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
75775         correction with front_misalign.
75777 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
75779         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
75780         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
75781         Likewise.
75782         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
75783         Likewise.
75784         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
75785         Likewise.
75786         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
75787         Likewise.
75788         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
75789         Likewise.
75790         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
75791         Likewise.
75792         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
75793         Likewise.
75794         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
75795         Likewise.
75796         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
75797         Likewise.
75798         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
75799         Likewise.
75800         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
75801         Likewise.
75802         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
75803         Likewise.
75805         * scripts/data/c++-types-x32-linux-gnu.data: New file.
75806         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
75808 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
75810         [BZ #10846]
75811         [BZ #14036]
75812         * math/libm-test.inc (exp_test): Add test from bug 14036.
75813         (pow_test): Add test from bug 10846.
75815         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
75816         and other flags.
75817         (special_function): Do not include flags in test name.
75818         (parse_args): Likewise.
75819         * sysdeps/i386/fpu/libm-test-ulps: Update.
75820         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
75821         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
75822         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
75823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75825         * math/gen-libm-test.pl (%beautify): Add entries for underflow
75826         exceptions.
75827         * math/libm-test.inc ("Philosophy"): Update comment about
75828         exception testing.
75829         (UNDERFLOW_EXCEPTION): New macro.
75830         (UNDERFLOW_EXCEPTION_OK): Likewise.
75831         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
75832         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
75833         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
75834         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
75835         (INVALID_EXCEPTION_OK): Update value.
75836         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
75837         (OVERFLOW_EXCEPTION_OK): Likewise.
75838         (IGNORE_ZERO_INF_SIGN): Likewise.
75839         (test_exceptions): Handle underflow exceptions.
75840         (acos_test): Update for underflow exception expectations.
75841         (cexp_test): Likewise.
75842         (clog_test): Likewise.
75843         (clog10_test): Likewise.
75844         (csqrt_test): Likewise.
75845         (ctan_test): Likewise.
75846         (ctanh_test): Likewise.
75847         (exp_test): Likewise.
75848         (exp10_test): Likewise.
75849         (exp2_test): Likewise.
75850         (expm1_test): Likewise.
75851         (fma_test): Likewise.
75852         (j0_test): Likewise.
75853         (jn_test): Likewise.
75854         (nexttoward_test): Likewise.
75855         (pow_test): Likewise.
75856         (scalbn_test): Likewise.
75857         (scalbln_test): Likewise.
75858         (tan_test): Likewise.
75859         (y1_test): Likewise.
75860         * sysdeps/i386/fpu/libm-test-ulps: Update.
75861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75863 2012-05-23  David S. Miller  <davem@davemloft.net>
75865         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
75866         (__libc_sigaction): Remove unused local variables.
75868 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
75870         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
75872 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
75874         mktime: avoid signed integer overflow
75875         * time/mktime.c (__mktime_internal): Do not mishandle the case
75876         where diff == INT_MIN.
75878         mktime: simplify computation of average
75879         * time/mktime.c (ranged_convert): Use new time_t_avg function
75880         instead of rolling our own (probably-slower) code.
75882         mktime: do not assume signed right shift propagates sign bit
75883         * time/mktime.c (isdst_differ): New static function.
75884         (__mktime_internal): No need to normalize tm_isdst now.
75885         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
75886         tm_isdst values.
75888         mktime: merge another wrapv change from gnulib
75889         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
75890         from some compilers.
75892         mktime: remove incorrect attempt at unusual arithmetics
75893         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
75894         The code didn't really work on such machines anyway.
75895         (TYPE_MINIMUM): Assume two's complement.
75896         (twos_complement_arithmetic): Verify that long_int and time_t
75897         are two's complement (or unsigned, in the latter case).
75899         mktime: check signed shifts on long_int and time_t, too
75900         * time/mktime.c (SHR): Check that shifts work as desired
75901         on the types long_int and time_t too, as SHR is used on
75902         such types.
75904         mktime: do not assume 'long' is wide enough
75905         * time/mktime.c (verify): Move decl up.
75906         (long_int): New type.
75907         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
75908         to remove assumption in the code that 'long' is wide enough to
75909         store year values.  This assumption is not true on x32 and on
75910         some non-glibc platforms.
75912         mktime: merge wrapv change from gnulib
75913         * time/mktime.c (WRAPV): New macro.
75914         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
75915         (guess_time_tm, __mktime_internal): Do not assume that signed
75916         integer overflow wraps around; modern compilers generate code
75917         where this assumption is no longer valid.
75919 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
75921         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
75922         Replace "jmp L(pseudo_end)" with "ret".
75923         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
75924         Likewise.
75926 2012-05-23  Andreas Jaeger  <aj@suse.de>
75928         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
75929         * sysdeps/unix/sysv/linux/poll.c: Remove file.
75931 2012-05-23  Andreas Jaeger  <aj@suse.de>
75932             Maximilian Attems  <max@stro.at>
75934         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
75935         New macros.
75937 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
75939         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
75940         code so that pseudo_end is just ret and the stack pointer is
75941         correct also for static library in error case.
75943 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
75945         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
75946         move to syscalls.list.
75947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
75948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
75949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
75950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
75952         * manual/install.texi (Running make install): Do not mention Linux
75953         kernel version for which pt_chown is not needed.
75954         (Linux): Do not mention problems with nscd with 2.0 kernels.
75955         * INSTALL: Regenerated.
75957 2012-05-23  Andreas Jaeger  <aj@suse.de>
75959         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
75960         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
75961         macro.
75962         * sysdeps/unix/sysv/linux/s390/bits/mman.h
75963         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75964         * sysdeps/unix/sysv/linux/sh/bits/mman.h
75965         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75966         * sysdeps/unix/sysv/linux/i386/bits/mman.h
75967         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75968         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
75969         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75970         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
75971         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75972         * sysdeps/unix/sysv/linux/bits/in.h
75973         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
75975 2012-05-22  Roland McGrath  <roland@hack.frob.com>
75977         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
75978         (PREPARE_VERSION): Just use assert instead, it will be elided
75979         under [NDEBUG] anyway.
75981 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75983         * sysdeps/unix/sysv/linux/Makefile: Include
75984         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
75985         (sysdep_routines): Remove sysctl.
75986         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
75987         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
75988         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
75989         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
75990         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
75992 2012-05-22  Andreas Jaeger  <aj@suse.de>
75994         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
75995         that pseudo_end is just ret and the stack pointer is correct also
75996         for static library in error case.
75998 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
76000         [BZ #14122]
76001         * nss/nsswitch.c (defconfig_entries): New variable.
76002         (__nss_database_lookup): Don't leak defconfig entries.
76003         (nss_parse_service_list): Don't leak on error paths.
76004         (free_database_entries): New function.
76005         (free_defconfig): New function.
76006         (free_mem): Move common code to free_database_entries.
76008 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
76010         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
76011         Add arch_prctl.
76012         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
76014         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
76015         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
76016         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
76017         New macro.
76018         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
76019         (INTERNAL_SYSCALL_TYPES): Likewise.
76020         (LOAD_ARGS_TYPES_[1-6]): Likewise.
76021         (LOAD_REGS_TYPES_[1-6]): Likewise.
76022         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
76023         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
76025 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76027         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
76028         copysignl for GLIBC_2_0.
76029         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
76030         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
76031         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
76032         logbl for GLIBC_2_0.
76033         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
76034         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
76036 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
76038         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
76039         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
76041         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
76042         Use "neg %eax".
76044         * time/mktime.c: Update copyright years.
76046 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
76048         mktime: merge comment-quoting-style change from gnulib
76049         * time/mktime.c: Quote 'like this' in comments.
76050         The GNU coding standards suggest that we no longer quote `like this',
76051         as "`" and "'" are typically rendered asymmetrically nowadays.
76052         The typical gnulib style is to quote 'like this' when quoting
76053         code, and "like this" when quoting English.
76055         * time/mktime.c (compile-command): Add "-I.".
76057         mktime: merge mktime-internal.h change from gnulib
76058         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
76060         mktime: merge time_r change from gnulib
76061         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
76063         mktime: merge DEBUG change from gnulib
76064         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
76065         case system <time.h> has a #define.
76067         mktime: merge <sys/types.h> change from gnulib
76068         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
76069         since <time.t> is now guaranteed to define time_t.
76071         mktime: merge HAVE_CONFIG_H change from gnulib
76072         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
76074 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
76076         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
76077         Use "neg %eax".
76079         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
76080         __rlim_t cast.
76081         (struct rusage): Use anonymous union to pad each field to
76082         __syscall_slong_t.
76084 2012-05-21  David S. Miller  <davem@davemloft.net>
76086         * Makefules (o-iterator): Remove .s cases.
76087         (compile-command.s): Delete.
76088         (COMPILE.s): Delete.
76089         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
76091 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
76093         * configure.in (libc_cv_predef_stack_protector): Only consider
76094         "foobar" and "__stack_chk_fail" lines in libc_undefs.
76095         * configure: Regenerated.
76097 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
76099         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
76100         New macro.  Use R*LP on int and pointer.
76101         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
76102         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
76103         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
76104         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
76106         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
76107         [__WORDSIZE_TIME64_COMPAT32] instead of
76108         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
76109         (struct utmp): Likewise.
76110         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
76111         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
76112         Renamed to ...
76113         (__WORDSIZE_TIME64_COMPAT32): This.
76114         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
76115         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
76116         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
76117         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
76118         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
76119         (__WORDSIZE_TIME64_COMPAT32): New macro.
76121 2012-05-21  Andreas Jaeger  <aj@suse.de>
76123         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
76124         only if [SHARED]. Add prototype for __wcschr_ia32.
76126 2012-05-21  Roland McGrath  <roland@hack.frob.com>
76128         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
76129         of %rbp unmolested in the jmp_buf while mangling the low bits.
76130         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
76131         unmolested high bits of %rbp while demangling the low bits.
76132         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
76134 2012-05-21  Andreas Jaeger  <aj@suse.de>
76136         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
76137         * sunrpc/svc_simple.c: Use it for registerrpc.
76138         * sunrpc/xcrypt.c: Use it for passwd2des.
76140         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
76142 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
76144         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
76145         Don't define if [__SYSCALL_WORDSIZE != 32].
76146         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
76147         New macro.
76149 2012-05-21  Bruno Haible  <bruno@clisp.org>
76150             Andreas Jaeger  <aj@suse.de>
76152         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
76153         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
76154         inptr and inend for must_buffer_ch.
76155         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
76156         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
76157         * stdio-common/Makefile (tests): Remove bug15.
76158         (bug15-ENV): Remove macro.
76159         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
76160         anymore.
76162 2012-05-19  Andreas Jaeger  <aj@suse.de>
76163             Roland McGrath  <roland@hack.frob.com>
76165         * manual/contrib.texi: Completely rewritten. It contains now an
76166         alphabetical list of contributors and their contributions.
76168 2012-05-21  Richard Henderson  <rth@twiddle.net>
76170         * misc/getauxval.c (__getauxval): Use unsigned long int.
76171         * misc/sys/auxv.h: Include <sys/cdefs.h>.
76172         (getauxval): Use unsigned long int.
76174 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
76176         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
76178 2012-05-21  Roland McGrath  <roland@hack.frob.com>
76180         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
76181         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
76182         __alignof__ (long double).
76184 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76186         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76188 2012-05-20  Richard Henderson  <rth@twiddle.net>
76190         * misc/getauxval.c: New file.
76191         * misc/sys/auxv.h: New file.
76192         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
76193         (routines): Add getauxval.
76194         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
76195         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
76196         * elf/dl-sysdep.c (_dl_auxv): Remove.
76197         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
76198         * elf/dl-support.c (_dl_auxv): New variable.
76199         (_dl_aux_init): Initialize it.
76200         * manual/startup.texi (Auxiliary Vector): New node.
76201         * sysdeps/generic/bits/hwcap.h: New file.
76202         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
76203         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
76204         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
76205         * sysdeps/sparc/sysdep.h: ... here.  Include it.
76206         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
76207         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
76208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
76209         Update.
76210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
76211         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
76212         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
76213         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
76214         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
76215         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
76216         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
76217         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
76219 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76221         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76223 2012-05-19  David S. Miller  <davem@davemloft.net>
76225         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76227 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
76229         [BZ #14123]
76230         * math/s_ccosh.c: Include <float.h>
76231         (__ccosh): Avoid internal overflow calculating sinh and cosh
76232         values before multiplying by sin and cos values.
76233         * math/s_ccoshf.c: Likewise.
76234         * math/s_ccoshl.c: Likewise.
76235         * math/s_csin.c: Likewise.
76236         * math/s_csinf.c: Likewise.
76237         * math/s_csinl.c: Likewise.
76238         * math/s_csinh.c: Likewise.
76239         * math/s_csinhf.c: Likewise.
76240         * math/s_csinhl.c: Likewise.
76241         * math/libm-test.inc (ccos_test): Add more tests.
76242         (ccosh_test): Likewise.
76243         (csin_test): Likewise.
76244         (csinh_test): Likewise.
76245         * sysdeps/i386/fpu/libm-test-ulps: Update.
76246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76248 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
76250         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
76251         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
76253         * sysdeps/x86_64/x32/_itoa.h: Add comment.
76255 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
76257         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
76258         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
76259         * sysdeps/powerpc/soft-fp/Versions: Likewise.
76260         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
76261         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
76262         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
76263         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
76264         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
76265         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
76266         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
76267         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
76268         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
76269         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
76270         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
76271         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
76272         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
76273         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
76274         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
76275         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
76276         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
76277         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
76278         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
76279         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
76280         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
76281         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
76282         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
76283         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
76284         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
76285         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
76286         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
76287         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
76289 2012-05-18  Andreas Jaeger  <aj@suse.de>
76291         * csu/.gitignore: Delete.
76293 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
76295         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
76296         (timex): Use __syscall_slong_t.
76298 2012-05-18  Andreas Jaeger  <aj@suse.de>
76299             Carlos O'Donell  <carlos_odonell@mentor.com>
76301         * manual/install.texi (Configuring and compiling): Update
76302         description about files modified in the source directory.
76303         * INSTALL: Regenerated.
76305 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
76307         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
76308         value.  Use "or" to set return value to -1.
76309         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
76310         negate return value.
76312 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
76314         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
76315         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
76316         failure if the compiler has Graphite support disabled.
76317         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
76318         Likewise.
76319         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
76320         (CFLAGS-memmove.c): Likewise.
76321         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
76322         Likewise.
76324 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
76326         * sysdeps/x86_64/x32/_itoa.h: New file.
76328         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
76329         getdents system call only if kernel and user dirents have the
76330         same d_ino and d_off.
76332         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
76333         LLONG_MAX != LONG_MAX.
76334         (_itoa_word): Use _ITOA_WORD_TYPE on value.
76335         (_fitoa_word): Likewise.
76337         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
76338         years.
76339         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
76340         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
76341         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
76343         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
76344         include <bits/wordsize.h>.  Check __x86_64__ instead of
76345         __WORDSIZE.
76346         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
76347         if __x86_64__ is defined.  Use anonymous union on fpstate.
76349         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
76350         anonymous union.
76352 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
76354         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
76355         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
76356         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
76357         Refer to _rtld_local_ro instead of _rtld_global_ro.
76358         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
76359         Likewise.
76360         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
76361         Likewise.
76362         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
76363         Likewise.
76364         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
76365         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
76366         of _rtld_global, and rtld_progname instead of _dl_argv[0].
76368         [BZ #10882]
76369         * sysdeps/powerpc/powerpc32/dl-machine.c
76370         (__elf_machine_runtime_setup) [PROF]: Don't reference
76371         _dl_prof_resolve.
76373 2012-05-18  Andreas Jaeger  <aj@suse.de>
76375         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
76376         function only available for GCCs before 3.4 since GCC 3.4
76377         introduced a builtin.
76378         (lrint): Likewise.
76379         (llrintf): Likewise.
76380         (llrint): Likewise.
76381         (fmaxf): Likewise.
76382         (fmax): Likewise.
76383         (fminf): Likewise.
76384         (fmin): Likewise.
76385         (rint): Likewise.
76386         (rintf): Likewise.
76387         (nearbyint): Likewise.
76388         (nearbyintf): Likewise.
76389         (ceil): Likewise.
76390         (ceilf): Likewise.
76391         (floor): Likewise.
76392         (floorf): Likewise.
76394 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
76396         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
76397         on both fields and cast pointer to __syscall_ulong_t.
76399         * bits/types.h (__fsword_t): New type.
76400         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
76401         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
76402         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76403         (__FSWORD_T_TYPE): Likewise.
76404         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76405         (__FSWORD_T_TYPE): Likewise.
76406         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76407         (__FSWORD_T_TYPE): Likewise.
76408         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
76409         (__FSWORD_T_TYPE): Likewise.
76410         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
76411         __SWORD_TYPE with __fsword_t.
76412         (statfs64): Likewise.
76414 2012-05-17  David S. Miller  <davem@davemloft.net>
76416         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
76418 2012-05-17  Andreas Jaeger  <aj@suse.de>
76420         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
76421         warning.
76423 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
76425         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
76427 2012-05-17  Andreas Jaeger  <aj@suse.de>
76429         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
76430         when it is used.
76432 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
76434         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
76436 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
76438         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
76439         * sysdeps/x86_64/tst-mallocalign1.c: New file.
76441 2012-05-17  Andreas Jaeger  <aj@suse.de>
76442             Carlos O'Donell  <carlos_odonell@mentor.com>
76444         [BZ #14059]
76445         * sysdeps/x86_64/multiarch/init-arch.h
76446         (bit_YMM_Usable): Rename to...
76447         (bit_AVX_Usable): ... this.
76448         (bit_FMA4_Usable): New macro.
76449         (bit_XMM_state): New macro.
76450         (bit_YMM_state): New macro.
76451         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
76452         [__ASSEMBLER__] (index_AVX_Usable): ... this.
76453         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
76454         (CPUID_OSXSAVE): New macro.
76455         (CPUID_AVX): New macro.
76456         (CPUID_FMA4): New macro.
76457         (index_YMM_Usable): Rename to...
76458         (index_AVX_Usable): ... this.
76459         (HAS_AVX): Use HAS_ARCH_FEATURE.
76460         (HAS_FMA4): Likewise.
76461         (HAS_YMM_USABLE): Remove.
76462         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76463         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
76464         are present.
76465         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
76466         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
76467         * sysdeps/x86_64/multiarch/Makefile: Likewise.
76468         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
76469         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
76471 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
76473         * math/libm-test.c: Support platforms without multiple rounding modes.
76474         * math/bug-nextafter.c: Support platforms without FP exceptions.
76475         * math/bug-nexttoward.c: Likewise.
76476         * math/test-fenv.c: Likewise.
76477         * math/test-misc.c: Likewise.
76478         * stdlib/bug-getcontext.c: Likewise.
76480 2012-05-17  Andreas Jaeger  <aj@suse.de>
76482         * manual/examples/search.c (critter_cmp): Change signature to
76483         avoid warnings.
76484         * manual/string.texi (Collation Functions): Likewise.
76486 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76488         * bits/types.h: Fold copyright years.
76489         * bits/typesizes.h: Likewise.
76490         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
76491         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
76492         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
76493         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
76494         * time/time.h: Likewise.
76496 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
76498         [BZ #208]
76499         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
76500         in instead of returning them.  Return void.
76501         (__libc_mallinfo): Accumulate over all arenas.
76502         (__malloc_stats): Adjust for change in int_mallinfo interface.
76504 2012-05-16  Roland McGrath  <roland@hack.frob.com>
76506         [BZ #10375]
76507         * configure.in (NM): Add AC_CHECK_TOOL for it.
76508         (libc_extra_cflags): New substituted variable.
76509         Check for -fstack-protector being used implicitly.
76510         * configure: Regenerated.
76511         * config.make.in (config-extra-cflags): New variable,
76512         gets @libc_extra_cflags@.
76513         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
76515         [BZ #10375]
76516         * configure.in: Check for _FORTIFY_SOURCE being predefined.
76517         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
76518         * configure: Regenerated.
76519         * config.make.in (CPPUNDEFS): New substituted variable.
76520         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
76521         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
76522         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
76524 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76526         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
76527         (mq_attr): Use __syscall_slong_t.
76529 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76531         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
76532         Check __x86_64__ instead of __WORDSIZE.
76533         (_STAT_VER_LINUX): Likewise.
76534         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
76535         __syscall_ulong_t and __syscall_slong_t.
76536         (stat64): Likewise.
76538 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76540         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
76542 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76544         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
76546 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76548         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
76549         __syscall_ulong_t.
76551         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
76552         include <bits/wordsize.h>.  Check __x86_64__ instead of
76553         __WORDSIZE.
76554         (greg_t): Use "__extension__ long long int" if __x86_64__ is
76555         defined.
76556         (mcontext_t): Replace "unsigned long" with "unsigned long long".
76558         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
76559         include <bits/wordsize.h>.  Check __x86_64__ instead of
76560         __WORDSIZE.
76561         (user_regs_struct): Use "__extension__ unsigned long long"
76562         instead of "unsigned long" if __x86_64__ is defined.
76563         (user): Likewise.  Pad after pointer field if __ILP32__ is
76564         defined.
76566 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
76568         * configure.in (makeinfo): Require version 4.5 or later.  Allow
76569         versions 5 to 9.
76570         * configure: Regenerated.
76571         * manual/install.texi (texinfo): Increase version requirement to
76572         4.5 or later.
76573         * INSTALL: Regenerated.
76575         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
76577 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76579         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
76581         * sysdeps/x86_64/x32/ffs.c: New file.
76583         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
76584         __syscall_ulong_t.
76585         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
76586         defined.  Use __syscall_ulong_t.
76587         (shminfo): Use __syscall_ulong_t.
76588         (shm_info): Likewise.
76590         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
76591         __syscall_ulong_t.
76593         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
76594         <bits/wordsize.h>.
76595         (msgqnum_t): Use __syscall_ulong_t.
76596         (msglen_t): Likewise.
76597         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
76598         __syscall_ulong_t.
76600         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
76601         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
76603         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
76605         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
76606         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
76608         * sysvipc/sys/msg.h (msgbuf): Replace long int with
76609         __syscall_slong_t.
76611         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
76612         include <bits/wordsize.h>.  Check __x86_64__ instead of
76613         __WORDSIZE.
76615         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
76616         "unsigned long long int" if __x86_64__ is defined.
76617         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
76619         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
76620         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
76621         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
76623         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
76624         <stdint.h>.
76625         (GET_PC): Cast to uintptr_t first.
76626         (GET_FRAME): Likewise.
76627         (GET_STACK): Likewise.
76629         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
76630         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
76631         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
76632         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
76633         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
76634         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
76635         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
76636         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
76637         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
76638         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
76639         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
76640         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
76641         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
76642         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
76643         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
76644         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
76645         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
76646         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
76647         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
76648         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
76649         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
76650         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
76651         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
76652         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
76653         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
76654         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
76655         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
76656         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
76657         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
76659 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
76661         * Makerules (+depfiles): Also collect depfiles from .oS in
76662         $(extra-objs).
76663         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
76664         .oS, $(libnldbl-routines)).
76666         * Makerules (native-compile-mkdep-flags): Define.
76667         * sunrpc/Makefile (extra-objs): Add $(addprefix
76668         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
76669         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
76670         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
76671         calling $(make-target-directory).
76673 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76675         * bits/types.h (__snseconds_t): Removed.
76676         * time/time.h (struct timespec): Replace __snseconds_t with
76677         __syscall_slong_t.
76678         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
76679         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
76680         Likewise.
76681         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76682         (__SNSECONDS_T_TYPE): Likewise.
76683         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76684         (__SNSECONDS_T_TYPE): Likewise.
76685         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76686         (__SNSECONDS_T_TYPE): Likewise.
76688 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76690         * sysdeps/mach/hurd/bits/typesizes.h
76691         (__SYSCALL_SLONG_TYPE): New macro.
76692         (__SYSCALL_ULONG_TYPE): Likewise.
76694 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76696         * bits/types.h (__syscall_slong_t): New type.
76697         (__syscall_ulong_t): Likewise.
76699         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
76700         (__SYSCALL_ULONG_TYPE): Likewise.
76701         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76702         (__SYSCALL_SLONG_TYPE): Likewise.
76703         (__SYSCALL_ULONG_TYPE): Likewise.
76704         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76705         (__SYSCALL_SLONG_TYPE): Likewise.
76706         (__SYSCALL_ULONG_TYPE): Likewise.
76707         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76708         (__SYSCALL_SLONG_TYPE): Likewise.
76709         (__SYSCALL_ULONG_TYPE): Likewise.
76711 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76713         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
76714         Add sigaltstack-offsets.sym.
76715         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
76716         <sigaltstack-offsets.h>.
76717         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
76718         longjmp_msg pointer.
76719         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
76720         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
76721         signal stack.
76722         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
76724 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
76726         * elf/stackguard-macros.h: Remove file.
76727         * sysdeps/generic/stackguard-macros.h: New file.
76728         * sysdeps/i386/stackguard-macros.h: Likewise.
76729         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
76730         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
76731         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
76732         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
76733         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
76734         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
76735         * sysdeps/x86_64/stackguard-macros.h: Likewise.
76736         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
76737         <elf/stackguard-macros.h>.
76739         [BZ #14109]
76740         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
76741         __aligned__ in attribute.
76742         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
76743         (gregset_t): Likewise.
76745 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76747         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
76748         * sysdeps/x86_64/64/Implies-after: Here.  New file.
76749         * sysdeps/x86_64/x32/Implies-after: New file.
76751 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76753         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
76754         and access return value for _dl_profile_fixup.  Use R10_LP to
76755         load frame size.
76757 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76759         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
76761 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76763         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
76764         * sysdeps/x86_64/x32/sysdep.h: New file.
76766 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76768         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
76769         * sysdeps/x86_64/setjmp.S: Likewise.
76771 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76773         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
76774         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
76775         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
76776         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
76777         remove unused global constant.
76779 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
76781         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
76782         include of <not-cancel.h>.
76784 2012-05-15  Roland McGrath  <roland@hack.frob.com>
76786         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
76788 2012-05-15  Jeff Law  <law@redhat.com>
76789             Andreas Jaeger  <aj@suse.de>
76791         [BZ #13594]
76792         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
76793         out from...
76794         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
76795         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
76796         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
76797         code changing __hst_map_handle.map.
76799 2012-05-15  Roland McGrath  <roland@hack.frob.com>
76801         * configure.in (sysnames): Look for Implies-before and Implies-after
76802         files.
76803         * configure: Regenerated.
76805 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76807         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
76808         8-byte data alignment with LP_SIZE alignment.
76810 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76812         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
76813         into R10_LP.
76815 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76817         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
76819 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76821         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
76822         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
76823         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
76824         Likewise.
76825         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
76827 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76829         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
76830         (stackinfo_sub_sp): Likewise.
76832 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76834         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
76835         RAX_LP.
76837 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76839         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
76840         into R*_LP.
76842 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76844         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
76845         sizes into R*_LP.
76847 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76849         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
76851 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76853         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
76854         into R11_LP and load __x86_64_shared_cache_size_half into
76855         R8_LP.
76857 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76859         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
76860         R8_LP.
76862 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76864         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
76865         logb for POWER7.
76866         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
76867         logbf for POWER7.
76868         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
76869         logbl for POWER7.
76870         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
76871         powerpc32/power7/fpu/s_logb.c via #include.
76872         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
76873         powerpc32/power7/fpu/s_logbf.c via #include.
76874         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
76875         powerpc32/power7/fpu/s_logbl.c via #include.
76877 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
76879         * README.libm: Remove file.
76881 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76883         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
76884         count for x32.  Use R*_LP and omit operand-size suffix.
76886 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76888         * shlib-versions: Move x86_64-.*-linux.* entries to ...
76889         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
76890         * sysdeps/x86_64/x32/shlib-versions: New file.
76892 2012-05-14  Roland McGrath  <roland@hack.frob.com>
76894         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
76895         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
76896         Use _dl_fatal_printf instead.
76898 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
76900         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
76901         set if not set by the user.  Do not allow for being unset.
76902         * sysdeps/unix/sysv/linux/configure: Regenerated.
76904 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76906         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
76907         the `q' suffix from lea and replace .quad with ASM_ADDR.
76909 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76911         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
76912         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
76913         instead of $17.
76914         (PTR_DEMANGLE): Likewise.
76916 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76918         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
76919         (LP_OP): Likewise.
76920         (ASM_ADDR): Likewise.
76921         (RAX_LP): Likewise.
76922         (RBP_LP): Likewise.
76923         (RBX_LP): Likewise.
76924         (RCX_LP): Likewise.
76925         (RDI_LP): Likewise.
76926         (RSI_LP): Likewise.
76927         (RSP_LP): Likewise.
76928         (R8_LP): Likewise.
76929         (R9_LP): Likewise.
76930         (R10_LP): Likewise.
76931         (R10_LP): Likewise.
76932         (R11_LP): Likewise.
76933         (R12_LP): Likewise.
76934         (R13_LP): Likewise.
76935         (R14_LP): Likewise.
76936         (R15_LP): Likewise.
76938 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76940         * sysdeps/x86_64/x32/dl-machine.h: New file.
76942 2012-05-14  Andreas Jaeger  <aj@suse.de>
76944         * manual/Makefile (subdir): Remove export of subdir.
76945         (all): Remove target.
76946         (.PHONY): Remove all from list.
76947         (mkinstalldirs): Remove.
76948         (.PHONY): Remove installdirs from list.
76949         ($(inst_infodir)/libc.info): Use make-target-directory.
76950         (installdirs): Remove.
76951         (subdir_%): Remove.
76952         (glibc-targets): Remove.
76953         (lib): Remove.
76954         (stubs): Remove.
76955         ($(objpfx)stubs ../po/manual.pot): Remove.
76956         ($(objpfx)stamp%): Remove.
76957         (make-target-directory): Remove.
76958         (subdir_install): Remove.
76959         (routines): Remove.
76960         (aux): Remove.
76961         (sources): Remove.
76962         (objects): Remove.
76963         (headers): Remove.
76965         [BZ #13750]
76966         * manual/.gitignore: Remove, it's not needed anymore.
76967         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
76968         all files in it.
76969         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
76970         directory.
76971         (texis): Renamed to $(objpfx)texis.
76972         (texis-path): New, contains path to generated files.
76973         (chapters.%): Use texis-path for complete path, add extra argument
76974         libc-texinfo.sh.
76975         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
76976         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
76977         (summary,texi, stamp-summary): Use complete path of
76978         files. Generate files in build dir.
76979         (dir-add.texi): Build in build dir.
76980         (libm-err.texi,stamp-libm-err): Likewise.
76981         (version.texi, stamp-version): Likewise.
76982         (.%c.texi): Likewise.
76983         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
76984         (mostlyclean): Remove target.
76985         (realclean): Remove target.
76986         (generated): Add new variable with contents from mostlyclean and
76987         realclean, remove entries duplicated in common-mostlyclean, add
76988         stamp-libm-err and stamp-version.
76989         (generated-dirs): Add libc directory.
76990         ($(inst_infodir)/libc.info): Install files from build dir.
76992         * manual/install.texi (Configuring and compiling): Adjust since
76993         the info files are not part of the tar ball anymore.
76995 2012-05-14  Andreas Jaeger  <aj@suse.de>
76997         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
76998         variable.
77000 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
77002         [BZ #13717]
77003         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
77004         to 2.2.0 where earlier.
77005         * sysdeps/unix/sysv/linux/configure: Regenerated.
77006         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
77007         Remove conditional code.
77008         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
77009         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
77010         Remove conditional code.
77011         [!__NR_lchown]: Likewise.
77012         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
77013         [__NR_lchown]: Likewise.
77014         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
77015         comment referencing __ASSUME_LCHOWN_SYSCALL.
77016         * sysdeps/unix/sysv/linux/i386/sigaction.c
77017         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
77018         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
77019         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
77020         Remove conditional code.
77021         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
77022         (__protocol_available): Remove #if 0 code.
77023         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
77024         conditional code.
77025         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
77026         * sysdeps/unix/sysv/linux/kernel-features.h
77027         (__ASSUME_GETCWD_SYSCALL): Don't define.
77028         (__ASSUME_REALTIME_SIGNALS): Likewise.
77029         (__ASSUME_PREAD_SYSCALL): Likewise.
77030         (__ASSUME_PWRITE_SYSCALL): Likewise.
77031         (__ASSUME_POLL_SYSCALL): Likewise.
77032         (__ASSUME_LCHOWN_SYSCALL): Likewise.
77033         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
77034         non-SPARC.
77035         (__ASSUME_SIOCGIFNAME): Don't define.
77036         (__ASSUME_MSG_NOSIGNAL): Likewise.
77037         (__ASSUME_SENDFILE): Define unconditionally.
77038         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
77039         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
77040         conditional code.
77041         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
77042         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
77043         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
77044         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
77045         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
77046         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
77047         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
77048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
77049         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
77050         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
77051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
77052         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
77053         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
77054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
77055         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
77056         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
77057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
77058         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
77059         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
77060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
77061         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
77062         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
77063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
77064         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
77065         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
77066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
77067         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
77068         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
77069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
77070         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
77071         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
77072         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
77073         Remove conditional code.
77074         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
77075         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
77076         Remove conditional code.
77077         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
77078         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
77079         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
77080         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
77081         Remove conditional code.
77082         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
77083         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
77084         Remove conditional code.
77085         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
77086         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
77087         Remove conditional code.
77088         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
77089         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
77090         Remove conditional code.
77091         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
77092         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
77093         Remove conditional code.
77094         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
77095         * sysdeps/unix/sysv/linux/sh/pwrite64.c
77096         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
77097         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
77098         * sysdeps/unix/sysv/linux/sigaction.c
77099         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
77100         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
77101         * sysdeps/unix/sysv/linux/sigpending.c
77102         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
77103         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
77104         * sysdeps/unix/sysv/linux/sigprocmask.c
77105         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
77106         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
77107         * sysdeps/unix/sysv/linux/sigsuspend.c
77108         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
77109         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
77110         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
77111         (__libc_missing_rt_sigs): Remove.
77112         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
77113         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
77114         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
77115         Remove conditional code.
77116         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
77117         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
77118         return 1.
77119         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
77120         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
77121         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
77122         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
77124 2012-05-14  Andreas Jaeger  <aj@suse.de>
77126         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
77127         it's not used in glibc.
77128         (__coshm1): Likewise.
77129         (__acosh1p): Likewise.
77130         (__sgn): Likewise.
77132         * manual/string.texi (Copying and Concatenation): Add missing
77133         variable in concat example.
77134         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
77136 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
77138         [BZ #14103]
77139         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
77140         __builtin_clzl with __builtin_clzll.
77142 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
77144         [BZ #14104]
77145         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
77146         libc_freeres_ptr.
77148 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77150         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
77151         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
77152         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
77153         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
77155 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
77157         * NEWS: Update ia64 info.
77159 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
77161         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
77162         used as bcopy.
77164 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
77166         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
77167         * sysdeps/unix/syscalls.list (dup3): Likewise.
77168         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
77169         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
77171 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
77173         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
77174         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
77176 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
77178         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
77179         thread pointer.
77180         (TLS_IE): Use mov/add instead of movq/addq to load thread
77181         pointer.
77182         (TLS_GD_PREFIX): New.
77183         (TLS_GD): Use it.
77185 2012-05-11  David S. Miller  <davem@davemloft.net>
77187         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
77188         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
77189         (_FPU_SETCW): Likewise.
77191 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
77193         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
77194         is 32-byte aligned.
77196 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
77198         [BZ #11837]
77199         * iconvdata/gb18030.c: Update tables.
77200         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
77201         characters specially.
77202         (BODY for TO_LOOP): Add encoding of missing ranges.
77204 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
77206         [BZ #13673]
77207         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
77208         * sysdeps/mach/hurd/dup3.c: Likewise.
77209         * sysdeps/mach/hurd/readlinkat.c: Likewise.
77210         * sysdeps/powerpc/memmove.c:: Likewise.
77212 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
77214         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
77215         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
77217 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
77219         * elf/elf.h (R_X86_64_RELATIVE64): New.
77220         (R_X86_64_NUM): Updated.
77221         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
77222         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
77223         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
77224         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
77225         tst-quad1pie tst-quad2pie
77226         (modules-names): Add tst-quadmod1 tst-quadmod2.
77227         ($(objpfx)tst-quad1): New dependency.
77228         ($(objpfx)tst-quad2): Likewise.
77229         ($(objpfx)tst-quad1pie): Likewise.
77230         ($(objpfx)tst-quad2pie): Likewise.
77231         * sysdeps/x86_64/tst-quad1.c: New file.
77232         * sysdeps/x86_64/tst-quad1pie.c: New file.
77233         * sysdeps/x86_64/tst-quad2.c: Likewise.
77234         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
77235         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
77236         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
77237         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
77238         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
77240 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77242         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
77243         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
77244         * streams/stropts.h (t_scalar_t): Define type.
77246         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
77247         (_PATH_PRESERVE): Set to "/var/lib".
77248         (_PATH_RWHODIR): Set to "/var/spool/rwho".
77250         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
77251         instead of int.
77253         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
77254         if __dir_mkfile succeeded.
77256         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
77257         checking for _hurd_dtablesize.  Unlock it right after having
77258         finished _hurd_dtable allocation.
77260 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77262         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
77263         * sysdeps/mach/hurd/configure: Regenerated.
77264         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
77265         special-casing to...
77266         * sysdeps/gnu/configure.in: ... this new file.
77267         * sysdeps/unix/sysv/linux/configure: Regenerated.
77268         * sysdeps/gnu/configure: New generated file.
77270         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
77271         for Linux: use nsec instead of usec, as well as:
77272         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
77273         members of type struct timespec.
77274         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
77275         New macros.
77276         (struct stat64): Likewise.
77277         (_STATBUF_ST_NSEC): New macro.
77278         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
77280         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
77281         __strtoul_internal rather than strtoul.
77283 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
77285         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
77286         and reject them.
77288 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77290         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
77291         which preserves existing values.
77292         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
77294 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
77296         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
77297         TIMEOUT values.  Return EINVAL for NFDS values either negative or
77298         greater than FD_SETSIZE.
77300 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77302         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
77303         allocated, call __vm_protect to finish enabling the existing space, and
77304         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
77305         allocate the remainder.
77307 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
77309         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
77310         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
77312 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77314         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
77315         sysdeps/mach/hurd/readlink.c.
77317         * posix/tst-sysconf.c (posix_options): Only use
77318         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
77319         _POSIX_SYNCHRONIZED_IO when they are defined
77320         * sysdeps/mach/hurd/bits/posix_opt.h:
77321         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
77322         (_XOPEN_REALTIME): Undefine macro.
77323         (_XOPEN_REALTIME_THREADS): Undefine macro.
77324         (_XOPEN_SHM): Undefine macro.
77325         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
77326         macro to -1.
77327         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
77328         macro to -1.
77329         (_POSIX_ASYNC_IO): Undefine macro.
77330         (_POSIX_PRIORITIZED_IO): Undefine macro.
77331         (_POSIX_SPIN_LOCKS): Define macro to -1.
77333         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
77334         SA_NODEFER, SA_RESETHAND.
77335         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
77336         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
77337         F_DUPFD_CLOEXEC.
77339 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77341         * elf/Makefile (pldd-modules): Define unconditionally.
77343 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77345         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
77347 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77349         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
77350         Return ENOENT when name is empty.
77351         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
77353 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77355         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
77357         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
77359 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77361         Fix mlock in all cases except non-readable pages.
77362         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
77363         instead of VM_PROT_ALL as parameter to __vm_wire function.
77365         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
77366         (__mkdir): When path is `/', just fail with EEXIST.
77367         * sysdeps/mach/hurd/mkdirat.c: Likewise.
77369 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77371         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
77372         <sys/uio.h> (for writev).
77373         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
77374         and <sys/param.h> (for MIN).
77376 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
77378         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
77379         REQUESTED_TIME.  Properly set the remaining time and return EINTR
77380         if interrupted.
77382 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77384         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
77385         Depend on against $(link-rpcuserlibs).
77387 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77389         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
77390         (__libc_stack_end): Do not use attribute_relro.
77391         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
77392         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
77393         to libthread-provided value.
77394         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
77395         attribute_relro.
77397 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77399         [BZ #3748]
77400         * bits/libc-lock.h (__libc_once_get): New macro.
77401         * sysdeps/mach/bits/libc-lock.h: Likewise.
77402         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
77403         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
77404         instead of using implementation details.
77406         * libio/fileops.c: Unconditionally include <kernel-features.h>.
77407         * libio/freopen.c: Likewise.
77408         * libio/freopen64.c: Likewise.
77409         * misc/syslog.c: Likewise.
77410         * nscd/connections.c: Likewise.
77411         * nscd/netgroupcache.c: Likewise.
77412         * sysdeps/posix/getcwd.c: Likewise.
77414 2012-05-10  Roland McGrath  <roland@hack.frob.com>
77416         * math/w_ilogbf.c: Add #include <limits.h>.
77418 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77420         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
77421         path instead of returning without unlocking.
77423         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
77424         immediate-write ioctls.
77425         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
77427 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77429         * sysdeps/mach/hurd/i386/init-first.c (init): Use
77430         __builtin_frame_address instead of making assumptions about the
77431         location of the return address relative to DATA.  Force early load of
77432         the return address.
77433         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
77434         __builtin_frame_address.
77436         dup3 for GNU Hurd.
77437         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
77438         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
77439         implement dup3 and do some further code clean-ups.
77440         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
77441         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
77443 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77445         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
77447         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
77448         HURD_CRITICAL_END around holding _hurd_dtable_lock.
77449         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
77450         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
77451         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
77452         d->port.lock.
77454         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
77455         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
77456         when handler == SIG_ERR, not when handler != SIG_ERR.
77458 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77460         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
77461         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
77462         definitions.
77464         accept4 for GNU Hurd.
77465         * include/sys/socket.h (__libc_accept4): New prototype.
77466         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
77467         to implement __libc_accept4.
77468         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
77469         __libc_accept4.
77470         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
77472         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
77473         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
77474         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
77475         signal-defines.sym.
77477 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77479         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
77481 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77483         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
77484         assertion on O_CLOEXEC flag.
77485         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
77486         * hurd/intern-fd.c: Likewise.
77487         * hurd/port2fd.c: Likewise.
77489 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77491         [BZ #3906]
77492         * bits/in.h (IPV6_PKTINFO): Define new macro.
77493         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
77495 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77497         [BZ #13954]
77498         [BZ #13955]
77499         [BZ #13956]
77500         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
77501         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
77502         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
77503         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
77504         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
77505         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
77506         * math/libm-test.inc (logb_test) : Additional logb tests.
77508 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
77509             Andreas Jaeger  <aj@suse.de>
77511         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
77512         * configure: Regenerated.
77513         * config.h.in (LINK_OBSOLETE_RPC): New macro.
77514         * config.make.in (link-obsolete-rpc): New substituted variable.
77515         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
77516         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
77517         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
77518         (shared-only-routines): Don't set it under [link-obsolete-rpc],
77519         so that libc.a contains the symbols.
77520         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
77521         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
77522         * sunrpc/auth_none.c: Likewise.
77523         * sunrpc/auth_unix.c: Likewise.
77524         * sunrpc/authdes_prot.c: Likewise.
77525         * sunrpc/authuxprot.c: Likewise.
77526         * sunrpc/clnt_gen.c: Likewise.
77527         * sunrpc/clnt_perr.c: Likewise.
77528         * sunrpc/clnt_raw.c: Likewise.
77529         * sunrpc/clnt_simp.c: Likewise.
77530         * sunrpc/clnt_tcp.c: Likewise.
77531         * sunrpc/clnt_udp.c: Likewise.
77532         * sunrpc/clnt_unix.c: Likewise.
77533         * sunrpc/des_crypt.c: Likewise.
77534         * sunrpc/des_soft.c: Likewise.
77535         * sunrpc/get_myaddr.c: Likewise.
77536         * sunrpc/key_call.c: Likewise.
77537         * sunrpc/key_prot.c: Likewise.
77538         * sunrpc/netname.c: Likewise.
77539         * sunrpc/pm_getmaps.c: Likewise.
77540         * sunrpc/pm_getport.c: Likewise.
77541         * sunrpc/pmap_clnt.c: Likewise.
77542         * sunrpc/pmap_prot.c: Likewise.
77543         * sunrpc/pmap_prot2.c: Likewise.
77544         * sunrpc/pmap_rmt.c: Likewise.
77545         * sunrpc/publickey.c: Likewise.
77546         * sunrpc/rpc_cmsg.c: Likewise.
77547         * sunrpc/rpc_common.c: Likewise.
77548         * sunrpc/rpc_dtable.c: Likewise.
77549         * sunrpc/rpc_prot.c: Likewise.
77550         * sunrpc/rpc_thread.c: Likewise.
77551         * sunrpc/rtime.c: Likewise.
77552         * sunrpc/svc.c: Likewise.
77553         * sunrpc/svc_auth.c: Likewise.
77554         * sunrpc/svc_raw.c: Likewise.
77555         * sunrpc/svc_run.c: Likewise.
77556         * sunrpc/svc_tcp.c: Likewise.
77557         * sunrpc/svc_udp.c: Likewise.
77558         * sunrpc/svc_unix.c: Likewise.
77559         * sunrpc/svcauth_des.c: Likewise.
77560         * sunrpc/xcrypt.c: Likewise.
77561         * sunrpc/xdr.c: Likewise.
77562         * sunrpc/xdr_array.c: Likewise.
77563         * sunrpc/xdr_float.c: Likewise.
77564         * sunrpc/xdr_intXX_t.c: Likewise.
77565         * sunrpc/xdr_mem.c: Likewise.
77566         * sunrpc/xdr_rec.c: Likewise.
77567         * sunrpc/xdr_ref.c: Likewise.
77568         * sunrpc/xdr_sizeof.c: Likewise.
77569         * sunrpc/xdr_stdio.c: Likewise.
77571 2012-05-10  Roland McGrath  <roland@hack.frob.com>
77573         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
77574         change.  Update copyright years.
77576 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
77578         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
77580 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
77581             Joseph Myers  <joseph@codesourcery.com>
77582             Paul Pluzhnikov  <ppluzhnikov@google.com>
77584         [BZ #14012]
77585         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
77586         requiring rpcgen.
77587         [cross-compiling] (extra-libs): Likewise.
77588         [cross-compiling] (extra-libs-others): Likewise.
77589         [cross-compiling] (librpcsvc-routines): Likewise.
77590         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
77591         [cross-compiling] (omit-deps): Likewise.
77592         (sunrpc-CPPFLAGS): New variable.
77593         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
77594         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
77595         (cross-rpcgen-objs): New variable.
77596         (extra-objs): Append $(cross-rpcgen-objs).
77597         ($(cross-rpcgen-objs)): New rule.
77598         ($(objpfx)cross-rpcgen): Likewise.
77599         (rpcgen-cmd): Define to use $(built-program-file).  Expand
77600         comment.
77601         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
77602         ($(objpfx)x%.stmp): Likewise.
77603         * sunrpc/proto.h [IS_IN_build] (_): Define.
77604         [IS_IN_build] (_libc_intl_domainname): Likewise.
77606 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
77608         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
77609         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
77610         and R_X86_64_TPOFF64.
77612 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
77614         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
77615         sysdeps/unix/sysv/syscalls.list.
77616         (stime): Likewise.
77617         (utime): Likewise.
77618         * sysdeps/unix/sysv/syscalls.list: Remove file.
77620 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
77622         [BZ #3440]
77623         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
77624         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
77625         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
77626         (__LC_IDENTIFICATION): Make these macros useful in #if
77627         expressions, as required by C99.
77629 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
77631         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
77632         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
77633         after this.
77635 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
77637         * stdlib/longlong.h: Updated from GCC.
77639 2012-05-09  Andreas Jaeger  <aj@suse.de>
77641         * nscd/nscd.c (run_modes): Make named enum, reorder so that
77642         default is first entry.
77643         (run_mode): Set type.
77644         (main): Remove informal message about syslog.
77645         (options): Fix typo.
77647         [BZ #14053]
77648         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
77649         to asm.
77650         (lrint): Likewise.
77651         (llrintf): Likewise.
77652         (llrint): Likewise.
77653         (rint): Likewise.
77654         (rintf): Likewise.
77655         (nearbyint): Likewise.
77656         (nearbyintf): Likewise.
77658 2012-05-09  Andreas Jaeger  <aj@suse.de>
77659             Pedro Alves  <palves@redhat.com>
77661         * nscd/nscd.c (run_mode): Use enum.
77662         (main): Cleanup coding style issue.
77664 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
77665             Andreas Jaeger  <aj@suse.de>
77667         * nscd/nscd.c (go_background): Replaced with...
77668         (run_mode): ... this.
77669         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
77670         (options): Add -F --foreground.
77671         (main): Implement it.
77672         (parse_opt): Parse it.
77674 2012-05-09  Andreas Jaeger  <aj@suse.de>
77676         [BZ #14083]
77677         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
77678         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
77679         -Wconversion warning.
77680         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
77681         Likewise.
77683 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
77685         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
77686         == 0.
77687         (LC_ALL): Use macro-int-constant.
77688         (LC_COLLATE): Likewise.
77689         (LC_CTYPE): Likewise.
77690         (LC_MESSAGES): Likewise.
77691         (LC_MONETARY): Likewise.
77692         (LC_NUMERIC): Likewise.
77693         (LC_TIME): Likewise.
77694         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
77695         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
77696         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77697         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
77698         Specify type.
77699         [C99-based standards] (float_t): Expect type.
77700         [C99-based standards] (double_t): Expect type.
77701         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
77702         type.
77703         [C99-based standards] (HUGE_VALL): Likewise.
77704         [C99-based standards] (INFINITY): Likewise.
77705         [C99-based standards] (NAN): Likewise.
77706         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
77707         [C99-based standards] (FP_NAN): Likewise.
77708         [C99-based standards] (FP_NORMAL): Likewise.
77709         [C99-based standards] (FP_SUBNORMAL): Likewise.
77710         [C99-based standards] (FP_ZERO): Likewise.
77711         [C99-based standards] (FP_FAST_FMA): Use
77712         optional-macro-int-constant.  Specify type.  Require == 1.
77713         [C99-based standards] (FP_FAST_FMAF): Likewise.
77714         [C99-based standards] (FP_FAST_FMAL): Likewise.
77715         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
77716         [C99-based standards] (FP_ILOGBNAN): Likewise.
77717         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
77718         Specify type.
77719         [C99-based standards] (MATH_ERREXCEPT): Likewise.
77720         [C99-based standards] (math_errhandling): Specify type.
77721         [ISO99 || ISO11] (signgam): Do not allow.
77722         [non-C99-based standards] (copysignf): Do not allow.
77723         [non-C99-based standards] (exp2f): Likewise.
77724         [non-C99-based standards] (log2f): Likewise.
77725         [non-C99-based standards] (modff): Allow.
77726         [non-C99-based standards] (erff): Do not allow.
77727         [non-C99-based standards] (erfcf): Likewise.
77728         [non-C99-based standards] (gammaf): Likewise.
77729         [non-C99-based standards] (hypotf): Likewise.
77730         [non-C99-based standards] (j0f): Likewise.
77731         [non-C99-based standards] (j1f): Likewise.
77732         [non-C99-based standards] (jnf): Likewise.
77733         [non-C99-based standards] (lgammaf): Likewise.
77734         [non-C99-based standards] (tgammaf): Likewise.
77735         [non-C99-based standards] (y0f): Likewise.
77736         [non-C99-based standards] (y1f): Likewise.
77737         [non-C99-based standards] (ynf): Likewise.
77738         [non-C99-based standards] (isnanf): Likewise.
77739         [non-C99-based standards] (acoshf): Likewise.
77740         [non-C99-based standards] (asinhf): Likewise.
77741         [non-C99-based standards] (atanhf): Likewise.
77742         [non-C99-based standards] (cbrtf): Likewise.
77743         [non-C99-based standards] (expm1f): Likewise.
77744         [non-C99-based standards] (ilogbf): Likewise.
77745         [non-C99-based standards] (log1pf): Likewise.
77746         [non-C99-based standards] (logbf): Likewise.
77747         [non-C99-based standards] (nextafterf): Likewise.
77748         [non-C99-based standards] (remainderf): Likewise.
77749         [non-C99-based standards] (rintf): Likewise.
77750         [non-C99-based standards] (scalbf): Likewise.
77751         [non-C99-based standards] (copysignl): Likewise.
77752         [non-C99-based standards] (exp2l): Likewise.
77753         [non-C99-based standards] (log2l): Likewise.
77754         [non-C99-based standards] (modfl): Allow.
77755         [non-C99-based standards] (erfl): Do not allow.
77756         [non-C99-based standards] (erfcl): Likewise.
77757         [non-C99-based standards] (gammal): Likewise.
77758         [non-C99-based standards] (hypotl): Likewise.
77759         [non-C99-based standards] (j0l): Likewise.
77760         [non-C99-based standards] (j1l): Likewise.
77761         [non-C99-based standards] (jnl): Likewise.
77762         [non-C99-based standards] (lgammal): Likewise.
77763         [non-C99-based standards] (tgammal): Likewise.
77764         [non-C99-based standards] (y0l): Likewise.
77765         [non-C99-based standards] (y1l): Likewise.
77766         [non-C99-based standards] (ynl): Likewise.
77767         [non-C99-based standards] (isnanl): Likewise.
77768         [non-C99-based standards] (acoshl): Likewise.
77769         [non-C99-based standards] (asinhl): Likewise.
77770         [non-C99-based standards] (atanhl): Likewise.
77771         [non-C99-based standards] (cbrtl): Likewise.
77772         [non-C99-based standards] (expm1l): Likewise.
77773         [non-C99-based standards] (ilogbl): Likewise.
77774         [non-C99-based standards] (log1pl): Likewise.
77775         [non-C99-based standards] (logbl): Likewise.
77776         [non-C99-based standards] (nextafterl): Likewise.
77777         [non-C99-based standards] (remainderl): Likewise.
77778         [non-C99-based standards] (rintl): Likewise.
77779         [non-C99-based standards] (scalbl): Likewise.
77780         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77781         [non-C99-based standards] (FP_*): Do not allow.
77782         [C99-based standards] (FP_*): Change to
77783         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
77784         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
77785         allow.
77786         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
77787         (SIG_ERR): Likewise.
77788         [X/Open-based standards] (SIG_HOLD): Likewise.
77789         (SIG_IGN): Likewise.
77790         (SIGABRT): Use macro-int-constant.  Specify type.  Require
77791         positive value.
77792         (SIGFPE): Likewise.
77793         (SIGILL): Likewise.
77794         (SIGINT): Likewise.
77795         (SIGSEGV): Likewise.
77796         (SIGTER): Likewise.
77797         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
77798         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
77799         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
77800         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
77801         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
77802         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
77803         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
77804         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
77805         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
77806         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
77807         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
77808         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
77809         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
77810         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
77811         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
77812         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
77813         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
77814         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
77815         [X/Open-based standards] (SIGTRAP): Likewise.
77816         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
77817         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
77818         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
77819         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
77820         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
77821         allow.
77823 2012-05-08  Ian Wienand  <ianw@vmware.com>
77825         [BZ #14080]
77826         * time/tzset.c (__tzset_parse_tz): Update default rules for
77827         daylight time changes in the Energy Policy Act of 2005.
77829 2012-05-09  Andreas Jaeger  <aj@suse.de>
77831         [BZ #13983]
77832         * elf/ldconfig.c (parse_conf): Change string to make clear that
77833         ldconfig only issued a warning if ld.so.conf does not exist.
77835 2012-05-08  David S. Miller  <davem@davemloft.net>
77837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
77838         movxtod instead of popping the value on the stack.
77840         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77842 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
77844         * config.h.in: Add HAVE_ARM_PCS_VFP.
77846 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
77848         [BZ #13979]
77849         * include/features.h: Warn if user requests __FORTIFY_SOURCE
77850         checking but the checks are disabled for any reason.
77852 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
77854         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
77855         and ELF64_R_TYPE with ELFW(R_TYPE).
77857 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
77859         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
77860         (ulimit): Likewise.
77862         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
77863         (settimeofday): Likewise.
77865 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
77867         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
77868         a struct th_u2 inside the union, and move tu_block/tu_code into
77869         a new th_u3 union of tu_block/tu_code inside of that.  Move
77870         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
77871         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
77872         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
77873         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
77874         (th_stuff): Change to th_u1.tu_stuff.
77875         (th_data): Define.
77876         (th_msg): Change to th_u1.th_u2.tu_data.
77878 2012-05-07  David S. Miller  <davem@davemloft.net>
77880         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77882         [BZ #14074]
77883         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
77884         (SETUP_PIC_REG): Use it.
77885         (SETUP_PIC_REG_LEAF): Use it.
77887 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
77889         [BZ #13885]
77890         [BZ #13923]
77891         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77892         USE_AS_EXPM1L.
77893         (EXPL_FINITE): Likewise.
77894         (FLDLOG): Likewise.
77895         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
77896         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
77897         e_expl.S.
77898         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77899         USE_AS_EXPM1L.
77900         (EXPL_FINITE): Likewise.
77901         (FLDLOG): Likewise.
77902         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
77903         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
77904         e_expl.S.
77905         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
77906         test of -max_value argument for long double.
77907         * sysdeps/i386/fpu/libm-test-ulps: Update.
77908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77910 2012-05-06  David S. Miller  <davem@davemloft.net>
77912         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
77913         quad soft-float symbols whose references which are compiler
77914         generated.
77915         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
77917 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
77919         [BZ #13884]
77920         [BZ #13914]
77921         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77922         USE_AS_EXP10L.
77923         (EXPL_FINITE): Likewise.
77924         (FLDLOG): Likewise.
77925         (c0): Likewise.
77926         (c1): Likewise.
77927         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
77928         Adjust comments for base varying.
77929         (__expl_finite): Change alias to EXPL_FINITE.
77930         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
77931         e_expl.S.
77932         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
77933         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
77934         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
77935         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
77936         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77937         USE_AS_EXP10L.
77938         (EXPL_FINITE): Likewise.
77939         (FLDLOG): Likewise.
77940         (c0): Likewise.
77941         (c1): Likewise.
77942         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
77943         Adjust comments for base varying.
77944         (__expl_finite): Change alias to EXPL_FINITE.
77945         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
77946         tests for bugs.
77947         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77949         [BZ #14064]
77950         * math/libm-test.inc (check_float_internal): Correct ulp
77951         calculation for subnormal expected results.
77953 2012-05-06  Andreas Jaeger  <aj@suse.de>
77955         * Makeconfig (+math-flags): New, set to -frounding-math.
77956         (+cflags): Add +math-flags so that all of glibc gets compiled with
77957         it.
77959         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
77961 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
77963         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
77964         Disable one test.
77966         [BZ #13787]
77967         [BZ #13922]
77968         [BZ #14036]
77969         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
77970         (__ieee754_expl): Allow for and saturate large arguments.
77971         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
77972         (u_threshold): Likewise.
77973         (__exp): Call __ieee754_exp before checking for overflow and
77974         underflow.
77975         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
77976         (u_threshold): Likewise.
77977         (__expf): Call __ieee754_expf before checking for overflow and
77978         underflow.
77979         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
77980         (u_threshold): Likewise.
77981         (__expl): Call __ieee754_expl before checking for overflow and
77982         underflow.
77983         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
77984         (__ieee754_expl): Allow for and saturate large arguments.
77985         * math/libm-test.inc (exp_test): Add another test.  Do not allow
77986         missing overflow exception on overflow.
77987         (expm1_test): Do not allow missing overflow exception on overflow.
77989         * sysdeps/i386/fpu/e_expl.c: Move to ...
77990         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
77991         rather than using inline asm.
77992         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
77993         * sysdeps/x86_64/fpu/e_expl.S: Copy from
77994         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
77996         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
77997         (nice): Likewise.
77998         (poll): Likewise.
77999         (signal): Likewise.
78000         (time): Likewise.
78001         (times): Likewise.
78003 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
78005         * sysdeps/unix/syscalls.list (adjtime): Add entry from
78006         sysdeps/unix/common/syscalls.list.
78007         (fchmod): Likewise.
78008         (fchown): Likewise.
78009         (ftruncate): Likewise.
78010         (getrusage): Likewise.
78011         (gettimeofday): Likewise.
78012         (setpgid): Likewise.
78013         (setregid): Likewise.
78014         (setreuid): Likewise.
78015         (sigaction): Likewise.
78016         (truncate): Likewise.
78017         (vhangup): Likewise.
78018         * sysdeps/unix/common/syscalls.list: Remove file.
78019         * sysdeps/unix/bsd/Implies: Don't include unix/common.
78020         * sysdeps/unix/sysv/linux/Implies: Likewise.
78022 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
78024         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
78025         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
78026         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
78027         Moved to ...
78028         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
78029         Here.
78030         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
78031         to ...
78032         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
78033         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
78034         to ...
78035         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
78036         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
78037         to ...
78038         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
78039         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
78040         to ...
78041         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
78042         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
78043         to ...
78044         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
78045         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
78046         to ...
78047         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
78048         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
78049         to ...
78050         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
78051         Here.
78052         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
78053         to ...
78054         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
78055         Here.
78056         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
78057         to ...
78058         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
78059         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
78060         Moved to ...
78061         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
78062         Here.
78063         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
78064         to ...
78065         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
78067 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
78069         * sysdeps/unix/common/bits/dirent.h: Remove file.
78070         * sysdeps/unix/common/bits/fcntl.h: Likewise.
78072         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
78073         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
78074         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
78075         * sysdeps/unix/bsd/isatty.c: Likewise.
78076         * sysdeps/unix/bsd/tcdrain.c: Likewise.
78077         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
78078         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
78080 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78082         [BZ #13563]
78083         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
78084         long double comparison inaccuracies.
78085         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
78086         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78088 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
78090         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
78091         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
78093 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
78095         [BZ #14049]
78096         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
78097         nonzero digits before rounding a hex value.
78098         * stdlib/tst-strtod.c (tests): Add another test.
78100 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78102         * sysdeps/s390/fpu/libm-test-ulps: Update.
78104 2012-05-03  Andreas Jaeger  <aj@suse.de>
78106         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
78107         does not get optimized out.
78108         (malloc_opt_barrier): New.
78110 2012-05-03  Andreas Jaeger  <aj@suse.de>
78111             Roland McGrath  <roland@hack.frob.com>
78113         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
78114         intermediate file deletion.
78115         (generated): Add .symlist files.
78117 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
78119         [BZ #13775]
78120         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
78121         Redirect under this condition.
78122         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
78123         [__USE_GNU] (__dprintf_chk): Not under this condition.
78124         [__USE_GNU] (__vdprintf_chk): Likewise.
78125         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
78126         under this condition.
78127         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
78128         [__USE_XOPEN2K8] (dprintf): Define under this condition.
78129         [__USE_XOPEN2K8] (vdprintf): Likewise.
78130         [__USE_GNU] (__dprintf_chk): Not under this condition.
78131         [__USE_GNU] (__vdprintf_chk): Likewise.
78132         [__USE_GNU] (dprintf): Likewise.
78133         [__USE_GNU] (vdprintf): Likewise.
78135 2012-05-03  Roland McGrath  <roland@hack.frob.com>
78137         * elf/Makefile (common-generated): Set this instead of generated for
78138         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
78139         $(all-built-dso)-derived lists.
78141 2012-05-03  Andreas Jaeger  <aj@suse.de>
78143         * sysdeps/i386/fpu/libm-test-ulps: Update.
78145         * FAQ: Removed.
78146         * FAQ.in: Likewise.
78147         * scripts/gen-FAQ.pl: Likewise.
78148         * manual/install.texi (Installation): Point to online location of
78149         FAQ.
78150         * Makefile (files-for-dist): Remove FAQ.
78151         (FAQ): Remove.
78153 2012-05-02  Allan McRae  <allan@archlinux.org>
78155         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
78156         (LDFLAGS-reldepmod5.so): Likewise.
78157         (LDFLAGS-reldep6mod1.so): Likewise.
78158         (LDFLAGS-reldep6mod4.so): Likewise.
78159         (LDFLAGS-reldep8mod3.so): Likewise.
78160         (LDFLAGS-unload4mod1.so): Likewise.
78161         (LDFLAGS-unload4mod2.so): Likewise.
78162         (LDFLAGS-tst-initorder): Likewise.
78163         (LDFLAGS-tst-initordera2.so): Likewise.
78164         (LDFLAGS-tst-initordera3.so): Likewise.
78165         (LDFLAGS-tst-initordera4.so): Likewise.
78166         (LDFLAGS-tst-initorderb2.so): Likewise.
78167         (LDFLAGS-noload): Likewise.
78168         (LDFLAGS-next): Likewise.
78169         (LDFLAGS-order2mod1.so): Likewise.
78170         (LDFLAGS-order2mod2.so): Likewise.
78171         (LDFLAGS-tst-initorder2): Likewise.
78172         (LDFLAGS-tst-initorder2a.so): Likewise.
78173         (LDFLAGS-tst-initorder2b.so): Likewise.
78174         (LDFLAGS-tst-initorder2c.so): Likewise.
78175         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
78177 2012-05-02  David S. Miller  <davem@davemloft.net>
78179         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78181 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
78183         [BZ #14055]
78184         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
78186 2012-05-02  Andreas Jaeger  <aj@suse.de>
78188         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
78189         since we manipulate rounding mode.
78190         (CPPFLAGS-test-idouble.c): Likewise.
78191         (CPPFLAGS-test-ifloat.c): Likewise.
78192         (CFLAGS-test-ldouble.c): Likewise.
78193         (CFLAGS-test-double.c): Likewise.
78194         (CFLAGS-test-float.c): Likewise.
78195         (CFLAGS-test-misc.c): Likewise.
78196         (CFLAGS-test-test-fenv.c): Likewise.
78198 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78200         [BZ #2550]
78201         [BZ #2570]
78202         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
78203         comparisons to determine direction to adjust input.
78205 2012-05-01  Roland McGrath  <roland@hack.frob.com>
78207         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
78208         output to the target.
78210         * scripts/localplt.awk: New file.
78211         * elf/Makefile ($(objpfx)check-localplt): Target removed.
78212         (check-localplt-CFLAGS): Variable removed.
78213         ($(all-built-dso:=.jmprel)): New static pattern rule.
78214         (generated): Add those targets.
78215         (localplt-built-dso): New variable.
78216         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
78218         * elf/check-localplt.c: File removed.
78220         * scripts/check-execstack.awk: New file.
78221         * elf/Makefile ($(objpfx)check-execstack): Target removed.
78222         (check-execstack-CFLAGS): Variable removed.
78223         ($(objpfx)check-execstack.h): Target removed.
78224         ($(objpfx)execstack-default): New target.
78225         (generated): Add that instead of check-execstack.h.
78226         ($(all-built-dso:=.phdr)): New static pattern rule.
78227         (generated): Add those targets.
78228         * elf/check-execstack.c: File removed.
78230         * scripts/check-textrel.awk: New file.
78231         * elf/Makefile ($(objpfx)check-textrel): Target removed.
78232         (check-textrel-CFLAGS): Variable removed.
78233         (all-built-dso): Use := to define.o
78234         ($(all-built-dso:=.dyn)): New static pattern rule.
78235         (generated): Add those targets.
78236         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
78237         * config.make.in (READELF): New substituted variable.
78238         * elf/check-textrel.c: File removed.
78240 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
78242         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
78243         allow.
78244         * conform/data/ctype.h-data [C99-based standards] (isblank):
78245         Expect function.
78246         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
78247         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
78248         [ISO || ISO99 || ISO11] (*_t): Do not allow.
78249         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
78250         Specify type.  Require positive value.
78251         (EILSEQ): Likewise.
78252         (ERANGE): Likewise.
78253         [ISO || POSIX] (EILSEQ): Do not expect.
78254         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
78255         Specify type.  Require positive value.
78256         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
78257         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
78258         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
78259         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
78260         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
78261         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
78262         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
78263         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
78264         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
78265         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
78266         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
78267         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
78268         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
78269         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
78270         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
78271         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
78272         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
78273         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
78274         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
78275         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
78276         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
78277         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
78278         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
78279         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
78280         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
78281         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
78282         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
78283         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
78284         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
78285         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
78286         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
78287         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
78288         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
78289         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
78290         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
78291         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
78292         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
78293         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
78294         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
78295         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
78296         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
78297         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
78298         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
78299         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
78300         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
78301         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
78302         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
78303         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
78304         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
78305         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
78306         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
78307         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
78308         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
78309         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
78310         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
78311         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
78312         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
78313         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
78314         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
78315         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
78316         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
78317         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
78318         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
78319         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
78320         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
78321         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
78322         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
78323         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
78324         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
78325         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
78326         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
78327         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
78328         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
78329         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
78330         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
78331         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
78332         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
78333         Require >= 2.
78334         (FLT_ROUNDS): Expect as macro, not constant.
78335         (FLT_MANT_DIG): Use macro-int-constant.
78336         (DBL_MANT_DIG): Likewise.
78337         (LDBL_MANT_DIG): Likewise.
78338         (FLT_DIG): Likewise.
78339         (DBL_DIG): Likewise.
78340         (LDBL_DIG): Likewise.
78341         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
78342         (DBL_MIN_EXP): Likewise.
78343         (LDBL_MIN_EXP): Likewise.
78344         (FLT_MAX_EXP): Use macro-int-constant.
78345         (DBL_MAX_EXP): Likewise.
78346         (LDBL_MAX_EXP): Likewise.
78347         (FLT_MAX_10_EXP): Likewise.
78348         (DBL_MAX_10_EXP): Likewise.
78349         (LDBL_MAX_10_EXP): Likewise.
78350         (FLT_MAX): Use macro-constant.
78351         (DBL_MAX): Likewise.
78352         (LDBL_MAX): Likewise.
78353         (FLT_EPSILON): Use macro-constant.  Give upper bound.
78354         (DBL_EPSILON): Likewise.
78355         (LDBL_EPSILON): Likewise.
78356         (FLT_MIN): Likewise.
78357         (DBL_MIN): Likewise.
78358         (LDBL_MIN): Likewise.
78359         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
78360         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
78361         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
78362         [ISO11] (FLT_HAS_SUBNORM): Likewise.
78363         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
78364         [ISO11] (DBL_DECIMAL_DIG): Likewise.
78365         [ISO11] (FLT_DECIMAL_DIG): Likewise.
78366         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
78367         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
78368         [ISO11] (FLT_TRUE_MIN): Likewise.
78369         [ISO11] (LDBL_TRUE_MIN): Likewise.
78370         [ISO || ISO99 || ISO11] (*_t): Do not allow.
78371         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
78372         (SCHAR_MIN): Use macro-int-constant.  Specify type.
78373         (SCHAR_MAX): Likewise.
78374         (UCHAR_MAX): Likewise.
78375         (CHAR_MIN): Likewise.
78376         (CHAR_MAX): Likewise.
78377         (MB_LEN_MAX): Use macro-int-constant.
78378         (SHRT_MIN): Use macro-int-constant.  Specify type.
78379         (SHRT_MAX): Likewise.
78380         (USHRT_MAX): Likewise.
78381         (INT_MAX): Likewise.
78382         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
78383         bound negative.
78384         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
78385         bound with "U".
78386         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
78387         bound with "L".
78388         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
78389         bound negative.  Suffix upper bound with "L".
78390         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
78391         bound with "UL".
78392         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
78393         Specify type.
78394         [C99-based standards] (LLONG_MAX): Likewise.
78395         [C99-based standards] (ULLONG_MAX): Likewise.
78396         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
78397         == 0.
78398         [ISO11] (max_align_t): Require type.
78399         [ISO || ISO99 || ISO11] (*_t): Do not allow.
78401         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
78402         from $CFLAGS, without defining away __attribute__ calls.
78403         (checknamespace): Use $CFLAGS_namespace.
78405         * conform/conformtest.pl (@keywords): Only include C99 keywords
78406         for standards based on C99 or C11.
78408         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
78409         Disable tests.
78410         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
78411         UNIX98]: Likewise.
78413         * conform/conformtest.pl: Handle "macro-int-constant" and test for
78414         usability of symbols in #if.
78416         * conform/conformtest.pl: If macro or constant types start
78417         "promoted:", expect the symbol to be of the following type
78418         promoted by the integer promotions.
78420         * conform/conformtest.pl: Parse all "constant" and "macro" lines
78421         in one place.  Also handle "macro-constant".
78423         * conform/conformtest.pl: Only accept expected macro values with
78424         "==".  Parse all "macro" lines in one place.
78425         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
78427         * conform/conformtest.pl: Handle braced types on "constant" lines
78428         instead of handling "typed-constant".
78429         * conform/data/signal.h-data: Use "constant" instead of
78430         "typed-constant".
78432         * conform/conformtest.pl: Handle "optional-" at start of lines in
78433         one place rather than duplicating several cases.  Handle each
78434         format of "macro" line with initial "optional-".
78436         * conform/conformtest.pl: Only accept expected constant or
78437         optional-constant values with "==".  Parse all "constant" lines in
78438         one place.  Parse all "optional-constant" lines in one place.
78439         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
78440         * conform/data/fmtmsg.h-data: Likewise.
78441         * conform/data/netinet/in.h-data: Likewise.
78442         * conform/data/tar.h-data: Likewise.
78443         * conform/data/limits.h-data: Use "==" form on "constant" and
78444         "optional-constant" lines.
78446         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
78447         Use -std=c99 for XOPEN2K.
78448         (@knownproblems): Remove.
78449         (newtoken): Don't check %isknown.
78451         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
78452         Do not expect macro.
78453         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
78454         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
78455         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
78456         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
78457         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
78458         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
78459         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
78460         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
78461         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
78462         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
78463         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
78464         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
78465         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
78466         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
78467         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
78468         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
78469         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
78470         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
78471         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
78472         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
78473         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
78474         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
78475         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
78476         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
78477         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
78478         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
78479         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
78480         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
78481         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
78482         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
78483         [XPG3] (acosh): Likewise.
78484         [XPG3] (asinh): Likewise.
78485         [XPG3] (atanh): Likewise.
78486         [XPG3] (cbrt): Likewise.
78487         [XPG3] (expm1): Likewise.
78488         [XPG3] (ilogb): Likewise.
78489         [XPG3] (log1p): Likewise.
78490         [XPG3] (logb): Likewise.
78491         [XPG3] (nextafter): Likewise.
78492         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
78493         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
78494         [XPG3] (remainder): Likewise.
78495         [XPG3] (rint): Likewise.
78496         [XPG3 || XPG4 || UNIX98] (round): Likewise.
78497         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
78498         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
78499         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
78500         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
78501         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
78502         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
78503         [UNIX98 || XOPEN2K] (scalb): Expect.
78504         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
78505         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
78506         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
78507         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
78508         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
78509         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
78510         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
78511         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
78512         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
78513         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
78514         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
78515         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
78516         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
78517         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
78518         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
78519         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
78520         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
78521         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
78522         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
78523         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
78524         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
78525         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
78526         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
78527         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
78528         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
78529         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
78530         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
78531         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
78532         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
78533         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
78534         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
78535         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
78536         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
78537         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
78538         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
78539         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
78540         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
78541         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
78542         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
78543         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
78544         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
78545         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
78546         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
78547         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
78548         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
78549         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
78550         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
78551         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
78552         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
78553         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
78554         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
78555         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
78556         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
78557         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
78558         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
78559         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
78560         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
78561         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
78562         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
78563         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
78564         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
78565         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
78566         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
78567         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
78568         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
78569         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
78570         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
78571         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
78572         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
78573         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
78574         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
78575         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
78576         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
78577         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
78578         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
78579         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
78580         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
78581         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
78582         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
78583         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
78584         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
78585         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
78586         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
78587         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
78588         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
78589         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
78590         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
78591         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
78592         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
78593         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
78594         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
78595         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
78596         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
78597         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
78598         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
78599         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
78600         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
78601         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
78602         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
78603         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
78604         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
78605         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
78606         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
78607         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
78608         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
78609         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
78610         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
78611         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
78612         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
78613         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
78614         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
78615         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
78616         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
78617         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
78618         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
78619         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
78620         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
78621         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
78622         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
78623         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
78624         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
78625         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
78626         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
78627         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
78628         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
78629         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
78630         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
78631         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
78632         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
78633         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
78634         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
78635         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
78636         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
78637         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
78638         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
78639         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
78640         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
78642         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
78643         _XOPEN_SOURCE_EXTENDED for XPG4.
78645         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
78647         * Makeconfig (localtime): Remove variable.
78648         (inst_localtime-file): Likewise.
78650 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
78652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
78653         Update.
78654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
78655         Update.
78656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
78657         Update.
78658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
78659         Update.
78660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
78661         Update.
78662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
78663         Update.
78664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
78665         Update.
78666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
78667         Update.
78668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
78669         Update.
78671 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
78673         [BZ #2550]
78674         [BZ #2570]
78675         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
78676         comparisons to determine direction to adjust input.
78677         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
78678         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
78679         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
78680         Likewise.
78681         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
78682         Likewise.
78683         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
78684         Likewise.
78685         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
78686         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
78687         Likewise.
78688         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
78689         Likewise.
78690         * math/libm-test.inc (nexttoward_test): Add more tests.
78692 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
78694         [BZ #14040]
78695         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
78696         in version GLIBC_2.1, not GLIBC_2.0.
78697         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
78698         Likewise.
78700 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
78702         [BZ #13942]
78703         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
78704         (1 - x) * (1 + x).
78705         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
78706         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
78707         * math/libm-test.inc (acos_test): Add more tests.
78708         (asin_test): Likewise.
78709         * sysdeps/i386/fpu/libm-test-ulps: Update.
78710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78712         [BZ #14034]
78713         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
78714         of square root.
78715         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
78716         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
78717         * math/libm-test.inc (acos_test_tonearest): New function.
78718         (acos_test_towardzero): Likewise.
78719         (acos_test_downward): Likewise.
78720         (acos_test_upward): Likewise.
78721         (asin_test_tonearest): Likewise.
78722         (asin_test_towardzero): Likewise.
78723         (asin_test_downward): Likewise.
78724         (asin_test_upward): Likewise.
78725         (main): Call the new functions.
78726         * sysdeps/i386/fpu/libm-test-ulps: Update.
78727         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78729         [BZ #13884]
78730         [BZ #13924]
78731         * math/e_exp10.c: Include <float.h>.
78732         (__ieee754_exp10): Handle underflow here rather than multiplying
78733         large negative argument by M_LN10.
78734         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
78735         of __ieee754_expf.
78736         * math/e_exp10l.c: Include <float.h>.
78737         (__ieee754_exp10l): Handle underflow here rather than multiplying
78738         large negative argument by M_LN10l.
78739         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
78740         spurious overflow exception on underflow.
78742 2012-04-29  Marek Polacek  <polacek@redhat.com>
78744         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
78745         (__fortify_function): New macro.
78746         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
78747         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
78748         __extern_always_inline.
78749         * libio/bits/stdio2.h: Likewise.
78750         * libio/bits/stdio.h: Likewise.
78751         * string/string.h: Likewise.
78752         * string/bits/string3.h: Likewise.
78753         * include/stdio.h: Likewise.
78754         * stdlib/bits/stdlib.h: Likewise.
78755         * stdlib/stdlib.h: Likewise.
78756         * rt/bits/mqueue2.h: Likewise.
78757         * rt/mqueue.h: Likewise.
78758         * posix/bits/unistd.h: Likewise.
78759         * posix/unistd.h: Likewise.
78760         * io/bits/poll2.h: Likewise.
78761         * io/bits/fcntl2.h: Likewise.
78762         * io/fcntl.h: Likewise.
78763         * io/sys/poll.h: Likewise.
78764         * misc/bits/syslog.h: Likewise.
78765         * misc/bits/syslog-ldbl.h: Likewise.
78766         * misc/sys/syslog.h: Likewise.
78767         * socket/bits/socket2.h: Likewise.
78768         * socket/sys/socket.h: Likewise.
78769         * debug/tst-chk1.c: Likewise.
78770         * wcsmbs/bits/wchar2.h: Likewise.
78771         * wcsmbs/bits/wchar-ldbl.h: Likewise.
78772         * wcsmbs/wchar.h: Likewise.
78774 2012-04-29  Andreas Jaeger  <aj@suse.de>
78776         * Makerules (tests): Remove enable-check-abi protection.
78777         (check-abi-warn): Remove.
78778         (check-abi-%): Remove check-abi-warn usage.
78780         * configure.in: Remove check-abi configure option.
78781         * configure: Regenerated.
78782         * config.make.in (enable-check-abi): Remove.
78784 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
78786         [BZ #14033]
78787         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
78788         double functions to double *_finite functions.
78790         [BZ #13941]
78791         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
78792         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
78793         LDBL_MIN_EXP.
78794         * stdio-common/Makefile (tests): Add tst-sprintf3.
78795         * stdio-common/tst-sprintf3.c: New file.
78797         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
78798         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
78800 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
78802         * conform/conformtest.pl: Remove duplicate typed-constant
78803         handling.
78805 2012-04-28  David S. Miller  <davem@davemloft.net>
78807         * Makerules (%.abilist): Add vpath on sysdep_dirs.
78808         (check-abi-%): Remove AWK script prerequisite and explicit
78809         abilist directory.
78810         (check-abi): Rewrite to just diff the symlist with the abilist.
78811         (config-tls, config-abi-config): Delete, no longer used.
78812         (update-abi-%): Remove AWK script and explicit abilist directory.
78813         (update-abi): Rewrite to simply compare and conditionally copy the
78814         symlist and the sysdep abilist file.  Remove update-abi-config
78815         checks.
78816         * abilist/ld.abilist: Remove.
78817         * abilist/libBrokenLocale.abilist: Remove.
78818         * abilist/libanl.abilist: Remove.
78819         * abilist/libcrypt.abilist: Remove.
78820         * abilist/libdl.abilist: Remove.
78821         * abilist/librt.abilist: Remove.
78822         * abilist/libthread_db.abilist: Remove.
78823         * abilist/libutil.abilist: Remove.
78824         * scripts/extract-abilist.awk: Remove.
78825         * scripts/merge-abilist.awk: Remove.
78826         * sysdeps/generic/libcidn.abilist: New file.
78827         * sysdeps/generic/libnss_compat.abilist: New file.
78828         * sysdeps/generic/libnss_db.abilist: New file.
78829         * sysdeps/generic/libnss_dns.abilist: New file.
78830         * sysdeps/generic/libnss_files.abilist: New file.
78831         * sysdeps/generic/libnss_hesiod.abilist: New file.
78832         * sysdeps/generic/libnss_nis.abilist: New file.
78833         * sysdeps/generic/libnss_nisplus.abilist: New file.
78834         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
78835         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
78836         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
78837         file.
78838         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
78839         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
78840         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
78841         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
78842         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
78843         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
78844         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
78845         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
78846         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
78847         file.
78848         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
78849         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
78850         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
78851         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
78852         file.
78853         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
78854         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
78855         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
78856         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
78857         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
78858         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
78859         file.
78860         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
78861         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
78862         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
78863         file.
78864         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
78865         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
78866         New file.
78867         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
78868         New file.
78869         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
78870         New file.
78871         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
78872         New file.
78873         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
78874         New file.
78875         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
78876         New file.
78877         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
78878         New file.
78879         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
78880         New file.
78881         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
78882         New file.
78883         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
78884         New file.
78885         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
78886         New file.
78887         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
78888         New file.
78889         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
78890         New file.
78891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
78892         file.
78893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
78894         New file.
78895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
78896         New file.
78897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
78898         file.
78899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
78900         New file.
78901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
78902         New file.
78903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
78904         file.
78905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
78906         New file.
78907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
78908         New file.
78909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
78910         New file.
78911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
78912         New file.
78913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
78914         New file.
78915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
78916         New file.
78917         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
78918         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
78919         file.
78920         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
78921         New file.
78922         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
78923         file.
78924         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
78925         file.
78926         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
78927         file.
78928         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
78929         file.
78930         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
78931         file.
78932         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
78933         New file.
78934         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
78935         file.
78936         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
78937         file.
78938         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
78939         New file.
78940         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
78941         file.
78942         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
78943         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
78944         file.
78945         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
78946         New file.
78947         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
78948         file.
78949         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
78950         file.
78951         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
78952         file.
78953         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
78954         file.
78955         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
78956         file.
78957         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
78958         New file.
78959         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
78960         file.
78961         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
78962         file.
78963         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
78964         New file.
78965         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
78966         file.
78967         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
78968         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
78969         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
78970         file.
78971         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
78972         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
78973         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
78974         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
78975         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
78976         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
78977         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
78978         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
78979         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
78980         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
78981         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
78982         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
78983         file.
78984         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
78985         New file.
78986         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
78987         file.
78988         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
78989         file.
78990         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
78991         file.
78992         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
78993         file.
78994         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
78995         file.
78996         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
78997         New file.
78998         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
78999         New file.
79000         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
79001         file.
79002         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
79003         New file.
79004         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
79005         file.
79006         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
79007         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
79008         file.
79009         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
79010         New file.
79011         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
79012         file.
79013         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
79014         file.
79015         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
79016         file.
79017         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
79018         file.
79019         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
79020         file.
79021         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
79022         New file.
79023         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
79024         New file.
79025         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
79026         file.
79027         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
79028         New file.
79029         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
79030         file.
79032 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
79034         * conform/conformtest.pl: Fix typo in handling typed-constant from
79035         allow-header.
79037 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
79039         * README: Cut down references to pre-2.6 Linux kernels and
79040         Linuxthreads.  Update lists of configurations in libc and ports
79041         and sort alphabetically.  Say "or newer" with Linux kernel version
79042         requirements.
79044         * config.h.in [IS_IN_build]: Allow compiling without optimization.
79046 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
79048         [BZ #887]
79049         * math/libm-test.inc (logb_test_downward): New test to expose
79050         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
79051         rounding mode.
79053 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
79055         [BZ #14027]
79056         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
79057         to be done.
79058         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
79059         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
79061 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
79063         * sysdeps/unix/i386/brk.S: Remove file.
79064         * sysdeps/unix/i386/dl-brk.S: Likewise.
79065         * sysdeps/unix/i386/pipe.S: Likewise.
79066         * sysdeps/unix/i386/sigreturn.S: Likewise.
79067         * sysdeps/unix/i386/syscall.S: Likewise.
79068         * sysdeps/unix/i386/vfork.S: Likewise.
79069         * sysdeps/unix/i386/wait.S: Likewise.
79071         * sysdeps/unix/common/tcsendbrk.c: Move to ...
79072         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
79074         * configure.in (arm*-none*): Do not allow without
79075         --enable-hacker-mode.
79076         (netbsd*): Remove case setting base_os.
79077         (386bsd*): Likewise.
79078         (freebsd*): Likewise.
79079         (bsdi*): Likewise.
79080         (osf*): Likewise.
79081         (sunos*): Likewise.
79082         (ultrix*): Likewise.
79083         (newsos*): Likewise.
79084         (dynix*): Likewise.
79085         (*bsd*): Likewise.
79086         (sysv*): Likewise.
79087         (isc*): Likewise.
79088         (esix*): Likewise.
79089         (sco*): Likewise.
79090         (minix*): Likewise.
79091         (irix4*): Likewise.
79092         (irix6*): Likewise.
79093         (solaris[2-9]*): Likewise.
79094         (none): Likewise.
79095         * configure: Regenerated.
79097 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79099         [BZ #11521]
79100         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
79101         overflow or cancellation in calculating denominator.
79102         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
79103         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
79104         down expression to avoid unexpected rounding in newer GCCs.
79105         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
79107 2012-04-26  David S. Miller  <davem@davemloft.net>
79109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
79110         long-double compat symbols.
79111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
79112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
79113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
79114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
79115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
79116         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
79117         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
79118         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
79119         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
79120         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
79121         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
79122         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
79123         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
79125 2012-04-25  David S. Miller  <davem@davemloft.net>
79127         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
79128         HWCAP_* values only after the memory barriers have been defined.
79129         (atomic_full_barrier): Define.
79130         (atomic_read_barrier): Define.
79131         (atomic_write_barrier): Define.
79133 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
79135         * shlib-versions: Add libgcc_s version information.
79136         * sysdeps/generic/libgcc_s.h: Remove.
79137         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
79138         libgcc_s.h.
79139         * sysdeps/gnu/unwind-resume.c: Likewise.
79140         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
79142 2012-04-25  David S. Miller  <davem@davemloft.net>
79144         * sysdeps/unix/sparc/brk.S: Delete.
79145         * sysdeps/unix/sparc/dl-brk.S: Delete.
79146         * sysdeps/unix/sparc/pipe.S: Delete.
79147         * sysdeps/unix/sparc/sysdep.S: Delete.
79148         * sysdeps/unix/sparc/sysdep.h: Delete.
79149         * sysdeps/unix/sparc/vfork.S: Delete.
79150         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
79151         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
79152         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
79153         (ret_ERRVAL, r0, r1, MOVE): Define.
79154         (JUMPTARGET): Remove.
79155         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
79156         sysdeps/unix/sparc/sysdep.h
79157         (ENTRY, END): Remove.
79158         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
79160 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
79162         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
79163         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
79164         -DIS_IN_build.
79166         * timezone/README: Update upstream location and email address for
79167         tzcode and tzdata.
79168         * timezone/zdump.c: Update from tzcode 2012b.
79169         * timezone/zic.c: Likewise.
79171         * configure.in (libc_cv_as_needed): Remove test.
79172         * configure: Regenerated.
79173         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
79174         conditional definition.
79175         [$(have-as-needed) != yes] (no-as-needed): Likewise.
79176         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
79177         * config.make.in (have-as-needed): Remove variable.
79179 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
79180             Paul Pluzhnikov  <ppluzhnikov@google.com>
79182         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
79183         strings correctly.
79185 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
79187         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
79188         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
79189         * sysdeps/sh/strlen.S: Likewise.
79191 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
79193         * sysdeps/unix/fork.S: Remove file.
79194         * sysdeps/unix/i386/fork.S: Likewise.
79195         * sysdeps/unix/sparc/fork.S: Likewise.
79197         * sysdeps/unix/system.c: Remove file.
79198         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
79200         * sysdeps/unix/getegid.S: Remove file.
79201         * sysdeps/unix/geteuid.S: Likewise.
79203 2012-04-24  Roland McGrath  <roland@hack.frob.com>
79205         * scripts/check-localplt.awk: New file.
79206         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
79207         of diff.
79208         * scripts/data/localplt-generic.data: Add a comment.
79210         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
79211         NODE when __dir_mkfile failed.
79212         * sysdeps/mach/hurd/symlinkat.c: Likewise.
79213         Reported by Ludovic Courtès <ludo@gnu.org>.
79215 2012-04-24  Andreas Jaeger  <aj@suse.de>
79217         * Makerules (common-clean): Also remove gen-as-const-headers
79218         files.
79220 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
79222         * Makerules (native-compile): Do not change working directory for
79223         build.  Use $(OUTPUT_OPTION) in command.
79224         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
79226 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79228         [BZ #13886]
79229         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
79230         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
79231         * math/libm-test.inc (floor_test): Add more tests.
79232         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
79234 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
79236         * sysdeps/unix/getdents.c: Remove file.
79237         * sysdeps/unix/sysv/getdents.c: Likewise.
79238         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
79240         * sysdeps/unix/syscalls.list (madvise): Add syscall from
79241         sysdeps/unix/mman/syscalls.list.
79242         (mmap): Likewise.
79243         (mprotect): Likewise.
79244         (msync): Likewise.
79245         (munmap): Likewise.
79246         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
79247         * sysdeps/unix/mman/syscalls.list: Remove.
79248         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
79250         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
79251         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
79252         * configure: Regenerated.
79253         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
79254         $(libgcc_s_suffix).
79255         * config.make.in (libgcc_s_suffix): Remove variable.
79257 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
79259         * sysdeps/unix/sysv/gethostname.c: Move to ...
79260         * sysdeps/posix/gethostname.c: ... here.
79262         * sysdeps/unix/execve.S: Remove file.
79264         * sysdeps/unix/_exit.S: Remove file.
79266 2012-04-23  Andreas Jaeger  <aj@suse.de>
79268         [BZ #13739]
79269         * manual/Makefile: Remove make dist support, there's no
79270         need for a stand-alone documentation tar ball.
79271         (TEXI2DVI): Define always, it's not in Makeconfig.
79272         (dist): Removed.
79273         (tar-it): Removed.
79274         (edition): Removed.
79275         (glibc-doc-$(edition).tar): Removed
79276         (%.Z): Removed.
79277         (%.gz): Removed.
79278         (%.uu): Removed.
79279         (ETAGS): Remove, it's in Makeconfig.
79280         (move-if-change): Remove, it's in Makeconfig.
79282 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
79284         [BZ #13970]
79285         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
79286         (strtod, strtof, strtold, strtol, strtoul, strtoq)
79287         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
79288         (strtod_l, strtof_l, strtold_l): Remove __wur.
79289         It is not necessarily an error to ignore strtol's return value.
79290         One can reliably look at the stored endptr to decide whether
79291         the number had valid syntax.
79293 2012-04-21  Andreas Jaeger  <aj@suse.de>
79295         [BZ #13739]
79296         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
79298 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
79300         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
79301         * sysdeps/unix/sysv/Versions: Remove file.
79303 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
79305         [BZ #13927]
79306         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
79308 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
79310         [BZ #7064]
79311         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
79312         version from __vm86.
79314 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
79316         * sysdeps/unix/common/lxstat.c: Remove file.
79317         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
79319         * sysdeps/unix/sysv/Makefile: Remove file.
79321         * sysdeps/unix/sysv/direct.h: Remove file.
79323         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
79324         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
79325         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
79326         * sysdeps/unix/sysv/bits/signum.h: Likewise.
79327         * sysdeps/unix/sysv/bits/stat.h: Likewise.
79328         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
79329         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
79331         * sysdeps/unix/sysv/setrlimit.c: Remove file.
79333         * sysdeps/unix/xmknod.c: Remove file.
79334         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
79336         * sysdeps/unix/sysv/settimeofday.c: Remove file.
79338         * sysdeps/unix/sysv/i386/time.S: Remove file.
79340         * sysdeps/unix/fxstat.c: Remove file.
79341         * sysdeps/unix/xstat.c: Likewise.
79342         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
79344         * sysdeps/unix/sysv/sigaction.c: Remove file.
79346         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
79347         (sysdep_headers): Remove variable.
79348         [termio.h not in sysdep_headers] (generated): Likewise.
79349         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
79350         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
79351         * sysdeps/unix/sysv/tcdrain.c: Likewise.
79352         * sysdeps/unix/sysv/tcflow.c: Likewise.
79353         * sysdeps/unix/sysv/tcflush.c: Likewise.
79354         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
79355         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
79356         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
79357         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
79358         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
79360         * sysdeps/unix/siglist.c: Remove file.
79362         * sysdeps/unix/getppid.S: Remove file.
79364         * sysdeps/unix/mkdir.c: Remove file.
79365         * sysdeps/unix/rmdir.c: Likewise.
79367 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
79369         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
79370         ERR_MAX value.
79371         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
79372         errlist-compat value.
79374 2012-04-18  David S. Miller  <davem@davemloft.net>
79376         * sysdeps/generic/memcopy.h (reg_char): Delete.
79377         * debug/strcat_chk.c: Use char, not reg_char.
79378         * debug/strcpy_chk.c: Likewise.
79379         * debug/strncat_chk.c: Likewise.
79380         * debug/strncpy_chk.c: Likewise.
79381         * string/memchr.c: Likewise.
79382         * string/memrchr.c: Likewise.
79383         * string/rawmemchr.c: Likewise.
79384         * string/strcat.c: Likewise.
79385         * string/strchr.c: Likewise.
79386         * string/strchrnul.c: Likewise.
79387         * string/strcmp.c: Likewise.
79388         * string/strcpy.c: Likewise.
79389         * string/strncat.c: Likewise.
79390         * string/strncmp.c: Likewise.
79391         * string/strncpy.c: Likewise.
79393 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
79395         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
79396         __builtin_memcopy is called when src and dest ranges are known to not
79397         overlap.
79399 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
79401         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
79402         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
79403         fwd_align_merge macro call.
79404         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
79405         bwd_align_merge macro call.
79406         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
79408 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
79410         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
79411         bwd_align_merge macros.
79412         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
79413         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
79414         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
79416 2012-04-18  David S. Miller  <davem@davemloft.net>
79418         * sysdeps/sparc/sparc64/memcopy.h: Delete.
79420 2012-04-18  Andreas Jaeger  <aj@suse.de>
79422         [BZ #6794]
79423         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
79424         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
79425         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
79427         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
79428         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
79429         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
79431         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
79432         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
79433         Adjust for changed ldbl-128 files.
79435         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
79436         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
79437         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
79439 2012-04-17  David S. Miller  <davem@davemloft.net>
79441         * sysdeps/sparc/sparc32/memcopy.h: Delete.
79443 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
79445         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
79446         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
79447         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
79448         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
79449         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
79450         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
79452 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79454         [BZ #6794]
79455         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
79456         * math/libm-test.inc: Add ilogb errno and exception tests.
79457         * math/w_ilogb.c: New file: ilogb wrapper.
79458         * math/w_ilogbf.c: New file: ilogbf wrapper.
79459         * math/w_ilogbl.c: New file: ilogbl wrapper.
79460         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
79461         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
79462         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
79463         exception being thrown with 0.0 as argument.
79464         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
79465         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
79466         exception being thrown with 0.0 as argument.
79467         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
79468         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
79469         exception being thrown with 0.0 as argument.
79470         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
79471         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
79472         exception being thrown with 0.0 as argument.
79473         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
79474         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
79475         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
79476         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
79477         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
79478         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
79479         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
79480         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
79481         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
79483 2012-04-17  Petr Baudis  <pasky@ucw.cz>
79485         * include/sys/uio.h: Change __vector to __iovec to avoid clash
79486         with altivec.
79488 2012-04-16  Marek Polacek  <polacek@redhat.com>
79490         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
79492 2012-04-16  Marek Polacek  <polacek@redhat.com>
79494         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
79495         operands of fdivp instruction.
79497 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
79499         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
79500         * elf/tst-auditmod3b.c: Likewise.
79501         * elf/tst-auditmod4b.c: Likewise.
79502         * elf/tst-auditmod5b.c: Likewise.
79503         * elf/tst-auditmod6b.c: Likewise.
79504         * elf/tst-auditmod6c.c: Likewise.
79505         * elf/tst-auditmod7b.c: Likewise.
79506         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
79507         * sysdeps/x86_64/preconfigure.in: Likewise.
79508         * sysdeps/x86_64/preconfigure: Regenerated.
79510 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
79512         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
79513         __ILP32__.
79515 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
79517         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
79518         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
79520 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
79522         [BZ #13973]
79523         * locale/iso-639.def: Fix gl language name. Spotted by
79524         Yaron Shahrabani.
79526 2012-04-12  Roland McGrath  <roland@hack.frob.com>
79528         [BZ #2074]
79529         * libio/libio.h (__io_write_fn): Update comment.
79531 2012-04-12  Petr Baudis  <pasky@ucw.cz>
79533         [BZ #2074]
79534         * stdio.texi (Hook Functions): The user provided writer function
79535         is not allowed to return -1.
79537 2012-04-11  David S. Miller  <davem@davemloft.net>
79539         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79541 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
79543         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
79544         Add a leading slash to rtkaio.
79546 2012-04-11  Jim Meyering  <meyering@redhat.com>
79548         [BZ #11959]
79549         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
79550         It is not necessarily an error to ignore fwrite's return
79551         value.  One can reliably use ferror to test for errors after
79552         the fact.
79554 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
79556         * bits/types.h (__snseconds_t): New type.
79557         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
79559         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
79560         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
79561         (__SNSECONDS_T_TYPE): Likewise.
79562         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
79563         (__SNSECONDS_T_TYPE): Likewise.
79564         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
79565         (__SNSECONDS_T_TYPE): Likewise.
79567 2012-04-10  Andreas Jaeger  <aj@suse.de>
79569         [BZ #2636]
79570         * manual/time.texi (Processor Time): Return type of times is
79571         elapsed real time since an arbitrary point in the past.
79572         (CPU Time): Move CLK_TCK from here...
79573         (Processor Time): ...to here.  Correct description.
79574         * manual/conf.texi (Constants for Sysconf): Correct description of
79575         _SC_CLK_TCK.
79577 2012-04-10  David S. Miller  <davem@davemloft.net>
79579         [BZ #13967]
79580         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
79581         where the is a gap between DT_REL(A) and DT_JMPREL.
79583 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
79585         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
79586         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
79587         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
79589 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
79591         * elf/dl-support.c (_dl_inhibit_cache): New variable.
79592         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
79593         (dl_main): Handle --inhibit-cache.
79594         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
79595         _dl_inhibit_cache.
79596         * elf/dl-load.c (_dl_map_object): Use it.
79597         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
79599 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
79601         [BZ #13872]
79602         * sysdeps/i386/fpu/e_powl.S (p78): New object.
79603         (__ieee754_powl): Saturate large exponents rather than testing for
79604         overflow of y*log2(x).
79605         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
79606         * math/libm-test.inc (pow_test): Do not permit spurious overflow
79607         exceptions.
79609         [BZ #11521]
79610         * math/s_ctan.c: Include <float.h>.
79611         (__ctan): Avoid internal overflow or cancellation in calculating
79612         denominator.
79613         * math/s_ctanf.c: Likewise.
79614         * math/s_ctanl.c: Likewise.
79615         * math/s_ctanh.c: Likewise.
79616         * math/s_ctanhf.c: Likewise.
79617         * math/s_ctanhl.c: Likewise.
79618         * math/libm-test.inc (ctan_test): Add more tests.
79619         (ctanh_test): Likewise.
79620         * sysdeps/i386/fpu/libm-test-ulps: Update.
79621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79623 2012-04-09  Andreas Jaeger  <aj@suse.de>
79625         [BZ #6894]
79626         * manual/filesys.texi (Directory Entries): Mention that d_namlen
79627         is an optional BSD extension.
79629         [BZ #10254]
79630         * manual/stdio.texi (Opening Streams): Document additional fopen
79631         parameters.
79633 2012-04-09  Roland McGrath  <roland@hack.frob.com>
79635         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
79636         %eax without telling the compiler.
79638 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
79640         [BZ # 13963]
79641         * manual/install.texi: Use sourceware.org.
79643 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
79645         [BZ #13873]
79646         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
79647         (__ieee754_pow): Generate overflow and underflow using huge*huge
79648         and tiny*tiny rather than just returning constant infinity or zero
79649         for large exponents.
79650         * math/libm-test.inc (pow_test): Require overflow exceptions for
79651         applicable cases of large exponents.
79653         [BZ #706]
79654         * sysdeps/i386/fpu/e_pow.S (p10): New object.
79655         (__ieee754_pow): Use iterative multiplication algorithm only for
79656         integer exponents with absolute value below 1024.  Check for odd
79657         integer exponents when using algorithm for real exponents.
79658         * math/libm-test.inc (pow_test): Add more tests.
79659         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
79661 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
79663         [BZ #13705]
79664         * math/libm-test.inc (exp_test): Do not allow overflow exception
79665         on underflow test.
79667 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
79669         [BZ #13705]
79670         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
79671         instead of __kernel_standard_f.
79673 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
79675         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
79676         * sysdeps/x86_64/memset_chk.S: Likewise.
79678 2012-04-08  Andreas Jaeger  <aj@suse.de>
79680         [BZ #10153]
79681         * manual/startup.texi (Environment Access): Describe return value
79682         for putenv and setenv.
79684         [BZ #6895]
79685         * manual/filesys.texi (Directory Entries): Add description for
79686         DT_LNK.
79688         [BZ #6890]
79689         * manual/filesys.texi (Directory Entries): Clarify that it's file
79690         system not operating system in the description of DT_UNKNOWN.
79692         [BZ #6578]
79693         * manual/syslog.texi (closelog): Fix reference, it's openlog.
79695 2012-04-08  Stephen Compall  <s11@member.fsf.org>
79697         [BZ #6649]
79698         * manual/llio.texi (Opening and Closing Files): Add cross
79699         reference to explain mode argument.
79701 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
79703         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
79704         * sysdeps/x86_64/memset_chk.S: Likewise.
79706 2012-04-07  David S. Miller  <davem@davemloft.net>
79708         * elf/elf.h (R_SPARC_WDISP10): Define.
79709         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
79710         R_SPARC_SIZE32.
79711         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
79712         R_SPARC_SIZE64 and R_SPARC_H34.
79714 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
79716         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
79717         conditions and remove no longer applicable assertion.
79719 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
79721         * bits/byteswap.h: Include <features.h>.
79722         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
79723         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
79725 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
79727         * bits/byteswap.h (__bswap_16): Removed.
79728         Include <bits/byteswap-16.h> to get __bswap_16.
79729         * sysdeps/i386/bits/byteswap.h: Likewise.
79730         * sysdeps/s390/bits/byteswap.h: Likewise.
79731         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79732         * bits/byteswap-16.h: New file.
79733         * sysdeps/i386/bits/byteswap-16.h: Likewise.
79734         * sysdeps/s390/bits/byteswap-16.h: Likewise.
79735         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
79736         * string/Makefile (headers): Add bits/byteswap-16.h.
79738 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
79740         [BZ #13895]
79741         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
79742         extra indirection.
79743         * nss/Makefile (tests-static, tests): Add tst-nss-static.
79744         * nss/tst-nss-static.c: New.
79746 2012-04-06  Robert Millan  <rmh@gnu.org>
79748         [BZ #6486]
79749         * manual/llio.texi (File Position Primitive): lseek
79750         refers to WHENCE when it really means OFFSET.
79752 2012-04-06  Andreas Jaeger  <aj@suse.de>
79754         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
79755         strncmp declarations.
79757         * abilist/libc.abilist: Add __poll and __ppoll.
79759 2012-04-05  David S. Miller  <davem@davemloft.net>
79761         * scripts/check-local-headers.sh: Accept a host triplet in the
79762         path matched by the exclude regexp.
79764         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
79765         definition.
79766         * sysdeps/powerpc/powerpc32/dl-machine.h
79767         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
79768         * sysdeps/s390/s390-32/dl-machine.h
79769         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
79770         * sysdeps/sparc/sparc32/dl-machine.h
79771         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
79772         * sysdeps/sparc/sparc64/dl-machine.h
79773         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
79775         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
79776         lazy binding.
79777         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
79778         undefined symbol errors.
79780         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
79781         DT_NEEDED entries.
79783 2012-04-05  Michael Matz  <matz@suse.de>
79785         [BZ #13592]
79786         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
79788 2012-04-05  Andreas Jaeger  <aj@suse.de>
79790         [BZ #13908]
79791         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
79792         comment.
79794 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79796         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
79797         which ROUND is no valid rounding mode.
79799 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79801         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
79802         read again.
79803         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
79805 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79807         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
79808         an exception using FPU order intentionally.
79810 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79812         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
79813         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
79814         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
79815         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
79817 2012-04-05  Simon Josefsson  <simon@josefsson.org>
79819         [BZ #12340]
79820         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
79821         EINVAL when BUFLEN is too smal.
79823 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
79825         [BZ #13553]
79826         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
79827         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
79829 2012-04-03  Andreas Jaeger  <aj@suse.de>
79831         [BZ #13938]
79832         * manual/setjmp.texi (System V contexts): Fix sentence.
79834         [BZ #13926]
79835         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
79836         New macro for this case.
79837         [!__GNUC__] (__bswap_64): New inline function for this case.
79838         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79839         * bits/byteswap.h: Likewise.
79840         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
79841         ull, guard with __GLIBC_HAVE_LONG_LONG.
79843         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
79844         __GLIBC_HAVE_LONG_LONG.
79846         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
79847         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
79849 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
79851         [BZ #13691]
79852         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
79853         inptr and inend, rather than using last_ch.
79855 2012-04-02  David S. Miller  <davem@davemloft.net>
79857         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
79858         * stdio-common/printf-parse.h (read_int): Change return type to
79859         'int', return -1 on INT_MAX overflow.
79860         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
79861         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
79862         overflows INT_MAX.  Check for overflow of in-format-string precision
79863         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
79864         SIZE_MAX not INT_MAX for integer overflow test.
79865         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
79866         skip the construct in the format string but do not record anything.
79867         * stdio-common/bug22.c: Adjust to test both width/prevision
79868         INT_MAX overflow as well as total length INT_MAX overflow.  Check
79869         explicitly for proper errno values.
79871 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
79873         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
79874         CHAR_MAX.
79875         * string/test-strcmp.c [! WIDE]: Likewise.
79876         * time/tst-mktime2.c: Likewise for INT_MAX.
79877         * string/test-string.h: #include <sys/param.h> for MIN.
79879         * csu/init-first.c (__libc_init_first): Call __ctype_init.
79880         * sysdeps/i386/init-first.c (init): Likewise.
79881         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
79882         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
79883         * sysdeps/sh/init-first.c (init): Likewise.
79885 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
79887         * po/ru.po: Update from translation team.
79888         * po/vi.po: Likewise.
79890 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
79892         * resolv/nss_dns/dns-host.c: Merge copyright years.
79894 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79896         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
79897         Optimize memcpy with prefetch if
79898         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
79899         src, dst pointers have unequal 16 byte alignments.
79901 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
79903         [BZ #13928]
79904         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
79905         from a CNAME entry and return the minimum ttl for the query.
79906         (gaih_getanswer_slice): Likewise.
79908 2012-03-30  Jeff Law  <law@redhat.com>
79910         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
79911         due to long keys.
79912         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
79913         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
79915         * resolv/nss_dns/dns-host.c: Update copyright year.
79917 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
79919         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
79920         requests to save a system call.  Fix check that all bytes are sent.
79922         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
79923         comments for sendmmsg.
79925 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
79927         [BZ #13691]
79928         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
79929         with only 1 character between 0x0041 and 0x01b0.
79930         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
79931         * wcsmbs/tst-mbsnrtowcs.c: New file.
79933 2012-03-29  David S. Miller  <davem@davemloft.net>
79935         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
79936         small copies by hand.
79938 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
79940         [BZ #13761]
79941         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
79942         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
79943         group memberships.
79945 2012-03-28  David S. Miller  <davem@davemloft.net>
79947         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
79948         that branches into memcpy.
79949         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
79950         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
79951         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
79952         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
79953         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
79954         bits.
79955         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
79956         implementation too.
79957         * sysdeps/sparc/mempcpy.S: New file.
79959         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
79960         the IFUNC routine in the libc case.
79961         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
79963         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
79964         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
79965         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
79966         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
79967         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
79968         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
79969         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
79970         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
79972         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
79973         loop to 256 bytes instead of 64 bytes and fix test signedness.
79975         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
79976         * sysdeps/sparc/sparc32/Makefile: rather than here...
79977         * sysdeps/sparc/sparc64/Makefile: and here.
79979 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
79981         * malloc/mallocbug.c: Avoid warnings about unused variables.
79983 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
79985         [BZ #13760]
79986         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
79987         in the right place. Discard and retry query if response is
79988         larger than input buffer size.
79990 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
79992         [BZ #369]
79993         [BZ #2678]
79994         [BZ #3866]
79995         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
79996         x for large integer exponent.
79997         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
79998         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
79999         sign of result as needed afterwards.
80000         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
80001         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
80002         result for underflowing pow the same as for overflow.
80003         (__kernel_standard_l): Handle powl overflow and underflow here
80004         rather than calling __kernel_standard.
80005         * math/libm-test.inc (pow_test): Add more tests.
80007         [BZ #3868]
80008         [BZ #13879]
80009         [BZ #13910]
80010         [BZ #13911]
80011         [BZ #13912]
80012         [BZ #13913]
80013         [BZ #13915]
80014         [BZ #13916]
80015         [BZ #13917]
80016         [BZ #13918]
80017         [BZ #13919]
80018         [BZ #13920]
80019         [BZ #13921]
80020         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
80021         * sysdeps/ieee754/k_standard.c: Include <float.h>.
80022         (__kernel_standard_l): New function.
80023         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
80024         __kernel_standard.
80025         * math/w_acosl.c (__acosl): Likewise.
80026         * math/w_asinl.c (__asinl): Likewise.
80027         * math/w_atan2l.c (__atan2l): Likewise.
80028         * math/w_atanhl.c (__atanhl): Likewise.
80029         * math/w_coshl.c (__coshl): Likewise.
80030         * math/w_exp10l.c (__exp10l): Likewise.
80031         * math/w_exp2l.c (__exp2l): Likewise.
80032         * math/w_fmodl.c (__fmodl): Likewise.
80033         * math/w_hypotl.c (__hypotl): Likewise.
80034         * math/w_j0l.c (__j0l, __y0l): Likewise.
80035         * math/w_j1l.c (__j1l, __y1l): Likewise.
80036         * math/w_jnl.c (__jnl, __ynl): Likewise.
80037         * math/w_lgammal.c (__lgammal): Likewise.
80038         * math/w_log10l.c (__log10l): Likewise.
80039         * math/w_log2l.c (__log2l): Likewise.
80040         * math/w_logl.c (__logl): Likewise.
80041         * math/w_powl.c (__powl): Likewise.
80042         * math/w_remainderl.c (__remainderl): Likewise.
80043         * math/w_scalbl.c (sysv_scalbl): Likewise.
80044         * math/w_sinhl.c (__sinhl): Likewise.
80045         * math/w_sqrtl.c (__sqrtl): Likewise.
80046         * math/w_tgammal.c (__tgammal): Likewise.
80047         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
80048         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
80049         * math/libm-test.inc (acos_test): Add more tests.
80050         (acosh_test): Likewise.
80051         (asin_test): Likewise.
80052         (atanh_test): Likewise.
80053         (exp_test): Likewise.
80054         (exp10_test): Likewise.
80055         (exp2_test): Likewise.
80056         (expm1_test): Likewise.
80057         (lgamma_test): Likewise.
80058         (log_test): Likewise.
80059         (log10_test): Likewise.
80060         (log1p_test): Likewise.
80061         (log2_test): Likewise.
80062         (pow_test): Do not allow some spurious overflow exceptions.
80063         (sqrt_test): Add more tests.
80064         (tgamma_test): Likewise.
80065         (y0_test): Likewise.
80066         (y1_test): Likewise.
80067         (yn_test): Likewise.
80069 2012-03-27  Anton Blanchard  <anton@samba.org>
80071         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
80072         MAP_HUGETLB.
80073         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
80074         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
80075         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
80077 2012-03-27  David S. Miller  <davem@davemloft.net>
80079         * conform/Makefile: Run run-conformtest.sh using $(BASH).
80081         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
80082         have-as-vis3 check.
80084 2012-03-27  Andreas Jaeger  <aj@suse.de>
80086         * sysdeps/x86_64/elf/configure.in: Moved to ...
80087         * sysdeps/x86_64/configure.in: ... here.
80088         * sysdeps/x86_64/elf/start.S: Moved to ...
80089         * sysdeps/x86_64/start.S: ... here.
80090         * sysdeps/x86_64/elf/configure: Delete.
80092         * sysdeps/x86_64/configure.in: Merge contents from
80093         sysdeps/i386/configure.in (without i686 check).
80095         * sysdeps/i386/elf/Versions: Merge into ...
80096         * sysdeps/i386/Versions: ... this.
80097         * sysdeps/i386/elf/Versions: Delete file.
80098         * sysdeps/i386/elf/start.S: Moved to ...
80099         * sysdeps/i386/start.S: ...here.
80100         * sysdeps/i386/elf/configure.in: Merge into...
80101         * sysdeps/i386/configure.in: ...here.
80102         * sysdeps/i386/elf/configure.in: Delete file.
80103         * sysdeps/i386/elf/configure: Delete file.
80105         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
80106         * debug/backtracesyms.c: ... here.
80107         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
80108         * debug/backtracesymsfd.c: ... here.
80109         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
80110         * sysdeps/generic/ifunc-sel.h: ... here.
80112         * sysdeps/unix/i386/start.c: Delete file.
80113         * sysdeps/unix/sparc/start.c: Delete file.
80114         * sysdeps/unix/start.c: Delete file.
80116         * sysdeps/sh/elf/configure.in: Moved to ...
80117         * sysdeps/sh/configure.in: ... here.
80118         * sysdeps/sh/elf/start.S: Moved to ...
80119         * sysdeps/sh/start.S: ... here.
80120         * sysdeps/sh/elf/configure: Delete file.
80122         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
80123         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
80124         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
80125         * sysdeps/powerpc/powerpc64/entry.h: ... here.
80126         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
80127         * sysdeps/powerpc/powerpc64/start.S: here.
80128         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
80129         * sysdeps/powerpc/powerpc64/Makefile: ... this.
80130         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
80131         * sysdeps/powerpc/powerpc64/configure.in: ... this.
80132         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
80134         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
80135         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
80136         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
80137         * sysdeps/powerpc/powerpc32/start.S: ... here.
80138         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
80139         * sysdeps/powerpc/powerpc32/configure.in: ... this.
80140         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
80142         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
80143         * sysdeps/powerpc/ifunc-sel.h: ... here.
80144         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
80145         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
80147         * sysdeps/sparc/elf/configure.in: Moved to ...
80148         * sysdeps/sparc/configure.in: ... here.
80149         * sysdeps/sparc/elf/configure: Delete file.
80150         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
80151         * sysdeps/sparc/sparc32/start.S: ... here.
80152         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
80153         * sysdeps/sparc/sparc64/start.S: ... here.
80154         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
80155         * sysdeps/sparc/sparc32/Makefile: ... this.
80156         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
80157         * sysdeps/sparc/sparc64/Makefile: ... this.
80159         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
80160         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
80161         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
80162         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
80163         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
80164         * sysdeps/s390/s390-32/setjmp.S: ... here.
80165         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
80166         * sysdeps/s390/s390-32/configure.in: ... here.
80167         * sysdeps/s390/s390-32/elf/configure: Delete file.
80168         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
80169         * sysdeps/s390/s390-32/start.S: ... here.
80171         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
80172         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
80173         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
80174         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
80175         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
80176         * sysdeps/s390/s390-64/setjmp.S: ... here.
80177         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
80178         * sysdeps/s390/s390-64/configure.in: ... here
80179         * sysdeps/s390/s390-64/elf/configure: Delete file.
80180         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
80181         * sysdeps/s390/s390-64/start.S: ... here.
80182         * sysdeps/s390/s390-64/elf/configure: Delete.
80184         * configure.in: Remove support for elf directories in sysdeps.
80186         * configure: Regenerated.
80187         * sysdeps/i386/configure: Regenerated.
80188         * sysdeps/powerpc/powerpc32/configure: Regenerated.
80189         * sysdeps/powerpc/powerpc64/configure: Regenerated.
80190         * sysdeps/s390/s390-32/configure: Regenerated.
80191         * sysdeps/s390/s390-64/configure: Regenerated.
80192         * sysdeps/sh/configure: Regenerated.
80193         * sysdeps/sparc/configure: Regenerated.
80194         * sysdeps/x86_64/configure: Regenerated.
80196 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
80198         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80200         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
80201         denormal result into account.
80203 2012-03-25  Roland McGrath  <roland@hack.frob.com>
80205         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
80206         Reported by Allan McRae <allan@archlinux.org>.
80208 2012-03-23  Jeff Law  <law@redhat.com>
80210         * nss/getnssent.c (__nss_getent): Fix typo.
80212 2012-03-23  David S. Miller  <davem@davemloft.net>
80214         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80216 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
80218         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
80219         to pad to uint64_t for each field.
80220         (dl_tls_index): Replace unsigned long with uint64_t.
80222 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
80223         Paul Pluzhnikov  <ppluzhnikov@google.com>
80225         [BZ #6528]
80226         * grp/Makefile (otherlibs): Don't set it.
80227         * inet/Makefile (otherlibs): Likewise.
80228         * login/Makefile (otherlibs): Likewise.
80229         * nscd/Makefile (otherlibs): Likewise.
80230         * posix/Makefile (otherlibs): Likewise.
80231         * pwd/Makefile (otherlibs): Likewise.
80232         * rt/Makefile (otherlibs): Likewise.
80233         * sunrpc/Makefile (otherlibs): Likewise.
80234         * nss/Makefile (otherlibs): Likewise.
80235         Add libnss_files to routines and static-only-routines.
80236         ($(objpfx)getent): Remove rule.
80237         * resolv/Makefile: Add libnss_dns and libresolv to routines and
80238         static-only-routines.
80240 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
80242         [BZ #13892]
80243         * math/s_cexp.c: Include <float.h>.
80244         (__cexp): Handle exp result overflowing not necessarily
80245         overflowing both real and imaginary parts of result.
80246         * math/s_cexpf.c: Likewise.
80247         * math/s_cexpl.c: Likewise.
80248         * math/libm-test.inc (cexp_test): Add more tests.
80249         * sysdeps/i386/fpu/libm-test-ulps: Update.
80250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80252 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
80254         * include/link.h (ELFW): New macro.
80255         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
80256         Replace ELF64_R_TYPE with ELFW(R_TYPE).
80258 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
80260         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
80261         with uint64_t.
80263 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
80265         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
80266         declaration.
80267         (struct La_x32_retval): Likewise.
80269 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
80271         * sysdeps/x86_64/preconfigure.in: New file.
80272         * sysdeps/x86_64/preconfigure: New generated file.
80274 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
80276         [BZ #13824]
80277         * math/e_exp2l.c: Include <float.h>.
80278         (__ieee754_exp2l): Handle overflow and underflow cases
80279         separately.  Only pass fractional part of argument to
80280         __ieee754_expl.
80281         * math/libm-test.inc (exp2_test): Add more tests.
80283         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
80284         negating x to take absolute value.
80285         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
80286         Likewise.
80287         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
80288         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
80289         Likewise.
80290         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
80291         computing low part if x was negated.
80292         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
80294 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
80296         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
80297         la_x32_gnu_pltexit.
80298         (pltexit): Cast int_retval to ptrdiff_t.
80299         * elf/tst-auditmod3b.c: Likewise.
80300         * elf/tst-auditmod4b.c: Likewise.
80301         * elf/tst-auditmod5b.c: Likewise.
80302         * elf/tst-auditmod6b.c: Likewise.
80303         * elf/tst-auditmod6c.c: Likewise.
80304         * elf/tst-auditmod7b.c: Likewise.
80306         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
80307         and x32_gnu_pltexit.
80309         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
80310         __ELF_NATIVE_CLASS.
80311         (La_x32_regs): New macro.
80312         (La_x32_retval): Likewise.
80313         (la_x32_gnu_pltenter): New function prototype.
80314         (la_x32_gnu_pltexit): Likewise.
80316 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
80318         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
80319         exponent.
80321         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80323         * configure.in (libc_cv_cc_nofma): Check for option to disable
80324         generation of FMA instructions.
80325         * configure: Regenerate.
80326         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
80327         * sysdeps/ieee754/dbl-64/Makefile: New file.
80328         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
80329         Remove brandred-fma4.
80330         (CFLAGS-brandred-fma4.c): Remove.
80331         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
80332         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
80333         define.
80334         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
80335         define.
80337 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
80339         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
80340         LLONG_MAX != LONG_MAX.
80341         (_itoa_word): Use _ITOA_WORD_TYPE on value.
80342         (_fitoa_word): Likewise.
80343         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
80344         LLONG_MAX != LONG_MAX.
80345         * stdio-common/_itowa.h: Include <_itoa.h>.
80346         (_itowa_word): Use _ITOA_WORD_TYPE on value.
80347         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
80348         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
80349         only if not defined.
80350         (_ITOA_WORD_TYPE): Likewise.
80351         (_itoa_word): Use _ITOA_WORD_TYPE on value.
80352         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
80354 2012-03-21  David S. Miller  <davem@davemloft.net>
80356         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80358 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
80360         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
80361         of x86_64 when setting libc_cv_slibdir, libdir and
80362         libc_cv_localedir.
80363         * sysdeps/unix/sysv/linux/configure: Regenerated.
80365 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
80367         * manual/lang.texi (Old Varargs): Remove section.
80368         (How Variadic): Update menu.
80369         (va_start): Do not mention varargs.h.
80371 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
80372             Joseph Myers  <joseph@codesourcery.com>
80374         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
80375         link test.
80376         * configure: Regenerated.
80378 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
80380         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
80381         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
80382         conformtest.pl
80384 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
80386         * NOTES: Remove.
80387         * Makefile (files-for-dist): Remove NOTES.
80388         (NOTES): Remove rule.
80389         * README: Don't refer to NOTES.
80390         * manual/creature.texi: Don't include macros.texi.
80391         * manual/intro.texi (creature.texi): Remove comment referring to
80392         NOTES.
80394         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
80395         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
80396         * configure: Regenerated.
80397         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
80398         LIBC_TRY_CC_OPTION.
80399         (libc_cv_as_i686): Likewise.
80400         (libc_cv_cc_avx): Likewise.
80401         (libc_cv_cc_sse2avx): Likewise.
80402         (libc_cv_cc_fma4): Likewise.
80403         (libc_cv_cc_novzeroupper): Likewise.
80404         * sysdeps/i386/configure: Regenerated.
80406         [BZ #13883]
80407         * sysdeps/i386/fpu/s_cexp.S: Remove.
80408         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
80409         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
80410         * math/libm-test.inc (cexp_test): Add more tests.
80411         * sysdeps/i386/fpu/libm-test-ulps: Update.
80412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80414 2012-03-21  Allan McRae  <allan@archlinux.org>
80416         * timezone/Makefile: Do not install iso3166.tab and zone.tab
80418 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
80420         [BZ #13871]
80421         * math/w_exp2.c: Do not include <float.h>.
80422         (o_threshold, u_threshold): Remove.
80423         (__exp2): Calculate result before checking finiteness and calling
80424         __kernel_standard.
80425         * math/w_exp2f.c: Likewise.
80426         * math/w_exp2l.c: Likewise.
80427         * math/libm-test.inc (exp2_test): Require overflow exception for
80428         1e6 input.
80430         [BZ #3866]
80431         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
80432         range of signed 64-bit integers before using fistpll.  Remove
80433         checks for whether integers fit in mantissa bits.
80434         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
80435         the range of signed 32-bit integers before using fistpl.  Remove
80436         checks for whether integers fit in mantissa bits.
80437         * sysdeps/i386/fpu/e_powl.S (p64): New object.
80438         (__ieee754_powl): Test for y outside the range of signed 64-bit
80439         integers before using fistpll.  Reduce 64-bit values to 63-bit
80440         ones as needed.
80441         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
80442         divide-by-zero is raised for zero to large negative powers.
80443         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
80444         (__ieee754_powl): Test for y outside the range of signed 64-bit
80445         integers before using fistpll.  Reduce 64-bit values to 63-bit
80446         ones as needed.
80447         * math/libm-test.inc (pow_test): Add more tests.
80449 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
80451         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
80452         <stdio-common/_itoa.h>.
80453         * debug/segfault.c: Likewise.
80454         * elf/dl-cache.c: Likewise.
80455         * elf/dl-minimal.c: Likewise.
80456         * elf/dl-misc.c: Likewise.
80457         * elf/dl-sysdep.c: Likewise.
80458         * elf/dl-version.c: Likewise.
80459         * elf/rtld.c: Likewise.
80460         * hurd/hurdsock.c: Likewise.
80461         * hurd/lookup-retry.c: Likewise.
80462         * malloc/malloc.c: Likewise.
80463         * malloc/mtrace.c: Likewise.
80464         * nscd/nscd_getgr_r.c: Likewise.
80465         * nscd/nscd_getpw_r.c: Likewise.
80466         * nscd/nscd_getserv_r.c: Likewise.
80467         * posix/getopt_init.c: Likewise.
80468         * posix/wordexp.c: Likewise.
80469         * stdio-common/_itoa.c: Likewise.
80470         * stdio-common/printf_fphex.c: Likewise.
80471         * stdio-common/vfprintf.c: Likewise.
80472         * string/_strerror.c: Likewise.
80473         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
80474         * sysdeps/i386/i686/hp-timing.h: Likewise.
80475         * sysdeps/mach/_strerror.c: Likewise.
80476         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
80477         * sysdeps/mach/hurd/sethostid.c: Likewise.
80478         * sysdeps/mach/hurd/xmknodat.c: Likewise.
80479         * sysdeps/mach/xpg-strerror.c: Likewise.
80480         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
80481         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
80482         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
80483         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
80484         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
80485         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
80486         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
80487         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
80488         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
80489         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
80490         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
80491         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
80492         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
80493         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
80494         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
80495         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
80496         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
80497         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
80498         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
80499         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
80500         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
80502         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
80504         * stdio-common/_itoa.h: Moved to ...
80505         * sysdeps/generic/_itoa.h: Here.
80507         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
80509         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
80510         instead of "_itoa.h" and "_itowa.h".
80511         * stdio-common/vfprintf.: Likewise.
80513 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
80515         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
80516         <bits/wordsize.h>.
80517         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
80518         (__signbit): Likewise.
80519         (llrintf): Likewise.
80520         (llrint): Likewise.
80522 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
80524         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
80525         __WORDSIZE != 64.
80527 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
80529         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
80530         OVERFLOW_EXCEPTION_OK.
80531         * math/libm-test.inc ("Philosophy"): Update comment about
80532         exception testing.
80533         (OVERFLOW_EXCEPTION): Define.
80534         (OVERFLOW_EXCEPTION_OK): Likewise.
80535         (INVALID_EXCEPTION_OK): Renumber.
80536         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
80537         (IGNORE_ZERO_INF_SIGN): Likewise.
80538         (test_exceptions): Handle FE_OVERFLOW.
80539         (exp10_test): Expect overflow exceptions.
80540         (exp2_test): Likewise.
80541         (expm1_test): Likewise.
80542         (nextafter_test): Likewise.
80543         (pow_test): Likewise.
80544         (scalbn_test): Likewise.
80545         (scalbln_test): Likewise.
80547 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
80549         * sysdeps/x86_64/bits/atomic.h
80550         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
80551         64bit integer.
80552         (atomic_exchange_acq): Likewise.
80553         (__arch_exchange_and_add_body): Likewise.
80554         (__arch_add_body): Likewise.
80555         (atomic_add_negative): Likewise.
80556         (atomic_add_zero): Likewise.
80558 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
80560         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
80561         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
80563 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
80565         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
80566         Check __x86_64__ instead of __WORDSIZE.
80568 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
80570         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
80572 2012-03-19  David S. Miller  <davem@davemloft.net>
80574         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80576         * sysdeps/sparc/fpu/fenv_private.h: New file.
80577         * sysdeps/sparc/fpu/math_private.h: Use it.
80578         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
80579         Remove.
80580         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
80581         (libc_feholdexcept_setroundl): Remove.
80582         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
80583         Remove.
80584         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
80585         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
80587 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
80589         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
80590         int64_t instead of long int.
80591         (INSERT_WORDS64): Likewise.
80593 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
80595         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
80596         _Unwind_GetCFA return to _Unwind_Ptr first.
80598 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
80600         [BZ #13629]
80601         * math/s_clog.c: Include <float.h>.
80602         (__clog): Scale large or subnormal inputs.
80603         * math/s_clogf.c: Likewise.
80604         * math/s_clogl.c: Likewise.
80605         * math/s_clog10.c: Include <float.h>.
80606         (M_LOG10_2): Define.
80607         (__clog10): Scale large or subnormal inputs.
80608         * math/s_clog10f.c: Likewise.
80609         * math/s_clog10l.c: Likewise.
80610         * math/libm-test.inc (clog_test): Add more tests.
80611         (clog10_test): Likewise.
80612         * sysdeps/i386/fpu/libm-test-ulps: Update.
80613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80615         [BZ #11451]
80616         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
80617         x and y.
80618         * math/libm-test.inc (atan2_test): Add another test.
80620         * Makerules (common-objdir-compile): Remove.
80621         * sysdeps/unix/Makefile (config-generated): Do not add
80622         $(unix-generated) to variable.
80623         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
80624         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
80625         Remove rule.
80626         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
80627         Likewise.
80628         [generic bits/local_lim.h] (before-compile): Do not append to
80629         variable.
80630         [generic bits/local_lim.h] (common-generated): Likewise.
80631         [generic sys/param.h] (before-compile): Do not append to variable.
80632         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
80633         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
80634         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
80635         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
80636         include.
80637         [generic sys/param.h] (sys/param.h-includes): Remove variable.
80638         [generic sys/param.h] (sys/param.h-includes): Remove rule.
80639         [generic sys/param.h] ($(addprefix
80640         $(common-objpfx),$(sys/param.h-includes))): Likewise.
80641         [generic sys/param.h] (common-generated): Do not append to
80642         variable.
80643         [generic sys/param.h] (sysdep_headers): Likewise.
80644         [generic bits/errno.h] (before-compile): Do not append to
80645         variable.
80646         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
80647         rule.
80648         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
80649         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
80650         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
80651         [generic bits/errno.h] (common-generated): Do not append to
80652         variable.
80653         [generic bits/ioctls.h] (before-compile): Do not append to
80654         variable.
80655         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
80656         rule.
80657         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
80658         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
80659         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
80660         rule.
80661         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
80662         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
80663         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
80664         [generic bits/ioctls.h] (common-generated): Do not append to
80665         variable.
80666         [generic sys/syscall.h] (syscall.h): Remove variable.
80667         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
80668         rule.
80669         [generic sys/syscall.h] (before-compile): Do not append to
80670         variable.
80671         [generic sys/syscall.h] (common-generated): Likewise.
80672         * sysdeps/unix/errnos-tmpl.c: Remove file.
80673         * sysdeps/unix/errnos.awk: Likewise.
80674         * sysdeps/unix/ioctls-tmpl.c: Likewise.
80675         * sysdeps/unix/ioctls.awk: Likewise.
80676         * sysdeps/unix/mk-local_lim.c: Likewise.
80677         * sysdeps/unix/snarf-ioctls: Likewise.
80679 2012-03-19  Richard Henderson  <rth@twiddle.net>
80681         * sysdeps/i386/fpu/fenv_private.h: New file.
80682         * sysdeps/i386/fpu/math_private.h: Use it.
80683         (math_opt_barrier, math_force_eval): Remove.
80684         (libc_feholdexcept_setround_53bit): Remove.
80685         (libc_feupdateenv_53bit): Remove.
80686         * sysdeps/x86_64/fpu/math_private.h: Likewise.
80687         (math_opt_barrier, math_force_eval): Remove.
80688         (libc_feholdexcept): Remove.
80689         (libc_feholdexcept_setround): Remove.
80690         (libc_fetestexcept, libc_fesetenv): Remove.
80691         (libc_feupdateenv_test): Remove.
80692         (libc_feupdateenv, libc_feholdsetround): Remove.
80693         (libc_feresetround): Remove.
80695         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
80696         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
80698         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
80699         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
80700         (libc_feupdateenv_testl): New.
80701         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
80702         (libc_feupdateenv_testf): New.
80703         (libc_feupdateenv): Use libc_feupdateenv_test.
80704         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
80705         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
80707         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
80708         (libc_feholdsetroundf, libc_feholdsetroundl): New.
80709         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
80710         (libc_feresetround_noex): New.
80711         (libc_feresetround_noexf): New.
80712         (libc_feresetround_noexl): New.
80713         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
80714         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
80715         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
80716         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
80717         SET_RESTORE_ROUND.
80718         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
80719         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
80720         (__cos): Likewise.
80721         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
80722         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
80723         SET_RESTORE_ROUND_NOEX.
80724         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
80725         SET_RESTORE_ROUND_NOEXF.
80726         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
80727         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
80728         (libc_feholdsetroundf): New.
80729         (libc_feresetround, libc_feresetroundf): New.
80731         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
80732         (libc_feholdexcept_setround_53bit): Convert from macro to function.
80733         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
80735         * sysdeps/generic/math_private.h: Include <fenv.h>.
80736         (default_libc_feholdexcept): New.
80737         (default_libc_feholdexcept_setround): New.
80738         (default_libc_fesetenv, default_libc_feupdateenv): New.
80739         (libc_feholdexcept): Only define if undefined.
80740         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
80741         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
80742         (libc_feholdexcept_setroundl): Likewise.
80743         (libc_feholdexcept_setround_53bit): Likewise.
80744         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
80745         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
80746         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
80747         (libc_feupdateenv_53bit): Likewise.
80748         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
80749         (libc_feholdexcept): Convert from macro to inline function.
80750         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
80751         (libc_fesetenv, libc_feupdateenv): Likewise.
80753         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
80754         not previously defined.
80755         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
80756         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
80757         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
80758         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
80759         * sysdeps/ieee754/flt-32/math_private.h: New file.
80760         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
80761         math_private.h below SET_FLOAT_WORD.
80762         (__isnan, __isinf_ns, __finite): Remove.
80763         (__isnanf, __isinf_nsf, __finitef): Remove.
80765 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
80767         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80769 2012-03-17  David S. Miller  <davem@davemloft.net>
80771         [BZ #6471]
80772         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
80773         for 2.16.
80775 2012-03-16  David S. Miller  <davem@davemloft.net>
80777         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
80778         warnings.
80780         [BZ #6471]
80781         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
80782         properly.
80783         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
80784         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
80785         sysdep_routines when subdir is sysvipc.
80786         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
80787         __getshmlba helper.
80789         * sysdeps/sparc/fpu/libm-test/ulps: Update.
80791 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80793         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
80794         [__LP64__].
80796 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80798         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
80799         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
80800         (__lround): Renamed to ...
80801         (__llround): This.  Replace long int with long long int.
80802         Define lround functions as aliases of llround functions.
80803         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
80805 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80807         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
80808         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
80809         adresses to uintptr_t.  Replace "long int" and "unsigned long
80810         int" with "greg_t" on va_arg.
80812 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80814         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
80815         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
80817         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
80818         Move e_machine check before EI_CLASS check.  Handle x32
80819         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
80820         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
80821         SKIP_EM_IA_64 and include
80822         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
80824         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
80825         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
80826         (add_system_dir): New macro.
80828         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
80829         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
80831 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
80833         [BZ #2551]
80834         [BZ #2552]
80835         [BZ #2553]
80836         [BZ #2554]
80837         [BZ #2562]
80838         [BZ #2563]
80839         [BZ #2565]
80840         [BZ #2566]
80841         [BZ #2576]
80842         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
80843         (y0): Likewise.
80844         * math/w_j0f.c (j0f): Likewise.
80845         (y0f): Likewise.
80846         * math/w_j0l.c (__j0l): Likewise.
80847         (__y0l): Likewise.
80848         * math/w_j1.c (j1): Likewise.
80849         (y1): Likewise.
80850         * math/w_j1f.c (j1f): Likewise.
80851         (y1f): Likewise.
80852         * math/w_j1l.c (__j1l): Likewise.
80853         (__y1l): Likewise.
80854         * math/w_jn.c (jn): Likewise.
80855         (yn): Likewise.
80856         * math/w_jnf.c (jnf): Likewise.
80857         (ynf): Likewise.
80858         * math/w_jnl.c (__jnl): Likewise.
80859         (__ynl): Likewise.
80860         * math/libm-test.inc (j0_test): Add more tests.
80861         (j1_test): Likewise.
80862         (jn_test): Likewise.  Add trailing semicolon to existing test.
80863         (y0_test): Likewise.
80864         (y1_test): Likewise.
80865         * sysdeps/i386/fpu/libm-test-ulps: Update.
80866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80868         [BZ #13851]
80869         [BZ #13854]
80870         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
80871         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
80872         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
80873         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
80874         (__tanl): Set errno for infinite argument.
80875         * sysdeps/i386/fpu/mptan.c: Remove.
80876         * sysdeps/i386/fpu/s_tan.S: Likewise.
80877         * sysdeps/i386/fpu/s_tanl.S: Likewise.
80878         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
80879         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
80880         * math/libm-test.inc (tan_test): Add more tests and enable more
80881         tests for double and long double.
80882         * sysdeps/i386/fpu/libm-test-ulps: Update.
80883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80885 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
80887         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
80888         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
80890 2012-03-16  Roland McGrath  <roland@hack.frob.com>
80892         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
80893         * configure.in: Use it for both main tree and add-ons.
80894         * configure: Regenerated.
80896 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80898         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
80900 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
80902         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
80903         in comment.
80905         [BZ #13851]
80906         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
80907         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
80908         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
80909         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
80910         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
80911         infinite argument.
80912         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
80913         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
80914         != 0 for prec == 2.
80915         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
80916         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
80917         * sysdeps/i386/fpu/s_cosl.S: Likewise.
80918         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
80919         * sysdeps/i386/fpu/s_sinl.S: Likewise.
80920         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
80921         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
80922         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
80923         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
80924         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
80925         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
80926         * math/libm-test.inc (cos_test): Add more tests and enable more
80927         tests for long double.
80928         (sin_test): Likewise.
80929         (sincos_test): Likewise.
80930         * sysdeps/i386/fpu/libm-test-ulps: Update.
80931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80933 2012-03-16  David S. Miller  <davem@davemloft.net>
80935         * sysdeps/sparc/fpu/math_private.h: New file.
80937 2012-03-15  David S. Miller  <davem@davemloft.net>
80939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
80940         file.
80941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
80942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
80943         file.
80944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
80945         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
80946         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
80947         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
80948         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
80949         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
80950         sysdep routines.
80951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
80953         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
80954         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
80956         * sysdeps/sparc/sparc-ifunc.h: New file.
80957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
80958         sparc-ifunc.h
80959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
80960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
80961         Likewise.
80962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
80963         Likewise.
80964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
80965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
80966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
80967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
80968         Likewise.
80969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
80970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
80971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
80972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
80973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
80974         Likewise.
80975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
80976         Likewise.
80977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
80978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
80979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
80980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
80981         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
80982         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
80983         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
80984         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
80985         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
80986         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
80987         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
80988         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
80989         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
80990         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
80991         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
80992         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
80993         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
80994         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
80995         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
80996         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
80997         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
80998         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
80999         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
81000         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
81002 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
81004         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
81005         scaling.
81006         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81008 2012-03-15  Andreas Jaeger  <aj@suse.de>
81010         [BZ #13852]
81011         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
81012         ieee754/flt-32 implementation for sin, cos and sincos.
81013         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
81014         * sysdeps/i386/fpu/s_cosf.S: Likewise.
81015         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
81016         * sysdeps/i386/fpu/s_sinf.S: Likewise.
81017         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
81018         ieee754/flt-32 implementation for tan.
81020         * math/libm-test.inc (cos_test): Enable some large input tests for
81021         float as well
81022         (sin_test): Likewise.
81023         (sincos_test): Likewise.
81024         (tan_test): Add tests for large input.
81026         * sysdeps/i386/fpu/libm-test-ulps: Update.
81028 2012-03-15  Andreas Jaeger  <aj@suse.de>
81030         [BZ #13658]
81031         * math/libm-test.inc (cos_test): Add more test cases.
81032         (sin_test): Likewise.
81033         (sincos_test): Likewise.
81035 2012-03-15  Andreas Jaeger  <aj@suse.de>
81037         [BZ #13837]
81038         * math/libm-test.inc (cos_test): Add a test case for large input
81039         value.
81040         (sin_test): Likewise.
81041         (sincos_test): Likewise.
81043 2012-03-15  Andreas Jaeger  <aj@suse.de>
81044             Joseph Myers  <joseph@codesourcery.com>
81046         [BZ #13658]
81047         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
81048         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
81049         * sysdeps/i386/fpu/branred.c: Likewise.
81050         * sysdeps/i386/fpu/dosincos.c: Likewise.
81051         * sysdeps/i386/fpu/mpa.c: Likewise.
81052         * sysdeps/i386/fpu/s_cos.S: Likewise.
81053         * sysdeps/i386/fpu/s_sin.S: Likewise.
81054         * sysdeps/i386/fpu/s_sincos.S: Likewise.
81055         * sysdeps/i386/fpu/sincos32.c: Likewise.
81057         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
81058         Define.
81059         (libc_feupdateenv_53bit): Define.
81060         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
81061         Define.
81062         (libc_feupdateenv_53bit): Define.
81064         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
81065         53 bit (without extend i386 double precision).
81067         * math/libm-test.inc (sincos_test): Add tests for large input.
81068         (sin): Likewise.
81069         (cos): Likewise.
81071         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
81073 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
81075         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81077 2012-03-15  David S. Miller  <davem@davemloft.net>
81079         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
81080         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
81081         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
81082         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
81083         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
81084         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
81085         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
81086         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
81087         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
81088         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
81089         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
81090         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
81091         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
81092         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
81093         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
81094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
81095         file.
81096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
81097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
81098         file.
81099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
81100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
81101         file.
81102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
81103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
81104         file.
81105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
81106         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
81107         fmin/fmax sysdep routines.
81108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
81110 2012-03-14  David S. Miller  <davem@davemloft.net>
81112         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
81113         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
81114         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
81115         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
81116         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
81117         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
81118         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
81119         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
81120         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
81121         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
81122         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
81123         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
81124         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
81125         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
81126         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
81127         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
81128         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
81129         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
81130         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
81131         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
81132         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
81133         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
81134         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
81135         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
81136         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
81137         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
81138         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
81139         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
81140         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
81141         routines.
81142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
81143         file.
81144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
81145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
81146         file.
81147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
81148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
81149         file.
81150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
81151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
81152         file.
81153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
81154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
81155         file.
81156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
81157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
81158         file.
81159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
81160         file.
81161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
81162         file.
81163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
81164         file.
81165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
81166         New file.
81167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
81168         file.
81169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
81170         file.
81171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
81172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
81173         file.
81174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
81175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
81176         file.
81177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
81178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
81179         file.
81180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
81181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
81182         VIS3 routines.
81184         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
81185         New file.
81187         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81189         * sysdeps/sparc/configure.in: New file.
81190         * sysdeps/sparc/configure: Generate.
81191         * configure.in (libc_cv_sparc_as_vis3): Substitute.
81192         * configure: Regenerate.
81193         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
81194         * config.make.in (have-as-vis3): New.
81195         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
81196         available use -Av9d instead of -Av9a.
81197         * sysdeps/sparc/sparc64/Makefile: Likewise.
81198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
81199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
81200         New file.
81201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
81202         file.
81203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
81204         New file.
81205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
81206         file.
81207         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
81208         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
81209         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
81210         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
81211         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
81213         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
81214         fzeros/fnegs to load 0x80000000 into a float register instead of
81215         using the stack.
81216         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
81218 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
81220         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81221         bits/syscall.h.
81222         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
81223         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
81224         ($(inst_includedir)/bits/syscall.h): Remove rule.
81225         ($(objpfx)bits/syscall.d): Include instead of
81226         $(objpfx)syscall-list.d.
81227         (generated): Change syscall-list.h and syscall-list.d to
81228         bits/syscall.h and bits/syscall.d.
81230 2012-03-14  Roland McGrath  <roland@hack.frob.com>
81232         [BZ #13846]
81233         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
81235 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
81237         [BZ #13841]
81238         * math/s_csqrt.c: Include <float.h>.
81239         (__csqrt): Scale large or subnormal inputs.
81240         * math/s_csqrtf.c: Likewise.
81241         * math/s_csqrtl.c: Likewise.
81242         * math/libm-test.inc (csqrt_test): Add more tests.
81243         * sysdeps/i386/fpu/libm-test-ulps: Update.
81244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81246         [BZ #13840]
81247         * math/libm-test.inc (hypot_test): Add more tests.
81249 2012-03-13  David S. Miller  <davem@davemloft.net>
81251         [BZ #13840]
81252         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
81253         double-precision for the calculation instead of scaling.
81255 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
81257         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
81258         manipulate bits before adding and subtracting TWO52[sx].
81259         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
81260         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
81261         Likewise.
81262         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
81264 2012-03-13  David S. Miller  <davem@davemloft.net>
81266         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
81267         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
81268         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
81269         rtld-global-offsets.h
81270         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
81272         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
81273         large parameters.
81275         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
81277         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
81278         'err' in the ifdef scope in which it is actually used.
81280         * nss/nss_db/db-init.c: Include string.h
81282 2012-03-12  David S. Miller  <davem@davemloft.net>
81284         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
81285         masking out of the most significant byte of random value used.
81286         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
81287         Fix coding style in previous change.
81289         * sysdeps/unix/sysv/linux/kernel-features.h
81290         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
81291         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
81292         expression.
81293         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
81294         later.
81296 2012-03-11  David S. Miller  <davem@davemloft.net>
81298         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
81299         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
81300         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
81301         for 'resultvar' otherwise things get truncated on 64-bit.
81303         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
81304         Fix masking out of the most significant byte of random value used.
81306         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81308 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
81310         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81312 2012-03-09  David S. Miller  <davem@davemloft.net>
81314         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
81315         variables with appropriate CPP guards.
81316         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
81317         from the frame pointer, not the stack pointer.  Correct layout
81318         comments.  Fix test on resulting framesize and the management of
81319         the outregs buffer for pltexit.  Preserve floating point return
81320         values across _dl_call_pltexit call.
81321         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
81322         framesize and the management of the outregs buffer for pltexit.
81323         Preserve floating point return values across _dl_call_pltexit
81324         call.
81325         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
81326         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
81327         (la_sparc64_gnu_pltexit): New functions.
81328         (print_exit): Fix format string for return register value.
81330 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
81332         * sunrpc/Makefile (others): Add rpcgen.
81333         ($(objpfx)rpcgen): Remove special build rule and dependency on
81334         libc.
81335         * sunrpc/rpcgen.c: New file.
81337 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
81339         [BZ #13673]
81340         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
81341         * stdio-common/bug-vfprintf-nargs.c: Likewise.
81342         * sysdeps/i386/crti.S: Likewise.
81343         * sysdeps/i386/crtn.S: Likewise.
81344         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
81345         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
81346         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
81347         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
81348         * sysdeps/sh/crti.S: Likewise.
81349         * sysdeps/sh/crtn.S: Likewise.
81350         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
81352         [BZ #13673]
81353         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
81354         with URL.
81355         * locale/programs/locfile-kw.gperf: Likewise.
81356         * locale/programs/charmap-kw.h: Regenerated.
81357         * locale/programs/locfile-kw.h: Likewise.
81359         [BZ #13673]
81360         * intl/plural.y: Replace FSF snail mail address with URL.
81361         * intl/plural.c: Regenerated.
81363 2012-03-09  Richard Henderson  <rth@twiddle.net>
81365         * include/math_private.h: Remove file.
81366         * math/math_private.h: Move file ...
81367         * sysdeps/generic/math_private.h: ... here.
81369         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
81370         * sysdeps/powerpc/fpu/math_private.h: Likewise.
81371         * sysdeps/x86_64/fpu/math_private.h: Likewise.
81373         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
81374         and <math_private.h>.
81375         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
81376         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
81377         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
81378         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
81379         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
81380         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
81381         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
81382         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
81383         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
81384         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
81385         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
81386         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
81387         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
81388         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
81389         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
81390         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
81391         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
81392         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
81393         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
81394         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
81395         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
81396         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
81397         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
81398         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
81399         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
81400         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
81401         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
81402         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
81403         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
81404         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
81405         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
81406         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
81407         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
81408         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
81409         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
81410         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
81411         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
81412         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
81413         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
81414         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
81415         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
81416         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
81417         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
81418         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
81419         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
81420         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
81421         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
81422         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
81423         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
81424         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
81425         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
81426         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
81427         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
81428         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
81429         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
81430         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
81431         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
81432         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
81433         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
81434         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
81435         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
81436         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
81437         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
81438         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
81439         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
81440         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
81441         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
81442         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
81443         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
81444         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
81445         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
81446         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
81447         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
81448         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
81449         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
81450         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
81451         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
81452         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
81453         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
81454         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
81455         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
81456         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
81457         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
81458         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
81459         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
81460         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
81461         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
81462         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
81463         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
81464         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
81465         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
81466         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
81467         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
81468         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
81469         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
81470         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
81471         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
81472         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
81473         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
81474         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
81475         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
81476         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
81477         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
81478         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
81479         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
81480         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
81481         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
81482         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
81483         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
81484         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
81485         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
81486         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
81487         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
81488         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
81489         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
81490         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
81491         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
81492         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
81493         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
81494         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
81495         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
81496         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
81497         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
81498         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
81499         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
81500         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
81501         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
81502         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
81503         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
81504         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
81505         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
81506         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
81507         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
81508         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
81509         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
81510         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
81511         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
81512         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
81513         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
81514         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
81515         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
81516         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
81517         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
81518         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
81519         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
81520         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
81521         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
81522         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
81523         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
81524         * sysdeps/ieee754/k_standard.c: Likewise.
81525         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
81526         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
81527         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
81528         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
81529         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
81530         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
81531         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
81532         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
81533         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
81534         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
81535         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
81536         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
81537         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
81538         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
81539         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
81540         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
81541         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
81542         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
81543         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
81544         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
81545         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
81546         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
81547         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
81548         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
81549         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
81550         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
81551         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
81552         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
81553         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
81554         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
81555         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
81556         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
81557         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
81558         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
81559         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
81560         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
81561         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
81562         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
81563         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
81564         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
81565         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
81566         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
81567         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
81568         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
81569         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
81570         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
81571         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
81572         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
81573         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
81574         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
81575         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
81576         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
81577         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
81578         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
81579         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
81580         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
81581         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
81582         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
81583         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
81584         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
81585         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
81586         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
81587         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
81588         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
81589         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
81590         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
81591         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
81592         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
81593         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
81594         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
81595         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
81596         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
81597         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
81598         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
81599         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
81600         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
81601         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
81602         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
81603         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
81604         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
81605         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
81606         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
81607         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
81608         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
81609         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
81610         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
81611         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
81612         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
81613         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
81614         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
81615         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
81616         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
81617         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
81618         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
81619         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
81620         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
81621         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
81622         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
81623         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
81624         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
81625         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
81626         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
81627         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
81628         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
81629         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
81630         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
81631         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
81632         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
81633         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
81634         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
81635         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
81636         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
81637         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
81638         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
81639         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
81640         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
81641         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
81642         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
81643         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
81644         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
81645         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
81646         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
81647         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
81648         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
81649         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
81650         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
81651         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
81652         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
81653         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
81654         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
81655         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
81656         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
81657         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
81658         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
81659         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
81660         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
81661         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
81662         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
81663         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
81664         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
81665         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
81666         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
81667         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
81668         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
81669         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
81670         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
81671         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
81672         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
81673         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
81674         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
81675         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
81676         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
81677         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
81678         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
81679         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
81680         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
81681         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
81682         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
81683         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
81684         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
81685         * sysdeps/ieee754/s_lib_version.c: Likewise.
81686         * sysdeps/ieee754/s_matherr.c: Likewise.
81687         * sysdeps/ieee754/s_signgam.c: Likewise.
81688         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
81689         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
81690         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
81691         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
81692         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
81693         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
81694         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
81695         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
81696         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
81697         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
81698         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
81699         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
81700         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
81701         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
81702         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
81703         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
81704         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
81705         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
81706         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
81707         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
81708         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
81710 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
81712         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
81713         * sunrpc/rpc_main.c: Likewise.
81714         * sunrpc/rpc_svcout.c: Likewise.
81716 2012-03-09  David S. Miller  <davem@davemloft.net>
81718         * include/math_private.h: New file.
81720 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
81722         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
81723         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
81724         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
81725         from <bits/socket_type.h>.
81726         (enum __socket_type): Don't define here.
81727         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
81728         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81729         bits/socket_type.h.
81731         [BZ #13566]
81732         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
81733         checking __USE_GNU.
81735         * Makerules ($(inst_includedir)/%.h): New rule.
81736         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
81737         (install-others): Remove variable setting.
81738         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
81740 2012-03-08  Richard Henderson  <rth@twiddle.net>
81742         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
81743         from macro to inline function; merge with the
81744         !__LIBC_INTERNAL_MATH_INLINES version.
81745         (__ieee754_sqrtf): Likewise.
81747         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
81748         to inline function.
81749         (__rintf, __floor, __floorf): Likewise.
81751         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
81752         macro to inline function.
81753         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
81755         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
81756         not <math/math_private.h>.
81758 2012-03-08  David S. Miller  <davem@davemloft.net>
81760         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
81761         copyright year.
81762         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
81764 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
81766         * resolv/gai_misc.c (handle_requests): Fix struct timespec
81767         normalization.
81768         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
81769         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
81771 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
81773         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
81774         be defined individually, they must be defined as a block.  Define
81775         S for printing a string instead of hidint the different by using a
81776         macro for adding the 'l'.
81777         * stdio-common/tst-fphex-wide.c: Adjust.
81779 2012-03-07  Marek Polacek  <polacek@redhat.com>
81781         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
81783 2012-03-08  Marek Polacek  <polacek@redhat.com>
81785         [BZ #13806]
81786         * stdio-common/Makefile (tests): Add tst-fphex-wide.
81787         * stdio-common/tst-fphex.c: Define a few macros to make the
81788         test reusable.  Use them.
81789         * stdio-common/tst-fphex-wide.c: New file.
81791 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
81793         [BZ #6911]
81794         * manual/macros.texi (gnusystems): New macro.
81795         (nongnusystems): Likewise.
81796         (gnulinuxhurdsystems): Likewise.
81797         (gnuhurdsystems): Likewise..
81798         (gnulinuxsystems): Likewise.
81799         * manual/charset.texi: Use new macros or @theglibc{} to refer to
81800         variants of the GNU system, not "GNU system".
81801         * manual/conf.texi: Likewise.
81802         * manual/errno.texi: Likewise.  Update example of errno macro
81803         expansion.
81804         * manual/filesys.texi: Likewise.
81805         (getumask): Document as specific to GNU/Hurd.
81806         * manual/install.texi: Likewise.  Reword some references to
81807         GNU/Linux.
81808         * manual/intro.texi: Likewise.
81809         * manual/io.texi: Likewise.
81810         (File Name Portability): Detail which constraints are inapplicable
81811         to all GNU systems and which are only inapplicable to GNU/Hurd.
81812         * manual/job.texi: Likewise.
81813         * manual/llio.texi: Likewise.
81814         (O_NOCTTY): Document as present on GNU/Linux.
81815         * manual/maint.texi: Likewise.
81816         * manual/memory.texi: Likewise.
81817         * manual/pattern.texi: Likewise.
81818         * manual/pipe.texi: Likewise.
81819         * manual/process.texi: Likewise.
81820         * manual/resource.texi: Likewise.
81821         (RUSAGE_CHILDREN): Remove statement about specifying a particular
81822         child on GNU/Hurd.
81823         * manual/setjmp.texi: Likewise.
81824         * manual/signal.texi: Likewise.
81825         * manual/startup.texi: Likewise.
81826         * manual/stdio.texi: Likewise.
81827         * manual/terminal.texi: Likewise.
81828         (ONLCR): Document as POSIX.
81829         (OXTABS): Document availability on GNU/Linux as XTABS.
81830         (ONOEOT): Document availability separately from other bits.
81831         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
81832         * manual/time.texi: Likewise.
81833         * manual/users.texi: Likewise.
81834         * INSTALL: Regenerated.
81835         * sysdeps/gnu/errlist.c: Regenerated.
81837         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
81838         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
81839         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
81840         puts.
81841         * configure: Regenerated.
81843 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
81845         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
81846         default includes instead of AC_HEADER_CHECK.
81847         * sysdeps/i386/configure: Regenerated.
81849         [BZ #10716]
81850         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
81851         * math/s_cacoshf.c (__cacoshf): Likewise.
81852         * math/s_cacoshl.c (__cacoshl): Likewise.
81853         * math/s_casinh.c (__casinh): Set signs of result from argument.
81854         * math/s_casinhf.c (__casinhf): Likewise.
81855         * math/s_casinhl.c (__casinhl): Likewise.
81856         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
81857         (casinh_test): Add more tests.
81858         * sysdeps/i386/fpu/libm-test-ulps: Update.
81859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81861 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
81863         * po/zh_TW.po: Update from translation team.
81865         * login/Makefile (distribute): Remove variable.
81866         * catgets/Makefile: Likewise.
81867         * mach/Makefile: Likewise.
81868         * malloc/Makefile: Likewise.
81869         * misc/Makefile: Likewise.
81870         * iconv/Makefile: Likewise.
81871         * nscd/Makefile: Likewise.
81872         * hurd/Makefile: Likewise.
81873         * manual/Makefile: Likewise.
81874         * locale/Makefile: Likewise.
81875         * intl/Makefile: Likewise.
81876         * conform/Makefile: Likewise.
81877         * nss/Makefile: Likewise.
81878         * time/Makefile: Likewise.
81879         * soft-fp/Makefile: Likewise.
81880         * dirent/Makefile: Likewise.
81881         * gmon/Makefile: Likewise.
81882         * po/Makefile: Likewise.
81883         * rt/Makefile: Likewise.
81884         * socket/Makefile: Likewise.
81885         * math/Makefile: Likewise.
81886         * signal/Makefile: Likewise.
81887         * debug/Makefile: Likewise.
81888         * elf/Makefile: Likewise.
81889         * timezone/Makefile: Likewise.
81890         * stdlib/Makefile: Likewise.
81891         * iconvdata/Makefile: Likewise.
81892         * sunrpc/Makefile: Likewise.
81893         * io/Makefile: Likewise.
81894         * argp/Makefile: Likewise.
81895         * inet/Makefile: Likewise.
81896         * hesiod/Makefile: Likewise.
81897         * grp/Makefile: Likewise.
81898         * csu/Makefile: Likewise.
81899         * wctype/Makefile: Likewise.
81900         * crypt/Makefile: Likewise.
81901         * libio/Makefile: Likewise.
81902         * string/Makefile: Likewise.
81903         * nis/Makefile: Likewise.
81904         * resolv/Makefile: Likewise.
81905         * stdio-common/Makefile: Likewise.
81906         * wcsmbs/Makefile: Likewise.
81907         * dlfcn/Makefile: Likewise.
81908         * posix/Makefile: Likewise.
81910         [BZ #6959]
81911         * timezone/Makefile: Don't install timezone files, just the programs
81912         and scripts.
81914 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
81916         * nss/databases.def: Add missing gshadow entry.
81918         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
81920 2012-03-06  Marek Polacek  <polacek@redhat.com>
81922         [BZ #13726]
81923         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
81924         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
81925         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
81926         * stdio-common/tst-long-dbl-fphex.c: New file.
81928 2012-03-06  David S. Miller  <davem@davemloft.net>
81930         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
81931         (set_obp_int): New function.
81932         (get_obp_int): New function.
81933         (__get_clockfreq_via_dev_openprom): Likewise.
81934         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
81935         Avoid unused variable warnings on 'val' and use builtin_expect.
81936         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
81937         __builtin_expect.
81938         (INLINE_CLONE_SYSCALL): Likewise.
81940 2012-03-05  David S. Miller  <davem@davemloft.net>
81942         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81944 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
81946         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81948         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
81949         only for |x| >= 40.
81950         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
81952 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
81954         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
81955         Replace gettimeofday with __vdso_gettimeofday.
81957         * sysdeps/unix/sysv/linux/x86_64/init-first.c
81958         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
81959         __vdso_clock_gettime and __vdso_getcpu.
81961         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
81962         time with __vdso_time.
81964 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
81966         * manual/lang.texi (size_t): Note types to which size_t may be
81967         equivalent with the GNU C Library, but do not describe when
81968         differences between them are significant.
81970 2012-03-05  Andreas Jaeger  <aj@suse.de>
81972         * sysdeps/i386/fpu/libm-test-ulps: Update.
81974 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
81976         [BZ #3976]
81977         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
81978         (__ieee754_pow): Save and restore rounding mode and use
81979         round-to-nearest for main computations.
81980         * math/libm-test.inc (pow_test_tonearest): New function.
81981         (pow_test_towardzero): Likewise.
81982         (pow_test_downward): Likewise.
81983         (pow_test_upward): Likewise.
81984         (main): Call the new functions.
81985         * sysdeps/i386/fpu/libm-test-ulps: Update.
81986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81988         [BZ #3976]
81989         * math/libm-test.inc (cosh_test_tonearest): New function.
81990         (cosh_test_towardzero): Likewise.
81991         (cosh_test_downward): Likewise.
81992         (cosh_test_upward): Likewise.
81993         (sinh_test_tonearest): Likewise.
81994         (sinh_test_towardzero): Likewise.
81995         (sinh_test_downward): Likewise.
81996         (sinh_test_upward): Likewise.
81997         (main): Call the new functions.
81998         * sysdeps/i386/fpu/libm-test-ulps: Update.
81999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82001 2012-03-05  Tom de Vries  <tom@codesourcery.com>
82003         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
82004         default stack guard is set in last bytes.
82005         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
82007 2012-03-05  Kees Cook  <keescook@chromium.org>
82009         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
82011         [BZ #13656]
82012         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
82013         possibly allocate from heap instead of stack.
82014         * stdio-common/bug-vfprintf-nargs.c: New file.
82015         * stdio-common/Makefile (tests): Add nargs overflow test.
82017 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
82019         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82021 2012-03-03  Marek Polacek  <polacek@redhat.com>
82023         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
82024         * math/math_private.h: Likewise.
82025         * stdlib/tst-strtod.c: Likewise.
82026         * sysdeps/i386/i486/bits/atomic.h: Likewise.
82027         * sysdeps/x86_64/bits/atomic.h: Likewise.
82029 2012-03-02  David S. Miller  <davem@davemloft.net>
82031         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
82032         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
82033         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
82034         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
82035         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
82036         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
82037         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
82038         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
82040 2012-03-02  Roland McGrath  <roland@hack.frob.com>
82042         [BZ #13792]
82043         * manual/examples/README: New file, says the example source files
82044         can be used under GPL>=2.
82045         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
82046         line containing just "*/".
82047         * manual/examples/add.c: Add copyright header (GPL>=2).
82048         * manual/examples/argp-ex1.c: Likewise.
82049         * manual/examples/argp-ex2.c: Likewise.
82050         * manual/examples/argp-ex3.c: Likewise.
82051         * manual/examples/argp-ex4.c: Likewise.
82052         * manual/examples/atexit.c: Likewise.
82053         * manual/examples/db.c: Likewise.
82054         * manual/examples/dir.c: Likewise.
82055         * manual/examples/dir2.c: Likewise.
82056         * manual/examples/execinfo.c: Likewise.
82057         * manual/examples/filecli.c: Likewise.
82058         * manual/examples/filesrv.c: Likewise.
82059         * manual/examples/fmtmsgexpl.c: Likewise.
82060         * manual/examples/genpass.c: Likewise.
82061         * manual/examples/inetcli.c: Likewise.
82062         * manual/examples/inetsrv.c: Likewise.
82063         * manual/examples/isockad.c: Likewise.
82064         * manual/examples/longopt.c: Likewise.
82065         * manual/examples/memopen.c: Likewise.
82066         * manual/examples/memstrm.c: Likewise.
82067         * manual/examples/mkfsock.c: Likewise.
82068         * manual/examples/mkisock.c: Likewise.
82069         * manual/examples/mygetpass.c: Likewise.
82070         * manual/examples/pipe.c: Likewise.
82071         * manual/examples/popen.c: Likewise.
82072         * manual/examples/rprintf.c: Likewise.
82073         * manual/examples/search.c: Likewise.
82074         * manual/examples/select.c: Likewise.
82075         * manual/examples/setjmp.c: Likewise.
82076         * manual/examples/sigh1.c: Likewise.
82077         * manual/examples/sigusr.c: Likewise.
82078         * manual/examples/stpcpy.c: Likewise.
82079         * manual/examples/strdupa.c: Likewise.
82080         * manual/examples/strftim.c: Likewise.
82081         * manual/examples/strncat.c: Likewise.
82082         * manual/examples/subopt.c: Likewise.
82083         * manual/examples/swapcontext.c: Likewise.
82084         * manual/examples/termios.c: Likewise.
82085         * manual/examples/testopt.c: Likewise.
82086         * manual/examples/testpass.c: Likewise.
82087         * manual/examples/timeval_subtract.c: Likewise.
82089         [BZ #13792]
82090         * manual/time.texi (Elapsed Time): Move timeval_subtract example
82091         function to ...
82092         * manual/timeval_subtract.c.texi: ... here, new file.
82094 2012-03-02  David S. Miller  <davem@davemloft.net>
82096         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
82098 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
82100         [BZ #3976]
82101         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
82102         (__sin): Save and restore rounding mode and use round-to-nearest
82103         for all computations.
82104         (__cos): Save and restore rounding mode and use round-to-nearest
82105         for all computations.
82106         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
82107         <fenv.h>.
82108         (tan): Save and restore rounding mode and use round-to-nearest for
82109         all computations.
82110         * math/libm-test.inc (cos_test_tonearest): New function.
82111         (cos_test_towardzero): Likewise.
82112         (cos_test_downward): Likewise.
82113         (cos_test_upward): Likewise.
82114         (sin_test_tonearest): Likewise.
82115         (sin_test_towardzero): Likewise.
82116         (sin_test_downward): Likewise.
82117         (sin_test_upward): Likewise.
82118         (tan_test_tonearest): Likewise.
82119         (tan_test_towardzero): Likewise.
82120         (tan_test_downward): Likewise.
82121         (tan_test_upward): Likewise.
82122         (main): Call the new functions.
82123         * sysdeps/i386/fpu/libm-test-ulps: Update.
82124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82126         [BZ #10135]
82127         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
82128         small n, then large n, before computing and testing k+n.
82129         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
82130         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
82131         Likewise.
82132         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
82133         Likewise.
82134         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
82135         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
82136         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
82137         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
82138         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
82139         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
82140         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
82141         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
82142         * math/libm-test.inc (scalbn_test): Add more tests.
82143         (scalbln_test): Likewise.
82145         * manual/filesys.texi (mode_t): Describe constraints on size and
82146         signedness, not exact equivalence to a particular type.
82147         (ino_t): Likewise.
82148         (ino64_t): Likewise.
82149         (dev_t): Likewise.
82150         (nlink_t): Likewise.
82151         (blkcnt_t): Likewise.
82152         (blkcnt64_t): Likewise.
82153         * manual/llio.texi (off_t): Likewise.
82155         [BZ #3976]
82156         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
82157         (__ieee754_exp): Save and restore rounding mode and use
82158         round-to-nearest for all computations.
82159         * math/libm-test.inc (exp_test_tonearest): New function.
82160         (exp_test_towardzero): Likewise.
82161         (exp_test_downward): Likewise.
82162         (exp_test_upward): Likewise.
82163         (main): Call the new functions.
82164         * sysdeps/i386/fpu/libm-test-ulps: Update.
82165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82167 2012-03-01  Chris Demetriou  <cgd@google.com>
82169         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
82170         have predictable order.
82172 2012-03-01  David S. Miller  <davem@davemloft.net>
82174         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
82176         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
82177         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
82178         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
82179         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
82181         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
82182         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
82183         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
82184         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
82185         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
82186         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
82187         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
82188         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
82189         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
82191         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82193         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
82194         * sysdeps/sparc/fpu/libm-test-ulps: to here.
82195         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
82197         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
82198         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
82199         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
82200         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
82201         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
82202         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
82203         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
82204         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
82205         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
82206         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
82207         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
82208         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
82209         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
82210         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
82211         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
82212         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
82213         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
82214         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
82215         * sysdeps/sparc/elf/configure: Regenerated.
82217 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
82219         * configure.in (AS, LD): Require binutils 2.20 or later.
82220         * configure: Regenerated.
82221         * manual/install.texi (Tools for Compilation): Give binutils 2.20
82222         as required minimum version.
82223         * INSTALL: Regenerated.
82225         [BZ #2541]
82226         [BZ #4108]
82227         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
82228         before squaring exponent.
82229         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
82230         bottom long double and 27 bits of top long double before squaring
82231         exponent.
82232         * math/libm-test.inc (erfc_test): Add more tests.
82233         * sysdeps/i386/fpu/libm-test-ulps: Update.
82234         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
82235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82237 2012-03-01  Kai Tietz  <ktietz@redhat.com>
82239         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
82240         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
82241         containing bit-fields.
82242         * soft-fp/extended.h (_FP_UNION_E): Likewise.
82243         * soft-fp/single.h (_FP_UNION_S): Likewise.
82244         * soft-fp/double.h (_FP_UNION_D): Likewise.
82246 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
82248         [BZ #13786]
82249         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
82250         not include ../strcmp.S.
82251         [USE_AS_STRNCASECMP_L]: Likewise.
82252         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
82253         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
82254         * sysdeps/i386/i686/multiarch/strncase_l-c.c
82255         (__strncasecmp_l_ia32): Define as alias to
82256         __strncasecmp_l_nonascii.
82258         [BZ #5794]
82259         * math/libm-test.inc (expm1_test): Add test for bug 5794.
82260         * sysdeps/i386/fpu/libm-test-ulps: Update.
82261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82263         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
82264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82266 2012-02-29  Jeff Law  <law@redhat.com>
82268         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
82269         out of bounds read.
82271 2012-02-29  Marek Polacek  <polacek@redhat.com>
82273         [BZ #13706]
82274         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
82275         * elf/Makefile: Add rules to run tst-unused-dep.out.
82277 2012-02-28  David S. Miller  <davem@davemloft.net>
82279         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
82280         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
82281         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
82282         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
82283         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
82284         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
82286 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
82288         * math/libm-test.inc (llround_test): Move one test from
82289         lround_test.  Use TEST_f_L in moved test.
82290         (lround_test): Move misplaced test to llround_test.  Add testcase
82291         from bug 2561.
82293 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
82295         * sysdeps/x86_64/fpu/e_expf.S: New file.
82296         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
82298 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
82300         [BZ #13637]
82301         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
82302         of remain_len that may cause incomplete multi-byte character and
82303         false match.
82304         * posix/bug-regex33.c: New file.
82305         * posix/Makefile (tests): Add bug-regex33.
82307 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
82309         * manual/macros.texi: New file.
82310         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
82311         * manual/libc.texinfo: Include macros.texi.
82312         * manual/creatute.texi: Likewise.
82313         * manual/install.texi: Likewise.
82314         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
82315         @glibcadj{} in references to the GNU C Library.
82316         * manual/charset.texi: Likewise.
82317         * manual/conf.texi: Likewise.
82318         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
82319         when not using those macros.
82320         * manual/creature.texi: Likewise.
82321         * manual/crypt.texi: Likewise.
82322         * manual/errno.texi: Likewise.
82323         * manual/filesys.texi: Likewise.
82324         * manual/header.texi: Likewise.
82325         * manual/install.texi: Likewise.
82326         * manual/intro.texi: Likewise.
82327         * manual/io.texi: Likewise.
82328         * manual/job.texi: Likewise.
82329         * manual/lang.texi: Likewise.
82330         * manual/libc.texiinfo: Likewise.
82331         * manual/llio.texi: Likewise.
82332         * manual/locale.texi: Likewise.
82333         * manual/maint.texi: Likewise.
82334         * manual/math.texi: Likewise.
82335         * manual/memory.texi: Likewise.
82336         * manual/message.texi: Likewise.
82337         * manual/nss.texi: Likewise.
82338         * manual/pattern.texi: Likewise.
82339         * manual/process.texi: Likewise.
82340         * manual/resource.texi: Likewise.
82341         * manual/search.texi: Likewise.
82342         * manual/setjmp.texi: Likewise.
82343         * manual/signal.texi: Likewise.
82344         * manual/socket.texi: Likewise.
82345         * manual/startup.texi: Likewise.
82346         * manual/stdio.texi: Likewise.
82347         * manual/string.texi: Likewise.
82348         * manual/sysinfo.texi: Likewise.
82349         * manual/syslog.texi: Likewise.
82350         * manual/terminal.texi: Likewise.
82351         * manual/time.texi: Likewise.
82352         * manual/users.texi: Likewise.
82353         * INSTALL: Regenerated.
82354         * NOTES: Regenerated.
82355         * sysdeps/gnu/errlist.c: Regenerated.
82357 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
82359         * include/dirent.h: Include <dirstream.h> before
82360         <dirent/dirent.h>.
82362 2012-02-28  David S. Miller  <davem@davemloft.net>
82364         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
82365         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
82366         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
82367         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
82369 2012-02-27  David S. Miller  <davem@davemloft.net>
82371         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
82372         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
82373         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
82374         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
82376         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
82377         frame pointer instead of stack pointer relative arg slot.
82378         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
82379         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
82380         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
82382 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
82384         [BZ #3992]
82385         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
82387 2012-02-27  David S. Miller  <davem@davemloft.net>
82389         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
82390         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
82391         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
82392         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
82393         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
82394         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
82395         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
82396         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
82398 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
82400         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
82401         later.  Allow versions 5-9.
82402         * configure: Regenerated.
82403         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
82404         required minimum version and 4.6 as recommended version.  Do not
82405         mention bugs in GCC 2.7 and 2.8.
82406         * INSTALL: Regenerated.
82408 2012-02-27  David S. Miller  <davem@davemloft.net>
82410         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
82411         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
82412         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
82413         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
82414         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
82415         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
82416         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
82417         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
82419         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
82420         manipulate bits before adding and subtracting TWO112[sx].
82421         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
82423 2012-02-27  Roland McGrath  <roland@hack.frob.com>
82425         [BZ #13775]
82426         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
82427         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
82428         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
82429         being in POSIX, because they are in 1003.1-2008.
82431         * rt/tst-aio.c: Include <fcntl.h>.
82432         * rt/tst-aio7.c: Likewise.
82433         * rt/tst-aio64.c: Likewise.
82435         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
82437 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
82439         * manual/install.texi (--with-headers): Describe headers as
82440         interface headers, not private headers.
82441         (Specific advice for GNU/Linux systems): Describe use of headers
82442         from "make headers_install", not private headers from older
82443         kernels.
82444         * INSTALL: Regenerated.
82445         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
82446         Change to 2.6.19.
82447         * sysdeps/unix/sysv/linux/configure: Regenerated.
82449         * manual/llio.texi (fclean): Remove documentation.
82451         * manual/Makefile (libc-texi-generated): New variable.  Include
82452         version.texi.
82453         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
82454         $(libc-texi-generated), not duplicated list of files.
82455         (version.texi, stamp-version): New rules.
82456         (realclean): Remove $(libc-texi-generated), not individual files
82457         from that list.  Do not remove dir-add.texinfo.
82458         * manual/libc.texinfo: Comment out uses of edition numbers and
82459         references to printed manual.  Remove last-updated dates.
82460         (EDITION): Comment out.
82461         (ISBN): Likewise.
82462         (VERSION, UPDATED): Remove.
82463         (version.texi): Include.
82465 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
82467         * sysdeps/posix/spawni.c: Include <signal.h>.
82468         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
82469         * sysdeps/pthread/aio_fsync.c: Likewise.
82471 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
82473         * conform/Makefile (tests): Run only when not cross-compiling and
82474         when fast-check is not defined.
82476         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
82477         * conform/data/limits.h-data: Fixes for POSIX2008.
82478         * conform/run-conformtest.sh: Run all tests.
82479         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
82480         headers.
82481         * include/bits/dlfcn.h: Likewise.
82482         * include/langinfo.h: Likewise.
82483         * include/monetary.h: Likewise.
82484         * include/sys/poll.h: Likewise.
82486         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
82487         for __USE_GNU.
82488         * posix/spawn.h: Define __need_sigset_t.
82489         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
82490         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
82491         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
82492         to get sigevent_t only.
82493         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
82494         only for __USE_GNU.
82495         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
82496         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
82497         process_vm_writev only for __USE_GNU.
82498         * termios/termios.h: Declare tcgetsid also for POSIX2008.
82500         * conform/Makefile: For now ignore errors from run-conformtest.
82501         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
82502         POSIX to avoid namespace pollution.  Don't prepend headers.
82503         * conform/data/aio.h-data: Fixes for POSIX testing.
82504         * conform/data/fcntl.h-data: Likewise.
82505         * conform/data/glob.h-data: Likewise.
82506         * conform/data/grp.h-data: Likewise.
82507         * conform/data/pthread.h-data: Likewise.
82508         * conform/data/pwd.h-data: Likewise.
82509         * conform/data/signal.h-data: Likewise.
82510         * conform/data/spawn.h-data: Likewise.
82511         * conform/data/stdio.h-data: Likewise.
82512         * conform/data/stdlib.h-data: Likewise.
82513         * conform/data/stropts.h-data: Likewise.
82514         * conform/data/sys/mman.h-data: Likewise.
82515         * conform/data/sys/stat.h-data: Likewise.
82516         * conform/data/sys/types.h-data: Likewise.
82517         * conform/data/sys/wait.h-data: Likewise.
82518         * conform/data/time.h-data: Likewise.
82519         * conform/data/unistd.h-data: Likewise.
82520         * conform/data/utime.h-data: Likewise.
82522         * io/sys/stat.h: fchmod was always in POSIX.
82523         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
82524         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
82525         * rt/aio.h: Define __need_timespec before including <time.h>.
82526         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
82527         struct.  Add forward declaration of pthread_attr_t and use it in
82528         sigevent.
82529         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
82530         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
82531         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
82532         always remove CLK_TCK definition.
82534 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
82536         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
82538 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
82540         * conform/run-conformtest.sh: New file.
82541         * conform/Makefile: Run run-conformtest for tests.
82542         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
82543         support.
82545         * conform/data/uchar.h-data: New file.
82546         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
82547         * conform/data/arpa/inet.h-data: Likewise.
82548         * conform/data/assert.h-data: Likewise.
82549         * conform/data/complex.h-data: Likewise.
82550         * conform/data/cpio.h-data: Likewise.
82551         * conform/data/ctype.h-data: Likewise.
82552         * conform/data/dirent.h-data: Likewise.
82553         * conform/data/dlfcn.h-data: Likewise.
82554         * conform/data/errno.h-data: Likewise.
82555         * conform/data/fcntl.h-data: Likewise.
82556         * conform/data/float.h-data: Likewise.
82557         * conform/data/fmtmsg.h-data: Likewise.
82558         * conform/data/fnmatch.h-data: Likewise.
82559         * conform/data/ftw.h-data: Likewise.
82560         * conform/data/glob.h-data: Likewise.
82561         * conform/data/grp.h-data: Likewise.
82562         * conform/data/iconv.h-data: Likewise.
82563         * conform/data/inttypes.h-data: Likewise.
82564         * conform/data/langinfo.h-data: Likewise.
82565         * conform/data/libgen.h-data: Likewise.
82566         * conform/data/limits.h-data: Likewise.
82567         * conform/data/locale.h-data: Likewise.
82568         * conform/data/math.h-data: Likewise.
82569         * conform/data/monetary.h-data: Likewise.
82570         * conform/data/mqueue.h-data: Likewise.
82571         * conform/data/ndbm.h-data: Likewise.
82572         * conform/data/net/if.h-data: Likewise.
82573         * conform/data/netdb.h-data: Likewise.
82574         * conform/data/netinet/in.h-data: Likewise.
82575         * conform/data/nl_types.h-data: Likewise.
82576         * conform/data/poll.h-data: Likewise.
82577         * conform/data/pthread.h-data: Likewise.
82578         * conform/data/pwd.h-data: Likewise.
82579         * conform/data/regex.h-data: Likewise.
82580         * conform/data/sched.h-data: Likewise.
82581         * conform/data/search.h-data: Likewise.
82582         * conform/data/semaphore.h-data: Likewise.
82583         * conform/data/setjmp.h-data: Likewise.
82584         * conform/data/signal.h-data: Likewise.
82585         * conform/data/spawn.h-data: Likewise.
82586         * conform/data/stdarg.h-data: Likewise.
82587         * conform/data/stdio.h-data: Likewise.
82588         * conform/data/stdlib.h-data: Likewise.
82589         * conform/data/string.h-data: Likewise.
82590         * conform/data/strings.h-data: Likewise.
82591         * conform/data/stropts.h-data: Likewise.
82592         * conform/data/sys/ipc.h-data: Likewise.
82593         * conform/data/sys/mman.h-data: Likewise.
82594         * conform/data/sys/msg.h-data: Likewise.
82595         * conform/data/sys/resource.h-data: Likewise.
82596         * conform/data/sys/select.h-data: Likewise.
82597         * conform/data/sys/sem.h-data: Likewise.
82598         * conform/data/sys/shm.h-data: Likewise.
82599         * conform/data/sys/socket.h-data: Likewise.
82600         * conform/data/sys/stat.h-data: Likewise.
82601         * conform/data/sys/statvfs.h-data: Likewise.
82602         * conform/data/sys/time.h-data: Likewise.
82603         * conform/data/sys/timeb.h-data: Likewise.
82604         * conform/data/sys/times.h-data: Likewise.
82605         * conform/data/sys/types.h-data: Likewise.
82606         * conform/data/sys/uio.h-data: Likewise.
82607         * conform/data/sys/un.h-data: Likewise.
82608         * conform/data/sys/utsname.h-data: Likewise.
82609         * conform/data/sys/wait.h-data: Likewise.
82610         * conform/data/syslog.h-data: Likewise.
82611         * conform/data/tar.h-data: Likewise.
82612         * conform/data/termios.h-data: Likewise.
82613         * conform/data/utime.h-data: Likewise.
82614         * conform/data/utmpx.h-data: Likewise.
82615         * conform/data/varargs.h-data: Likewise.
82616         * conform/data/wchar.h-data: Likewise.
82617         * conform/data/wctype.h-data: Likewise.
82618         * conform/data/wordexp.h-data: Likewise.
82620         * include/stropts.h: New file.
82621         * include/uchar.h: New file.
82622         * include/aio.h: Changes to allow conformtest.pl to use the headers.
82623         * include/assert.h: Likewise.
82624         * include/ctype.h: Likewise.
82625         * include/dirent.h: Likewise.
82626         * include/dlfcn.h: Likewise.
82627         * include/fcntl.h: Likewise.
82628         * include/fnmatch.h: Likewise.
82629         * include/glob.h: Likewise.
82630         * include/grp.h: Likewise.
82631         * include/libio.h: Likewise.
82632         * include/locale.h: Likewise.
82633         * include/math.h: Likewise.
82634         * include/net/if.h: Likewise.
82635         * include/netdb.h: Likewise.
82636         * include/netinet/in.h: Likewise.
82637         * include/pthread.h: Likewise.
82638         * include/pwd.h: Likewise.
82639         * include/regex.h: Likewise.
82640         * include/sched.h: Likewise.
82641         * include/search.h: Likewise.
82642         * include/setjmp.h: Likewise.
82643         * include/signal.h: Likewise.
82644         * include/stdio.h: Likewise.
82645         * include/stdlib.h: Likewise.
82646         * include/string.h: Likewise.
82647         * include/sys/cdefs.h: Likewise.
82648         * include/sys/mman.h: Likewise.
82649         * include/sys/msg.h: Likewise.
82650         * include/sys/resource.h: Likewise.
82651         * include/sys/select.h: Likewise.
82652         * include/sys/socket.h: Likewise.
82653         * include/sys/stat.h: Likewise.
82654         * include/sys/statvfs.h: Likewise.
82655         * include/sys/time.h: Likewise.
82656         * include/sys/times.h: Likewise.
82657         * include/sys/uio.h: Likewise.
82658         * include/sys/utsname.h: Likewise.
82659         * include/sys/wait.h: Likewise.
82660         * include/termios.h: Likewise.
82661         * include/time.h: Likewise.
82662         * include/ulimit.h: Likewise.
82663         * include/unistd.h: Likewise.
82664         * include/utime.h: Likewise.
82665         * include/wchar.h: Likewise.
82666         * include/wctype.h: Likewise.
82667         * include/wordexp.h: Likewise.
82669         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
82671         * time/time.h: TIME_UTC must be a macro.
82672         Make timespec_get available for ISO C11 only as well.
82674 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
82676         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
82677         Reported by Peng Haitao <penght@cn.fujitsu.com>.
82679 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
82681         * configure.in: Use -o not -a in test for unsupported multi-arch.
82683 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
82685         * manual/texinfo.tex: Update to version 2012-01-19.16.
82687 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
82689         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
82691 2012-02-24  Roland McGrath  <roland@hack.frob.com>
82693         [BZ #13738]
82694         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
82695         * manual/fdl-1.3.texi: New file.
82696         * manual/fdl-1.1.texi: File removed.
82698         [BZ #13738]
82699         * manual/libc.texinfo (FDL_VERSION): New @set.
82700         Use it for mention of FDL in cover text.
82701         (Documentation License): Use it in @include file name.
82703 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82704             Roland McGrath  <roland@hack.frob.com>
82706         [BZ #5461]
82707         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
82708         (not LONG_LONG_MAX and LONG_LONG_MIN.
82709         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
82710         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
82711         name.
82712         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
82714 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82716         [BZ #2547]
82717         [BZ #11365]
82718         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
82719         manipulate bits before adding and subtracting TWO23[sx].
82720         * math/libm-test.inc (nearbyint_test): Add more tests.
82722 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82724         [BZ #2548]
82725         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
82726         bits before adding and subtracting TWO23[sx].
82727         * math/libm-test.inc (rint_test): Add more tests.
82728         (rint_test_tonearest): Likewise.
82729         (rint_test_towardzero): Likewise.
82730         (rint_test_downward): Likewise.
82731         (rint_test_upward: Likewise.
82733 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82735         [BZ #10110]
82736         * include/stdc-predef.h: New file.  Extracted from features.h.
82737         * include/features.h: Include stdc-predef.h.
82738         * Makefile (headers): Add stdc-predef.h.
82739         * CONFORMANCE (Compiler limitations): Update.
82741 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82743         * manual/libc.texinfo (VERSION, UPDATED): Revert.
82745 2012-02-21  David S. Miller  <davem@davemloft.net>
82747         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
82748         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
82750 2012-02-20  David S. Miller  <davem@davemloft.net>
82752         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
82753         using a normal save/restore sequence, rather than allocating a
82754         dummy stack frame just to store a frame pointer and restore.
82755         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
82757 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
82759         * manual/install.texi: Fix stray word in line-wrapped comment.
82761 2012-02-20  David S. Miller  <davem@davemloft.net>
82763         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
82764         both binutils and gcc support GOTDATA.
82766         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
82767         "rd %pc" in the PIC register setup sequences.
82769         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
82770         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
82771         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
82772         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
82773         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
82774         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
82775         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
82776         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
82777         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
82778         (SYSCALL_ERROR_HANDLER): Likewise.
82779         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
82780         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
82781         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
82782         (SYSCALL_ERROR_HANDLER): Likewise.
82784         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
82785         (HAVE_GCC_GOTDATA): New.
82786         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
82787         relocation support in both binutils and gcc.
82788         * sysdeps/sparc/elf/configure: Regenerate.
82790         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
82791         * sysdeps/sparc/sparc32/elf/configure: Delete.
82792         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
82793         * sysdeps/sparc/sparc64/elf/configure: Delete.
82794         * sysdeps/sparc/elf/configure.in: New file.
82795         * sysdeps/sparc/elf/configure: Generate.
82797         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
82798         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
82799         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
82800         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
82801         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
82803 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
82805         * manual/install.texi: Do not mention specific glibc version
82806         numbers.
82807         * manual/libc.texinfo (VERSION, UPDATED): Update.
82808         (@copying): Use @copyright{} and range of years.
82810 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
82812         [BZ #13695]
82813         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
82814         [crti.S not in sysdirs] (generated): Do not append.
82815         [crti.S not in sysdirs] (omit-deps): Likewise.
82816         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
82817         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
82818         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
82819         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
82820         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
82821         Likewise.
82822         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
82823         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
82824         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
82825         * csu/defs.awk: Remove file.
82826         * sysdeps/generic/initfini.c: Likewise.
82827         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
82828         variable.
82829         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
82830         Likewise.
82832 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
82834         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
82835         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
82836         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
82837         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
82838         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
82839         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
82840         <bits/epoll.h>.
82841         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
82842         (__EPOLL_PACKED): Define to empty if not defined by
82843         <bits/epoll.h>.
82844         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
82845         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82846         bits/epoll.h.
82848 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
82850         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
82851         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
82852         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
82853         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
82854         <bits/timerfd.h>.
82855         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
82856         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82857         bits/timerfd.h.
82859 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
82861         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
82862         in C locale.
82863         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
82864         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
82865         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
82866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82868 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
82870         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
82871         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
82873 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
82875         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
82876         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
82877         defined.
82878         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
82879         Likewise.
82880         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
82881         entry for 2.16.
82883 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
82885         * math/w_acos.c: Use non-signaling floating-point comparisons.
82886         * math/w_acosf.c: Likewise.
82887         * math/w_acosh.c: Likewise.
82888         * math/w_acoshf.c: Likewise.
82889         * math/w_acoshl.c: Likewise.
82890         * math/w_acosl.c: Likewise.
82891         * math/w_asin.c: Likewise.
82892         * math/w_asinf.c: Likewise.
82893         * math/w_asinl.c: Likewise.
82894         * math/w_atanh.c: Likewise.
82895         * math/w_atanhf.c: Likewise.
82896         * math/w_atanhl.c: Likewise.
82897         * math/w_exp2.c: Likewise.
82898         * math/w_exp2f.c: Likewise.
82899         * math/w_exp2l.c: Likewise.
82900         * math/w_j0.c: Likewise.
82901         * math/w_j0f.c: Likewise.
82902         * math/w_j0l.c: Likewise.
82903         * math/w_j1.c: Likewise.
82904         * math/w_j1f.c: Likewise.
82905         * math/w_j1l.c: Likewise.
82906         * math/w_jn.c: Likewise.
82907         * math/w_jnf.c: Likewise.
82908         * math/w_log.c: Likewise.
82909         * math/w_log10.c: Likewise.
82910         * math/w_log10f.c: Likewise.
82911         * math/w_log10l.c: Likewise.
82912         * math/w_log2.c: Likewise.
82913         * math/w_log2f.c: Likewise.
82914         * math/w_log2l.c: Likewise.
82915         * math/w_logf.c: Likewise.
82916         * math/w_logl.c: Likewise.
82917         * math/w_sqrt.c: Likewise.
82918         * math/w_sqrtf.c: Likewise.
82919         * math/w_sqrtl.c: Likewise.
82920         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
82921         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
82922         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
82923         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
82924         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
82926 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
82928         [BZ #9739]
82929         * manual/string.texi (strnlen): Use correct parameter name in
82930         equivalent expression.
82932 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
82934         [BZ #11174]
82935         * manual/users.texi (seteuid): Consistently use neweuid for
82936         argument name.
82938 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
82940         [BZ #13704]
82941         * manual/nss.texi (Services in the NSS configuration): Correct
82942         list of services in example configuration file.
82944 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
82946         [BZ #11322]
82947         * manual/arith.texi: Remove statements about negative zero
82948         behaving identically to zero.
82950 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
82952         [BZ #5993]
82953         * manual/install.texi: Do not document upgrading from libc5.
82955 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
82957         [BZ #4596]
82958         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
82960 2012-02-18  David S. Miller  <davem@davemloft.net>
82962         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
82963         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
82964         %o7 across the call.
82965         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
82966         instead.
82967         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
82968         SETUP_PIC_REG_LEAF.
82969         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
82970         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
82971         * sysdeps/sparc/crtn.S: Likewise.
82973 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
82975         * aout/Makefile: Remove.
82977 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
82979         [BZ #13058]
82980         * manual/examples/argp-ex1.c (main): Format definition in GNU
82981         style.
82982         * manual/examples/argp-ex2.c (main): Likewise.
82983         * manual/examples/argp-ex3.c (main): Likewise.
82984         * manual/examples/argp-ex4.c (main): Likewise.
82985         * manual/examples/longopt.c (main): Use new-style prototype
82986         definition.
82987         * manual/examples/strncat.c (main): Specify return type and use
82988         (void) for arguments.
82989         * manual/examples/subopt.c (main): Use char **argv argument.
82991 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82993         [BZ #5077]
82994         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
82995         rounding modes.
82997 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
82999         [BZ #6907]
83000         * manual/string.texi (strchr): Change when strchrnul is
83001         recommended.
83003 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
83005         [BZ #174]
83006         * manual/locale.texi (setlocale): Document LOCPATH.
83008 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
83010         [BZ #10210]
83011         * manual/process.texi (execle): Move @dots{} before last argument.
83013 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
83015         [BZ #12047]
83016         * manual/charset.texi (Generic Charset Conversion): Fix typo
83017         (LC_TYPE -> LC_CTYPE).
83019 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
83021         [BZ #5805]
83022         * manual/arith.texi (scalbn): Use @var{} on parameter names.
83023         (scalbnf): Likewise.
83024         (scalbnl): Likewise.
83025         (scalbln): Likewise.
83026         (scalblnf): Likewise.
83027         (scalblnl): Likewise.
83028         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
83029         (vwarnx): Likewise.
83030         (verr): Likewise.
83031         (verrx): Likewise.
83032         * manual/filesys.texi (telldir): Use braces around return type.
83033         * manual/llio.texi (mmap): Add space after comma.
83034         (mmap64): Likewise.
83035         * manual/math.texi (jn): Use @var{} on parameter names.
83036         (jnf): Likewise.
83037         (jnl): Likewise.
83038         (yn): Likewise.
83039         (ynf): Likewise.
83040         (ynl): Likewise.
83041         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
83042         line.
83043         * manual/resource.texi (ulimit): Use @dots{} instead of literal
83044         "...".
83045         (sched_get_priority_min): Remove semicolon on @deftypefun line.
83046         (sched_get_priority_max): Likewise.
83047         * manual/signal.texi (sigvec): Add space after comma.
83048         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
83049         names.
83050         (if_indextoname): Likewise.
83051         (if_freenameindex): Likewise.
83052         (sendto): Use ',' instead of '.' in prototype.
83053         * manual/startup.texi (syscall): Use @dots{} instead of literal
83054         "...".
83055         * manual/stdio.texi (__fpending): Separate initial words of
83056         paragraph from @deftypefun line.
83057         * manual/syslog.texi (syslog): Use @dots{} instead of literal
83058         "...".
83059         (vsyslog): Use @var{} on parameter names.
83060         * manual/terminal.texi (stty): Use @var{} on parameter names.
83061         * manual/users.texi (getutmp): Use @var{} on parameter names.
83062         (getutmpx): Likewise.
83064 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
83066         [BZ #6884]
83067         * manual/stdio.texi (fopen): Fix typos in description of
83068         ",ccs=STRING".
83070 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
83072         [BZ #4026]
83073         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
83074         get clock_id definition.
83076 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
83078         [BZ #4822]
83079         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
83080         (madvise): Cast every argument to void on its own.
83082 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
83084         [BZ #9902]
83085         * manual/startup.texi (Exit Status): Fix typo.
83087 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
83089         [BZ #10140]
83090         * manual/examples/argp-ex1.c: Include <stdlib.h>.
83091         * manual/examples/argp-ex2.c: Likewise.
83092         * manual/examples/argp-ex3.c: Likewise.
83094 2012-02-16  Richard Henderson  <rth@redhat.com>
83096         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
83097         * sysdeps/s390/s390-32/initfini.c: Remove.
83098         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
83099         * sysdeps/s390/s390-64/initfini.c: Remove.
83101 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
83103         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
83104         compiler output for sysdeps/generic/initfini.c.
83105         * sysdeps/sh/elf/initfini.c: Remove file.
83107 2012-02-16  David S. Miller  <davem@davemloft.net>
83109         [BZ #11494]
83110         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
83112         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
83113         * sysdeps/sparc/crti.S: New file.
83114         * sysdeps/sparc/crtn.S: New file.
83115         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
83116         * sysdeps/sparc/sparc64/Makefile: Likewise.
83118 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
83120         [BZ #3335]
83121         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
83123 2012-02-15  Roland McGrath  <roland@hack.frob.com>
83125         [BZ #4822]
83126         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
83128         * mach/devstream.c (cookie_io_functions_t): Macro removed.
83129         (write, read, close): Likewise.
83130         Patch by Aurelien Jarno <aurelien@aurel32.net>.
83132 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
83134         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
83135         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
83136         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
83137         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
83138         <bits/signalfd.h>.
83139         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
83140         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83141         bits/signalfd.h.
83143 2012-02-14  Marek Polacek  <polacek@redhat.com>
83145         * sysdeps/x86_64/crti.S: New file.
83146         * sysdeps/x86_64/crtn.S: New file.
83147         * sysdeps/x86_64/elf/initfini.c: Remove file.
83149 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
83151         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
83152         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
83153         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
83154         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
83155         <bits/inotify.h>.
83156         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
83157         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83158         bits/inotify.h.
83160 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
83162         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
83163         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
83164         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
83165         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
83166         <bits/eventfd.h>.
83167         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
83168         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83169         bits/eventfd.h.
83171 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
83173         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
83174         __feraiseexcept instead of feraiseexcept.
83176         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
83177         nanosleep invocations.
83178         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
83179         strings, and add error checking for a nanosleep invocations.
83181 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
83183         Replace FSF snail mail address with URLs, as per GNU coding standards.
83184         Most of the snail mail addresses were wrong anyway, and omitting
83185         them makes the source code easier to maintain.  Almost all of the
83186         changes are to license notices and to locale LC_IDENTIFICATION
83187         addresses, except for this one:
83188         * manual/libc.texinfo: In "Published by", give the FSF's URL,
83189         not its snail mail address.
83191 2012-02-09  Richard Henderson  <rth@twiddle.net>
83193         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
83194         of kernel-features.h.
83196         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
83198 2012-02-08  Marek Polacek  <polacek@redhat.com>
83200         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
83201         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
83202         * sysdeps/gnu/_G_config.h: Likewise.
83203         * sysdeps/generic/_G_config.h: Likewise.
83205 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
83207         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
83208         tests.
83209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83211         * sysdeps/powerpc/powerpc32/crti.S: New file.
83212         * sysdeps/powerpc/powerpc32/crtn.S: New file.
83213         * sysdeps/powerpc/powerpc64/crti.S: New file.
83214         * sysdeps/powerpc/powerpc64/crtn.S: New file.
83216         * Makeconfig (have-initfini): Don't set.
83217         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
83218         * configure.in (nopic_initfini): Don't substitute.
83219         * config.h.in (HAVE_INITFINI): Don't #undef.
83220         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
83221         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
83223 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
83225         Support crti.S and crtn.S provided directly by architectures.
83226         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
83227         [crti.S in sysdirs] (omit-deps): Likewise.
83228         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
83229         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
83230         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
83231         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
83232         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
83233         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
83234         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
83235         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
83236         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
83237         compiler output for sysdeps/generic/initfini.c.
83238         * sysdeps/i386/elf/Makefile: Remove file.
83239         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
83241 2012-02-07  Marek Polacek  <polacek@redhat.com>
83243         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
83244         * sysdeps/gnu/_G_config.h: Likewise.
83245         * sysdeps/mach/hurd/_G_config.h: Likewise.
83247 2012-02-07  Marek Polacek  <polacek@redhat.com>
83249         * math/Makefile (tests): Add tst-CMPLX2.
83250         * math/tst-CMPLX2.c: New file.
83252 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
83254         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
83256         * math/libm-test.inc (jn_test): Add missing L suffix.
83258 2012-02-06  Marek Polacek  <polacek@redhat.com>
83260         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
83261         * sysdeps/i386/fpu/e_powf.S: Likewise.
83262         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
83263         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
83264         * sysdeps/i386/fpu/e_acosh.S: Likewise.
83265         * sysdeps/i386/fpu/e_pow.S: Likewise.
83266         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
83267         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
83268         * sysdeps/i386/fpu/s_expm1.S: Likewise.
83269         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
83270         * sysdeps/i386/fpu/e_log2.S: Likewise.
83271         * sysdeps/i386/fpu/e_log2l.S: Likewise.
83272         * sysdeps/i386/fpu/e_scalb.S: Likewise.
83273         * sysdeps/i386/fpu/e_powl.S: Likewise.
83274         * sysdeps/i386/fpu/s_log1p.S: Likewise.
83275         * sysdeps/i386/fpu/e_log10f.S: Likewise.
83276         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
83277         * sysdeps/i386/fpu/e_logl.S: Likewise.
83278         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
83279         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
83280         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
83281         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
83282         * sysdeps/i386/fpu/e_log2f.S: Likewise.
83283         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
83284         * sysdeps/i386/fpu/e_log.S: Likewise.
83285         * sysdeps/i386/fpu/s_cexp.S: Likewise.
83286         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
83287         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
83288         * sysdeps/i386/fpu/e_logf.S: Likewise.
83289         * sysdeps/i386/fpu/e_log10l.S: Likewise.
83290         * sysdeps/i386/fpu/e_atanh.S: Likewise.
83291         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
83292         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
83293         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
83294         * sysdeps/i386/fpu/e_log10.S: Likewise.
83295         * sysdeps/i386/fpu/s_frexp.S: Likewise.
83296         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
83297         * sysdeps/i386/fpu/s_asinh.S: Likewise.
83298         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
83299         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
83300         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
83301         * sysdeps/i386/asm-syntax.h: Likewise.
83302         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
83303         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
83304         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
83305         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
83306         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
83307         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
83308         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
83309         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
83310         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
83311         * sysdeps/powerpc/sysdep.h: Likewise.
83312         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
83313         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
83315 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
83317         [BZ #411]
83318         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
83320 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
83322         * sysdeps/i386/sysdep.h: Include <features.h>.
83323         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
83324         version.
83326 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
83328         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
83329         Define.
83330         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
83331         LOAD_PIC_REG_STR.
83333 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
83335         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
83336         (SETUP_PIC_REG): Use GET_PC_THUNK.
83337         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
83338         macro.
83340 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
83342         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
83343         for non-PIC compilation.
83344         (SETUP_PIC_REG): Add .p2align directive.
83345         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
83346         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
83347         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
83348         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
83349         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
83350         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
83351         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
83352         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
83353         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
83354         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
83355         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
83356         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
83357         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
83358         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
83359         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
83360         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
83361         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
83362         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
83363         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
83364         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
83365         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
83366         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
83367         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
83368         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
83369         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
83370         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
83371         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
83372         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
83373         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
83374         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
83375         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
83376         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
83377         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
83378         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
83379         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
83380         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
83381         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
83382         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
83383         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
83384         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
83385         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
83387 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
83389         * math/tst-CMPLX.c: Include <stdio.h>.
83391 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
83393         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
83394         float.
83395         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
83396         * sysdeps/sparc/bits/mathdef.h: Likewise.
83398 2012-01-31  Marek Polacek  <polacek@redhat.com>
83400         * libio/libio.h: Don't define _PARAMS.
83401         * locale/programs/config.h: Don't define PARAMS.
83402         * stdlib/strtol_l.c: Likewise.
83403         (__strtol_l): Remove PARAMS from the prototype.
83405 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
83407         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
83408         names.  Just use the correct names.  Remove unnecessary wrapper
83409         functions.
83410         * malloc/arena.c: Likewise.
83411         * malloc/hooks.c: Likewise.
83413         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
83414         ARENA_TEST says not to.  Simplify test for creation of a new arena.
83415         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
83417 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
83419         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
83420         into tail calls.
83421         (update_get_addr): New function.
83422         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
83423         GET_ADDR_MODULE parameter.
83425 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
83427         * crypt/cert.c: Remove __STDC__ conditionals.
83428         * crypt/crypt-entry.c: Likewise.
83429         * crypt/crypt_util.c: Likewise.
83430         * libio/filedoalloc.c: Likewise.
83431         * libio/fileops.c: Likewise.
83432         * libio/genops.c: Likewise.
83433         * libio/iofclose.c: Likewise.
83434         * libio/iofdopen.c: Likewise.
83435         * libio/iofopen.c: Likewise.
83436         * libio/iofopen64.c: Likewise.
83437         * libio/iogetdelim.c: Likewise.
83438         * libio/iopopen.c: Likewise.
83439         * libio/obprintf.c: Likewise.
83440         * libio/oldfileops.c: Likewise.
83441         * libio/oldiofclose.c: Likewise.
83442         * libio/oldiofdopen.c: Likewise.
83443         * libio/oldiofopen.c: Likewise.
83444         * libio/oldiopopen.c: Likewise.
83445         * libio/wfiledoalloc.c: Likewise.
83446         * libio/wgenops.c: Likewise.
83447         * locale/programs/xmalloc.c: Likewise.
83448         * misc/syslog.c: Likewise.
83449         * stdio-common/xbug.c: Likewise.
83450         * string/memchr.c: Likewise.
83451         * string/memcmp.c: Likewise.
83452         * string/memrchr.c: Likewise.
83453         * string/rawmemchr.c: Likewise.
83454         * sysdeps/posix/getcwd.c: Likewise.
83455         * time/strftime_l.c: Likewise.
83457 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
83459         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
83460         * config.make.in (config-cflags-sse2avx): Define.
83461         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
83462         Fix typo.
83464 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
83466         * scripts/config.guess: Update from upstream config git repository.
83467         * scripts/config.sub: Likewise.
83469 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
83471         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
83472         (EM_NUM): Update.
83473         (R_TILEPRO_*, R_TILEGX_*): New macros.
83475         * scripts/firstversions.awk: Fix bug in version range handling.
83477         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
83479         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
83481         * include/sys/epoll.h: New file.
83482         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
83483         libc_hidden_def.
83485 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
83487         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
83488         Avoid unnecessary __WORDSIZE == 64 test.
83489         (fmaxf): Use VEX format if possible.
83490         (fmax): Likewise.
83491         (fminf): Likewise.
83492         (fmin): Likewise.
83494         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
83495         * math/math_private.h: Remove libc_fegetround* and
83496         libc_fesetround*.
83497         * sysdeps/i386/configure.in: Check for -msse2avx.
83498         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
83499         also if SSE2AVX is defined.
83500         Remove libc_fegetround* and libc_fesetround*.
83501         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
83502         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
83503         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
83504         of HAS_YMM_USABLE.
83505         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
83506         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
83507         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
83508         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
83509         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
83511         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
83513 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83515         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
83516         size is not set.
83517         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
83519 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
83521         [BZ #13618]
83522         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
83523         relocation.
83524         * Makeconfig (libm): Define.
83525         * elf/Makefile: Add rules to build and run tst-relsort1.
83526         * elf/tst-relsort1.c: New file.
83527         * elf/tst-relsort1mod1.c: New file.
83528         * elf/tst-relsort1mod2.c: New file.
83530 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
83532         * math/s_ldexp.c: Remove __STDC__ conditionals.
83533         * math/s_ldexpf.c: Likewise.
83534         * math/s_ldexpl.c: Likewise.
83535         * math/s_nextafter.c: Likewise.
83536         * math/s_nexttowardf.c: Likewise.
83537         * math/s_significand.c: Likewise.
83538         * math/s_significandf.c: Likewise.
83539         * math/s_significandl.c: Likewise.
83540         * math/w_jnl.c: Likewise.
83541         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
83542         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
83543         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
83544         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
83545         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
83546         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
83547         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
83548         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
83549         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
83550         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
83551         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
83552         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
83553         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
83554         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
83555         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
83556         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
83557         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
83558         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
83559         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
83560         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
83561         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
83562         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
83563         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
83564         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
83565         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
83566         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
83567         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
83568         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
83569         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
83570         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
83571         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
83572         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
83573         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
83574         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
83575         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
83576         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
83577         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
83578         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
83579         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
83580         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
83581         * sysdeps/ieee754/k_standard.c: Likewise.
83582         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
83583         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
83584         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
83585         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
83586         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
83587         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
83588         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
83589         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
83590         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
83591         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
83592         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
83593         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
83594         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
83595         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
83596         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
83597         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
83598         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
83599         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
83600         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
83601         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
83602         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
83603         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
83604         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
83605         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
83606         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
83607         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
83608         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
83609         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
83610         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
83611         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
83612         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
83613         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
83614         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
83615         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
83616         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
83617         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
83618         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
83619         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
83620         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
83621         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
83622         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
83623         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
83624         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
83625         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
83626         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
83627         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
83628         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
83629         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
83630         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
83631         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
83632         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
83633         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
83634         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
83635         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
83636         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
83637         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
83638         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
83639         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
83640         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
83641         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
83642         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
83643         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
83644         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
83645         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
83646         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
83647         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
83648         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
83649         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
83650         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
83651         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
83652         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
83653         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
83654         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
83655         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
83656         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
83657         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
83658         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
83659         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
83660         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
83661         * sysdeps/ieee754/s_matherr.c: Likewise.
83662         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
83663         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
83664         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
83665         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
83667 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
83669         * crypt/md5.h: Remove __STDC__ conditionals.
83670         * libio/libioP.h: Likewise.
83671         * locale/programs/config.h: Likewise.
83672         * sysdeps/generic/sysdep.h: Likewise.
83673         * sysdeps/i386/asm-syntax.h: Likewise.
83674         * sysdeps/s390/asm-syntax.h: Likewise.
83675         * sysdeps/unix/sysdep.h: Likewise.
83676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
83677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
83679 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
83681         * libio/libio.h: Remove __STDC__ conditionals.
83682         * malloc/obstack.h: Likewise.
83683         * math/complex.h: Likewise.
83684         * math/math.h: Likewise.
83685         * sysdeps/generic/_G_config.h: Likewise.
83686         * sysdeps/gnu/_G_config.h: Likewise.
83687         * sysdeps/mach/hurd/_G_config.h: Likewise.
83688         * sysdeps/powerpc/bits/mathdef.h: Likewise.
83689         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
83690         * sysdeps/sparc/bits/mathdef.h: Likewise.
83692 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
83694         [BZ #13583]
83695         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
83696         Clean up HAS_* macros.
83697         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
83698         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
83699         possible.
83700         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
83701         HAS_AVX.
83702         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
83703         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
83704         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
83705         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
83706         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
83708 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
83710         * elf/tst-unique3.cc (gets): Remove declaration.
83711         * elf/tst-unique3lib.cc (gets): Likewise.
83712         * elf/tst-unique3lib2.cc (gets): Likewise.
83713         * elf/tst-unique4.cc (gets): Likewise.
83715 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
83717         * include/stdio.h: Add C++ protection.  Add gets declarations and
83718         definitions.
83719         * debug/tst-chk1.c: Don't declare gets here.
83720         * stdio-common/tst-gets.c: Likewise.
83722 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
83724         * posix/glob: Remove directory.
83726 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
83728         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
83730 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
83732         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
83733         of the non-standard EPFNOSUPPORT.
83735 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83737         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
83738         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
83739         ANYWHERE set to 1 only on KERN_NO_SPACE error.
83741 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
83743         * wcsmbs/uchar.h: Test __STDC_VERSION__.
83745 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
83747         * nscd/aicache.c (addhstaiX): Do not cache negative results of
83748         transient errors.
83749         * nscd/grpcache.c (cache_addgr): Likewise.
83750         * nscd/hstcache.c (cache_addhst): Likewise.
83751         * nscd/initgrcache.c (addinitgroupsX): Likewise.
83752         * nscd/pwdcache.c (cache_addpw): Likewise.
83753         * nscd/servicescache.c (cache_addserv): Likewise.
83755 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
83757         * malloc/malloc.c: Various cleanups.
83758         * malloc/hooks.c: Likewise.
83760         * stdlib/Makefile (tests): Add bug-fmtmsg1.
83761         * stdlib/bug-fmtmsg1.c: New file.
83763         * stdlib/fmtmsg.c (init): Add missing unlock.
83764         Patch by Peng Haitao <penght@cn.fujitsu.com>.
83766 2012-01-12  Marek Polacek  <polacek@redhat.com>
83768         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
83769         and _GNU_SOURCE.
83771 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
83773         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
83774         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
83775         macro to ensure uniqueness of label name.
83776         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
83777         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
83779 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
83781         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
83783         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
83784         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
83785         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
83786         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
83788 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
83790         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
83792         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
83793         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
83794         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
83796         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
83798         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
83799         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
83800         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
83801         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
83803         * math/bits/math-finite.h: Add ldexp support.
83805 2012-01-10  Marek Polacek  <polacek@redhat.com>
83807         * locale/programs/localedef.h (show_archive_content): Add noreturn
83808         attribute.
83810 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
83812         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
83814 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
83816         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
83818         * io/Makefile (headers): Add bits/poll2.h.
83820 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
83822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
83823         typo #include statement.
83825 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
83827         * include/sys/cdefs.h: Define __attribute_alloc_size.
83828         * catgets/gencat.c: Add alloc_size attribute and apply consistently
83829         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
83830         * elf/pldd.c: Likewise.
83831         * iconv/iconv_charmap.c: Likewise.
83832         * iconv/iconvconfig.c: Likewise.
83833         * iconv/strtab.c: Likewise.
83834         * locale/programs/locale.c: Likewise.
83835         * locale/programs/localedef.h: Likewise.
83836         * locale/programs/simple-hash.c: Likewise.
83837         * nscd/nscd.h: Likewise.
83838         * nss/makedb.c: Likewise.
83839         * sysdeps/generic/ldconfig.h: Likewise.
83840         * locale/programs/localedef.c: Remove xmalloc prototype.
83841         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
83843 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
83845         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
83846         appropriate.
83848 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
83850         * math/Makefile (tests): Add tst-CMPLX.
83851         * math/tst-CMPLX.c: New file.
83853         * math/complex.h (CMPLXL): Fix typo.
83855         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
83856         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
83857         GLIBC_2.16.
83858         * debug/tst-chk1.c: Add poll and ppoll tests.
83859         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
83860         * include/sys/poll.h: Add hidden proto for ppoll.
83861         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
83862         * sysdeps/mach/hurd/ppoll.c: Likewise.
83863         * io/ppoll.c: Likewise.
83864         * debug/poll_chk.c: New file.
83865         * debug/ppoll_chk.c: New file.
83866         * include/bits/poll2.h: New file.
83867         * io/bits/poll2.h: New file.
83869         [BZ #1350]
83870         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
83872         * configure.in: static is always set to yes.  Remove.
83873         * config.make.in: Don't set build-static.
83874         * Makeconfig: Remove use of build-static.
83875         * dlfcn/Makefile: Likewise.
83876         * elf/Makefile: Likewise.
83877         * math/Makefile: Likewise.
83878         * misc/Makefile: Likewise.
83879         * nptl/Makefile: Likewise.
83880         * sysdeps/mach/hurd/Makefile: Likewise.
83882         * configure.in: PWD_P is not used anymore.
83883         * config.make.in: Remove PWD_P entry.
83885         * configure.in: Remove last remnants of RANLIB.
83886         No need to check for signed size_t anymore.
83887         Don't set libc_commonpagesize and libc_relro_required here for Alpha
83888         and IA-64.
83889         Remove __builtin_expect test because we require at least gcc 3.4.
83890         * aclocal.m4: Likewise.
83892         * wcsmbs/mbrtoc16.c: Implement using towc function.
83893         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
83894         * wcsmbs/wcsmbsload.c: Likewise.
83895         * iconv/gconv_simple.c: Likewise.
83896         * iconv/gconv_int.h: Likewise.
83897         * iconv/gconv_builtin.h: Likewise.
83898         * iconv/iconv_prog.c: Remove CHAR16 handling.
83900         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
83902         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
83904         * configure.in: Remove --with-elf and --enable-bounded options.
83905         Dont set base_machine for ia64.  More non-ELF conditions removed.
83906         Remove testing and setting of leading underscore information.
83907         * config.make.in (build-bounded): Set to no.
83908         * config.h.in: Remove NO_UNDERSCORES entry.
83909         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
83910         them.
83911         * csu/start.c: Remove !NO_UNDERSCORE code.
83912         * locale/localeinfo.h: Likewise.
83913         * sysdeps/generic/machine-gmon.h: Likewise.
83914         * sysdeps/generic/sysdep.h: Likewise.
83915         * sysdeps/i386/sysdep.h: Likewise.
83916         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
83917         * sysdeps/mach/sysdep.h: Likewise.
83918         * sysdeps/s390/s390-32/sysdep.h: Likewise.
83919         * sysdeps/s390/s390-64/sysdep.h: Likewise.
83920         * sysdeps/sh/sysdep.h: Likewise.
83921         * sysdeps/sparc/sparc32/alloca.S: Likewise.
83922         * sysdeps/unix/i386/sysdep.S: Likewise.
83923         * sysdeps/unix/sparc/start.c: Likewise.
83924         * sysdeps/unix/sparc/sysdep.S: Likewise.
83925         * sysdeps/unix/sparc/sysdep.h: Likewise.
83926         * sysdeps/unix/start.c: Likewise.
83927         * sysdeps/unix/x86_64/sysdep.S: Likewise.
83928         * sysdeps/x86_64/sysdep.h: Likewise.
83930 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
83932         [BZ #13553]
83933         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
83934         for non-gcc.
83935         * argp/argp-fmtstream.h: Use const instead __const.
83936         * argp/argp.h: Likewise.
83937         * assert/assert.h: Likewise.
83938         * bits/fenv.h: Likewise.
83939         * bits/sched.h: Likewise.
83940         * bits/sigset.h: Likewise.
83941         * bits/sigthread.h: Likewise.
83942         * catgets/nl_types.h: Likewise.
83943         * conform/data/pthread.h-data: Likewise.
83944         * crypt/crypt-private.h: Likewise.
83945         * crypt/crypt.h: Likewise.
83946         * crypt/crypt_util.c: Likewise.
83947         * ctype/ctype.h: Likewise.
83948         * debug/execinfo.h: Likewise.
83949         * debug/mbsnrtowcs_chk.c: Likewise.
83950         * debug/mbsrtowcs_chk.c: Likewise.
83951         * debug/wcsnrtombs_chk.c: Likewise.
83952         * debug/wcsrtombs_chk.c: Likewise.
83953         * debug/wcstombs_chk.c: Likewise.
83954         * dirent/dirent.h: Likewise.
83955         * dlfcn/dlfcn.h: Likewise.
83956         * elf/neededtest4.c: Likewise.
83957         * grp/grp.h: Likewise.
83958         * gshadow/gshadow.h: Likewise.
83959         * iconv/gconv.h: Likewise.
83960         * iconv/gconv_int.h: Likewise.
83961         * iconv/gconv_simple.c: Likewise.
83962         * iconv/iconv.h: Likewise.
83963         * iconv/loop.c: Likewise.
83964         * iconv/skeleton.c: Likewise.
83965         * include/aio.h: Likewise.
83966         * include/aliases.h: Likewise.
83967         * include/argz.h: Likewise.
83968         * include/arpa/inet.h: Likewise.
83969         * include/assert.h: Likewise.
83970         * include/dirent.h: Likewise.
83971         * include/dlfcn.h: Likewise.
83972         * include/execinfo.h: Likewise.
83973         * include/fcntl.h: Likewise.
83974         * include/fenv.h: Likewise.
83975         * include/glob.h: Likewise.
83976         * include/grp.h: Likewise.
83977         * include/libintl.h: Likewise.
83978         * include/mntent.h: Likewise.
83979         * include/netdb.h: Likewise.
83980         * include/pwd.h: Likewise.
83981         * include/rpc/netdb.h: Likewise.
83982         * include/sched.h: Likewise.
83983         * include/search.h: Likewise.
83984         * include/shadow.h: Likewise.
83985         * include/signal.h: Likewise.
83986         * include/stdio.h: Likewise.
83987         * include/stdlib.h: Likewise.
83988         * include/string.h: Likewise.
83989         * include/sys/socket.h: Likewise.
83990         * include/sys/stat.h: Likewise.
83991         * include/sys/statfs.h: Likewise.
83992         * include/sys/statvfs.h: Likewise.
83993         * include/sys/syslog.h: Likewise.
83994         * include/sys/time.h: Likewise.
83995         * include/sys/uio.h: Likewise.
83996         * include/time.h: Likewise.
83997         * include/unistd.h: Likewise.
83998         * include/utmp.h: Likewise.
83999         * include/wchar.h: Likewise.
84000         * include/wctype.h: Likewise.
84001         * inet/aliases.h: Likewise.
84002         * inet/arpa/inet.h: Likewise.
84003         * inet/netinet/ether.h: Likewise.
84004         * inet/netinet/in.h: Likewise.
84005         * intl/libintl.h: Likewise.
84006         * io/bits/fcntl2.h: Likewise.
84007         * io/fcntl.h: Likewise.
84008         * io/ftw.h: Likewise.
84009         * io/sys/poll.h: Likewise.
84010         * io/sys/stat.h: Likewise.
84011         * io/sys/statfs.h: Likewise.
84012         * io/sys/statvfs.h: Likewise.
84013         * io/utime.h: Likewise.
84014         * libio/bits/stdio.h: Likewise.
84015         * libio/bits/stdio2.h: Likewise.
84016         * libio/libio.h: Likewise.
84017         * libio/libioP.h: Likewise.
84018         * libio/stdio.h: Likewise.
84019         * locale/lc-ctype.c: Likewise.
84020         * locale/locale.h: Likewise.
84021         * login/utmp.h: Likewise.
84022         * malloc/arena.c: Likewise.
84023         * malloc/malloc.c: Likewise.
84024         * malloc/malloc.h: Likewise.
84025         * malloc/mcheck.c: Likewise.
84026         * malloc/mtrace.c: Likewise.
84027         * math/bits/mathcalls.h: Likewise.
84028         * math/fenv.h: Likewise.
84029         * math/math_private.h: Likewise.
84030         * misc/bits/error.h: Likewise.
84031         * misc/bits/syslog.h: Likewise.
84032         * misc/err.h: Likewise.
84033         * misc/error.h: Likewise.
84034         * misc/fstab.h: Likewise.
84035         * misc/mntent.h: Likewise.
84036         * misc/regexp.h: Likewise.
84037         * misc/search.h: Likewise.
84038         * misc/sgtty.h: Likewise.
84039         * misc/sys/mman.h: Likewise.
84040         * misc/sys/syslog.h: Likewise.
84041         * misc/sys/uio.h: Likewise.
84042         * misc/sys/xattr.h: Likewise.
84043         * misc/ttyent.h: Likewise.
84044         * nis/rpcsvc/ypclnt.h: Likewise.
84045         * nss/nss.h: Likewise.
84046         * posix/bits/unistd.h: Likewise.
84047         * posix/fnmatch.h: Likewise.
84048         * posix/glob.h: Likewise.
84049         * posix/sched.h: Likewise.
84050         * posix/spawn.h: Likewise.
84051         * posix/sys/wait.h: Likewise.
84052         * posix/unistd.h: Likewise.
84053         * posix/wordexp.h: Likewise.
84054         * pwd/pwd.h: Likewise.
84055         * resolv/netdb.h: Likewise.
84056         * resource/sys/resource.h: Likewise.
84057         * rt/aio.h: Likewise.
84058         * rt/bits/mqueue2.h: Likewise.
84059         * rt/mqueue.h: Likewise.
84060         * shadow/shadow.h: Likewise.
84061         * signal/signal.h: Likewise.
84062         * socket/send.c: Likewise.
84063         * socket/sendto.c: Likewise.
84064         * socket/sys/socket.h: Likewise.
84065         * stdio-common/printf.h: Likewise.
84066         * stdlib/bits/stdlib.h: Likewise.
84067         * stdlib/fmtmsg.h: Likewise.
84068         * stdlib/monetary.h: Likewise.
84069         * stdlib/stdlib.h: Likewise.
84070         * stdlib/ucontext.h: Likewise.
84071         * streams/stropts.h: Likewise.
84072         * string/argz.h: Likewise.
84073         * string/bits/string2.h: Likewise.
84074         * string/string.h: Likewise.
84075         * string/strings.h: Likewise.
84076         * sunrpc/rpc/auth.h: Likewise.
84077         * sunrpc/rpc/auth_des.h: Likewise.
84078         * sunrpc/rpc/clnt.h: Likewise.
84079         * sunrpc/rpc/netdb.h: Likewise.
84080         * sunrpc/rpc/pmap_clnt.h: Likewise.
84081         * sunrpc/rpc/xdr.h: Likewise.
84082         * sysdeps/generic/inttypes.h: Likewise.
84083         * sysdeps/generic/net/if.h: Likewise.
84084         * sysdeps/generic/sys/swap.h: Likewise.
84085         * sysdeps/gnu/net/if.h: Likewise.
84086         * sysdeps/gnu/utmpx.h: Likewise.
84087         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
84088         * sysdeps/i386/i486/bits/string.h: Likewise.
84089         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
84090         * sysdeps/s390/bits/string.h: Likewise.
84091         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
84092         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
84093         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
84094         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
84095         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
84096         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
84097         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
84098         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
84099         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
84100         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
84101         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
84102         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
84103         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
84104         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
84105         * sysdeps/unix/sysv/linux/readv.c: Likewise.
84106         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
84107         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
84108         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
84109         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
84110         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
84111         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
84112         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
84113         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
84114         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
84115         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
84116         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
84117         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
84118         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
84119         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
84120         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
84121         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
84122         * sysvipc/sys/ipc.h: Likewise.
84123         * sysvipc/sys/msg.h: Likewise.
84124         * sysvipc/sys/sem.h: Likewise.
84125         * sysvipc/sys/shm.h: Likewise.
84126         * termios/termios.h: Likewise.
84127         * time/sys/time.h: Likewise.
84128         * time/time.h: Likewise.
84129         * wcsmbs/bits/wchar2.h: Likewise.
84130         * wcsmbs/uchar.h: Likewise.
84131         * wcsmbs/wchar.h: Likewise.
84132         * wctype/wctype.h: Likewise.
84134         [BZ #13551]
84135         * Makeconfig: Remove all but ELF support including AIX support.
84136         * Makerules: Likewise.
84137         * config.h.in: Likewise.
84138         * config.make.in: Likewise.
84139         * configure: Likewise.
84140         * configure.in: Likewise.
84141         * csu/Makefile: Likewise.
84142         * csu/version.c: Likewise.
84143         * debug/Makefile: Likewise.
84144         * dlfcn/Makefile: Likewise.
84145         * elf/Makefile: Likewise.
84146         * extra-lib.mk: Likewise.
84147         * iconv/Makefile: Likewise.
84148         * include/libc-symbols.h: Likewise.
84149         * include/shlib-compat.h: Likewise.
84150         * resolv/Makefile: Likewise.
84151         * resolv/res_libc.c: Likewise.
84152         * rt/Makefile: Likewise.
84153         * sysdeps/i386/asm-syntax.h: Likewise.
84154         * sysdeps/i386/sysdep.h: Likewise.
84155         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
84156         * sysdeps/mach/sysdep.h: Likewise.
84157         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
84158         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
84159         * sysdeps/s390/asm-syntax.h: Likewise.
84160         * sysdeps/s390/s390-32/sysdep.h: Likewise.
84161         * sysdeps/s390/s390-64/sysdep.h: Likewise.
84162         * sysdeps/sh/sysdep.h: Likewise.
84163         * sysdeps/unix/sparc/sysdep.h: Likewise.
84164         * sysdeps/wordsize-32/divdi3.c: Likewise.
84165         * sysdeps/x86_64/sysdep.h: Likewise.
84167         * argp/Versions: Remove _argp_unlock_xxx.
84169         [BZ #13559]
84170         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
84171         * abilist/libBrokenLocale.abilist: Likewise.
84172         * abilist/libanl.abilist: Likewise.
84173         * abilist/libc.abilist: Likewise.
84174         * abilist/libcrypt.abilist: Likewise.
84175         * abilist/libdl.abilist: Likewise.
84176         * abilist/libm.abilist: Likewise.
84177         * abilist/libnsl.abilist: Likewise.
84178         * abilist/libpthread.abilist: Likewise.
84179         * abilist/libresolv.abilist: Likewise.
84180         * abilist/librt.abilist: Likewise.
84181         * abilist/libthread_db.abilist: Likewise.
84182         * abilist/libutil.abilist: Likewise.
84183         * abilist/libnss_db.abilist: New file.
84185         * scripts/abilist.awk: Add support for indirect functions.
84187         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
84189         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
84191         * shlib-versions: Remove entries for ports architectures.
84193         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
84194         files in ports.
84195         * elf/stackguard-macros.h: Remove support for IA-64.
84196         * elf/tst-auditmod1.c: Likewise.
84197         * sysdeps/generic/ldsodefs.h: Likewise.
84199         * sysdeps/unix/sysv/linux/configure.in: Ports should define
84200         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
84201         configure files.
84203         [BZ #13552]
84204         * configure.in: Remove --enable-omitfp support.
84205         * FAQ.in: Adjust.
84206         * config.make.in: Likewise.
84207         * Makeconfig: Likewise.
84208         * manual/install.texi: Likewise.
84210         In case anyone cares, the IA-64 architecture could move to ports.
84211         * sysdeps/ia64/*: Removed.
84212         * sysdeps/unix/sysv/linux/ia64/*: Removed.
84213         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
84215         [BZ #13555]
84216         * configure.in: Remove entries for unsupported architectures.
84218         [BZ #13533]
84219         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
84220         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
84221         routines.
84222         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
84223         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
84224         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
84225         fall back to using wcrtomb.
84226         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
84227         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
84228         renaming.
84229         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
84230         * wcsmbs/tst-c16c32-1.c: New file.
84232         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
84233         local variable.
84235         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
84237         * elf/tst-unique3.cc: Add explicit declaration of gets.
84238         * elf/tst-unique3lib.cc: Likewise.
84239         * elf/tst-unique3lib2.cc: Likewise.
84240         * elf/tst-unique4.cc: Likewise.
84242         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
84244 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
84246         [BZ #13566]
84247         * assert/assert.h (static_assert): Don't define for C++.
84248         * libio/stdio.h (gets): Do declare for C++ <= C++11.
84249         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
84251 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
84253         * iconv/loop.c (single loop): Fix assertion in storing of
84254         remaining bytes.
84256         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
84258 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
84260         * posix/getconf.c: Update copyright year.
84261         * nss/getent.c: Likewise.
84262         * nss/makedb.c: Likewise.
84263         * iconv/iconvconfig.c: Likewise.
84264         * iconv/iconv_prog.c: Likewise.
84265         * elf/ldconfig.c: Likewise.
84266         * elf/pldd.c: Likewise.
84267         * elf/sotruss.ksh: Likewise.
84268         * catgets/gencat.c: Likewise.
84269         * csu/version.c: Likewise.
84270         * elf/ldd.bash.in: Likewise.
84271         * elf/sprof.c (print_version): Likewise.
84272         * locale/programs/locale.c: Likewise.
84273         * locale/programs/localedef.c: Likewise.
84274         * login/programs/pt_chown.c: Likewise.
84275         * nscd/nscd.c (print_version): Likewise.
84276         * debug/xtrace.sh: Likewise.
84277         * malloc/memusage.sh: Likewise.
84278         * malloc/mtrace.pl: Likewise.
84279         * debug/catchsegv.sh: Likewise.
84281 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
84283         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
84284         pure attribute.
84286 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
84288         [BZ #13533]
84289         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
84290         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
84291         transformations.
84292         * iconv/gconv_int.h: Likewise.
84293         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
84294         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
84295         from libc for GLIBC_2.16.
84296         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
84297         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
84298         * wcsmbs/uchar.h: Really define mbstate_t.
84299         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
84300         * wcsmbs/c16rtomb.c: New file.
84301         * wcsmbs/mbrtoc16.c: New file.
84302         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
84303         for C/POSIX locale.
84304         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
84305         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
84307         * wcsmbs/wchar.h: Add missing __restrict.
84309 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
84311         [BZ #13532]
84312         * time/Makefile (routines): Add timespec_get.
84313         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
84314         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
84315         timespec for ISO C11.
84316         * time/timespec_get.c: New file.
84317         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
84318         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
84320         [BZ #13531]
84321         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
84322         * stdlib/stdlib.h: Declare aligned_alloc.
84323         * Versions.def: Add GLIBC_2.16 for libc.
84324         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
84326         [BZ 13527]
84327         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
84328         ISO C11.
84330         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
84331         code.
84333         [BZ #13528]
84334         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
84336         [BZ #13529]
84337         * assert/assert.h (static_assert): Define.
84339         * version.h: Update for 2.16 development version.
84341         [BZ #13526]
84342         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
84343         _ISOC11_SOURCE.
84345         * version.h (RELEASE): Bump for 2.15 release.
84346         * include/features.h (__GLIBC_MINOR__): Bump to 15.
84348         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
84349         Patch by Marek Polacek <mpolacek@redhat.com>.
84351         * bits/byteswap.h: Protect long long constants with __extension__.
84352         * sysdeps/i386/bits/byteswap.h: Likewise.
84353         * sysdeps/ia64/bits/byteswap.h: Likewise.
84354         * sysdeps/s390/bits/byteswap.h: Likewise.
84355         * sysdeps/x86_64/bits/byteswap.h: Likewise.
84357 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84359         [BZ #13540]
84360         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
84361         destination buffer.
84362         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
84364 2011-12-23  Marek Polacek  <polacek@redhat.com>
84366         * elf/dl-addr.c (determine_info): Add inline keyword.
84367         * elf/tst-auditmod4b.c (check_avx): Likewise.
84368         * elf/tst-auditmod6b.c (check_avx): Likewise.
84369         * elf/tst-auditmod6c.c (check_avx): Likewise.
84370         * elf/tst-auditmod7b.c (check_avx): Likewise.
84372 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
84374         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
84375         !__SSE_MATH__.
84377 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84379         [BZ #13540]
84380         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
84381         processing for last bytes.
84383 2011-08-06  Bruno Haible  <bruno@clisp.org>
84385         [BZ #13061]
84386         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
84387         U+0385, not to U+1FEE.
84389         [BZ #13062]
84390         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
84391         entry for U+00A5 U+0301.
84393 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
84395         [BZ #13166]
84396         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
84397         buffer for the output is too small.
84399         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
84400         optimization.
84402         [BZ #13185]
84403         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
84404         SSE flags if possible.
84406 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84408         [BZ #13540]
84409         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
84410         processing for last bytes.
84412 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
84414         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
84415         (syscall-list-default-options, syscall-list-default-condition)
84416         (syscall-list-includes): Define.
84417         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
84418         list of ABIs and options and #if conditions for each ABI.  Do not
84419         handle common syscalls between ABIs specially.
84420         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
84421         Remove.
84422         (syscall-list-variants, syscall-list-32bit-options)
84423         (syscall-list-32bit-condition, syscall-list-64bit-options)
84424         (syscall-list-64bit-condition): Define.
84425         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
84426         (syscall-list-variants, syscall-list-32bit-options)
84427         (syscall-list-32bit-condition, syscall-list-64bit-options)
84428         (syscall-list-64bit-condition): Define.
84429         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
84430         Remove.
84431         (syscall-list-variants, syscall-list-32bit-options)
84432         (syscall-list-32bit-condition, syscall-list-64bit-options)
84433         (syscall-list-64bit-condition): Define.
84434         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
84435         Remove.
84436         (syscall-list-variants, syscall-list-32bit-options)
84437         (syscall-list-32bit-condition, syscall-list-64bit-options)
84438         (syscall-list-64bit-condition): Define.
84440 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
84442         * locale/iso-639.def: Add brx entry.
84444         [BZ #13328]
84445         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
84446         Proposed by Mariusz_Cukr <marcukr@op.pl>.
84448         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
84449         __feraiseexcept_renamed.
84451 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
84453         [BZ #13538]
84454         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
84455         EPOLLET with unsigned values.
84456         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
84457         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
84459         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
84460         to large cancellation.
84461         * math/s_cacoshf.c: Likewise.
84462         * math/s_cacoshl.c: Likewise.
84464 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
84466         [BZ #13305]
84467         [BZ #12786]
84468         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
84469         * math/s_cacoshf.c: Likewise.
84470         * math/s_cacoshl.c: Likewise.
84472 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
84474         [BZ #13439]
84475         * iconv/gconv.h: Define __GCONV_SWAP.
84476         * iconvdata/unicode.c: The swap bit must be stored in __flags.
84477         * iconvdata/utf-16.c: Likewise.
84478         * iconvdata/utf-32.c: Likewise.
84480 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
84482         [BZ #13524]
84483         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
84484         numerator after shifting it by one limb.
84486 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
84488         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
84489         under [__USE_EXTERN_INLINES].
84491 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
84493         [BZ #13446]
84494         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
84496 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84498         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
84499         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
84500         optimized code.
84501         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
84502         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
84503         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
84504         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
84505         for strncasecmp/strncasecmp_l compilation.
84506         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
84507         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
84509 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
84511         [BZ #13484]
84512         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
84513         of __asm__.
84515 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
84517         [BZ #13506]
84518         * time/tzfile.c (__tzfile_read): Check values from file header.
84520 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
84522         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
84523         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
84524         * powerpc/powerpc32/dl-start.S: Likewise.
84525         * powerpc/powerpc32/elf/start.S: Likewise.
84526         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
84527         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
84528         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
84529         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
84530         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
84531         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
84532         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
84533         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
84534         * powerpc/powerpc32/fpu/s_round.S: Likewise.
84535         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
84536         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
84537         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
84538         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
84539         * powerpc/powerpc32/memset.S: Likewise.
84540         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
84541         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
84542         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
84543         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
84544         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
84545         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
84546         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
84547         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
84548         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
84549         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
84550         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
84551         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
84552         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
84554 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84556         * math/libm-test.inc: Added more nearbyint tests.
84557         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
84558         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
84559         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
84560         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
84562 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
84564         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
84565         FD_CLOEXEC.
84567 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84569         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
84570         Add wcscpy-ssse3 wcscpy-c.
84571         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
84572         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
84573         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
84574         * sysdeps/x86_64/wcschr.S: New file.
84575         * sysdeps/x86_64/wcsrchr.S: New file.
84576         * string/test-strcmp.c: Remove checking of wcscmp function for
84577         wrong alignments.
84578         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
84579         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
84580         wcsrchr-sse2 wcsrchr-c.
84581         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
84582         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
84583         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
84584         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
84585         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
84586         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
84587         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
84588         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
84589         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
84590         * wcsmbc/wcschr.c (WCSCHR): New macro.
84592 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84594         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
84595         * wcsmbs/test-wcsrchr.c: New file.
84596         * string/test-strrchr.c: Add wcsrchr support.
84597         (WIDE): New macro.
84598         * wcsmbs/test-wcscpy.c: New file.
84599         * string/test-strcpy.c: Add wcscpy support.
84600         (WIDE): New macro.
84602 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
84604         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
84605         the inner loop.
84607 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
84609         [BZ #13472]
84610         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
84612 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
84614         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
84615         Minor optimizations.
84617         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
84618         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
84619         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
84621 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
84623         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
84624         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
84625         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
84626         for gcc to avoid warnings.
84627         * inet/Makefile (tests): Add tst-checks.
84628         * inet/tst-checks.c: New file.
84630         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
84631         warning.
84633         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
84634         __wmemcmp_sse2.
84636         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
84637         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
84639         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
84641 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
84643         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
84644         problem.
84646         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
84648 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
84650         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
84651         conditional on GCC version.
84652         (__arch_compare_and_exchange_val_8_acq)
84653         (__arch_compare_and_exchange_val_16_acq)
84654         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
84655         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
84656         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
84658 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
84660         * sysdeps/sh/backtrace.c: New file.
84662 2011-12-02  Andreas Schwab  <schwab@redhat.com>
84664         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
84665         parenthesis.
84667 2011-12-01  Andreas Schwab  <schwab@redhat.com>
84669         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
84670         falling back to utime.
84672 2011-11-30  Andreas Schwab  <schwab@redhat.com>
84674         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
84675         expectations for float.
84677 2011-11-29  Andreas Schwab  <schwab@redhat.com>
84679         * locale/weight.h (findidx): Add parameter len.
84680         * locale/weightwc.h (findidx): Likewise.
84681         * posix/fnmatch_loop.c (FCT): Adjust caller.
84682         * posix/regcomp.c (build_equiv_class): Likewise.
84683         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
84684         * posix/regexec.c (check_node_accept_bytes): Likewise.
84685         * string/strcoll_l.c (STRCOLL): Likewise.
84686         * string/strxfrm_l.c (STRXFRM): Likewise.
84688 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
84690         * Makefile.in: Remove CVSOPT handling.
84691         * configure.in: Remove use of AC_REVISION.
84692         * iconvdata/Makefile (distribute): No need to filter out CVS.
84693         * scripts/list-sources.sh: Remove CVS, subversion and monotone
84694         handling.
84696 2011-11-16  Andreas Schwab  <schwab@redhat.com>
84698         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
84699         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
84700         [USE_AS_STRNCASECMP_L]: Likewise.
84701         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
84702         NO_TLS_DIRECT_SEG_REFS.
84703         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
84704         Fix argument offsets for non-PIC.
84705         [USE_AS_STRNCASECMP_L]: Likewise.
84706         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
84707         NO_TLS_DIRECT_SEG_REFS.
84709 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
84711         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
84712         O_CLOEXEC.
84713         * locale/loadlocale.c (_nl_load_locale): Likewise.
84715 2011-11-15  Andreas Schwab  <schwab@redhat.com>
84717         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
84718         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
84719         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
84720         (SYSCALL_GETTIME): Set errno on error.
84722         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
84723         count references to noai6ai_cached.
84725 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
84727         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
84729         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
84730         FD_CLOEXEC for /proc/self/maps.
84732         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
84733         FD_CLOEXEC for /proc/meminfo.
84735         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
84736         gai.conf.
84738         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
84739         FD_CLOEXEC for given file.
84741         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
84743         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
84744         FD_CLOEXEC for /etc/hosts.
84745         (_gethtent): Likewise.
84747         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
84749         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
84750         cancellation and set FD_CLOEXEC for /etc/netgroup.
84752         * nss/nss_files/files-key.c (search): Don't allow cancellation when
84753         reading /etc/publickey.
84755         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
84756         allow cancellation when reading /etc/group.
84758         * nss/nss_files/files-alias.c (internal_setent): Don't allow
84759         cancellation.
84760         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
84762         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
84763         when using data file.
84765         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
84767         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
84768         (write_nis_obj): Use "c" and "e" in fopen.
84770         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
84772         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
84774         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
84776         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
84778         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
84779         locale.alias.
84781         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
84783         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
84785         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
84787         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
84788         file parsing and set FD_CLOEXEC.
84790 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
84792         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
84794 2011-11-14  Andreas Schwab  <schwab@redhat.com>
84796         * malloc/arena.c (arena_get2): Don't call reused_arena when
84797         _int_new_arena failed.
84799 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
84801         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
84802         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
84803         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
84804         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
84805         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
84806         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
84807         to compile strcasecmp and strncasecmp.
84808         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
84809         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
84811         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
84813 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
84815         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
84816         locale-defines.sym to gen-as-const-headers.
84817         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
84818         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
84819         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
84820         to compile strcasecmp and strncasecmp.
84821         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
84822         strcasecmp_l and strncasecmp_l.
84823         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
84824         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
84825         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
84826         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
84827         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
84828         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
84829         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
84830         * sysdeps/i386/i686/multiarch/strncase.S: New file.
84831         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
84832         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
84833         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
84835 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
84837         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
84838         result of SYSDEP_GETTIME_CPU to retval.
84839         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
84840         parameter list to macro.  Remove trailing semicolon.  Adjust users.
84842         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
84843         variable.
84845         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
84846         mantissa words.
84847         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
84849         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
84850         from unused variable.
84852         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
84853         DWARF definitions.
84854         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
84855         for assembling.
84857         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
84858         over namespaces.
84860         * sunrpc/rpc_prot.c (rejected): Fix case value.
84862         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
84863         unsigned long long int to avoid warnings in shift.
84865         * posix/regex_internal.c (re_string_reconstruct): Actually use result
84866         of use of trans.
84867         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
84868         variable tmp.
84870         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
84871         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
84872         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
84874         * nis/nis_table.c (nis_list): Use variable of correct type for
84875         result of __follow_path call.
84877 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84879         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
84880         of math functions ceil, trunc, floor, round, and sqrt, when
84881         avaliable on the platform.
84882         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
84883         name clash.
84884         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
84885         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
84886         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
84888 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
84890         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
84891         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
84893 2011-11-11  Roland McGrath  <roland@hack.frob.com>
84895         * include/unistd.h: Fix __readlink return type.
84896         Reported by Chris Metcalf <cmetcalf@tilera.com>.
84898 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
84900         * stdlib/ucontext.h: Undo last change for makecontext.
84902 2011-11-11  Andreas Schwab  <schwab@redhat.com>
84904         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
84906         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
84907         * setjmp/setjmp.h: Mark functions as non-leaf.
84908         * setjmp/bits/setjmp2.h: Likewise.
84909         * stdlib/ucontext.h: Likewise.
84911 2011-11-10  Andreas Schwab  <schwab@redhat.com>
84913         * malloc/arena.c (_int_new_arena): Don't increment narenas.
84914         (reused_arena): Don't check arena limit.
84915         (arena_get2): Atomically check arena limit.
84917 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
84919         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
84920         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
84922         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
84923         instructions.
84925 2011-11-07  Andreas Schwab  <schwab@redhat.com>
84927         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
84928         handler when locking.
84930         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
84931         Fix size of allocated buffer.
84933 2011-11-04  Andreas Schwab  <schwab@redhat.com>
84935         [BZ #10103]
84936         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
84937         declarations for long double functions.
84938         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
84940         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
84942 2011-11-03  Andreas Schwab  <schwab@redhat.com>
84944         * nscd/nscd.c (main): Don't start AVC thread until credentials are
84945         installed.
84947         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
84948         is disabled.
84950 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84952         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
84954 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
84956         * include/alloca.h (stackinfo_alloca_round): Define.
84957         (extend_alloca): Use it.
84958         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
84959         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
84960         here.
84962         * scripts/check-local-headers.sh: Ignore libaudit.h.
84964         * nscd/Makefile (extra-objs): Make recursively expanded.
84966 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
84968         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
84969         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
84971         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
84972         * posix/tst-rfc3484-2.c: Likewise.
84973         * posix/tst-rfc3484-3.c: Likewise.
84975         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
84976         process_vm_writev.
84977         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
84978         process_vm_writev.
84979         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
84980         process_vm_writev from libc using GLIBC_2.15 version.
84982         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
84984 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
84986         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
84987         stack usage.
84989 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
84991         [BZ #13367]
84992         * nss/getent.c (initgroups_keys): Show error message in case no group
84993         names are given.
84995         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
84996         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
84997         __bump_nl_timestamp.
84998         * nscd/connections (nscd_init): When host database is served open
84999         netlink socket and request notification about configuration changes.
85000         (main_loop_poll): Track netlink file descriptor and bump timestamp
85001         in case data becomes available.
85002         (main_loop_epoll): Likewise.
85003         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
85004         (database_pers_head): Add extra_data fileds.
85005         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
85006         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
85007         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
85008         Adjust caller.
85009         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
85010         in6ai data, call __free_in6ai.
85011         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
85012         Add -DHAVE_NETLINK.
85013         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
85014         interface information.  Reuse previous data if netlink timestamp
85015         is not changed.
85016         (__bump_nl_timestamp): New function.
85017         (__free_in6ai): New function.
85019 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
85021         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
85022         close_not_cancel_no_status here.
85023         (__check_pf): Reorganize code a bit to not call close twice if OOM.
85025 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
85027         [BZ #13276]
85028         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
85029         return value.
85031         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
85032         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
85033         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
85035 2011-07-03  Andreas Jaeger  <aj@suse.de>
85037         [BZ #10709]
85038         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
85039         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
85040         * math/libm-test.inc (sin_test): Add test case.
85042 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
85044         [BZ #13337]
85045         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
85046         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
85048         * elf/chroot_canon.c (chroot_canon): Cleanups.
85050         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
85052         [BZ #13335]
85053         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
85054         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
85056         * string/test-strchr.c: Make usable for strchrnul testing.
85057         * string/test-strchrnul.c: New file.
85058         * string/Makefile (strop-tests): Add strchrnul.
85060         * po/it.po: Update from translation team.
85061         * po/es.po: Likewise.
85063 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
85065         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
85066         the three constants needed as parameters.  Drop the others.
85067         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
85068         __m128i_strloadu_tolower.
85069         Create and initialize variable zero and use it in all the places
85070         where _mm_setzero_si128 was used.
85072         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
85073         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
85074         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
85075         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
85076         anymore.
85077         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
85078         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
85079         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
85080         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
85081         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
85082         __mpranred, __mptan.
85083         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
85084         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
85085         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
85086         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
85087         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
85088         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
85089         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
85090         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
85091         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
85093 2011-10-28  Andreas Schwab  <schwab@redhat.com>
85095         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
85096         redefine if SHARED.
85097         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
85099         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
85100         wide char related routines to wcsmbs subdir.
85102 2011-10-27  Andreas Schwab  <schwab@redhat.com>
85104         [BZ #13344]
85105         * misc/sys/cdefs.h (__THROWNL): Define.
85106         * posix/unistd.h: Use __THREADNL instead of __THREAD
85107         for memory synchronization functions.
85109 2011-10-26  Roland McGrath  <roland@hack.frob.com>
85111         [BZ #13349]
85112         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
85113         doesn't exist.
85114         * manual/stdio.texi (Obstack Streams): Node removed.
85116 2011-10-26  Andreas Schwab  <schwab@redhat.com>
85118         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
85119         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
85120         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
85122         * math/math_private.h (math_force_eval): Allow non-addressable
85123         arguments.
85124         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
85126 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
85128         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
85129         file is not needed.
85131         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
85132         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
85133         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
85134         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
85135         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
85136         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
85137         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
85138         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
85139         Add AVX variants.
85140         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
85141         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
85142         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
85143         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
85144         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
85145         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
85146         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
85147         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
85148         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
85149         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
85150         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
85151         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
85152         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
85153         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
85154         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
85155         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
85156         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
85157         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
85158         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
85160         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
85161         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
85163         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
85164         place.  Use VEX encoding when compiling for AVX.
85166 2011-10-25  Andreas Schwab  <schwab@redhat.com>
85168         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
85169         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
85171         * string/test-strchr.c (do_test): Don't generate NUL bytes.
85173 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
85175         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
85176         useless if() expression.
85177         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
85178         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
85179         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
85180         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
85181         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
85182         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
85183         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
85184         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
85185         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
85186         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
85187         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
85188         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
85189         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
85190         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
85191         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
85192         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
85193         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
85194         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
85195         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
85197         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
85199 2011-10-25  Andreas Schwab  <schwab@redhat.com>
85201         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
85202         condition.
85203         * elf/dl-fini.c (_dl_sort_fini): Likewise.
85205 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
85207         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
85208         .text section.  Avoid duplicate constants.
85209         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
85210         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
85211         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
85212         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85213         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
85214         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85215         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85216         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85217         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
85218         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
85219         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
85220         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
85221         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
85222         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
85223         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
85224         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
85225         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
85226         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
85227         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
85228         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
85229         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
85230         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
85231         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
85232         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
85233         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
85234         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
85235         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
85236         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
85237         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
85238         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
85239         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
85240         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
85241         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
85242         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
85243         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
85244         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
85245         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
85246         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
85247         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
85248         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
85249         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
85250         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
85251         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
85252         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
85253         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
85255 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
85257         * sysdeps/x86_64/dla.h: Move to ...
85258         * sysdeps/x86_64/fpu/dla.h: ...here.
85259         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
85260         situations.  Use __builtin_fma only for gcc 4.6 and up.
85262         * config.make.in: Add have-mfma4 entry.
85263         * configure.in: Substitute libc_cv_cc_fma4.
85264         * math/Makefile (dbl-only-routines): Add sincostab.
85265         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
85266         Use __sincostab not sincos.
85267         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
85268         name is a macro.
85269         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
85270         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85271         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85272         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
85273         using __copysign.
85274         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
85275         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
85276         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
85277         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
85278         and __inv.
85279         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
85280         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
85281         __copysign.
85282         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
85283         define aliases when function name is a macro.
85284         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
85285         sysdeps/ieee754/dbl-64/sincos.tbl.
85286         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
85287         fma4-enabled routines.
85288         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
85289         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
85290         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
85291         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
85292         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
85293         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
85294         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
85295         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
85296         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
85297         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
85298         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
85299         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
85300         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
85301         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
85302         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
85303         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
85304         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
85305         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
85306         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
85307         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
85308         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
85309         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
85310         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
85311         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
85312         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
85313         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
85314         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
85315         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
85316         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
85317         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
85319         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
85320         rename.
85321         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
85322         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
85323         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85324         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85325         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85326         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85327         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
85328         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
85330 2011-10-24  Andreas Schwab  <schwab@redhat.com>
85332         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
85334 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
85336         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
85338         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
85339         prediction.
85340         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
85342         * string/strnlen.c: Don't define STRNLEN, reverse logic.
85343         Remove unused variable magic_bits.
85344         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
85346         * string/strnlen.c: Define and use STRNLEN macro.
85347         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
85348         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
85349         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
85350         * wcsmbs/wcslen.c: Define and use WCSLEN.
85351         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
85352         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
85353         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
85354         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
85355         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
85356         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
85357         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
85359 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85361         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85362         strnlen-sse2-no-bsf.
85363         Rename strlen-no-bsf to strlen-sse2-no-bsf.
85364         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
85365         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
85366         Add strnlen support.
85367         (USE_AS_STRNLEN): New macro.
85368         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
85369         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
85370         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
85371         * sysdeps/x86_64/wcslen.S: New file.
85373 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
85375         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
85376         XMM-moves are used for copying on small sizes.
85378 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85380         * wcsmbs/Makefile (strop-tests): Add wcschr.
85381         * wcsmbs/test-wcschr.c: New file.
85382         * string/test-strchr.c: Update.
85383         Add wcschr support.
85384         (WIDE): New macro.
85386 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85388         * wcsmbs/Makefile (strop-tests): Add wcslen.
85389         * wcsmbs/test-wcslen.c: New file.
85390         * string/test-strlen.c: Update.
85391         Add wcslen support.
85392         (WIDE): New macro.
85394 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
85396         * po/it.po: Update from translation team.
85398 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85400         * sysdeps/x86_64/wcscmp.S: Update.
85401         Fix wrong comparison semantics.
85402         wcscmp shall use signed comparison not unsigned.
85403         Don't use substraction to avoid overflow bug.
85404         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
85405         * wcsmbc/wcscmp.c: Likewise.
85406         * string/test-strcmp.c: Likewise.
85407         Add new tests to check cases with negative values.
85409 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
85411         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
85412         * sysdeps/x86_64/dla.h: ...here.  New file.
85413         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
85414         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
85415         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85416         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85417         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85418         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
85419         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85420         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
85421         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
85423 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
85425         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
85426         __ynl_finite aliases.
85428 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
85430         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
85432         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
85433         define DLA_FMA.
85434         [DLA_FMA] (EMULV): Use DLA_FMA.
85435         [DLA_FMA] (MUL12): Use EMULV.
85436         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
85437         that are not needed.
85438         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
85439         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85440         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85441         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85442         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85443         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
85444         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
85446 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
85448         * math/s_nan.c: Undef __nan.
85449         * math/s_nanf.c: Undef __nanf.
85450         * math/s_nanl.c: Undef __nanl.
85451         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
85452         "math_private.h".
85454 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
85456         * math/s_catan.c: Add branch predictions.
85457         * math/s_catanf.c: Likewise.
85458         * math/s_catanh.c: Likewise.
85459         * math/s_catanhf.c: Likewise.
85460         * math/s_catanhl.c: Likewise.
85461         * math/s_catanl.c: Likewise.
85462         * math/s_cexp.c: Likewise.
85463         * math/s_cexpf.c: Likewise.
85464         * math/s_cexpl.c: Likewise.
85465         * math/s_clog.c: Likewise.
85466         * math/s_clog10.c: Likewise.
85467         * math/s_clog10f.c: Likewise.
85468         * math/s_clog10l.c: Likewise.
85469         * math/s_clogf.c: Likewise.
85470         * math/s_clogl.c: Likewise.
85471         * math/s_csqrt.c: Likewise.
85472         * math/s_csqrtf.c: Likewise.
85473         * math/s_csqrtl.c: Likewise.
85474         * math/s_ctanf.c: Likewise.
85475         * math/s_ctanh.c: Likewise.
85476         * math/s_ctanhf.c: Likewise.
85477         * math/s_ctanhl.c: Likewise.
85478         * math/s_ctanl.c: Likewise.
85480         * math/math_private.h: Define __nan, __nanf, __nanl.
85481         * math/s_cacosh.c: Include <math_private.h>.
85482         * math/s_cacoshl.c: Likewise.
85483         * math/s_casinh.c: Likewise.
85484         * math/s_casinhf.c: Likewise.
85485         * math/s_casinhl.c: Likewise.
85486         * math/s_ccos.c: Rely entire on ccosh.
85487         * math/s_ccosf.c: Rely entire on ccoshf.
85488         * math/s_ccosl.c: Rely entirely on ccoshl.
85489         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
85490         Remove tests for FE_INVALID.
85491         * math/s_ccoshf.c: Likewise.
85492         * math/s_ccoshl.c: Likewise.
85493         * math/s_csin.c: Likewise.
85494         * math/s_csinf.c: Likewise.
85495         * math/s_csinh.c Likewise.
85496         * math/s_csinhf.c: Likewise.
85497         * math/s_csinhl.c: Likewise.
85498         * math/s_csinl.c: Likewise.
85499         * math/s_ctan.c: Likewise.
85500         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
85501         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
85502         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
85504 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
85506         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
85507         compilation problems.
85509         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
85510         __builtin_expect.
85512 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
85514         * sysdeps/i386/configure.in: Test for -mfma4 option.
85515         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
85516         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
85517         COMMON_CPUID_INDEX_80000001.
85518         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
85519         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
85520         use it if FMA3 is not supported.
85521         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
85523         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
85524         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
85526 2011-10-20  Andreas Schwab  <schwab@redhat.com>
85528         [BZ #12892]
85529         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
85530         it would create a cycle with a link time dependency.
85532 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
85534         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
85535         instruction.
85536         * string/Makefile (strop-tests): Add rawmemchr.
85537         * string/test-rawmemchr.c: New file.
85539         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
85540         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
85541         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
85542         when compiling str{,n}casecmp and when AVX is available.  Hook up
85543         new optimized code in initializers.
85545 2011-10-19  Andreas Schwab  <schwab@redhat.com>
85547         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
85548         __feraiseexcept instead of feraiseexcept.
85550 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
85552         * math/math_private.h: Define defaults for libc_fetestexcept and
85553         libc_feupdateenv.
85554         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
85555         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
85556         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
85557         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
85558         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
85559         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
85560         libc_fetestexcept and libc_feupdateenv.
85562         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
85563         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
85564         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
85565         * sysdeps/x86_64/fpu/math_private.h: Define special version of
85566         libc_feholdexcept_setround.
85568         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
85569         Add s_nearbyint-c and s_nearbyintf-c.
85570         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
85571         nearbyintf inlines.
85572         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
85573         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
85574         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
85575         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
85577         * math/math_private.h: Define defaults for libc_fegetround,
85578         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
85579         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
85580         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
85581         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
85582         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
85583         standard functions.
85584         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
85585         Remove comments and hacks for old compiler versions.
85586         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
85587         libc_fegetround, libc_fesetround, libc_feholdexcept, and
85588         libc_feholdexceptl.
85590 2011-10-18  Andreas Schwab  <schwab@redhat.com>
85592         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
85593         (__feraiseexcept_renamed): Add __NTH.
85594         (feraiseexcept): Add __NTH.  Rename local variables to fix
85595         namespace violations.
85597 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
85599         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
85601         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
85603         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
85604         recently added interfaces.
85605         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
85607         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
85608         about macro parameter expansion.
85610         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
85611         __NO_MATH_INLINES is defined.  Cleanups.
85613         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
85614         and __floorf is target has SSE4.1.
85615         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
85616         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
85617         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
85618         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
85620         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
85621         name.
85622         (floorf): Likewise.
85624         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
85626 2011-10-17  Andreas Schwab  <schwab@redhat.com>
85628         * misc/sys/cdefs.h: Fix last change.
85630         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
85631         database lookup.
85633 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
85635         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
85637         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
85638         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
85639         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
85640         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
85641         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
85642         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
85643         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
85644         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
85645         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
85646         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
85647         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
85648         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
85649         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
85650         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
85651         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
85652         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
85653         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
85654         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
85655         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
85656         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
85657         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
85658         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
85660         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
85661         ceil, ceilf, floor, floorf.
85663         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
85664         Perform IRELATIVE relocations last.
85666         * elf/do-rel.h: Add another parameter nrelative, replacing the
85667         local variable with the same name.  Change name of the function
85668         to end in Rel or Rela (uppercase).
85669         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
85670         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
85671         elf_dynamic_do_##reloc function.
85673 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
85675         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
85676         is sufficient, at least on modern CPUs.
85678         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
85680         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
85681         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
85683         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
85684         __expl_finite.
85685         * math/bits/math-finite.h: Add entries for exp.
85686         * math/e_expl.c: Add __*_finite alias.
85687         * sysdeps/i386/fpu/e_exp.S: Likewise.
85688         * sysdeps/i386/fpu/e_expf.S: Likewise.
85689         * sysdeps/i386/fpu/e_expl.c: Likewise.
85690         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
85691         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
85692         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
85693         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
85694         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
85695         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
85696         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
85698         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
85699         is sufficient, at least on modern CPUs.
85701         * ctype/ctype-info.c (__ctype_init): Define.
85702         * include/ctype.h (__ctype_init): Declare.
85703         (__ctype_b_loc): The variable is always initialized.
85704         (__ctype_toupper_loc): Likewise.
85705         (__ctype_tolower_loc): Likewise.
85706         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
85707         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
85709 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
85711         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
85713         * configure.in: Also look in $cxxmachine/include for C++ system
85714         headers.
85716 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85718         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
85719         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
85720         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
85721         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
85722         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
85723         (USE_AS_WMEMCMP): New macro.
85724         Fixing indents.
85725         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
85726         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
85727         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
85728         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
85729         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85730         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
85731         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
85732         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
85733         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
85734         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
85735         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
85736         (USE_AS_WMEMCMP): New macro.
85737         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
85738         * sysdeps/string/test-memcmp.c: Update.
85739         Fix simple_wmemcmp.
85740         Add new tests.
85741         * wcsmbs/wmemcmp.c: Update.
85742         (WMEMCMP): New macro.
85743         Fix overflow bug.
85745 2011-10-12  Andreas Jaeger  <aj@suse.de>
85747         [BZ #13268]
85748         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
85750 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
85752         * libio/iofwide.c (do_length): Avoid warning.
85754         * ctype/ctype.h (__isctype_f): Add missing __THROW.
85756 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
85758         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
85760         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
85761         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
85762         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
85763         * sysdeps/i386/i686/fpu/e_log.S: New file.
85764         * sysdeps/i386/i686/fpu/e_logf.S: New file.
85765         * sysdeps/i386/i686/fpu/e_logl.S: New file.
85767         * ctype/ctype.h: Add support for inlined isXXX functions when
85768         compiling C++ code.
85770 2011-10-14  Andreas Schwab  <schwab@redhat.com>
85772         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85774         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
85776 2011-10-13  Roland McGrath  <roland@hack.frob.com>
85778         [BZ #13291]
85779         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
85781 2011-10-13  Andreas Schwab  <schwab@redhat.com>
85783         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
85784         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
85785         feraiseexcept.
85787         * sysdeps/x86_64/memrchr.S: Check for zero size.
85789         * string/stratcliff.c: Add memrchr tests.
85791 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85793         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85794         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
85795         rawmemchr-sse2 rawmemchr-sse2-bsf.
85796         * sysdeps/i386/i686/multiarch/memchr.S: New file.
85797         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
85798         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
85799         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
85800         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
85801         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
85802         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
85803         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
85804         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
85805         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
85806         * string/memrchr.c (MEMRCHR): New macro.
85808 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
85810         Add integration with gcc's -ffinite-math-only and optimize wrapper
85811         functions in libm.
85812         * Versions.def: Define GLIBC_2.15 version for libm.
85813         * math/Makefile (headers): Add bits/math-finite.h.
85814         * math/bits/math-finite.h: New file.
85815         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
85816         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
85817         * math/e_acoshl.c: Add __*_finite alias.
85818         * math/e_acosl.c: Likewise.
85819         * math/e_asinl.c: Likewise.
85820         * math/e_atan2l.c: Likewise.
85821         * math/e_atanhl.c: Likewise.
85822         * math/e_coshl.c: Likewise.
85823         * math/e_exp10.c: Likewise.
85824         * math/e_exp10f.c: Likewise.
85825         * math/e_exp10l.c: Likewise.
85826         * math/e_exp2l.c: Likewise.
85827         * math/e_fmodl.c: Likewise.
85828         * math/e_gammal_r.c: Likewise.
85829         * math/e_hypotl.c: Likewise.
85830         * math/e_j0l.c: Likewise.
85831         * math/e_j1l.c: Likewise.
85832         * math/e_jnl.c: Likewise.
85833         * math/e_lgammal_r.c: Likewise.
85834         * math/e_log10l.c: Likewise.
85835         * math/e_log2l.c: Likewise.
85836         * math/e_logl.c: Likewise.
85837         * math/e_powl.c: Likewise.
85838         * math/e_sinhl.c: Likewise.
85839         * math/e_sqrtl.c: Likewise.
85840         * math/e_scalb.c: Completely rewritten and optimized.
85841         * math/e_scalbf.c: Likewise.
85842         * math/e_scalbl.c: Likewise.
85843         * math/w_acos.c: Likewise.
85844         * math/w_acosf.c: Likewise.
85845         * math/w_acosl.c: Likewise.
85846         * math/w_acosh.c: Likewise.
85847         * math/w_acoshf.c: Likewise.
85848         * math/w_acoshl.c: Likewise.
85849         * math/w_asin.c: Likewise.
85850         * math/w_asinf.c: Likewise.
85851         * math/w_asinl.c: Likewise.
85852         * math/w_atan2.c: Likewise.
85853         * math/w_atan2f.c: Likewise.
85854         * math/w_atan2l.c: Likewise.
85855         * math/w_atanh.c: Likewise.
85856         * math/w_atanhf.c: Likewise.
85857         * math/w_atanhl.c: Likewise.
85858         * math/w_exp10.c: Likewise.
85859         * math/w_exp10f.c: Likewise.
85860         * math/w_exp10l.c: Likewise.
85861         * math/w_fmod.c: Likewise.
85862         * math/w_fmodf.c: Likewise.
85863         * math/w_fmodl.c: Likewise.
85864         * math/w_j0.c: Likewise.
85865         * math/w_j0f.c: Likewise.
85866         * math/w_j0l.c: Likewise.
85867         * math/w_j1.c: Likewise.
85868         * math/w_j1f.c: Likewise.
85869         * math/w_j1l.c: Likewise.
85870         * math/w_jn.c: Likewise.
85871         * math/w_jnf.c: Likewise.
85872         * math/w_log.c: Likewise.
85873         * math/w_logf.c: Likewise.
85874         * math/w_logl.c: Likewise.
85875         * math/w_log10.c: Likewise.
85876         * math/w_log10f.c: Likewise.
85877         * math/w_log10l.c: Likewise.
85878         * math/w_log2.c: Likewise.
85879         * math/w_log2f.c: Likewise.
85880         * math/w_log2l.c: Likewise.
85881         * math/w_pow.c: Likewise.
85882         * math/w_powf.c: Likewise.
85883         * math/w_powl.c: Likewise.
85884         * math/w_remainder.c: Likewise.
85885         * math/w_remainderf.c: Likewise.
85886         * math/w_remainderl.c: Likewise.
85887         * math/w_scalb.c: Likewise.
85888         * math/w_scalbf.c: Likewise.
85889         * math/w_scalbl.c: Likewise.
85890         * math/w_sqrt.c: Likewise.
85891         * math/w_sqrtf.c: Likewise.
85892         * math/w_sqrtl.c: Likewise.
85893         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
85894         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
85895         used.
85896         * math/math_private.h: Declare __kernel_standard_f.
85897         * math/w_cosh.c: Remove cruft and optimize a bit.
85898         * math/w_coshf.c: Likewise.
85899         * math/w_coshl.c: Likewise.
85900         * math/w_exp2.c: Likewise.
85901         * math/w_exp2f.c: Likewise.
85902         * math/w_exp2l.c: Likewise.
85903         * math/w_hypot.c: Likewise.
85904         * math/w_hypotf.c: Likewise.
85905         * math/w_hypotl.c: Likewise.
85906         * math/w_lgamma.c: Likewise.
85907         * math/w_lgamma_r.c: Likewise.
85908         * math/w_lgammaf.c: Likewise.
85909         * math/w_lgammaf_r.c: Likewise.
85910         * math/w_lgammal.c: Likewise.
85911         * math/w_lgammal_r.c: Likewise.
85912         * math/w_sinh.c: Likewise.
85913         * math/w_sinhf.c: Likewise.
85914         * math/w_sinhl.c: Likewise.
85915         * math/w_tgamma.c: Likewise.
85916         * math/w_tgammaf.c: Likewise.
85917         * math/w_tgammal.c: Likewise.
85918         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
85919         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
85920         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
85921         Minor optimizations.  Pretty printing.  Remove cruft.
85922         * sysdeps/i386/fpu/e_acosf.S: Likewise.
85923         * sysdeps/i386/fpu/e_acosh.S: Likewise.
85924         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
85925         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
85926         * sysdeps/i386/fpu/e_acosl.c: Likewise.
85927         * sysdeps/i386/fpu/e_asin.S: Likewise.
85928         * sysdeps/i386/fpu/e_asinf.S: Likewise.
85929         * sysdeps/i386/fpu/e_atan2.S: Likewise.
85930         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
85931         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
85932         * sysdeps/i386/fpu/e_atanh.S: Likewise.
85933         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
85934         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
85935         * sysdeps/i386/fpu/e_exp10.S: Likewise.
85936         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
85937         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
85938         * sysdeps/i386/fpu/e_exp2.S: Likewise.
85939         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
85940         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
85941         * sysdeps/i386/fpu/e_fmod.S: Likewise.
85942         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
85943         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
85944         * sysdeps/i386/fpu/e_hypot.S: Likewise.
85945         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
85946         * sysdeps/i386/fpu/e_log.S: Likewise.
85947         * sysdeps/i386/fpu/e_log10.S: Likewise.
85948         * sysdeps/i386/fpu/e_log10f.S: Likewise.
85949         * sysdeps/i386/fpu/e_log10l.S: Likewise.
85950         * sysdeps/i386/fpu/e_log2.S: Likewise.
85951         * sysdeps/i386/fpu/e_log2f.S: Likewise.
85952         * sysdeps/i386/fpu/e_log2l.S: Likewise.
85953         * sysdeps/i386/fpu/e_logf.S: Likewise.
85954         * sysdeps/i386/fpu/e_logl.S: Likewise.
85955         * sysdeps/i386/fpu/e_pow.S: Likewise.
85956         * sysdeps/i386/fpu/e_powf.S: Likewise.
85957         * sysdeps/i386/fpu/e_powl.S: Likewise.
85958         * sysdeps/i386/fpu/e_remainder.S: Likewise.
85959         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
85960         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
85961         * sysdeps/i386/fpu/e_scalb.S: Likewise.
85962         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
85963         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
85964         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
85965         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
85966         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
85967         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
85968         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
85969         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85970         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
85971         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
85972         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
85973         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
85974         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
85975         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
85976         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
85977         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
85978         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
85979         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85980         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
85981         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
85982         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85983         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
85984         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
85985         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
85986         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85987         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
85988         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
85989         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
85990         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
85991         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
85992         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
85993         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
85994         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
85995         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
85996         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
85997         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
85998         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
85999         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
86000         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
86001         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
86002         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
86003         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
86004         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
86005         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
86006         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
86007         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
86008         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
86009         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
86010         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
86011         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
86012         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
86013         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
86014         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
86015         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
86016         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
86017         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
86018         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
86019         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
86020         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
86021         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
86022         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
86023         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
86024         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
86025         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
86026         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
86027         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
86028         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
86029         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
86030         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
86031         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
86032         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
86033         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
86034         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
86035         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
86036         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
86037         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
86038         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
86039         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
86040         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
86041         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
86042         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
86043         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
86044         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
86045         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
86046         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
86047         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
86048         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
86049         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
86050         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
86051         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
86052         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
86053         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
86054         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
86055         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
86056         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
86057         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
86058         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
86059         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
86060         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
86061         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
86062         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
86063         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
86064         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
86065         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
86066         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
86067         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
86068         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
86069         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
86070         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
86071         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
86072         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
86073         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
86074         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
86075         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
86076         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
86077         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
86078         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
86079         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
86080         (__isnanf): Likewise.
86081         (__isinf_ns): Likewise.
86082         (__isinf_nsf): Likewise.
86083         (__finite): Likewise.
86084         (__finitef): Likewise.
86085         (__ieee754_sqrt): Define as macro.
86086         (__ieee754_sqrtf): Define as macro.
86087         (__ieee754_sqrtl): Define as macro.
86088         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
86089         inlined copy.
86090         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
86091         __FINITE_MATH_ONLY__ consistent.
86092         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
86094 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
86096         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
86097         of rawmemchr.
86099         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
86101 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
86103         * po/ja.po: Update from translation team.
86105 2011-10-08  Roland McGrath  <roland@hack.frob.com>
86107         * locale/programs/locarchive.c (prepare_address_space): New function.
86108         (create_archive, enlarge_archive, open_archive): Use it.
86110         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
86111         inside [SHARED], where it is used.
86113         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
86115         * nss/getent.c (netgroup_keys): Remove unused variable.
86116         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
86118 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
86120         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
86121         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
86122         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
86123         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
86124         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
86125         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
86126         * math/Makefile (libm-calls): Add s_isinf_ns.
86127         * math/divtc3.c: Use __isinf_nsl instead of isinf.
86128         * math/multc3.c: Likewise.
86129         * math/s_casin.c: Likewise.
86130         * math/s_casinf.c: Likewise.
86131         * math/s_casinl.c: Likewise.
86132         * math/s_ccos.c: Likewise.
86133         * math/s_ccosf.c: Likewise.
86134         * math/s_ccosl.c: Likewise.
86135         * math/s_ctan.c: Likewise.
86136         * math/s_ctanf.c: Likewise.
86137         * math/s_ctanh.c: Likewise.
86138         * math/s_ctanhf.c: Likewise.
86139         * math/s_ctanhl.c: Likewise.
86140         * math/s_ctanl.c: Likewise.
86141         * math/w_fmod.c: Likewise.
86142         * math/w_fmodf.c: Likewise.
86143         * math/w_fmodl.c: Likewise.
86144         * math/w_remainder.c: Likewise.
86145         * math/w_remainderf.c: Likewise.
86146         * math/w_remainderl.c: Likewise.
86147         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
86148         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
86149         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
86150         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
86151         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
86152         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
86153         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
86154         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
86156         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
86157         of the number.
86158         * stdio-common/printf_fphex.c: Likewise.
86159         * stdio-common/printf_size.c: Likewise.
86161         * math/e_exp10.c: Include math_private.h using <...> not "...".
86162         * math/e_exp10f.c: Likewise.
86163         * math/e_exp10l.c: Likewise.
86164         * math/e_exp2l.c: Likewise.
86165         * math/e_j0l.c: Likewise.
86166         * math/e_j1l.c: Likewise.
86167         * math/e_jnl.c: Likewise.
86168         * math/e_lgammal_r.c: Likewise.
86169         * math/e_rem_pio2l.c: Likewise.
86170         * math/e_scalb.c: Likewise.
86171         * math/e_scalbf.c: Likewise.
86172         * math/e_scalbl.c: Likewise.
86173         * math/k_cosl.c: Likewise.
86174         * math/k_sinl.c: Likewise.
86175         * math/k_tanl.c: Likewise.
86176         * math/s_cacoshf.c: Likewise.
86177         * math/s_catan.c: Likewise.
86178         * math/s_catanf.c: Likewise.
86179         * math/s_catanh.c: Likewise.
86180         * math/s_catanhf.c: Likewise.
86181         * math/s_catanhl.c: Likewise.
86182         * math/s_catanl.c: Likewise.
86183         * math/s_ccosh.c: Likewise.
86184         * math/s_ccoshf.c: Likewise.
86185         * math/s_ccoshl.c: Likewise.
86186         * math/s_cexp.c: Likewise.
86187         * math/s_cexpf.c: Likewise.
86188         * math/s_cexpl.c: Likewise.
86189         * math/s_clog.c: Likewise.
86190         * math/s_clog10.c: Likewise.
86191         * math/s_clog10f.c: Likewise.
86192         * math/s_clog10l.c: Likewise.
86193         * math/s_clogf.c: Likewise.
86194         * math/s_clogl.c: Likewise.
86195         * math/s_csin.c: Likewise.
86196         * math/s_csinf.c: Likewise.
86197         * math/s_csinh.c: Likewise.
86198         * math/s_csinhf.c: Likewise.
86199         * math/s_csinhl.c: Likewise.
86200         * math/s_csinl.c: Likewise.
86201         * math/s_csqrt.c: Likewise.
86202         * math/s_csqrtf.c: Likewise.
86203         * math/s_csqrtl.c: Likewise.
86204         * math/s_ctan.c: Likewise.
86205         * math/s_ctanf.c: Likewise.
86206         * math/s_ctanh.c: Likewise.
86207         * math/s_ctanhf.c: Likewise.
86208         * math/s_ctanhl.c: Likewise.
86209         * math/s_ctanl.c: Likewise.
86210         * math/s_ldexp.c: Likewise.
86211         * math/s_ldexpf.c: Likewise.
86212         * math/s_ldexpl.c: Likewise.
86213         * math/s_significand.c: Likewise.
86214         * math/s_significandf.c: Likewise.
86215         * math/s_significandl.c: Likewise.
86216         * math/w_acos.c: Likewise.
86217         * math/w_acosf.c: Likewise.
86218         * math/w_acosh.c: Likewise.
86219         * math/w_acoshf.c: Likewise.
86220         * math/w_acoshl.c: Likewise.
86221         * math/w_acosl.c: Likewise.
86222         * math/w_asin.c: Likewise.
86223         * math/w_asinf.c: Likewise.
86224         * math/w_asinl.c: Likewise.
86225         * math/w_atan2.c: Likewise.
86226         * math/w_atan2f.c: Likewise.
86227         * math/w_atan2l.c: Likewise.
86228         * math/w_atanh.c: Likewise.
86229         * math/w_atanhf.c: Likewise.
86230         * math/w_atanhl.c: Likewise.
86231         * math/w_cosh.c: Likewise.
86232         * math/w_coshf.c: Likewise.
86233         * math/w_coshl.c: Likewise.
86234         * math/w_dremf.c: Likewise.
86235         * math/w_exp10.c: Likewise.
86236         * math/w_exp10f.c: Likewise.
86237         * math/w_exp10l.c: Likewise.
86238         * math/w_exp2.c: Likewise.
86239         * math/w_exp2f.c: Likewise.
86240         * math/w_fmod.c: Likewise.
86241         * math/w_fmodf.c: Likewise.
86242         * math/w_fmodl.c: Likewise.
86243         * math/w_hypot.c: Likewise.
86244         * math/w_hypotf.c: Likewise.
86245         * math/w_hypotl.c: Likewise.
86246         * math/w_j0.c: Likewise.
86247         * math/w_j0f.c: Likewise.
86248         * math/w_j0l.c: Likewise.
86249         * math/w_j1.c: Likewise.
86250         * math/w_j1f.c: Likewise.
86251         * math/w_j1l.c: Likewise.
86252         * math/w_jn.c: Likewise.
86253         * math/w_jnf.c: Likewise.
86254         * math/w_jnl.c: Likewise.
86255         * math/w_lgamma.c: Likewise.
86256         * math/w_lgamma_r.c: Likewise.
86257         * math/w_lgammaf.c: Likewise.
86258         * math/w_lgammaf_r.c: Likewise.
86259         * math/w_lgammal.c: Likewise.
86260         * math/w_lgammal_r.c: Likewise.
86261         * math/w_log.c: Likewise.
86262         * math/w_log10.c: Likewise.
86263         * math/w_log10f.c: Likewise.
86264         * math/w_log10l.c: Likewise.
86265         * math/w_log2.c: Likewise.
86266         * math/w_log2f.c: Likewise.
86267         * math/w_log2l.c: Likewise.
86268         * math/w_logf.c: Likewise.
86269         * math/w_logl.c: Likewise.
86270         * math/w_pow.c: Likewise.
86271         * math/w_powf.c: Likewise.
86272         * math/w_powl.c: Likewise.
86273         * math/w_remainder.c: Likewise.
86274         * math/w_remainderf.c: Likewise.
86275         * math/w_remainderl.c: Likewise.
86276         * math/w_scalb.c: Likewise.
86277         * math/w_scalbf.c: Likewise.
86278         * math/w_scalbl.c: Likewise.
86279         * math/w_sinh.c: Likewise.
86280         * math/w_sinhf.c: Likewise.
86281         * math/w_sinhl.c: Likewise.
86282         * math/w_sqrt.c: Likewise.
86283         * math/w_sqrtf.c: Likewise.
86284         * math/w_sqrtl.c: Likewise.
86285         * math/w_tgamma.c: Likewise.
86286         * math/w_tgammaf.c: Likewise.
86287         * math/w_tgammal.c: Likewise.
86289         * po/ja.po: Update from translation team.
86291 2011-09-29  Andreas Jaeger  <aj@suse.de>
86293         [BZ #13179]
86294         * sunrpc/netname.c (netname2host): Fix logic.
86296         [BZ #6779]
86297         [BZ #6783]
86298         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
86299         correctly.
86300         * math/w_remainder.c (__remainder): Likewise.
86301         * math/w_remainderf.c (__remainderf): Likewise.
86302         * math/libm-test.inc (remainder_test): Add test cases.
86304 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86306         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
86307         sdiv_qrnnd.
86309 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
86311         * string/test-memcmp.c: Avoid unncessary #defines.
86312         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
86314 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86316         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
86317         Use new sse2 version for core i3 - i7 as it's faster
86318         than sse42 version.
86319         (bit_Prefer_PMINUB_for_stringop): New.
86320         * sysdeps/x86_64/rawmemchr.S: Update.
86321         Replace with faster SSE2 version.
86322         * sysdeps/x86_64/memrchr.S: New file.
86323         * sysdeps/x86_64/memchr.S: Update.
86324         Replace with faster SSE2 version.
86326 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
86328         * elf/dl-load.c (lose): Add cast to avoid warning.
86330 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
86332         * po/ca.po: Update from translation team.
86334         * inet/getnetgrent_r.c: Hook up nscd.
86335         * nscd/Makefile (routines): Add nscd_netgroup.
86336         (nscd-modules): Add netgroupcache.
86337         (CFLAGS-netgroupcache.c): Define.
86338         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
86339         (cache_search): Add const to second parameter.
86340         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
86341         INNETGR.
86342         (dbs): Add netgrdb entry.
86343         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
86344         (verify_persistent_db): Handle netgrdb.
86345         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
86346         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
86347         GETFDNETGR.
86348         (netgroup_response_header): Define.
86349         (innetgroup_response_header): Define.
86350         (datahead): Add netgroup_response_header and innetgroup_response_header
86351         elements.
86352         * nscd/nscd.conf: Add entries for netgroup cache.
86353         * nscd/nscd.h (dbtype): Add netgrdb.
86354         (_PATH_NSCD_NETGROUP_DB): Define.
86355         (netgroup_iov_disabled): Declare.
86356         (xmalloc, xcalloc, xrealloc): Move declarations here.
86357         (cache_search): Adjust prototype.
86358         Add netgroup-related prototypes.
86359         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
86360         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
86361         (__nscd_innetgr): Declare.
86362         * nscd/selinux.c (perms): Use access_vector_t as element type and
86363         add netgroup-related initializers.
86364         * nscd/netgroupcache.c: New file.
86365         * nscd/nscd_netgroup.c: New file.
86366         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
86367         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
86368         For four parameters use innetgr.
86369         * nss/nss_files/files-init.c: Add definition and callback for netgr.
86370         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
86371         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
86372         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
86374         * nscd/connections.c (register_traced_file): Don't register file
86375         for disabled databases.
86377 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
86379         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
86381         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
86382         from tree and freeing node.
86384 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
86386         * nss/nsswitch.c (__nss_database_lookup): Handle
86387         nss_parse_service_list out of memory case.
86389 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
86391         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
86392         out of memory case.
86394 2011-10-04  Andreas Schwab  <schwab@redhat.com>
86396         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
86397         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
86398         pass it down.
86399         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
86400         elf_machine_rela, elf_machine_lazy_rel.
86401         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
86402         (ELF_DYNAMIC_DO_REL): Likewise.
86403         (ELF_DYNAMIC_DO_RELA): Likewise.
86404         (ELF_DYNAMIC_RELOCATE): Likewise.
86405         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
86406         to ELF_DYNAMIC_DO_REL.
86407         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
86408         (dl_main): In trace mode always set __RTLD_NOIFUNC.
86409         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
86410         elf_machine_rela.
86411         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
86412         skip_ifunc, don't call ifunc function if non-zero.
86413         (elf_machine_rela): Likewise.
86414         (elf_machine_lazy_rel): Likewise.
86415         (elf_machine_lazy_rela): Likewise.
86416         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
86417         (elf_machine_lazy_rel): Likewise.
86418         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
86419         Likewise.
86420         (elf_machine_lazy_rel): Likewise.
86421         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
86422         Likewise.
86423         (elf_machine_lazy_rel): Likewise.
86424         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
86425         (elf_machine_lazy_rel): Likewise.
86426         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
86427         (elf_machine_lazy_rel): Likewise.
86428         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
86429         (elf_machine_lazy_rel): Likewise.
86430         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
86431         (elf_machine_lazy_rel): Likewise.
86432         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
86433         (elf_machine_lazy_rel): Likewise.
86434         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
86435         (elf_machine_lazy_rel): Likewise.
86437 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
86439         * nss/nss_files/files-init.c (_nss_files_init): Use static
86440         initialization for all the *_traced_file variables.
86442 2011-09-28  Andreas Schwab  <schwab@redhat.com>
86444         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
86446 2011-09-27  Roland McGrath  <roland@hack.frob.com>
86448         [BZ #13226]
86449         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
86451 2011-09-27  Andreas Schwab  <schwab@redhat.com>
86453         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
86454         Reread the line before reparsing it.
86456 2011-09-26  Andreas Schwab  <schwab@redhat.com>
86458         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
86460 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
86461             Maxim Kuvyrkov  <maxim@codesourcery.com>
86462             Joseph Myers  <joseph@codesourcery.com>
86464         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
86465         if needed for __stack_chk_guard.
86467 2011-09-19  Roland McGrath  <roland@hack.frob.com>
86469         * sysdeps/posix/spawni.c (script_execute): Always define it.
86470         It will be optimized away if unused.
86471         (maybe_script_execute): New function.
86472         (__spawni): Call it.
86474         * Makerules: Don't include tls.make.
86475         (config-tls): Always set to thread.
86476         * tls.make.c: File removed.
86478 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
86480         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
86481         * config.make.in (CPPFLAGS-config): New substituted variable.
86483 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
86485         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
86487         [BZ #13192]
86488         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
86489         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
86491 2011-09-15  Roland McGrath  <roland@hack.frob.com>
86493         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
86494         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
86495         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
86496         (CALL_FAIL): Likewise.
86497         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
86498         (CALL_FAIL): Macro removed.
86499         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
86501 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
86503         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
86504         for __FINITE_MATH_ONLY__ == 1.
86506 2011-09-15  Andreas Schwab  <schwab@redhat.com>
86508         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
86509         __ieee754_sqrt instead of sqrt.
86510         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
86511         __ieee754_sqrtf instead of sqrtf.
86512         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
86513         __floorf instead of floorf.
86514         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
86515         __floorf, __truncf instead of floorf, truncf.
86517 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
86519         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
86521         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
86522         __extern_always_inline.
86523         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
86524         32-bit.
86526 2011-09-14  Andreas Schwab  <schwab@redhat.com>
86528         * elf/rtld.c (dl_main): Also relocate in dependency order when
86529         doing symbol dependency testing.
86531 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
86533         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
86534         Always define `refsym'.
86536 2011-09-13  Andreas Schwab  <schwab@redhat.com>
86538         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
86539         (__FD_ELT): Renamed from __FDELT.
86540         * misc/bits/select2.h (__FD_ELT): Likewise.
86541         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
86542         __FD_MASK instead of __FDELT, __FDMASK.
86543         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
86544         Likewise.
86545         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
86546         Likewise.
86548         * elf/Makefile (gen-ldd): Fix pattern.
86550         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
86551         (init_tls): Likewise.
86553 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
86555         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
86557 2011-09-12  Andreas Schwab  <schwab@redhat.com>
86559         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
86560         `struct cmsghdr *' instead of `void *'.
86561         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
86562         Likewise.
86564 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
86566         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
86567         if non-absolute.
86568         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
86569         ldd_rewrite_script.
86571 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
86573         * configure.in: Remove --with-tls option.
86574         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
86575         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
86576         out in case it is missing.
86577         * sysdeps/ia64/elf/configure.in: Likewise.
86578         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
86579         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
86580         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
86581         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
86582         * sysdeps/sh/elf/configure.in: Likewise.
86583         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
86584         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
86585         * sysdeps/x86_64/elf/configure.in: Likewise.
86586         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
86587         * sysdeps/mach/hurd/tls.h: Likewise.
86589         [BZ #13067]
86590         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
86592         [BZ #13090]
86593         * configure.in: Fix use of AC_INIT.
86595         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
86597 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
86599         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
86600         __set_errno.
86601         * malloc/hooks.c: Likewise.
86603         [BZ #11929]
86604         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
86605         variables statically.
86606         (narenas): Initialize.
86607         (list_lock): Initialize.
86608         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
86609         initializtion of main_arena and list_lock.  Small cleanups.
86610         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
86611         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
86612         Add initializers to main_arena and mp_.
86613         (malloc_state): Remove pagesize member.  Change all users to use
86614         GLRO(dl_pagesize).
86616         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
86617         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
86618         is always initialized.
86620         * malloc/malloc.c: Removed unused configurations and dead code.
86621         * malloc/arena.c: Likewise.
86622         * malloc/hooks.c: Likewise.
86623         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
86625         * include/tls.h: Removed.  USE___THREAD must always be defined.
86626         * bits/libc-tsd.h: Don't handle !USE___THREAD.
86627         * elf/dl-libc.c: Likewise.
86628         * elf/dl-tsd.c: Likewise.
86629         * include/errno.h: Likewise.
86630         * include/netdb.h: Likewise.
86631         * include/resolv.h: Likewise.
86632         * inet/herrno-loc.c: Likewise.
86633         * inet/herrno.c: Likewise.
86634         * malloc/arena.c: Likewise.
86635         * malloc/hooks.c: Likewise.
86636         * malloc/malloc.c: Likewise.
86637         * resolv/res-state.c: Likewise.
86638         * resolv/res_libc.c: Likewise.
86639         * sysdeps/i386/dl-machine.h: Likewise.
86640         * sysdeps/ia64/dl-machine.h: Likewise.
86641         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
86642         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
86643         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
86644         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
86645         * sysdeps/sh/dl-machine.h: Likewise.
86646         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
86647         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
86648         * sysdeps/unix/i386/sysdep.S: Likewise.
86649         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
86650         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
86651         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
86652         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
86653         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
86654         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
86655         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
86656         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
86657         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
86658         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
86659         * sysdeps/unix/x86_64/sysdep.S: Likewise.
86660         * sysdeps/x86_64/dl-machine.h: Likewise.
86661         * tls.make.c: Likewise.
86663         * configure.in: Remove --with-__thread option.  Make tests for
86664         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
86665         tls_model attribute fail if no support is available.  Remove
86666         USE_IN_LIBIO.
86667         * Makeconfig: Adjust for dropped configure option.  All features are
86668         now mandatory.
86669         * Makerules: Likewise.
86670         * Versions.def: Likewise.
86671         * argp/argp-fmtstream.c: Likewise.
86672         * argp/argp-fmtstream.h: Likewise.
86673         * argp/argp-help.c: Likewise.
86674         * assert/assert.c: Likewise.
86675         * config.h.in: Likewise.
86676         * config.make.in: Likewise.
86677         * configure: Likewise.
86678         * configure.in: Likewise.
86679         * csu/Versions: Likewise.
86680         * csu/init.c: Likewise.
86681         * elf/tst-audit2.c: Likewise.
86682         * elf/tst-tls10.c: Likewise.
86683         * elf/tst-tls10.h: Likewise.
86684         * elf/tst-tls11.c: Likewise.
86685         * elf/tst-tls12.c: Likewise.
86686         * elf/tst-tls14.c: Likewise.
86687         * elf/tst-tlsmod11.c: Likewise.
86688         * elf/tst-tlsmod12.c: Likewise.
86689         * elf/tst-tlsmod13.c: Likewise.
86690         * elf/tst-tlsmod13a.c: Likewise.
86691         * elf/tst-tlsmod14a.c: Likewise.
86692         * elf/tst-tlsmod15b.c: Likewise.
86693         * elf/tst-tlsmod16a.c: Likewise.
86694         * elf/tst-tlsmod16b.c: Likewise.
86695         * elf/tst-tlsmod7.c: Likewise.
86696         * elf/tst-tlsmod8.c: Likewise.
86697         * elf/tst-tlsmod9.c: Likewise.
86698         * gmon/gmon.c: Likewise.
86699         * grp/fgetgrent_r.c: Likewise.
86700         * grp/putgrent.c: Likewise.
86701         * hurd/fopenport.c: Likewise.
86702         * include/libc-symbols.h: Likewise.
86703         * include/tls.h: Likewise.
86704         * intl/gettextP.h: Likewise.
86705         * intl/loadinfo.h: Likewise.
86706         * locale/global-locale.c: Likewise.
86707         * locale/localeinfo.h: Likewise.
86708         * mach/devstream.c: Likewise.
86709         * malloc/arena.c: Likewise.
86710         * malloc/set-freeres.c: Likewise.
86711         * misc/err.c: Likewise.
86712         * misc/getttyent.c: Likewise.
86713         * misc/mntent_r.c: Likewise.
86714         * posix/getopt.c: Likewise.
86715         * posix/wordexp.c: Likewise.
86716         * pwd/fgetpwent_r.c: Likewise.
86717         * resolv/Versions: Likewise.
86718         * resolv/res_hconf.c: Likewise.
86719         * shadow/fgetspent_r.c: Likewise.
86720         * shadow/putspent.c: Likewise.
86721         * stdio-common/printf_fphex.c: Likewise.
86722         * stdio-common/tmpfile.c: Likewise.
86723         * stdlib/abort.c: Likewise.
86724         * stdlib/fmtmsg.c: Likewise.
86725         * sunrpc/auth_unix.c: Likewise.
86726         * sunrpc/clnt_perr.c: Likewise.
86727         * sunrpc/clnt_tcp.c: Likewise.
86728         * sunrpc/clnt_udp.c: Likewise.
86729         * sunrpc/clnt_unix.c: Likewise.
86730         * sunrpc/openchild.c: Likewise.
86731         * sunrpc/svc_simple.c: Likewise.
86732         * sunrpc/svc_tcp.c: Likewise.
86733         * sunrpc/svc_udp.c: Likewise.
86734         * sunrpc/svc_unix.c: Likewise.
86735         * sunrpc/xdr.c: Likewise.
86736         * sunrpc/xdr_array.c: Likewise.
86737         * sunrpc/xdr_rec.c: Likewise.
86738         * sunrpc/xdr_ref.c: Likewise.
86739         * sunrpc/xdr_stdio.c: Likewise.
86741 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
86743         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
86745 2011-07-03  Andreas Jaeger  <aj@suse.de>
86747         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
86748         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
86749         regenerate with gen-libm-tests.pl.
86751 2010-05-12  Petr Baudis  <pasky@suse.cz>
86753         [BZ #11589]
86754         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
86755         around j0() zero points by switching to j1().
86756         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
86757         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
86758         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
86759         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
86761 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
86763         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
86764         instead of 0.
86765         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
86766         instead of 0.
86767         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
86768         Patch in part by Pavel Roskin <proski@gnu.org>.
86770         [BZ #13138]
86771         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
86772         realloc.
86773         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
86774         Free memory block if necessary.
86776         [BZ #12847]
86777         * libio/genops.c (INTDEF): For string streams the _lock pointer can
86778         be NULL.  Don't lock in this case.
86780 2011-09-09  Roland McGrath  <roland@hack.frob.com>
86782         * elf/elf.h (ELFOSABI_GNU): New macro.
86783         (ELFOSABI_LINUX): Define to that.
86785 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
86787         * string/strncat.c (strncat): Undef the symbol in case it has been
86788         defined in bits/string.h.
86790 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
86792         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
86794         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
86795         link map.
86797 2011-08-17  Andreas Jaeger  <aj@suse.de>
86799         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
86801 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
86802             Ian Lance Taylor  <iant@google.com>
86804         * math/libm-test.inc (lround_test): New testcase.
86805         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
86807 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
86809         * Makefile: Remove support for automatic cvs check-ins.
86810         * Makerules: Likewise.
86811         * config.make.in: Likewise.
86812         * configure.in: Likewise.
86813         * intl/Makefile: Likewise.
86814         * locale/Makefile: Likewise.
86815         * po/Makefile: Likewise.
86816         * posix/Makefile: Likewise.
86817         * sysdeps/gnu/Makefile: Likewise.
86818         * sysdeps/mach/hurd/Makefile: Likewise.
86819         * sysdeps/sparc/sparc32/Makefile: Likewise.
86821         [BZ #13118]
86822         * posix/Makefile (bug-regex32-ENV): Define.
86823         Patch by John Stanley <jpsinthemix@verizon.net>.
86825         * misc/Makefile (headers): Add bits/select2.h.
86826         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
86827         * misc/bits/select2.h: New file.
86828         * include/bits/select2.h: New file.
86829         * debug/Makefile (routines): Add fdelt_chk.
86830         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
86831         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
86832         FD_ISSET.
86833         * debug/fdelt_chk.c: New file.
86835         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
86836         * wcsmbs/test-wmemcmp.c: Likewise.
86837         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
86838         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
86840 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86842         * string/Makefile (strop-tests): Add memcmp.
86843         * string/test-wmemcmp.c: New file.
86844         * string/test-memcmp.c: Add wmemcmp support.
86846 2011-09-08  Roland McGrath  <roland@hack.frob.com>
86848         [BZ #13153]
86849         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
86850         2011-07-19 change.
86852         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
86853         garbage value in a __mach_port_mod_refs call in the cases of the
86854         task-self and thread-self ports.
86856 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86858         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
86860 2011-09-08  Andreas Schwab  <schwab@redhat.com>
86862         * elf/dl-load.c (lose): Check for non-null L.
86864 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
86866         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
86868         * elf/dl-libc.c (dlerror_run): Pass back error code from
86869         dl_catch_error.
86871         [BZ #13123]
86872         * elf/dl-load.c (lose): Free l_origin if it is valid.
86874         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
86875         names.
86876         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
86877         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
86878         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
86879         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
86880         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
86881         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
86883 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86885         * sysdeps/powerpc/fpu/e_hypot.c: New file.
86886         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
86887         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
86888         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
86889         * sysdeps/powerpc/fpu/k_cosf.c: New file.
86890         * sysdeps/powerpc/fpu/k_sinf.c: New file.
86891         * sysdeps/powerpc/fpu/s_cosf.c: New file.
86892         * sysdeps/powerpc/fpu/s_sinf.c: New file.
86893         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
86894         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
86896 2011-08-15  Alan Modra  <amodra@gmail.com>
86898         [BZ #13092]
86899         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
86900         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
86901         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
86902         ppc_mcount to static-only-routines.
86903         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
86904         __mcount_internal.
86905         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
86906         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
86908 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
86910         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
86911         for finite and infinity parameters.
86913 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
86915         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
86916         and add nop instructions for throughput optimization.
86917         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
86919 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
86921         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
86922         aligned copy for power7 with vector-scalar instructions.
86923         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
86925 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
86927         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
86928         AVX check.
86930 2011-09-07  Andreas Schwab  <schwab@redhat.com>
86932         [BZ #13144]
86933         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
86934         last change.
86936 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
86938         * sysdeps/unix/sysv/linux/x86_64/init-first.c
86939         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
86940         syscall wrapper around clock_gettime in __vdso_clock_gettime.
86941         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
86942         clock_gettime.
86944 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
86946         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
86947         Forgot to demangle the pointer.
86949         * sysdeps/i386/sysdep.h: Define atom_text_section.
86950         * sysdeps/x86_64/sysdep.h: Likewise.
86951         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
86952         section with atom_text_section.
86953         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
86954         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
86955         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
86956         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
86957         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
86959         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
86960         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
86961         already be defined.  Change to take two parameters and don't assign
86962         result to variable.  Adjust all users.
86963         Define INTERNAL_GETTIME if not already defined.
86964         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
86965         call.
86966         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
86967         HAVE_CLOCK_GETTIME_VSYSCALL.
86968         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
86970         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
86971         gettimeofday vsyscall, just use time.
86973 2011-09-06  Andreas Schwab  <schwab@redhat.com>
86975         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
86976         <errno.h>.
86978 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
86980         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
86981         syscall on x86-64.
86982         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
86983         syscall.
86984         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
86985         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
86986         syscall if possible.
86988 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
86990         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
86991         e_ident.  Don't pass to find_mapsXX.
86992         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
86994 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86996         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86997         strchr-sse2-no-bsf strrchr-sse2-no-bsf
86998         * sysdeps/x86_64/multiarch/strchr.S: Update.
86999         Check bit_slow_BSF bit.
87000         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
87001         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
87002         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
87004 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
87006         [BZ #13134]
87007         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
87008         before glibc 2.15.
87009         (tryshell): Define.
87010         (__spawni): Change last parameter to be flag.  Test
87011         SPAWN_XFLAGS_USE_PATH flag to use path or not.
87012         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
87013         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
87014         * posix/spawni.c: Likewise.
87015         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
87016         * posix/spawnp.c: Likewise.  Change normal version to use
87017         SPAWN_XFLAGS_USE_PATH.
87018         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
87019         SPAWN_XFLAGS_TRY_SHELL.
87021         [BZ #13150]
87022         * posix/glob.h: Remove gcc 1.x support.
87024         [BZ #13068]
87025         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
87027 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
87029         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87030         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
87031         strrchr-sse2-bsf
87032         * sysdeps/i386/i686/multiarch/strchr.S: New file.
87033         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
87034         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
87035         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
87036         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
87037         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
87039 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87041         * sysdeps/x86_64/wcscmp.S: New file.
87043         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
87044         wcscmp-c wcscmp-sse2
87045         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
87046         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
87047         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
87048         * wcsmbs/wcscmp.c: Allow renaming.
87050 2011-09-05  David S. Miller  <davem@davemloft.net>
87052         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
87053         stack slot, rather than the struct return pointer slot.
87054         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
87055         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
87056         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
87057         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
87059 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
87061         * po/ja.po: Update from translation team.
87063         [BZ #13144]
87064         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
87065         kernel in 64-bit binaries.
87067 2011-09-01  David S. Miller  <davem@davemloft.net>
87069         * elf/elf.h (HWCAP_SPARC_*): Move to..
87070         * sysdeps/sparc/sysdep.h: this new file and add new values.
87071         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
87072         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
87073         _DL_HWCAP_COUNT to 24.
87074         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
87075         entries.
87076         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
87077         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
87078         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
87079         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
87080         instead of magic constants.
87081         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
87083 2011-08-31  David S. Miller  <davem@davemloft.net>
87085         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
87086         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
87087         Reimplement to do errno handling inline.
87088         (SYSCALL_ERROR_HANDLER): New macro.
87089         (__SYSCALL_STRING): Do not do errno handling in asm.
87090         (__CLONE_SYSCALL_STRING): Delete.
87091         (__INTERNAL_SYSCALL_STRING): Delete.
87092         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
87093         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
87094         (PSEUDO): Reimplement to do errno handling inline.
87095         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
87096         (SYSCALL_ERROR_HANDLER): New macro.
87097         (__SYSCALL_STRING): Do not do errno handling in asm.
87098         (__CLONE_SYSCALL_STRING): Delete.
87099         (__INTERNAL_SYSCALL_STRING): Delete.
87100         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
87101         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
87102         i386.
87103         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
87104         (inline_syscall*): Add 'err' argument.
87105         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
87106         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
87107         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
87108         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
87110         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
87111         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
87113 2011-08-30  Andreas Schwab  <schwab@redhat.com>
87115         * elf/rtld.c (dl_main): Relocate objects in dependency order.
87117 2011-08-29  Jiri Olsa <jolsa@redhat.com>
87119         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
87120         directive.
87122 2011-08-24  David S. Miller  <davem@davemloft.net>
87124         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
87126 2011-08-24  Andreas Schwab  <schwab@redhat.com>
87128         * elf/Makefile: Add rules to build and run unload8 test.
87129         * elf/unload8.c: New file.
87130         * elf/unload8mod1.c: New file.
87131         * elf/unload8mod1x.c: New file.
87132         * elf/unload8mod2.c: New file.
87133         * elf/unload8mod3.c: New file.
87135         * elf/dl-close.c (_dl_close_worker): Reset private search list if
87136         it wasn't used.
87138 2011-08-23  David S. Miller  <davem@davemloft.net>
87140         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
87141         subtract stack bias.
87142         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
87143         %sp not %fp in calculations.
87144         (_JMPBUF_UNWINDS_ADJ): Likewise.
87146         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
87147         (aio_suspend): Call it to force an exception region around the
87148         AIO_MISC_WAIT() invocation.
87150 2011-08-23  Andreas Schwab  <schwab@redhat.com>
87152         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
87153         backslash.
87155 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
87157         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
87158         protection macro.
87159         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
87160         and <dl-machine.h>.
87161         (Elf64_FuncDesc): Remove.
87163 2011-08-22  David S. Miller  <davem@davemloft.net>
87165         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
87166         sigaltstack check, add missing cfi directives.
87167         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
87168         missing cfi directives, and sigaltstack handling.
87170 2011-08-16  Andreas Schwab  <schwab@redhat.com>
87172         [BZ #11724]
87173         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
87174         object is seen twice.
87175         * elf/dl-fini.c (_dl_sort_fini): Likewise.
87177         * elf/Makefile (distribute): Add tst-initorder2.c.
87178         (tests): Add tst-initorder2.
87179         (modules-names): Add tst-initorder2a tst-initorder2b
87180         tst-initorder2c tst-initorder2d.  Add rules to build them.
87181         ($(objpfx)tst-initorder2.out): New rule.
87182         * elf/tst-initorder2.c: New file.
87183         * elf/tst-initorder2.exp: New file.
87185 2011-08-22  Andreas Schwab  <schwab@redhat.com>
87187         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
87189         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
87190         dependencies back to end of function.
87192         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
87193         $(elfobjdir)/ld.so.
87195 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
87197         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
87198         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
87199         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
87200         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
87201         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
87202         of __vdso_gettimeofday.
87203         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
87204         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
87205         attribute_hidden.
87206         (_libc_vdso_platform_setup): Remove initialization of
87207         __vdso_gettimeofday and __vdso_time.
87209 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
87211         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
87212         and fgetc_unlocked.
87213         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
87214         getc_unlocked.
87216         * elf/dl-open.c (add_to_global): Report additions to the global scope
87217         for LD_DEBUG=scopes.
87218         (dl_open_worker): Also print scope of newly loaded dependencies.
87219         (_dl_show_scope): Indicate if there is no scope.
87221         [BZ #13114]
87222         * stdio-common/Makefile (tests): Add bug24.
87223         * stdio-common/bug24.c: New file.
87225 2011-08-19  Andreas Jaeger  <aj@suse.de>
87227         [BZ #13114]
87228         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
87229         non-existant file when using close-on-exec mode.
87231 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
87233         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
87234         the very first instruction.
87236         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
87237         the CFI state in the end.
87238         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
87239         inclusion of dl-trampoline.h.
87240         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
87242 2011-08-19  Andreas Schwab  <schwab@redhat.com>
87244         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
87245         expectations for long double.
87247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
87248         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
87250 2011-08-14  David S. Miller  <davem@davemloft.net>
87252         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
87253         artificual limit depends upon the system page size.
87255 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
87257         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
87258         * resolv/Makefile: Define CFLAGS-libresolv.
87260 2011-08-17  Andreas Schwab  <schwab@redhat.com>
87262         * nss/makedb.c (compute_tables): Make variables used in nested
87263         function static.
87265 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
87267         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
87268         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
87269         if buffer was too small.
87271         * elf/pldd.c (main): Attach to all threads in the process.
87272         Rewrite /proc handling to use *at functions.
87274 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
87276         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
87277         specifies first scope to show.
87278         (dl_open_worker): Update callers.  Move printing scope of new
87279         object to before the relocation.
87280         * elf/rtld.c (dl_main): Update _dl_show_scope call.
87281         * sysdeps/generic/ldsodefs.h: Update declaration.
87283         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
87284         string for the scope number.
87286 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
87288         * nscd/servicescache.c (cache_addserv): Make sure written is always
87289         initialized.
87291 2011-08-14  Roland McGrath  <roland@hack.frob.com>
87293         * sysdeps/i386/i486/bits/atomic.h
87294         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
87295         statement expression, so as to suppress "set but not used" warning.
87296         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
87298         * string/strncat.c (STRNCAT): Use prototype definition.
87300         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
87301         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
87302         -Iprograms here.
87303         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
87304         (localedef-modules): Add localedef.
87305         (locale-modules): Add locale.
87307         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
87308         * elf/rtld.c (dl_main): Invert order of assignment in last change,
87309         to avoid a warning.
87311 2011-08-14  David S. Miller  <davem@davemloft.net>
87313         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
87314         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
87316 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
87318         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
87319         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
87320         * elf/rtld.c (dl_main): Set l_name of vDSO.
87321         Call _dl_show_scope when DL_DEBUG_SCOPES.
87322         (process_dl_debug): Recognize scopes flag and also set it for all.
87323         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
87324         Declare _dl_show_scope.
87326         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
87327         (do_dlopen): Pass caller_dlopen to dl_open.
87328         (__libc_dlopen_mode): Initialize caller_dlopen.
87330         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
87331         of libc.  Make tolower call locale-independent.  Optimize a bit by
87332         using isdigit instead of isalnum.
87333         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
87335 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
87337         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
87338         was a dependency or dynamically loaded.
87340 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
87342         * intl/l10nflist.c: Allow architecture-specific pop function.
87343         * sysdeps/x86_64/l10nflist.c: New file.
87345         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
87346         classification.
87348 2011-08-10  Andreas Schwab  <schwab@redhat.com>
87350         * include/dirent.h: Add libc_hidden_proto for scandirat and
87351         scandirat64.  Don't declare __scandirat64.
87352         * dirent/scandirat.c: Add libc_hidden_def.
87353         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
87354         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
87356 2011-08-10  David S. Miller  <davem@davemloft.net>
87358         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
87359         enum.
87360         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
87361         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
87362         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
87364 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
87366         * Versions.def [libc]: Add GLIBC_2.15.
87367         * dirent/Makefile (routines): Add scandirat and scandirat64.
87368         * dirent/Versions [libc]: Export scandirat and scandirat64 for
87369         GLIBC_2.15.
87370         * dirent/dirent.h: Declare scandirat and scandirat64.
87371         * dirent/scandirat.c: New file.
87372         * dirent/scandirat64.c: New file.
87373         * sysdeps/wordsize-64/scandirat.c: New file.
87374         * sysdeps/wordsize-64/scandirat64.c: New file.
87375         * dirent/opendir.c: Define opendirat.
87376         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
87377         using scandirat.
87378         * dirent/scandir64.c: Adjust for scandir.c change.
87379         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
87380         __scandirat64, and __scandir_cancel_handler.
87381         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
87382         additional parameter and use openat instead of open (outside of ld.so).
87383         Add new __opendir as wrapper around __opendirat.
87384         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
87385         here without requiring old scandirat implementation.
87387 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
87389         * dirent/scandir.c (cancel_handler): Renamed to
87390         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
87391         defined.  Adjust users.
87392         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
87393         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
87395 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
87397         * string/test-string.h (IMPL): Use __STRING to expand name and then
87398         stringify it.
87400         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
87401         of cleanups.
87403 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87405         * string/Makefile: Update.
87406         (strop-tests): Append strncat.
87407         * string/test-wcscmp.c: New file.
87408         New comprehensive test for wcscmp.
87409         * string/test-strcmp.c: Update.
87410         (WIDE): New define.
87412 2011-07-22  Andreas Schwab  <schwab@redhat.com>
87414         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
87415         line.
87417 2011-07-26  Andreas Schwab  <schwab@redhat.com>
87419         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
87420         encoding to ACE if AI_IDN.
87422 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
87424         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
87425         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
87427 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
87429         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
87430         Fix overflow bug in strncat.
87431         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
87433         * string/test-strncat.c: Update.
87434         Add new tests for checking overflow bugs.
87436 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
87438         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87439         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
87440         * sysdeps/i386/i686/multiarch/strcat.S: New file.
87441         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
87442         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
87443         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
87444         * sysdeps/i386/i686/multiarch/strncat.S: New file.
87445         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
87446         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
87448         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
87449         (USE_AS_STRCAT): Define.
87450         Add strcat and strncat support.
87451         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
87453 2011-07-25  Andreas Schwab  <schwab@redhat.com>
87455         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
87456         __n bigger than INT_MAX+1.
87457         (__strncmp_g): Likewise.
87459 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
87461         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
87462         * libio/stido.h: Likewise.
87464         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
87465         (AF_NFC): Define.
87466         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
87467         (AF_NFC): Define.
87469         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
87470         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
87471         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
87472         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
87473         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
87475         [BZ #13021]
87476         * scripts/test-installation.pl: Don't expect libnss_test1 to be
87477         installed.
87479         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
87480         typo.
87481         (_dl_x86_64_save_sse): Likewise.
87483 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
87485         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
87486         OSXSAVE.
87487         (_dl_x86_64_save_sse): Likewise.
87489         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
87491         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
87493 2011-07-21  Andreas Schwab  <schwab@redhat.com>
87495         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
87496         change.
87497         (_dl_x86_64_save_sse): Use correct AVX check.
87499 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87501         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
87502         bug in strncpy/strncat.
87503         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
87505 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
87507         * string/tester.c (test_strcat): Add tests for different alignments
87508         of source and destination.
87509         (test_strncat): Likewise.
87511 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
87513         [BZ #12852]
87514         * posix/glob.c (glob): Check passed in values before using them in
87515         expressions to avoid some overflows.
87516         (glob_in_dir): Likewise.
87518         [BZ #13007]
87519         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
87520         check for AVX enablement so that we don't crash with old kernels and
87521         new hardware.
87522         * elf/tst-audit4.c: Add same checks here.
87523         * elf/tst-audit6.c: Likewise.
87525         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
87527 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
87529         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
87531 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
87533         * po/cs.po: Update from translation team.
87534         * po/bg.po: Likewise.
87536 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
87538         * misc/sys/cdefs.h: Add support for const attribute.
87539         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
87540         to gnu_dev_{major,minor,makedev} functions.
87542 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
87544         * intl/dcigettext.c (get_output_charset): Add missing bracket.
87546 2011-07-20  Andreas Schwab  <schwab@redhat.com>
87548         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
87549         strlen results.
87551 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87553         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
87554         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
87555         register in order to avoid conflicts with the soft frame pointer
87556         being held in r11 when necessary.
87557         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
87558         (INTERNAL_VSYSCALL_NCS): Likewise.
87560 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
87562         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
87563         * elf/dl-fini.c (_dl_fini): Adjust caller.
87564         * elf/dl-close.c (_dl_close_worker): Likewise.
87565         * sysdeps/generic/ldsodefs.h: Adjust declaration.
87567 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
87569         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
87570         "aux_cache->nlibs < 0".
87572         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
87573         in the reload-count case.
87575 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
87577         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87578         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
87579         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
87580         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
87581         * sysdeps/x86_64/multiarch/strcat.S: New file.
87582         * sysdeps/x86_64/multiarch/strncat.S: New file.
87583         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
87584         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
87585         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
87586         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
87587         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
87588         (USE_AS_STRCAT): Define.
87589         Add strcat and strncat support.
87590         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
87591         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
87592         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
87593         * string/strncat.c: Update.
87594         (USE_AS_STRNCAT): Define.
87595         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87596         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
87597         and i7.
87598         * sysdeps/x86_64/multiarch/init-arch.h
87599         (bit_Prefer_PMINUB_for_stringop): New.
87600         (index_Prefer_PMINUB_for_stringop): Likewise.
87601         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
87602         bit_Prefer_PMINUB_for_stringop.
87604 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
87606         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
87607         buffer64.
87608         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
87609         of casting of buffer.
87610         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
87611         buffer32 and buffer64.
87612         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
87613         writes instead of casting of buffer.
87614         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
87615         buffer32.
87616         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
87617         casting of buffer.
87619 2011-07-19  Andreas Schwab  <schwab@redhat.com>
87621         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
87623 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
87625         * nscd/nscd.c (termination_handler): Don't do anything for a database
87626         if it has not yet been initialized.
87628 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
87630         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
87632 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
87634         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
87636 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
87638         * po/nl.po: Update from translation team.
87639         * po/sv.po: Likewise.
87641 2011-07-16  Roland McGrath  <roland@hack.frob.com>
87643         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
87644         now disallowed by GCC.
87646         * configure.in (use-default-link): Default to yes if a test -shared
87647         link meets our qualifications.
87648         * configure: Regenerated.
87650         * config.make.in (output-format): New variable.
87651         * configure.in: Check for ld --print-output-format support.
87652         * configure: Regenerated.
87653         * Makerules ($(common-objpfx)format.lds)
87654         [$(output-format) != unknown]: Just use $(output-format),
87655         instead of the linker-script munging.
87657 2011-07-14  Roland McGrath  <roland@hack.frob.com>
87659         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
87660         of $(common-objpfx)shlib.lds.
87661         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
87663         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
87664         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
87666         * configure.in (-z relro check): Adjust test code to add a large
87667         writable data section after it.
87668         * configure: Regenerated.
87670 2011-07-11  Roland McGrath  <roland@hack.frob.com>
87672         * configure.in (-z relro check): Fix test code to make the variable
87673         truly const.
87674         * configure: Regenerated.
87676 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
87678         * nscd/nscd.h (struct traced_file): Define.
87679         (struct database_dyn): Remove inotify_descr, reset_res, and filename
87680         elements.  Add traced_files.
87681         (inotify_fd): Declare.
87682         (register_traced_file): Declare.
87683         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
87684         (inotify_fd): Export.
87685         (resolv_conf_descr): Remove.
87686         (nscd_init): Move inotify descriptor creation to main.
87687         Don't register files for notification here.
87688         (register_traced_file): New function.
87689         (invalidate_cache): Don't use reset_res to determine whether to call
87690         res_init, go through the list of registered files.
87691         (main_loop_poll): The inotify descriptors are now stored in the
87692         structures for the traced files.
87693         (main_loop_epoll): Likewise.
87694         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
87695         to __nss_disable_nscd.
87696         * nscd/cache.c (prune_cache): There is no single inotify descriptor
87697         for a database anymore.  Check the records for all the registered
87698         files instead.
87699         * nss/Makefile (libnss_files-routines): Add files-init.
87700         (libnss_db-routines): Add db-init.
87701         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
87702         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
87703         * nss/nss_db/db-init.c: New file.
87704         * nss/nss_files/files-init.c: New file.
87705         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
87706         __nss_lookup_function.
87707         (__nss_lookup_function): Call nss_load_library.
87708         (nss_load_all_libraries): New function.
87709         (__nss_disable_nscd): Take parameter with callback function for files
87710         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
87711         used for the cached services.
87712         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
87713         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
87714         options for features to all the files in nscd.
87716         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
87718 2011-07-10  Roland McGrath  <roland@hack.frob.com>
87720         * csu/elf-init.c (__libc_csu_init): Comment typo.
87722 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
87724         * po/pl.po: Update from translation team.
87725         * po/ja.po: Likewise.
87726         * po/ru.po: Likewise.
87727         * po/ko.po: Likewise.
87728         * po/fr.po: Likewise.
87730 2011-07-09  Roland McGrath  <roland@hack.frob.com>
87732         * configure.in (.ctors/.dtors header and trailer check):
87733         Use an empirical test on a built program.
87734         * configure: Regenerated.
87736         * configure.in (-z relro check): Use an empirical test on a built DSO.
87737         Detect, but do not require, on ia64.
87738         * configure: Regenerated.
87740         * configure.in (READELF): Find it with AC_CHECK_TOOL.
87741         Update tests that use readelf to use $READELF instead.
87742         * configure: Regenerated.
87744 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
87746         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
87747         if the result is not used.
87749 2011-07-05  Andreas Jaeger  <aj@suse.de>
87751         [BZ #9696]
87752         * stdlib/tst-strtod.c: Add testcase.
87754 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
87756         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
87757         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
87758         The latter has a higher limit.  Take additional parameter to pass to
87759         the new function.
87760         (__pathconf): Pass file to __statfs_link_max.
87761         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
87762         __statfs_link_max.
87763         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
87764         __statfs_link_max.
87766         [BZ #12868]
87767         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
87768         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
87769         Handle Lustre.
87770         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
87771         (__statfs_filesize_max): Likewise.
87772         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
87774 2011-07-05  Andreas Jaeger  <aj@suse.de>
87776         * resolv/res_comp.c (dn_skipname): Remove unused variable.
87778 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
87780         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
87781         `status' variable.
87782         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
87783         Likewise.
87785 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
87787         * Makefile (strop-tests): Add strncat.
87788         * string/test-strncat.c: New file.
87790 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
87792         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
87794 2011-06-21  Andreas Jaeger  <aj@suse.de>
87796         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
87797         Copy rule from iconvdata/Makefile.
87799 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
87801         [BZ #12922]
87802         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
87803         but no long options are defined, just return 'W'.
87805 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
87807         [BZ #9696]
87808         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
87810 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
87812         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
87813         netgroups to read.
87814         (innetgr): Likewise.
87816 2011-07-05  Roland McGrath  <roland@hack.frob.com>
87818         * config.make.in (install_root): Default to $(DESTDIR).
87820 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
87822         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
87824 2011-07-02  Roland McGrath  <roland@hack.frob.com>
87826         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
87828         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
87829         containing directory rather than embedding absolute directory names.
87831         * scripts/check-local-headers.sh: Rewritten using awk.
87832         Match by word, not by line.  Print error messages for matches.
87833         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
87835         * Makerules [shlib-lds-flags empty]:
87836         ($(common-objpfx)libc_pic.opts): New target.
87837         ($(common-objpfx)libc_pic.os.clean): New target.
87838         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
87840         * config.make.in (OBJCOPY): New variable.
87841         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
87842         * configure: Regenerated.
87844         * config.make.in (use-default-link): New variable.
87845         * configure.in (use_default_link): Grok --with-default-link to set it.
87846         * configure: Regenerated.
87847         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
87848         (shlib-lds, shlib-lds-flags): Define to empty.
87850         * Makerules (shlib-lds): New variable.
87851         (shlib-lds-flags): New variable.
87852         (build-shlib, build-moduile, build-module-asneeded): Use it.
87853         ($(common-objpfx)libc.so): Use $(shlib-lds).
87854         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
87855         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
87857         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
87858         DT_FLAGS/DT_FLAGS_1 with zero flags.
87860         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
87861         linker script munging.
87863 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
87865         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
87866         as 128-bit value.
87867         * crypt/sha512.c (sha512_process_block): Perform total addition using
87868         128-bit if possible.
87869         (__sha512_finish_ctx): Likewise.
87870         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
87871         as 64-bit value.
87872         * crypt/sha256.c (SWAP64): Define.
87873         (sha256_process_block): Perform total addition using 64-bit if
87874         possible.
87875         (__sha256_finish_ctx): Likewise.
87877 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
87879         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
87880         * nscd/initgrcache.c (addinitgroupsX): Likewise.
87881         * nscd/hstcache.c (cache_addhst): Likewise.
87882         * nscd/grpcache.c (cache_addgr): Likewise.
87883         * nscd/aicache.c (addhstaiX): Likewise.
87884         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
87886 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
87888         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
87889         * nscd/initgrcache.c (addinitgroupsX): Likewise.
87890         * nscd/hstcache.c (cache_addhst): Likewise.
87891         * nscd/grpcache.c (cache_addgr): Likewise.
87892         * nscd/aicache.c (addhstaiX): Likewise.
87894 2011-07-01  Andreas Schwab  <schwab@redhat.com>
87896         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
87897         domain only when needed.
87899 2011-06-30  Andreas Schwab  <schwab@redhat.com>
87901         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
87902         is always restored.
87904 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
87906         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
87907         are re-adding the entry.
87908         * nscd/servicescache.c (cache_addserv): Likewise.
87910 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
87912         * sysdeps/generic/dl-irel.h: fix protection against multiple
87913         inclusions.
87914         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
87916 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
87918         [BZ #12935]
87919         * malloc/memusage.sh: Fix quoting in message.
87920         * debug/xtrace.sh: Likewise.
87922         * configure.in: Remove support for --experimental-malloc option, make
87923         it the default.
87924         * config.make.in: Likewise.
87925         * malloc/Makefile: Likewise.
87927 2011-06-27  Andreas Schwab  <schwab@redhat.com>
87929         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
87930         two-byte characters.
87932 2011-06-27  Roland McGrath  <roland@hack.frob.com>
87934         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
87935         AC_CACHE_CHECK invocation.
87936         * configure: Regenerated.
87938         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
87940 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
87942         [BZ #12350]
87943         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
87944         bit from old_res_options.
87946         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
87948         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
87949         value type for setfct.
87951 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
87953         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
87954         __gettimeofday instead of gettimeofday.
87956 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
87958         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
87960 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
87962         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
87964         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
87965         info.
87967 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
87969         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87970         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
87971         strcpy-sse2-unaligned strncpy-sse2-unaligned
87972         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
87973         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
87974         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
87975         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
87976         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
87977         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
87978         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
87979         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
87980         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
87981         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
87982         (STRCPY): Support SSE2 and SSSE3 versions.
87984 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
87986         [BZ #12874]
87987         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
87988         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
87989         kernels which artificially limit size of requests.
87991 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
87993         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87994         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
87995         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
87996         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
87997         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
87998         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
87999         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
88000         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
88001         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
88002         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
88003         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
88004         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
88005         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
88006         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
88007         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
88008         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88009         Enable unaligned load optimization for Intel Core i3, i5 and i7
88010         processors.
88011         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
88012         Define.
88013         (index_Fast_Unaligned_Load): Define.
88014         (HAS_FAST_UNALIGNED_LOAD): Define.
88016 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
88018         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
88020 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
88022         [BZ #12907]
88023         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
88024         until it is clear that the information is realy needed.
88025         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
88027 2011-06-22  Andreas Schwab  <schwab@redhat.com>
88029         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
88031 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
88033         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
88034         /sys/devices/system/cpu/online if it is usable.
88036         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
88037         reading the information from the /proc filesystem to once a second.
88039 2011-06-21  Andreas Jaeger  <aj@suse.de>
88041         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
88042         NULL after inclusion of kernel headers.
88044 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
88046         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
88047         calls to internal_setent.
88049         [BZ #12885]
88050         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
88051         addresses using gethostbyname4_r ignore IPv4 addresses.
88053         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
88054         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
88056         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
88058 2011-06-20  David S. Miller  <davem@davemloft.net>
88060         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
88061         inclusions.
88062         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
88064         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
88065         (elf_irel): Use it.
88066         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
88067         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
88068         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
88069         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
88070         * sysdeps/x86_64/dl-irel.h: Likewise.
88072         * elf/dl-runtime.c: Use elf_ifunc_invoke.
88073         * elf/dl-sym.c: Likewise.
88075 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
88077         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
88078         need to dereference resplen2.
88080 2011-06-14  Andreas Schwab  <schwab@redhat.com>
88082         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
88084 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
88086         * Makeconfig: Define vardbdir and inst_vardbdir.
88087         * nss/Makefile: Add rules to install db-Makefile.
88089         * nss/nss_db/db-XXX.c: Cleanup.
88091         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
88092         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
88093         GLIBC_PRIVATE.
88094         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
88095         * nss/makedb.c: Implement -g option to specify that value strings
88096         are generated and should not be added to table iterated over for
88097         get*ent calls.
88098         * nss/nss_db/db-initgroups.c: New file.
88100         * nss/getent.c: Add support for initgroups lookups through getgrouplist
88101         interface.
88103         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
88104         (internal_getgrouplist): Adjust to name change.
88105         Update use_initgroups_entry if this is not the first call.
88106         * nss/databases.def: Add initgroups entry.
88108         * nss/makedb.c (compute_tables): Check result of multiple hash table
88109         sizes to minimize maximum chain length.
88111 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
88113         * Versions.def: Add entry for libnss_db.
88114         * shlib-versions: Likewise.
88115         * nss/Makefile: Add rules to build libnss_db.
88116         * nss/Versions: Add libnss_db information.  Organize libnss_files
88117         entries better.
88118         * nss/db-Makefile: Add gshadow support.  Change rules for the new
88119         makedb progra.  Some minor improvements to generate smaller files.
88120         * nss/nss_db/nss_db.h: Move NSS database header data structures to
88121         here from...
88122         * nss/makedb.c: ...here.
88123         Improve database format to be smaller and require less memory at
88124         runtime.
88125         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
88126         db anymore.
88127         * nss/nss_db/db-netgrp.c: Likewise.
88128         * nss/nss_db/db-open.c: Likewise.
88129         * nss/nss_files/flies-XXX.x: Adjust comments.
88130         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
88131         * nss/nss_files/files-grp.c: Likewise.
88132         * nss/nss_files/files-hosts.c: Likewise.
88133         * nss/nss_files/files-network.c: Likewise.
88134         * nss/nss_files/files-proto.c: Likewise.
88135         * nss/nss_files/files-pwd.c: Likewise.
88136         * nss/nss_files/files-rpc.c: Likewise.
88137         * nss/nss_files/files-service.c: Likewise.
88138         * nss/nss_files/files-sgrp.c: Likewise.
88139         * nss/nss_files/files-spwd.c: Likewise.
88140         * nss/nss_db/db-alias.c: Removed.
88141         * nss/nss_db/dummy-db.h: Removed.
88143 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
88145         * nss/makedb.c: Rewritten to not use database library.
88146         * nss/Makefile: Update to build new makedb program.
88148 2011-06-14  Andreas Jaeger  <aj@suse.de>
88150         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
88151         memset declaration.
88153 2011-06-10  Andreas Schwab  <schwab@redhat.com>
88155         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
88156         tmpbuf.
88158 2011-06-10  Roland McGrath  <roland@hack.frob.com>
88160         * Makerules (shlib.lds): Fail if the linker script comes out empty.
88161         * elf/Makefile ($(objpfx)ld.so): Likewise.
88163         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
88164         Don't list ld.so twice in dependencies.
88166         * posix/bug-regex31.c: Include <stdlib.h>.
88168         * nscd/hstcache.c (cache_addhst): Remove unused variable.
88170         * nis/nss_compat/compat-spwd.c
88171         (getspent_next_nss_netgr): Remove unused variable.
88172         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
88174         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
88175         nonmembers" output to use the right array.
88177         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
88179         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
88181         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
88182         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
88183         * catgets/gencat.c (read_input_file): Likewise.
88184         * locale/programs/locarchive.c (enlarge_archive): Likewise.
88186         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
88187         variable definition inside #if's controlling its use.
88189         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
88191         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
88193         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
88195         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
88196         unreachable code.
88198         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
88200         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
88201         * configure: Regenerated.
88203         * Makerules: Revert last change.
88204         * elf/Makefile: Likewise.
88206 2011-06-09  Roland McGrath  <roland@hack.frob.com>
88208         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
88209         * elf/Makefile ($(objpfx)librtld.os): Likewise.
88210         (reloc-link): Likewise.
88212 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
88214         * elf/Makefile: Add rules to build pldd.
88215         * elf/pldd.c: New file.
88216         * elf/pldd-xx.c: New file.
88218 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
88220         * version.h: Update for 2.15 development version.
88222 2011-06-07  David S. Miller  <davem@davemloft.net>
88224         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
88225         ifuncs.
88226         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
88227         elf_machine_lazy_rel): Likewise.
88228         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
88229         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
88230         elf_machine_lazy_rel): Likewise.
88231         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
88232         dl_hwcap via passed in argument.
88233         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
88234         Likewise.
88236 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88238         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
88240 2011-06-06  Roland McGrath  <roland@hack.frob.com>
88242         [BZ #12849]
88243         * manual/fdl-1.1.texi: New file, verbatim from:
88244         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
88245         * manual/lgpl-2.1.texi: New file, verbatim from:
88246         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
88247         * manual/Makefile (licenses): New variable, list those new file names.
88248         (texis): Use it.
88249         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
88251         * manual/fdl.texi: File removed.
88252         * manual/lesser.texi: File removed.
88253         * manual/libc.texinfo (Copying, Documentation License):
88254         Use new @include file names, put @appendix directive before @include.
88256 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
88258         [BZ #12841]
88259         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
88260         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
88261         (mq_open): Add __NTH.
88263 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
88265         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88266         Assume Intel Core i3/i5/i7 processor if AVX is available.
88268 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
88270         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
88271         typo.
88273 2011-05-31  Andreas Schwab  <schwab@redhat.com>
88275         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
88276         memory.  Use alloca_account.  Fix memory leak when retrying.
88278 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
88280         * version.h (RELEASE): Bump for 2.14 release.
88281         * include/features.h (__GLIBC_MINOR__): Bump to 14.
88283         * config.make.in (RANLIB): Remove entry.
88285 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
88287         * po/Makefile (po-sed-cmd): Add ksh to extensions.
88288         (libc.pot): Work around missing support for .ksh extension in xgettext.
88290         [BZ #12684]
88291         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
88292         if both request failed.
88293         (send_dg): In case of server errors clear resplen or *resplen2.
88295         [BZ #12454]
88296         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
88297         when there are multiple maps.
88298         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
88299         (_dl_fini): Remove test here.
88301         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
88303 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
88305         [BZ #12350]
88306         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
88307         bit from old_res_options.
88308         (gaih_inet): Likewise.
88310         [BZ #11099]
88311         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
88312         as signed.
88314         * resolv/res_init.c (res_setoptions): Make the code more compact.
88316         [BZ #11558]
88317         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
88318         set RES_USEVC.
88320         [BZ #11634]
88321         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
88323         * malloc/malloc.h: Mark malloc hook variables as deprecated.
88325         [BZ #11781]
88326         * malloc/malloc.h: Declare malloc hook variables as volatile.
88328         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
88329         in last patch.
88331         [BZ #11799]
88332         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
88333         raise in the comment.
88334         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
88335         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
88336         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
88338 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
88340         [BZ #12811]
88341         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
88342         grow the buffers more if it already has to be sufficient.
88343         (build_wcs_upper_buffer): Likewise.
88344         * posix/regexec.c (check_matching): Likewise.
88345         (clean_state_log_if_needed): Likewise.
88346         (extend_buffers): Don't enlarge buffers beyond size of the input
88347         buffer.
88348         Patches mostly by Emil Wojak <emil@wojak.eu>.
88349         * posix/bug-regex32.c: New file.
88350         * posix/Makefile (tests): Add bug-regex32.
88352         * locale/findlocale.c (_nl_find_locale): Return right away if
88353         _nl_explode_name failed.
88354         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
88356         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
88358         * debug/xtrace.sh: Unify messages.
88359         * malloc/memusage.sh: Likewise.
88361         [BZ #12813]
88362         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
88363         time symbol from vDSO.  Substitute with vsyscall if not available.
88364         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
88365         __vdso_time.
88367         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
88368         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
88369         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
88370         Add sendmmsg and internal_sendmmsg.
88371         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
88372         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
88373         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
88375         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
88376         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
88377         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
88379 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
88381         [BZ #12813]
88382         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
88383         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
88384         available.
88385         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
88386         __vdso_getcpu.
88388         [BZ #12814]
88389         * iconvdata/Makefile (tests): Add bug-iconv9.
88390         * iconvdata/bug-iconv9.c: New file.
88392 2011-05-27  Andreas Schwab  <schwab@redhat.com>
88394         [BZ #12814]
88395         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
88397 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
88399         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
88400         (struct user_regs_struct): Change intcs field back to cs.
88402 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
88404         * po/ja.po: Update from translation team.
88406 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
88408         [BZ #12795]
88409         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
88410         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
88412 2011-05-20  Andreas Schwab  <schwab@redhat.com>
88414         * stdlib/longlong.h: Update from GCC.
88416 2011-05-23  Andreas Schwab  <schwab@redhat.com>
88418         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
88419         parameter name.
88420         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
88421         Add parameter name.
88422         (__sysconf): Pass it down.
88424 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
88426         [BZ #12671]
88427         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
88428         some situations.
88429         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
88430         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
88431         add in in __libc_use_alloca calls.  Adjust callers.
88432         (glob): Use malloc in some situations.
88434         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
88435         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
88436         pltexit.
88438 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
88440         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
88441         and CLOCK_BOOTTIME_ALARM.
88443         [BZ #12782]
88444         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
88445         is returned.
88447         * string/_strerror.c (__strerror_r): Print negative errors as signed
88448         numbers.
88450         [BZ #12777]
88451         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
88452         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
88453         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
88455         * configure.in: Fix typo in redirection and correct removal of test
88456         files in two cases.
88458         [BZ #12788]
88459         * locale/setlocale.c (new_composite_name): Fix test to check for
88460         identical name of all categories.
88462         [BZ #12792]
88463         * libio/filedoalloc.c (local_isatty): New function.
88464         (_IO_file_doallocate): Use local_isatty.
88465         * stdio-common/perror.c (perror): In case a new stream is used
88466         forward the stream error.
88467         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
88468         error flag.
88470 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
88472         [BZ #11884]
88473         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
88474         alloca.
88475         * include/alloca.h (extend_alloca_account): Define.
88477         [BZ #11857]
88478         * posix/regex.h: Fix comments with documentation of user-accessible
88479         fields after compilation and describe correct free'ing of pattern
88480         after re_compile_pattern.
88481         Patch by Reuben Thomas <rrt@sc3d.org>.
88483 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
88485         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
88486         and -mno-altivec to prevent the compiler from using Altivec and/or
88487         VSX instructions when the corresponding registers are not available.
88489 2011-05-19  Andreas Schwab  <schwab@redhat.com>
88491         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
88493 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
88495         * libio/freopen.c (freopen): Use __dup2, not dup2.
88496         * libio/freopen64.c (freopen64): Likewise.
88498 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
88500         [BZ #12775]
88501         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
88502         * math/Makefile (tests): Add test-powl.
88503         (CFLAGS-test-powl.c): Define.
88504         * math/test-powl.c: New file.
88506 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
88508         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
88510 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
88512         [BZ #11837]
88513         * iconvdata/gb18030.c: Update to GB18020-2005.
88515 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
88517         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
88518         RE_SYNTAX_POSIX_AWK): Update to match recent development.
88519         Patch by Aharon Robbins <arnold@skeeve.com>.
88521         [BZ #11892]
88522         * stdlib/putenv.c (putenv): Don't always create copy of the variable
88523         on the stack.
88525         [BZ #11895]
88526         * misc/pselect.c (__pselect): Handle timeout value errors hidden
88527         through underflows.
88529         [BZ #12766]
88530         * misc/error.c (error_at_line): Ensure file_name and old_file_name
88531         point to strings before performing equality test for error_one_per_line
88532         mode.
88534         [BZ #11697]
88535         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
88537         [BZ #11820]
88538         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
88539         (struct user_fpregs_struct): Avoid __uint*_t types.
88541         [BZ #6420]
88542         * malloc/mtrace.c (tr_where): Add additional parameter to point to
88543         symbol info.  Use it instead of calling _dl_addr locally.
88544         (lock_and_info): New function.
88545         (tr_freehook): Call lock_and_info and pass symbol info as additional
88546         parameter to tr_where.
88547         (tr_mallochook): Likewise.
88548         (tr_reallochook): Likewise.
88549         (tr_memalignhook): Likewise.
88551         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
88552         used and couldn't be at all thread-safe.
88554 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
88556         * libio/freopen.c (freopen): Don't close old file descriptor
88557         before the new one is opened.  Instead dup the new file descriptor
88558         to the old one after the new stream is created.
88559         * libio/freopen64.c (freopen64): Likewise.
88560         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
88561         * libio/fileops.c (_IO_new_file_close_it): Handle new
88562         _IO_FLAGS2_NOCLOSE flag.
88563         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
88564         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
88565         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
88566         _IO_FLAGS2_NOCLOSE flag.
88567         * include/unistd.h: Add hidden_proto for dup3.
88568         Define __have_dup3.
88569         * io/dup3.c: Define hidden symbol.
88570         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
88572         [BZ #7101]
88573         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
88574         when an incomplete long option is used.
88575         * posix/tst-getopt_long1.c: New file.
88576         * posix/Makefile (tests): Add tst-getopt_long1.
88578         [BZ #10138]
88579         * scripts/config.guess: Update from autoconf-2.68.
88580         * scripts/config.sub: Likewise.
88582         [BZ #10157]
88583         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
88584         tests into ...
88585         (has_cpuclock): ...this.  New function.
88586         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
88587         macro here based on has_cpuclock code.
88589         [BZ #10149]
88590         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
88591         First byte (not low byte) is now always NUL.
88592         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
88594         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
88595         Use non-cancelable interfaces.
88597         [BZ #9809]
88598         * locale/iso-639.def: Add entry for Sorani.
88600         [BZ #11901]
88601         * include/stdlib.h: Move include protection to the right place.
88602         Define abort_msg_s.  Declare __abort_msg with it.
88603         * stdlib/abort.c (__abort_msg): Adjust type.
88604         * assert/assert.c (__assert_fail_base): New function.  Majority
88605         of code from __assert_fail.  Allocate memory for __abort_msg with
88606         mmap.
88607         (__assert_fail): Now call __assert_fail_base.
88608         * assert/assert-perr.c: Remove bulk of implementation.  Use
88609         __assert_fail_base.
88610         * include/assert.hL Declare __assert_fail_base.
88611         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
88612         mmap.
88613         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
88615 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
88617         [BZ #11952]
88618         [BZ #12453]
88619         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
88620         until all modules are registered in the DTV.
88621         * elf/Makefile: Add rules to build and run tst-tls19.
88622         * elf/tst-tls19.c: New file.
88623         * elf/tst-tls19mod1.c: New file.
88624         * elf/tst-tls19mod2.c: New file.
88625         * elf/tst-tls19mod3.c: New file.
88626         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
88628         [BZ #12083]
88629         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
88630         correctly.
88632         [BZ #12601]
88633         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
88634         two-byte sequence errors.
88635         * iconvdata/Makefile (tests): Add bug-iconv8.
88636         * iconvdata/bug-iconv8.c: New file.
88638         [BZ #12626]
88639         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
88640         buf2 definition.
88642         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
88644         [BZ #12432]
88645         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
88646         (dummy_getcfa): New function.
88647         (init): Get _Unwind_GetCFA address, use dummy if not found.
88648         (backtrace_helper): In recursion check, also check whether CFA changes.
88649         (__backtrace): Completely initialize arg.
88651         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
88652         storing incomplete byte sequence in state object.  Avoid testing for
88653         guaranteed too small input if we know there is enough data available.
88655 2011-05-11  Andreas Schwab  <schwab@redhat.com>
88657         * Makeconfig (+link-pie): Indent.
88658         * Rules (binaries-pie): Define if $(have-fpie) and
88659         $(build-shared).
88660         (binaries-shared): Also filter out $(binaries-pie).
88661         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
88662         * nscd/Makefile (others-pie): Add nscd.
88663         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
88664         ($(objpfx)nscd): Remove command override.
88665         * login/Makefile (others-pie): Add pt_chown.
88666         ($(objpfx)pt_chown): Remove command override.
88667         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
88668         remove command overrides.
88670 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
88672         * libio/tst_putwc.c: Fix error messages.
88674         [BZ #12724]
88675         * libio/fileops.c (_IO_new_file_close_it): Always flush when
88676         currently writing and seek to current position when not.
88677         * libio/Makefile (tests): Add bug-fclose1.
88678         * libio/bug-fclose1.c: New file.
88680 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
88682         [BZ #12511]
88683         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
88684         don't set DF_1_NODELETE here.
88685         (do_lookup_x): When entering new entry test for copy relocation
88686         and if necessary set DF_1_NODELETE flag.
88687         * elf/tst-unique4.cc: New file.
88688         * elf/tst-unique4.h: New file.
88689         * elf/tst-unique4lib.cc: New file.
88690         * elf/Makefile: Add rules to build and run tst-unique4.
88691         Patch by Piotr Bury <pbury@goahead.com>.
88693 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
88695         [BZ #12052]
88696         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
88698         [BZ #12625]
88699         * misc/mntent_r.c (addmntent): Flush the stream after the output
88701         [BZ #12393]
88702         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
88703         (is_trusted_path_normalize): Skip initial colon.  Append slash
88704         to empty buffer.  Duplicate is_trusted_path code but allow
88705         constructed patch to be prefix.
88706         (is_dst): Allow $ORIGIN followed by /.
88707         (_dl_dst_substitute): Correct clearing of check_for_trusted.
88708         Correct testing of result of is_trusted_path_normalize
88709         (decompose_rpath): Fix warning.
88711 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
88713         [BZ #11257]
88714         * grp/initgroups.c (internal_getgrouplist): When we found the service
88715         list through the initgroups entry in nsswitch.conf do not always
88716         continue on a successful lookup.  Don't always use the
88717         __nss_group_database value if it is set.
88718         * nss/nsswitch.conf (initgroups): Change action for successful db
88719         lookup to continue for compatibility.
88721 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
88723         [BZ #11532]
88724         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
88725         and CP774 modules.
88726         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
88727         and CP774 modules.
88728         * iconvdata/tst-tables.sh: Likewise.
88729         * iconvdata/cp770.c: New file.
88730         * iconvdata/cp771.c: New file.
88731         * iconvdata/cp772.c: New file.
88732         * iconvdata/cp773.c: New file.
88733         * iconvdata/cp774.c: New file.
88734         * iconvdata/testdata/CP770: New file.
88735         * iconvdata/testdata/CP770..UTF8: New file.
88736         * iconvdata/testdata/CP771: New file.
88737         * iconvdata/testdata/CP771..UTF8: New file.
88738         * iconvdata/testdata/CP772: New file.
88739         * iconvdata/testdata/CP772..UTF8: New file.
88740         * iconvdata/testdata/CP773: New file.
88741         * iconvdata/testdata/CP773..UTF8: New file.
88742         * iconvdata/testdata/CP774: New file.
88743         * iconvdata/testdata/CP774..UTF8: New file.
88745         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
88746         END CHARMAP line.
88747         * iconvdata/gen-8bit-gap.sh: Likewise.
88748         * iconvdata/gen-8bit.sh: Likewise.
88750         * locale/iso-639.def: Add ary entry.
88752         [BZ #11258]
88753         * locale/C-translit.h.in: Add U20A1 transliteration.
88755         [BZ #12178]
88756         * locale/iso-639.def: Add wae entry.
88757         Patch by Kevin Bortis <bortis@translate-wae.ch>.
88759         [BZ #12545]
88760         * locale/programs/localedef.c (construct_output_path): Use ssize_t
88761         for n.
88763         [BZ #12711]
88764         * locale/C-translit.h.in: Add entry for U20B9.
88765         Patch by pravin.d.s@gmail.com.
88767 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
88769         [BZ #12713]
88770         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
88771         ENAMETOOLONG use generic getcwd.
88772         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
88773         in rtld.  Use *stat64.
88774         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
88775         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
88776         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
88777         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
88778         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
88779         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
88780         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
88781         __fstatat64 macros.
88782         * include/dirent.h: Add libc_hidden_proto for rewinddir.
88783         * dirent/rewinddir.c: Add libc_hidden_def.
88784         * sysdeps/mach/hurd/rewinddir.c: Likewise.
88785         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
88787         * include/dirent.h (__alloc_dir): Add flags parameter.
88788         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
88789         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
88790         __alloc_dir.
88791         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
88792         from fdopendir if O_CLOEXEC is already set.
88794 2011-03-15  Alan Modra  <amodra@gmail.com>
88796         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
88797         l_tls_firstbyte_offset non-zero.  Save padding offset in
88798         l_tls_firstbyte_offset for later use.
88799         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
88800         freeing static tls block.
88802 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
88804         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
88805         where #ifdef was intended.  The intent is to prevent ARG_MAX from
88806         being defined by the kernel headers.
88808 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
88810         [BZ #12734]
88811         * resolv/resolv.h: Define RES_NOTLDQUERY.
88812         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
88813         no-tld-query and set RES_NOTLDQUERY.
88814         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
88815         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
88816         modern BIND to search name as TLD unless forbidden.
88818 2011-05-07  Petr Baudis  <pasky@suse.cz>
88819             Ulrich Drepper  <drepper@gmail.com>
88821         [BZ #12393]
88822         * elf/dl-load.c (fillin_rpath): Move trusted path check...
88823         (is_trusted_path): ...to here.
88824         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
88825         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
88826         using is_trusted_path_normalize() in setuid scripts.
88828 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
88830         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
88831         __BEGIN/__END_DECLS.
88833 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
88835         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
88836         NSS_STATUS_NOTFOUND if no record was found.
88838 2011-05-05  Andreas Schwab  <schwab@redhat.com>
88840         * sunrpc/Makefile (headers): Add rpc/netdb.h.
88841         (headers-not-in-tirpc): Remove rpc/netdb.h
88842         * resolv/netdb.h: Revert last change.
88844 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
88846         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
88847         circular dependency between libgcc.a and libc.a.
88849 2011-05-05  Andreas Schwab  <schwab@redhat.com>
88851         * resolv/netdb.h: Don't include <rpc/netdb.h>.
88852         * nis/Makefile: Don't install rpcsvc/*.
88853         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
88854         instead of <rpc/types.h>.
88855         (MAXHOSTNAMELEN): Define.
88857 2011-05-03  Andreas Schwab  <schwab@redhat.com>
88859         * elf/ldconfig.c (add_dir): Don't crash on empty path.
88861 2011-04-28  Maciej Babinski  <mbabinski@google.com>
88863         [BZ #12714]
88864         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
88865         gethostbyname4_r when IPv6 results are possible.
88867 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
88869         [BZ #12723]
88870         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
88871         _PC_PIPE_BUF handling.
88873 2011-04-30  Bruno Haible  <bruno@clisp.org>
88875         [BZ #12717]
88876         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
88877         * resolv/netdb.h (getnameinfo): Change type of flags parameter
88878         to 'int'.
88879         * inet/getnameinfo.c (getnameinfo): Likewise.
88881 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
88883         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
88884         to groups setting in database lookup.
88885         * nss/nsswitch.conf: Add initgroups entry.
88887 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
88889         [BZ #12685]
88890         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
88891         mode string.
88892         Patch by Eric Blake <eblake@redhat.com>.
88894 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
88896         * sunrpc/Makefile (need-export-routines): Add svc_run.
88897         (routines): Remove svc_run.
88898         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
88899         * sunrpc/clnt_perr.c (clnt_perrno): Export.
88900         * sunrpc/svc_run.c (svc_run): Likewise.
88901         * sunrpc/svc_udp.c (svcudp_create): Likewise.
88903 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
88905         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
88906         problem in reallocation in last patch.
88908 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
88910         * sunrpc/Makefile: Move inclusion of Rules.
88912 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
88914         * nss/nss_files/files-initgroups.c: New file.
88915         * nss/Makefile (libnss_files-routines): Add files-initgroups.
88916         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
88917         _nss_files_initgroups_dyn.
88919 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
88921         * elf/elf.h (R_ARM_IRELATIVE): Define.
88923 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
88925         * po/ru.po: Update from translation team.
88927 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
88929         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
88930         dependencies.
88932 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
88934         [BZ #12653]
88935         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
88936         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
88937         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
88938         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
88939         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
88941 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
88943         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
88944         differing bytes.
88945         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
88946         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
88947         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
88949 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
88951         [BZ #12420]
88952         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
88953         storing it.
88954         * stdlib/bug-getcontext.c: New file.
88955         * stdlib/Makefile: Add rules to build and run bug-getcontext.
88957 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88959         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
88960         instructions into .machine "z9-109".
88961         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
88962         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
88964 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88966         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
88967         between environment variables and auxiliary vector.
88969 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
88971         * Makefile: Add rules to build linkobj/libc.so.
88972         * include/libc-symbols.h: Define libc_hidden_nolink.
88973         * include/rpc/auth.h: Mark functions which are to be hidden.
88974         * include/rpc/auth_des.h: Likewise.
88975         * include/rpc/auth_unix.h: Likewise.
88976         * include/rpc/clnt.h: Likewise.
88977         * include/rpc/des_crypt.h: Likewise.
88978         * include/rpc/key_prot.h: Likewise.
88979         * include/rpc/pmap_clnt.h: Likewise.
88980         * include/rpc/pmap_prot.h: Likewise.
88981         * include/rpc/pmap_rmt.h: Likewise.
88982         * include/rpc/rpc_msg.h: Likewise.
88983         * include/rpc/svc.h: Likewise.
88984         * include/rpc/svc_auth.h: Likewise.
88985         * include/rpc/xdr.h: Likewise.
88986         * nis/Makefile: Link all DSOs against linkobj/libc.so.
88987         * nss/Makefile: Likewise.
88988         * sunrpc/Makefile: Don't install headers.  Build library with normal
88989         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
88990         * sunrpc/auth_des.c: Hide exported symbols by default, export some
88991         for the compat linking library.  Remove use of INTDEF/INTUSE.
88992         * sunrpc/auth_none.c: Likewise.
88993         * sunrpc/auth_unix.c: Likewise.
88994         * sunrpc/authdes_prot.c: Likewise.
88995         * sunrpc/authuxprot.c: Likewise.
88996         * sunrpc/clnt_gen.c: Likewise.
88997         * sunrpc/clnt_perr.c: Likewise.
88998         * sunrpc/clnt_raw.c: Likewise.
88999         * sunrpc/clnt_simp.c: Likewise.
89000         * sunrpc/clnt_tcp.c: Likewise.
89001         * sunrpc/clnt_udp.c: Likewise.
89002         * sunrpc/clnt_unix.c: Likewise.
89003         * sunrpc/des_crypt.c: Likewise.
89004         * sunrpc/des_soft.c: Likewise.
89005         * sunrpc/get_myaddr.c: Likewise.
89006         * sunrpc/key_call.c: Likewise.
89007         * sunrpc/key_prot.c: Likewise.
89008         * sunrpc/netname.c: Likewise.
89009         * sunrpc/pm_getmaps.c: Likewise.
89010         * sunrpc/pm_getport.c: Likewise.
89011         * sunrpc/pmap_clnt.c: Likewise.
89012         * sunrpc/pmap_prot.c: Likewise.
89013         * sunrpc/pmap_prot2.c: Likewise.
89014         * sunrpc/pmap_rmt.c: Likewise.
89015         * sunrpc/publickey.c: Likewise.
89016         * sunrpc/rpc_cmsg.c: Likewise.
89017         * sunrpc/rpc_common.c: Likewise.
89018         * sunrpc/rpc_dtable.c: Likewise.
89019         * sunrpc/rpc_prot.c: Likewise.
89020         * sunrpc/rpc_thread.c: Likewise.
89021         * sunrpc/rtime.c: Likewise.
89022         * sunrpc/svc.c: Likewise.
89023         * sunrpc/svc_auth.c: Likewise.
89024         * sunrpc/svc_authux.c: Likewise.
89025         * sunrpc/svc_raw.c: Likewise.
89026         * sunrpc/svc_run.c: Likewise.
89027         * sunrpc/svc_simple.c: Likewise.
89028         * sunrpc/svc_tcp.c: Likewise.
89029         * sunrpc/svc_udp.c: Likewise.
89030         * sunrpc/svc_unix.c: Likewise.
89031         * sunrpc/svcauth_des.c: Likewise.
89032         * sunrpc/xcrypt.c: Likewise.
89033         * sunrpc/xdr.c: Likewise.
89034         * sunrpc/xdr_array.c: Likewise.
89035         * sunrpc/xdr_float.c: Likewise.
89036         * sunrpc/xdr_intXX_t.c: Likewise.
89037         * sunrpc/xdr_mem.c: Likewise.
89038         * sunrpc/xdr_rec.c: Likewise.
89039         * sunrpc/xdr_ref.c: Likewise.
89040         * sunrpc/xdr_sizeof.c: Likewise.
89041         * sunrpc/xdr_stdio.c: Likewise.
89043 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
89045         [BZ #12650]
89046         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
89047         * sysdeps/ia64/dl-tls.h: Likewise.
89048         * sysdeps/powerpc/dl-tls.h: Likewise.
89049         * sysdeps/s390/dl-tls.h: Likewise.
89050         * sysdeps/sh/dl-tls.h: Likewise.
89051         * sysdeps/sparc/dl-tls.h: Likewise.
89052         * sysdeps/x86_64/dl-tls.h: Likewise.
89053         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
89055 2011-03-14  Andreas Schwab  <schwab@redhat.com>
89057         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
89058         rpath element also skip the following colon.
89059         (expand_dynamic_string_token): Add is_path parameter and pass
89060         down to DL_DST_REQUIRED and _dl_dst_substitute.
89061         (decompose_rpath): Call expand_dynamic_string_token with
89062         non-zero is_path.  Ignore empty rpaths.
89063         (_dl_map_object_from_fd): Call expand_dynamic_string_token
89064         with zero is_path.
89066 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
89068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
89069         Make cancelable.
89071 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
89073         [BZ #12655]
89074         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
89075         Patch by Filipe David Manana <fdmanana@apache.org>.
89077 2011-04-07  Andreas Schwab  <schwab@redhat.com>
89079         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
89080         Maintain aligned stack.
89081         (CHECK_RSP): Remove unused macro.
89083 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
89085         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
89086         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
89088 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
89090         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
89092         * include/features.h: Mention __USE_XOPEN2K8 in comment.
89094 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
89096         [BZ #12518]
89097         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
89098         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
89099         * sysdeps/x86_64/memmove.c: New file.
89100         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
89101         (memcpy): Renamed to ...
89102         (__new_memcpy): This.
89103         (memcpy): Provide GLIBC_2_14 memcpy.
89104         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
89105         (memcpy): Provide GLIBC_2_2_5 memcpy.
89107 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
89109         [BZ #12631]
89110         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
89112 2011-03-30  Andreas Schwab  <schwab@redhat.com>
89114         * misc/syncfs.c: New file.
89115         * misc/Makefile (routines): Add syncfs.
89116         * posix/unistd.h: Declare syncfs.
89117         * sysdeps/unix/syscalls.list: Add syncfs.
89119 2011-04-01  Andreas Schwab  <schwab@redhat.com>
89121         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
89122         open_by_handle_at.
89123         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
89124         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
89125         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
89126         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
89127         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
89128         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
89129         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
89131 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
89133         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
89134         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
89135         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
89136         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
89137         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
89138         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
89139         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
89141         * io/Makefile: Compile fallocate.c, fallocate64.c, and
89142         sync_file_range.c with -fexceptions.
89143         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
89144         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
89145         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
89146         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
89147         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
89148         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
89149         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
89150         sync_file_range as cancellation point
89151         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
89152         now a wrapper around __call_sync_file_range with cancellation handling.
89153         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
89154         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
89155         function name to __call_sync_file_range.
89156         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
89157         Add call_sync_file_range.
89159 2011-04-01  Andreas Schwab  <schwab@redhat.com>
89161         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
89162         bits/timex.h.
89164 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
89166         * iconv/iconv.h: Fix typo in comment.
89167         * io/fcntl.h: Likewise.
89168         * libio/stdio.h: Likewise.
89169         * posix/spawn.h: Likewise.
89170         * posix/unistd.h: Likewise.
89171         * stdlib/stdlib.h: Likewise.
89172         * time/time.h: Likewise.
89173         * wcsmbs/wchar.h: Likewise.
89175         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
89176         open_by_handle): Add.
89177         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
89178         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
89179         Augment a few comments.
89180         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
89181         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
89182         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
89183         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
89184         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
89185         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
89186         open_by_handle.
89188         * io/fcntl.h (AT_EMPTY_PATH): Define.
89190 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
89192         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
89193         * sysdeps/unix/sysv/linux/bits/time.h: New file.
89194         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
89195         to...
89196         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
89197         * Versions.def: Add GLIBC_2.14.
89198         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
89199         Export.
89201 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
89203         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
89204         round counter.
89205         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
89207 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
89209         [BZ #12597]
89210         * string/test-strncmp.c (do_page_test): New function.
89211         (check2): Likewise.
89212         (test_main): Call check2.
89213         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
89215 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
89217         [BZ #12587]
89218         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
89219         Handle cache information in CPU leaf 4.
89220         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
89222 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
89224         [BZ #12583]
89225         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
89226         character representation.
89227         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
89229 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
89231         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
89232         END(__isnan) to END(__isnanf) to match function entry point/label
89233         EALIGN(__isnanf,...).
89235 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
89237         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
89239 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
89241         [BZ #12510]
89242         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
89243         copy from the symbol referenced in the relocation to initialize the
89244         used variable.
89245         Patch by Piotr Bury <pbury@goahead.com>.
89246         * elf/Makefile: Add rules to build and tst-unique3.
89247         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
89248         * elf/tst-unique3.cc: New file.
89249         * elf/tst-unique3.h: New file.
89250         * elf/tst-unique3lib.cc: New file.
89251         * elf/tst-unique3lib2.cc: New file.
89253         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
89255 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
89257         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
89258         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
89259         to _start.
89261 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
89263         * elf/dl-load.c (_dl_map_object): If we are looking for the first
89264         to-be-loaded object along a path to loader is ld.so.
89266 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
89267             Ulrich Drepper  <drepper@gmail.com>
89269         * sysdeps/x86_64/memset.S: After aligning destination, code
89270         branches to different locations depending on the value of
89271         misalignment, when multiarch is enabled. Fix this.
89273 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
89275         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
89276         Set _x86_64_preferred_memory_instruction for AMD processsors.
89277         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89278         Set bit_Prefer_SSE_for_memop for AMD processors.
89280 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
89282         * libio/fmemopen.c (fmemopen): Optimize a bit.
89284 2011-03-03  Andreas Schwab  <schwab@redhat.com>
89286         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
89288 2011-03-03  Roland McGrath  <roland@redhat.com>
89290         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
89292 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
89294         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
89295         __bzero_ultra1 instead of __memset_ultra1.
89297 2011-02-23  Andreas Schwab  <schwab@redhat.com>
89298             Ulrich Drepper  <drepper@gmail.com>
89300         [BZ #12509]
89301         * include/link.h (struct link_map): Add l_orig_initfini.
89302         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
89303         returning unsuccessfully.
89304         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
89305         close of a file loaded at startup, restore the original l_initfini
89306         list.
89307         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
89308         list, store the pointer.
89309         * elf/Makefile ($(objpfx)noload-mem): New rule.
89310         (noload-ENV): Define.
89311         (tests): Add $(objpfx)noload-mem.
89312         * elf/noload.c: Include <memcheck.h>.
89313         (main): Call mtrace.  Close all opened handles.
89315 2011-02-17  Andreas Schwab  <schwab@redhat.com>
89317         [BZ #12454]
89318         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
89319         dependencies are missing.
89321 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89323         Fix __if_freereq crash: Unlike the generic version which uses free,
89324         Hurd needs munmap.
89325         * sysdeps/mach/hurd/ifreq.h: New file.
89327 2011-01-27  Petr Baudis  <pasky@suse.cz>
89328             Ulrich Drepper  <drepper@gmail.com>
89330         [BZ 12445]#
89331         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
89332         to extend_alloca().
89333         * stdio-common/bug23.c: New file.
89334         * stdio-common/Makefile (tests): Add bug23.
89336 2010-09-28  Andreas Schwab  <schwab@redhat.com>
89337             Ulrich Drepper  <drepper@gmail.com>
89339         [BZ #12489]
89340         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
89341         before performing relro protection.  At old place add assertion
89342         to make sure nothing changed.
89344 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
89345             Glauber de Oliveira Costa  <glommer@gmail.com>
89347         * elf/elf.h: Add new ARM TLS relocs.
89349 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
89351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
89352         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
89353         cast from r3.
89354         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
89355         'tests' variable.
89356         * sysdeps/wordsize-64/tst-writev.c: New file.
89358 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
89360         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
89361         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
89362         insns in _dl_start to prevent a TOC reference before relocs are
89363         resolved.
89365 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
89367         [BZ #12469]
89368         * Makeconfig: Remove RANLIB definition.
89369         * Makerules: Don't use RANLIB.
89370         * aclocal.m4: Remove ranlib test.
89371         * configure.in: No need to check for ranlib.
89372         * elf/rtld-Rules: Don't use RANLIB.
89374 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89376         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
89377         protection macro.
89378         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
89379         inclusion protection macro.
89381         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
89382         SIGRTMIN and SIGRTMAX and print information in that case only when
89383         SIGRTMIN is defined.
89385 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
89387         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
89388         arginfo fn returning -1.
89390         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
89391         and thousands string is zero terminated.
89393 2011-02-03  Andreas Schwab  <schwab@redhat.com>
89395         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
89396         sysdeps/unix/sysv/linux/bits/socket.h.
89398 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89400         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
89401         (__CPU_COUNT): Remove old macros.
89402         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
89403         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
89404         (__CPU_ALLOC, __CPU_FREE): Add macros.
89405         (__sched_cpualloc, __sched_cpufree): Add declarations.
89407 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
89409         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
89410         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
89411         * nscd/aicache.c (addhstaiX): Return timeout of added value.
89412         (readdhstai): Return value of addhstaiX call.
89413         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
89414         (addgrbyX): Return value returned by cache_addgr.
89415         (readdgrbyname): Return value returned by addgrbyX.
89416         (readdgrbygid): Likewise.
89417         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
89418         (addpwbyX): Return value returned by cache_addpw.
89419         (readdpwbyname): Return value returned by addhstbyX.
89420         (readdpwbyuid): Likewise.
89421         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
89422         (addservbyX): Return value returned by cache_addserv.
89423         (readdservbyname): Return value returned by addservbyX:
89424         (readdservbyport): Likewise.
89425         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
89426         (addhstbyX): Return value returned by cache_addhst.
89427         (readdhstbyname): Return value returned by addhstbyX.
89428         (readdhstbyaddr): Likewise.
89429         (readdhstbynamev6): Likewise.
89430         (readdhstbyaddrv6): Likewise.
89431         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
89432         (readdinitgroups): Return value returned by addinitgroupsX.
89433         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
89434         (prune_cache): Keep track of timeout value of re-added entries.
89435         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
89436         * nscd/nscd.h: Adjust prototypes of readd* functions.
89438 2011-02-04  Roland McGrath  <roland@redhat.com>
89440         * nis/nis_server.c (nis_servstate): Use the right name for 0.
89441         (nis_stats): Likewise.
89442         * nis/nis_modify.c (nis_modify): Likewise.
89443         * nis/nis_remove.c (nis_remove): Likewise.
89444         * nis/nis_add.c (nis_add): Likewise.
89446         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
89448         * posix/fnmatch_loop.c: Add some consts.
89450         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
89452 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
89454         [BZ #12460]
89455         * config.make.in (config-cflags-novzeroupper): Define.
89456         * configure.in: Substitute libc_cv_cc_novzeroupper.
89457         * elf/Makefile (AVX-CFLAGS): Define.
89458         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
89459         (CFLAGS-tst-auditmod4a.c): Likewise.
89460         (CFLAGS-tst-auditmod4b.c): Likewise.
89461         (CFLAGS-tst-auditmod6b.c): Likewise.
89462         (CFLAGS-tst-auditmod6c.c): Likewise.
89463         (CFLAGS-tst-auditmod7b.c): Likewise.
89464         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
89466 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
89468         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
89469         function to the callback.
89470         Patch partly by Jiri Olsa <jolsa@redhat.com>.
89472 2011-02-02  Andreas Schwab  <schwab@redhat.com>
89474         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
89475         of errno.
89477 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
89479         [BZ #11724]
89480         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
89481         of constructors.
89482         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
89483         of destructors.
89484         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
89486         [BZ #11724]
89487         * elf/Makefile: Add rules to build and run new test.
89488         * elf/tst-initorder.c: New file.
89489         * elf/tst-initorder.exp: New file.
89490         * elf/tst-initordera1.c: New file.
89491         * elf/tst-initordera2.c: New file.
89492         * elf/tst-initordera3.c: New file.
89493         * elf/tst-initordera4.c: New file.
89494         * elf/tst-initorderb1.c: New file.
89495         * elf/tst-initorderb2.c: New file.
89496         * elf/tst-order-a1.c: New file.
89497         * elf/tst-order-a2.c: New file.
89498         * elf/tst-order-a3.c: New file.
89499         * elf/tst-order-a4.c: New file.
89500         * elf/tst-order-b1.c: New file.
89501         * elf/tst-order-b2.c: New file.
89502         * elf/tst-order-main.c: New file.
89503         New test case by George Gensure <werkt0@gmail.com>.
89505 2010-10-01  Andreas Schwab  <schwab@redhat.com>
89507         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
89508         decoding ACE if AI_CANONIDN.
89510 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
89512         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
89514 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
89516         * version.h (RELEASE): Bump for 2.13 release.
89517         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
89519         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
89521         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
89522         MADV_NOHUGEPAGE.
89523         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
89524         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
89525         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
89526         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
89527         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
89528         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
89530         * posix/getconf.c: Update copyright year.
89531         * catgets/gencat.c: Likewise.
89532         * csu/version.c: Likewise.
89533         * debug/catchsegv.sh: Likewise.
89534         * debug/xtrace.sh: Likewise.
89535         * elf/ldconfig.c: Likewise.
89536         * elf/ldd.bash.in: Likewise.
89537         * elf/sprof.c (print_version): Likewise.
89538         * iconv/iconv_prog.c: Likewise.
89539         * iconv/iconvconfig.c: Likewise.
89540         * locale/programs/locale.c: Likewise.
89541         * locale/programs/localedef.c: Likewise.
89542         * malloc/memusage.sh: Likewise.
89543         * malloc/mtrace.pl: Likewise.
89544         * nscd/nscd.c (print_version): Likewise.
89545         * nss/getent.c: Likewise.
89547         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
89548         PF_CAIF, and PF_ALG.
89549         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
89551 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
89553         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
89554         (modules-names): Use them.
89555         (ifunc-test-modules, ifunc-pie-tests): Define.
89556         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
89557         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
89558         (test-extras): Likewise.
89559         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
89560         $(compile-command.c).
89561         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
89562         (all-built-dso): Define.
89563         (check-textrel.out, check-execstack.out): Depend on it.
89565         * configure.in: Don't override --enable-multi-arch.
89567 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
89569         [BZ #6812]
89570         * nscd/hstcache.c (tryagain): Define.
89571         (cache_addhst): Return tryagain not notfound for temporary errors.
89572         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
89573         failed.
89575 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
89577         [BZ #10563]
89578         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
89579         to make the syscall.
89580         * sysdeps/unix/sysv/linux/setgroups.c: New file.
89582         [BZ #12378]
89583         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
89584         and fall back to matching as normal character if the string ends before
89585         the matching ']' is found.  This is what POSIX requires.
89586         * posix/testfnm.c: Adjust test result.
89587         * posix/globtest.sh: Adjust test result.  Add new test.
89588         * posix/tst-fnmatch.input: Likewise.
89589         * posix/tst-fnmatch2.c: Add new test.
89591 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
89593         * elf/Makefile (check-execstack): Revert last change.  Depend on
89594         check-execstack.h.
89595         (check-execstack.h): New target.
89596         (generated): Add check-execstack.h.
89597         * elf/check-execstack.c: Include "check-execstack.h".
89598         (main): Revert last change.
89599         (handle_file): Return zero if GNU_STACK is absent and
89600         DEFAULT_STACK_PERMS doesn't include PF_X.
89602 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
89604         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
89605         in child fails because the descriptor is already closed.
89606         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
89607         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
89608         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
89610         [BZ #12397]
89611         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
89612         syscall.
89614         [BZ #10484]
89615         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
89616         temporary buffer used to handle multi lookups locally.
89617         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
89619 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
89621         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
89622         loader is ld.so.
89624 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
89626         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
89627         alignment for SSE2.
89629 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
89631         [BZ #12394]
89632         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
89633         characters.  When rounding increased number of integer digits recompute
89634         number of groups.
89635         * stdio-common/tst-grouping.c: New file.
89636         * stdio-common/Makefile: Add rules to build and run tst-grouping.
89638 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
89640         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
89641         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
89643         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
89644         void.
89645         * bits/select.h: Likewise.
89647 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
89649         * po/ja.po: Update from translation team.
89651 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
89653         [BZ #11155]
89654         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
89655         implementation just like for lxstat, fxstatat, et al.
89657 2010-12-27  Jim Meyering  <meyering@redhat.com>
89659         [BZ #12348]
89660         * posix/regexec.c (build_trtable): Return failure indication upon
89661         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
89663 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
89665         [BZ #12201]
89666         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
89667         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
89668         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
89669         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
89671         [BZ #12207]
89672         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
89674         [BZ #12204]
89675         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
89676         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
89678 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
89680         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
89681         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
89682         script has SORT_BY_INIT_PRIORITY.
89683         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
89684         NO_CTORS_DTORS_SECTIONS is defined.
89685         * elf/soinit.c: Likewise.
89686         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
89687         NO_CTORS_DTORS_SECTIONS is defined.
89688         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
89689         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
89690         * sysdeps/sh/init-first.c: Likewise.
89691         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
89693 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
89695         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
89696         always use the slow path.
89698 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
89700         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
89701         similar rule which adds the sysdep directories to the header search in
89702         order to pick up the correct platform stackinfo.h.
89703         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
89704         perform test if it is, otherwise return successfully without testing.
89705         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
89706         DEFAULT_STACK_PERMS define in stackinfo.h.
89707         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
89708         defined in stackinfo.h.
89709         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
89710         DEFAULT_STACK_PERMS defined in stackinfo.h.
89711         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
89712         * sysdeps/ia64/stackinfo.h: Likewise.
89713         * sysdeps/s390/stackinfo.h: Likewise.
89714         * sysdeps/sh/stackinfo.h: Likewise.
89715         * sysdeps/sparc/stackinfo.h: Likewise.
89716         * sysdeps/x86_64/stackinfo.h: Likewise.
89717         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
89718         PF_X for powerpc64.  Retain PF_X for powerpc32.
89720 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
89722         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
89723         accurately.
89724         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
89725         GETDENTS_64BIT_ALIGNED.
89727 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
89729         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
89731 2010-12-10  Andreas Schwab  <schwab@redhat.com>
89733         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
89734         _GNU_SOURCE.
89736         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
89737         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
89738         Remove __restrict.
89739         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
89740         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
89742 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
89744         [BZ #11655]
89745         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
89746         are initialized.
89748 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
89750         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
89752 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
89754         * po/it.po: Update from translation team.
89756 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
89758         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
89759         unused codes.
89761 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
89763         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
89765 2010-11-24  Andreas Schwab  <schwab@redhat.com>
89767         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
89768         specially.
89769         (gaih_getanswer_slice): Likewise.
89771 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
89773         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
89775 2010-05-31  Petr Baudis  <pasky@suse.cz>
89777         [BZ #11149]
89778         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
89779         silently even in the chroot mode.
89781 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
89783         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
89784         last patch a bit.  Pretty printing
89786 2010-05-31  Petr Baudis <pasky@suse.cz>
89788         [BZ #10085]
89789         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
89790         initialization of skip_initgroups_dyn.
89792 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
89794         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
89795         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
89797 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
89799         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
89801 2010-11-11  Andreas Schwab  <schwab@redhat.com>
89803         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
89804         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
89805         (tst-fnmatch-ENV): Set MALLOC_TRACE.
89806         ($(objpfx)tst-fnmatch-mem): New rule.
89807         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
89808         * posix/tst-fnmatch.c (main): Call mtrace.
89810 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
89812         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89813         Support Intel processor model 6 and model 0x2c.
89815 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
89817         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
89818           signed comparison.
89820 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
89822         [BZ #12205]
89823         * string/test-strncasecmp.c (check_result): New function.
89824         (do_one_test): Use it.
89825         (check1): New function.
89826         (test_main): Use it.
89827         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
89828         Support strcasecmp and strncasecmp.
89830 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
89832         [BZ #12194]
89833         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
89834         * sysdeps/x86_64/bits/byteswap.h: Likewise.
89836 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
89838         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
89839         IFUNC support.
89840         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89841         memset-x86-64.
89842         * sysdeps/x86_64/multiarch/bzero.S: New file.
89843         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
89844         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
89845         * sysdeps/x86_64/multiarch/memset.S: New file.
89846         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
89847         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89848         Set bit_Prefer_SSE_for_memop for Intel processors.
89849         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
89850         Define.
89851         (index_Prefer_SSE_for_memop): Define.
89852         (HAS_PREFER_SSE_FOR_MEMOP): Define.
89854 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
89856         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
89857         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
89859 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
89861         [BZ #12191]
89862         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
89863         (__x86_64_raw_data_cache_size_half): Likewise.
89864         (__x86_64_raw_shared_cache_size): Likewise.
89865         (__x86_64_raw_shared_cache_size_half): Likewise.
89867         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
89868         (__x86_64_raw_data_cache_size_half): Likewise.
89869         (__x86_64_raw_shared_cache_size): Likewise.
89870         (__x86_64_raw_shared_cache_size_half): Likewise.
89871         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
89872         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
89873         and __x86_64_raw_shared_cache_size_half.  Round
89874         __x86_64_data_cache_size_half, __x86_64_data_cache_size
89875         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
89876         to multiple of 256 bytes.
89878 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
89880         [BZ #12167]
89881         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
89882         of inacessible symlinks.  Verify result of symlink before returning it.
89883         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
89884         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
89886 2010-10-28  Erich Ritz  <erichritz@gmail.com>
89888         * math/math.h (isinf): Fix typo in comment.
89890 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
89892         * po/da.po: Update from translation team.
89894 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
89896         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
89897         is added to the list.
89899 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89900             Ulrich Drepper  <drepper@gmail.com>
89902         * elf/dl-object.c (_dl_new_object): Don't append the new object to
89903         the global list here.  Move code to...
89904         (_dl_add_to_namespace_list): ...here.  New function.
89905         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
89906         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
89907         * elf/dl-load.c (lose): Don't remove the element from the list.
89908         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
89909         (_dl_map_object): Likewise.
89911 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
89913         [BZ #12159]
89914         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
89915         into all bytes of SSE register.
89916         Patch by Richard Li <richardpku@gmail.com>.
89918 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
89920         [BZ #12140]
89921         * malloc/malloc.c (_int_free): Fill correct number of bytes when
89922         perturbing.
89924 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
89926         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
89927         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
89928         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
89929         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
89930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
89931         submachine.
89932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
89934 2010-10-22  Andreas Schwab  <schwab@redhat.com>
89936         * include/dlfcn.h (__RTLD_SECURE): Define.
89937         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
89938         mode & __RTLD_SECURE instead.
89939         (open_path): Rename preloaded parameter to secure.
89940         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
89941         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
89942         * elf/dl-deps.c (openaux): Likewise.
89943         * elf/rtld.c (struct map_args): Remove is_preloaded.
89944         (map_doit): Don't use it.
89945         (dl_main): Likewise.
89946         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
89947         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
89949 2010-09-09  Andreas Schwab  <schwab@redhat.com>
89951         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
89952         (sysd-rules-targets): Remove duplicates.
89953         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
89954         rtld-%.$o dependency.
89956 2010-10-18  Andreas Schwab  <schwab@redhat.com>
89958         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
89959         _dl_map_object do it.
89961 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
89963         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
89964         fast fma builtins, define the macros in the C99 standard.
89965         (FP_FAST_FMAF): Likewise.
89966         (FP_FAST_FMAL): Likewise.
89967         * sysdeps/x86_64/bits/mathdef.h: Likewise.
89969         * bits/mathdef.h: Update copyright year.
89970         * sysdeps/powerpc/bits/mathdef.h: Likewise.
89972 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
89974         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
89975         builtins, define the macros in the C99 standard.
89976         (FP_FAST_FMAF): Likewise.
89977         (FP_FAST_FMAL): Likewise.
89978         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
89979         multiply/add.
89980         (FP_FAST_FMAF): Likewise.
89982 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
89984         [BZ #3268]
89985         * math/libm-test.inc (fma_test): Some new testcases.
89986         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
89987         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
89988         y and infinite z.  Do multiplication by C already in long double.
89989         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
89990         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
89991         y and infinite z.  Do bitwise or of inexact bit into u.d.
89992         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
89993         * sysdeps/i386/fpu/s_fmaf.S: Removed.
89994         * sysdeps/i386/fpu/s_fma.S: Removed.
89995         * sysdeps/i386/fpu/s_fmal.S: Removed.
89997 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
89999         [BZ #3268]
90000         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
90001         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
90002         computation is not scheduled after fetestexcept.  Fix value
90003         of minimum denormal long double.
90005 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
90007         [BZ #3268]
90008         * math/libm-test.inc (fma_test): Add some more tests.
90009         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
90010         correctly.
90012 2010-10-15  Andreas Schwab  <schwab@redhat.com>
90014         * scripts/data/localplt-s390-linux-gnu.data: New file.
90015         * scripts/data/localplt-s390x-linux-gnu.data: New file.
90017 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
90019         [BZ #3268]
90020         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
90021         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
90022         instead of dbl-64.
90023         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
90024         inlines.
90025         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
90026         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
90027         if one of x and y is very large and the other is subnormal.
90028         * sysdeps/s390/fpu/s_fmaf.c: New file.
90029         * sysdeps/s390/fpu/s_fma.c: New file.
90030         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
90031         * sysdeps/powerpc/fpu/s_fma.S: New file.
90032         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
90033         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
90034         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
90036 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
90038         [BZ #3268]
90039         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
90040         fma tests.
90041         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
90042         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
90043         * sysdeps/i386/i686/multiarch/s_fma.c: Include
90044         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
90045         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
90046         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
90047         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
90049 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
90051         [BZ #12078]
90052         * posix/regcomp.c (parse_branch): One more memory leak plugged.
90053         * posix/bug-regex31.input: Add test case.
90055 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
90057         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
90058         * posix/bug-regex31.input: New file.
90060         [BZ #12078]
90061         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
90062         (parse_sub_exp): Fix last change, use postorder.
90064         * posix/bug-regex31.c: New file.
90065         * posix/Makefile: Add rules to build and run bug-regex31.
90067         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
90069         [BZ #12078]
90070         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
90072         [BZ #12108]
90073         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
90074         to have entries in sys_siglist.
90076         [BZ #12093]
90077         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
90078         be NULL.
90080 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
90082         [BZ #3268]
90083         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
90084         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
90085         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
90086         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
90087         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
90088         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
90089         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
90090         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
90091         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
90092         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
90093         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
90094         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
90095         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
90096         * math/ftestexcept.c (fetestexcept): Likewise.
90097         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
90098         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
90099         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
90100         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
90101         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
90102         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
90103         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
90105 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
90107         [BZ #12107]
90108         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
90109         newline.
90111 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
90113         * string/bug-strstr1.c: New file.
90114         * string/Makefile: Add rules to build and run bug-strstr1.
90116 2010-10-05  Eric Blake  <eblake@redhat.com>
90118         [BZ #12092]
90119         * string/str-two-way.h (two_way_long_needle): Always clear memory
90120         when skipping input due to the shift table.
90122 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
90124         [BZ #12005]
90125         * malloc/mcheck.c: Handle large requests.
90127         [BZ #12077]
90128         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
90129         for strncmp and strncasecmp.
90130         * string/stratcliff.c: Add tests for strcmp and strncmp.
90131         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
90133 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
90135         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
90136         __set_fpscr.
90138 2010-09-30  Andreas Jaeger  <aj@suse.de>
90140         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
90141         (CGROUP_SUPER_MAGIC): Define.
90142         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
90143         Handle btrfs and cgroup file systems.
90144         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
90145         Likewise.
90147 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
90149         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
90150         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
90152 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90154         [BZ #12067]
90155         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
90156         trying to locate the ELF header.
90158 2010-09-27  Andreas Schwab  <schwab@redhat.com>
90160         [BZ #11611]
90161         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
90162         Mask out sign-bit copies when constructing f_fsid.
90164 2010-09-24  Petr Baudis <pasky@suse.cz>
90166         * debug/stack_chk_fail_local.c: Add missing licence exception.
90167         * debug/warning-nop.c: Likewise.
90169 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
90171         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
90172         implementing getdents64 using getdents syscall, set d_type if
90173         __ASSUME_GETDENTS32_D_TYPE.
90175 2010-09-16  Andreas Schwab  <schwab@redhat.com>
90177         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
90178         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
90180 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
90182         [BZ #12037]
90183         * posix/unistd.h: Undo change of feature selection for ftruncate from
90184         2010-01-11.
90186 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
90188         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
90189         detection.
90191 2010-09-20  Andreas Schwab  <schwab@redhat.com>
90193         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
90194         fanotify_mark.
90195         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
90197 2010-09-14  Andreas Schwab  <schwab@redhat.com>
90199         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
90200         variables after CHECK_SP call.
90201         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
90203 2010-09-13  Andreas Schwab  <schwab@redhat.com>
90204             Ulrich Drepper  <drepper@redhat.com>
90206         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
90207         re-relocationg ld.so.
90208         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
90209         _dl_init_paths call.
90210         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
90211         here anymore.
90213 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
90215         * resolv/res_init.c (__res_vinit): Count the default server we added.
90217 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
90218             Ulrich Drepper  <drepper@redhat.com>
90220         [BZ #11968]
90221         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
90222         (____longjmp_chk): Use %ebx for saving value across system call.
90223         Add unwind info.
90225 2010-09-06  Andreas Schwab  <schwab@redhat.com>
90227         * manual/Makefile: Don't mix pattern rules with normal rules.
90229 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
90231         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
90232         operation.
90233         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
90234         * libio/iofopncook.c (_IO_cookie_init): Likewise.
90235         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
90236         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
90237         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
90238         Likewise.
90240 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
90242         [BZ #11979]
90243         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
90244         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
90246 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
90248         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
90249         * sysdeps/x86_64/addmul_1.S: Likewise.
90250         * sysdeps/x86_64/lshift.S: Likewise.
90251         * sysdeps/x86_64/mul_1.S: Likewise.
90252         * sysdeps/x86_64/rshift.S: Likewise.
90253         * sysdeps/x86_64/sub_n.S: Likewise.
90254         * sysdeps/x86_64/submul_1.S: Likewise.
90256 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90258         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
90259         Define __sched_param instead of SCHED_* and sched_param when
90260         <bits/sched.h> is included with __need_schedparam defined.
90261         * bits/sched.h [__need_schedparam]
90262         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
90263         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
90264         (__defined_schedparam): Define to 1.
90265         (__sched_param): New structure, identical to sched_param.
90266         (__need_schedparam): Undefine.
90268 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
90270         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
90271         (epoll_create1): Declare.
90273         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
90275 2010-08-31  Andreas Schwab  <schwab@redhat.com>
90277         [BZ #7066]
90278         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
90279         shifting retval into place.
90281 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
90283         * nis/rpcsvc/nis.h: Update copyright notice.
90284         * nis/rpcsvc/nis.x: Likewise.
90285         * nis/rpcsvc/nis_callback.h: Likewise.
90286         * nis/rpcsvc/nis_callback.x: Likewise.
90287         * nis/rpcsvc/nis_object.x: Likewise.
90288         * nis/rpcsvc/nis_tags.h: Likewise.
90289         * nis/rpcsvc/yp.h: Likewise.
90290         * nis/rpcsvc/yp.x: Likewise.
90291         * nis/rpcsvc/ypupd.h: Likewise.
90292         * nis/yp_xdr.c: Likewise.
90293         * nis/ypupdate_xdr.c: Likewise.
90295         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
90296         mainly the body of pmap_getport.  Add parameters to specify timeouts.
90297         (pmap_getport): Use __libc_rpc_getport.
90298         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
90299         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
90300         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
90302 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
90304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
90305         fanotify_mark.
90307 2010-08-27  Roland McGrath  <roland@redhat.com>
90309         * sysdeps/i386/i686/multiarch/Makefile
90310         (CFLAGS-varshift.c): New variable.
90312 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
90314         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
90315         * sysdeps/i386/i686/multiarch/varshift.c: New file.
90317         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
90319         * sysdeps/x86_64/strlen.S: Minimal code improvement.
90321 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
90323         * sysdeps/x86_64/strlen.S: Unroll the loop.
90324         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90325         strlen-sse2 strlen-sse2-bsf.
90326         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
90327         __strlen_no_bsf if bit_Slow_BSF is set.
90328         (__strlen_sse42): Removed.
90329         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
90330         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
90332 2010-08-25  Roland McGrath  <roland@redhat.com>
90334         * sysdeps/x86_64/multiarch/varshift.S: File removed.
90335         * sysdeps/x86_64/multiarch/varshift.c: New file.
90336         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
90337         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
90338         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
90339         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
90341 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
90343         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90344         strlen-sse2 strlen-sse2-bsf.
90345         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
90346         __strlen_sse2_bsf if bit_Slow_BSF is unset.
90347         (__strlen_sse2): Removed.
90348         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
90349         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
90350         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
90351         bit_Slow_BSF for Atom.
90352         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
90353         (index_Slow_BSF): Define.
90354         (HAS_SLOW_BSF): Define.
90356 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
90358         [BZ #10851]
90359         * resolv/res_init.c (__res_vinit): When no server address at all
90360         is given default to loopback.
90362 2010-08-24  Roland McGrath  <roland@redhat.com>
90364         * configure.in: Remove config-name.h generation.
90365         * configure: Regenerated.
90366         * config-name.in: File removed.
90367         * scripts/config-uname.sh: New file.
90368         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
90369         ($(objdir)config-name.h): New target.
90371         * sunrpc/rpc_parse.h: Avoid nested comment.
90373 2010-08-24  Richard Henderson  <rth@redhat.com>
90374             Ulrich Drepper  <drepper@redhat.com>
90375             H.J. Lu  <hongjiu.lu@intel.com>
90377         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
90378         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
90379         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
90380         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
90381         _mm_alignr_epi8 with _mm_loadu_si128.
90382         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
90383         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
90384         (__m128i_shift_right): Removed.
90385         * sysdeps/i386/i686/multiarch/varshift.h: New file.
90386         * sysdeps/i386/i686/multiarch/varshift.S: New file.
90387         * sysdeps/x86_64/multiarch/varshift.h: New file.
90388         * sysdeps/x86_64/multiarch/varshift.S: New file.
90390 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
90392         * configure.in: Move assembler checks to before sysdep dir checking.
90394 2010-08-20  Petr Baudis  <pasky@suse.cz>
90396         * LICENSES: Sync the sunrpc license.
90398 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
90400         * sunrpc/auth_des.c: Update copyright notice once again.
90401         * sunrpc/auth_none.c: Likewise.
90402         * sunrpc/auth_unix.c: Likewise.
90403         * sunrpc/authdes_prot.c: Likewise.
90404         * sunrpc/authuxprot.c: Likewise.
90405         * sunrpc/bindrsvprt.c: Likewise.
90406         * sunrpc/clnt_gen.c: Likewise.
90407         * sunrpc/clnt_perr.c: Likewise.
90408         * sunrpc/clnt_raw.c: Likewise.
90409         * sunrpc/clnt_simp.c: Likewise.
90410         * sunrpc/clnt_tcp.c: Likewise.
90411         * sunrpc/clnt_udp.c: Likewise.
90412         * sunrpc/clnt_unix.c: Likewise.
90413         * sunrpc/des_crypt.c: Likewise.
90414         * sunrpc/des_soft.c: Likewise.
90415         * sunrpc/get_myaddr.c: Likewise.
90416         * sunrpc/getrpcport.c: Likewise.
90417         * sunrpc/key_call.c: Likewise.
90418         * sunrpc/key_prot.c: Likewise.
90419         * sunrpc/openchild.c: Likewise.
90420         * sunrpc/pm_getmaps.c: Likewise.
90421         * sunrpc/pm_getport.c: Likewise.
90422         * sunrpc/pmap_clnt.c: Likewise.
90423         * sunrpc/pmap_prot.c: Likewise.
90424         * sunrpc/pmap_prot2.c: Likewise.
90425         * sunrpc/pmap_rmt.c: Likewise.
90426         * sunrpc/rpc/auth.h: Likewise.
90427         * sunrpc/rpc/auth_unix.h: Likewise.
90428         * sunrpc/rpc/clnt.h: Likewise.
90429         * sunrpc/rpc/des_crypt.h: Likewise.
90430         * sunrpc/rpc/key_prot.h: Likewise.
90431         * sunrpc/rpc/netdb.h: Likewise.
90432         * sunrpc/rpc/pmap_clnt.h: Likewise.
90433         * sunrpc/rpc/pmap_prot.h: Likewise.
90434         * sunrpc/rpc/pmap_rmt.h: Likewise.
90435         * sunrpc/rpc/rpc.h: Likewise.
90436         * sunrpc/rpc/rpc_des.h: Likewise.
90437         * sunrpc/rpc/rpc_msg.h: Likewise.
90438         * sunrpc/rpc/svc.h: Likewise.
90439         * sunrpc/rpc/svc_auth.h: Likewise.
90440         * sunrpc/rpc/types.h: Likewise.
90441         * sunrpc/rpc/xdr.h: Likewise.
90442         * sunrpc/rpc_clntout.c: Likewise.
90443         * sunrpc/rpc_cmsg.c: Likewise.
90444         * sunrpc/rpc_common.c: Likewise.
90445         * sunrpc/rpc_cout.c: Likewise.
90446         * sunrpc/rpc_dtable.c: Likewise.
90447         * sunrpc/rpc_hout.c: Likewise.
90448         * sunrpc/rpc_main.c: Likewise.
90449         * sunrpc/rpc_parse.c: Likewise.
90450         * sunrpc/rpc_parse.h: Likewise.
90451         * sunrpc/rpc_prot.c: Likewise.
90452         * sunrpc/rpc_sample.c: Likewise.
90453         * sunrpc/rpc_scan.c: Likewise.
90454         * sunrpc/rpc_scan.h: Likewise.
90455         * sunrpc/rpc_svcout.c: Likewise.
90456         * sunrpc/rpc_tblout.c: Likewise.
90457         * sunrpc/rpc_util.c: Likewise.
90458         * sunrpc/rpc_util.h: Likewise.
90459         * sunrpc/rpcinfo.c: Likewise.
90460         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
90461         * sunrpc/rpcsvc/key_prot.x: Likewise.
90462         * sunrpc/rpcsvc/klm_prot.x: Likewise.
90463         * sunrpc/rpcsvc/mount.x: Likewise.
90464         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
90465         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
90466         * sunrpc/rpcsvc/rex.x: Likewise.
90467         * sunrpc/rpcsvc/rstat.x: Likewise.
90468         * sunrpc/rpcsvc/rusers.x: Likewise.
90469         * sunrpc/rpcsvc/sm_inter.x: Likewise.
90470         * sunrpc/rpcsvc/spray.x: Likewise.
90471         * sunrpc/rpcsvc/yppasswd.x: Likewise.
90472         * sunrpc/rtime.c: Likewise.
90473         * sunrpc/svc.c: Likewise.
90474         * sunrpc/svc_auth.c: Likewise.
90475         * sunrpc/svc_authux.c: Likewise.
90476         * sunrpc/svc_raw.c: Likewise.
90477         * sunrpc/svc_run.c: Likewise.
90478         * sunrpc/svc_simple.c: Likewise.
90479         * sunrpc/svc_tcp.c: Likewise.
90480         * sunrpc/svc_udp.c: Likewise.
90481         * sunrpc/svc_unix.c: Likewise.
90482         * sunrpc/svcauth_des.c: Likewise.
90483         * sunrpc/xcrypt.c: Likewise.
90484         * sunrpc/xdr.c: Likewise.
90485         * sunrpc/xdr_array.c: Likewise.
90486         * sunrpc/xdr_float.c: Likewise.
90487         * sunrpc/xdr_mem.c: Likewise.
90488         * sunrpc/xdr_rec.c: Likewise.
90489         * sunrpc/xdr_ref.c: Likewise.
90490         * sunrpc/xdr_sizeof.c: Likewise.
90491         * sunrpc/xdr_stdio.c: Likewise.
90493         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
90494         handling.
90496 2010-08-19  Andreas Schwab  <schwab@redhat.com>
90498         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
90500 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
90502         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
90503         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
90504         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
90505         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
90506         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
90507         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
90508         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
90509         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
90510         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
90511         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
90512         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
90513         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
90514         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
90515         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
90517 2010-07-26  Anton Blanchard  <anton@samba.org>
90519         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
90520         * malloc/arena.c (heap_trim): Likewise.
90522 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
90524         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
90525         here.  Not...
90526         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
90527         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
90529 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
90531         * sysdeps/i386/elf/Makefile: New file.
90533 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
90535         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
90536         from fanotify_init.
90537         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
90538         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
90540 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
90542         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
90543         of strncasecmp_l.
90544         * sysdeps/multiarch/strcmp.S: Likewise.
90546 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
90548         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
90549         strncase_l-nonascii.
90550         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
90551         Add strncase_l-ssse3.
90552         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
90553         * sysdeps/x86_64/strcmp.S: Likewise.
90554         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
90555         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
90556         * sysdeps/x86_64/strncase.S: New file.
90557         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
90558         * sysdeps/x86_64/strncase_l.S: New file.
90559         * string/Makefile (strop-tests): Add strncasecmp.
90560         * string/test-strncasecmp.c: New file.
90562         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
90563         warning.
90565         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
90566         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
90568 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
90570         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
90572 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
90574         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
90575         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
90576         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
90578 2010-05-01  Alan Modra  <amodra@gmail.com>
90580         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
90581         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
90582         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
90583         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
90584         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
90585         tidying.  Don't tail-call __sigjmp_save for static lib.
90586         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
90587         save location.
90588         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
90589         (CALL_MCOUNT): Add eh info, and nop after bl.
90590         (TAIL_CALL_SYSCALL_ERROR): New macro.
90591         (PSEUDO_RET): Use it.
90592         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
90593         Correct save location of integer regs and cr.
90594         (_dl_profile_resolve): Correct cr save location.  Delete nops
90595         after bl when SHARED.  Reduce cfi size a little by better
90596         placement of cfi directives.
90597         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
90598         make a stack frame.  Instead use parm save area as a temp.
90599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
90600         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
90601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
90602         Don't make a stack frame for parent, use parm save area.
90603         Increase child stack frame to 112 bytes.  Don't save unused reg,
90604         and adjust reg usage.  Set up cfi on error recovery and
90605         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
90606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
90607         (__makecontext): Add dummy nop after jump to exit.
90608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
90609         Use correct parm save area and cr save, reduce stack frame.
90610         Correct cfi for possible PSEUDO_RET frame setup.
90611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
90612         Branch to local label emitted by PSEUDO_RET rather than
90613         __syscall_error.
90615 2010-08-12  Andreas Schwab  <schwab@redhat.com>
90617         [BZ #11904]
90618         * locale/programs/locale.c (print_assignment): New function.
90619         (show_locale_vars): Use it.
90621 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
90623         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
90624         field.
90625         (struct statfs64): Likewise.
90626         (_STATFS_F_FLAGS): Define.
90627         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
90628         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
90629         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
90630         (ST_VALID): Define locally.
90631         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
90632         __statvfs_getflags, use the provided value.
90633         * sysdeps/unix/sysv/linux/kernel-features.h: Define
90634         __ASSUME_STATFS_F_FLAGS.
90636         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
90638         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
90639         Add sys/fanotify.h.
90640         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
90641         fanotify_mask for GLIBC_2.13.
90642         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
90643         fanotify_init and fanotify_mark.
90644         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
90645         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
90647         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
90648         Add prlimit.
90649         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
90650         prlimit64 for GLIBC_2.13.
90651         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
90652         prlimit64.
90653         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
90654         syscall.
90655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
90656         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
90657         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
90658         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
90659         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
90660         add prlimit alias.
90661         * sysdeps/unix/sysv/linux/prlimit.c: New file.
90663         [BZ #11903]
90664         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
90665         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
90667         * nss/Makefile: Add rules to build and run tst-nss-test1.
90668         * shlib-versions: Add entry for libnss_test1.
90669         * nss/nss_test1.c: New file.
90670         * nss/tst-nss-test1.c: New file.
90672         * nss/nsswitch.c (__nss_database_custom): Define new variable.
90673         (__nss_configure_lookup): Set appropriate entry in
90674         __nss_configure_lookup to true.
90675         * nss/nsswitch.h: Define enum with indeces of databases in
90676         databases and __nss_database_custom arrays.  Declare
90677         __nss_database_custom.
90678         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
90679         to avoid using nscd when custom rules are installed.
90680         * nss/getXXbyYY_r.c: Likewise.
90681         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
90683         * nss/nss_files/files-parse.c: Whitespace fixes.
90685 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
90687         [BZ #11883]
90688         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
90689         * posix/fnmatch_loop.c: Likewise.
90691 2010-07-17  Andi Kleen  <ak@linux.intel.com>
90693         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
90694         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
90695         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
90696         * Versions.def [GLIBC_2.13]: Add.
90698 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
90700         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
90701         Also fail if tpwd after pwuid call is NULL.
90703 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90705         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
90706         when converting to ms.
90708 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90710         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
90711         EOPNOTSUPP errors with ENOTTY.
90712         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
90713         EOPNOTSUPP errors with ENOTTY.
90715 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
90717         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
90718         Add strcasecmp_l-ssse3.
90719         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
90720         strcasecmp.
90721         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
90722         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
90723         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
90725 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
90727         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
90729         * string/Makefile (strop-tests): Add strcasecmp.
90730         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
90731         strcasecmp_l-nonascii.
90732         (gen-as-const-headers): Add locale-defines.sym.
90733         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
90734         * sysdeps/x86_64/strcasecmp.S: New file.
90735         * sysdeps/x86_64/strcasecmp_l.S: New file.
90736         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
90737         * sysdeps/x86_64/locale-defines.sym: New file.
90738         * string/test-strcasecmp.c: New file.
90740         * string/test-strcasestr.c: Test both ends of the range of characters.
90741         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
90743 2010-07-29  Roland McGrath  <roland@redhat.com>
90745         [BZ #11856]
90746         * manual/locale.texi (Yes-or-No Questions): Fix example code.
90748 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
90750         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
90751         for ld.so.
90753 2010-07-27  Andreas Schwab  <schwab@redhat.com>
90755         * manual/memory.texi (Malloc Tunable Parameters): Document
90756         M_PERTURB.
90758 2010-07-26  Roland McGrath  <roland@redhat.com>
90760         [BZ #11840]
90761         * configure.in (-fgnu89-inline check): Set and substitute
90762         gnu89_inline, not libc_cv_gnu89_inline.
90763         * configure: Regenerated.
90764         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
90766 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
90768         * string/test-strnlen.c: New file.
90769         * string/Makefile (strop-tests): Add strnlen.
90770         * string/tester.c (test_strnlen): Add a few more test cases.
90771         * string/tst-strlen.c: Better error reporting.
90773         * sysdeps/x86_64/strnlen.S: New file.
90775 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
90777         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
90778         lower-latency instructions.
90780 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
90782         * string/test-strcasestr.c: New file.
90783         * string/test-strstr.c: New file.
90784         * string/Makefile (strop-tests): Add strstr and strcasestr.
90785         * string/str-two-way.h: Don't undefine MAX.
90786         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
90788 2010-07-21  Andreas Schwab  <schwab@redhat.com>
90790         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90791         strcasestr-nonascii.
90792         (CFLAGS-strcasestr-nonascii.c): Define.
90793         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
90794         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
90795         Remove unused attribute.
90797 2010-07-20  Roland McGrath  <roland@redhat.com>
90799         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
90800         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
90801         ld.so.cache was broken.  With it, there is no way to disable dsocaps
90802         like LD_HWCAP_MASK can disable hwcaps.
90804 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
90806         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
90808 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
90810         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
90811         call in strcasestr.
90812         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
90813         __strcasestr_sse42_nonascii.
90814         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
90815         strcasestr-nonascii.c.
90816         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
90818 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
90820         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
90821         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
90822         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
90823         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
90825 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
90827         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
90828         fcntl.
90830 2010-07-06  Andreas Schwab  <schwab@redhat.com>
90832         [BZ #11577]
90833         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
90834         dl_signal_cerror.
90836 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
90838         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
90839         _PC_PIPE_BUF using F_GETPIPE_SZ.
90841 2010-07-05  Roland McGrath  <roland@redhat.com>
90843         * manual/arith.texi (Rounding Functions): Fix rint description
90844         implicit in round description.
90846 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
90848         * elf/Makefile: Fix linking for a few tests to make recent linker
90849         happy.
90851 2010-06-30  Andreas Schwab  <schwab@redhat.com>
90853         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
90854         $(common-objpfx)libc_nonshared.a.
90856 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
90858         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
90859         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
90860         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
90861         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
90862         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
90863         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
90864         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
90865         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
90866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
90867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
90868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
90869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
90870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
90871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
90872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
90873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
90874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
90875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
90876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
90877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
90878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
90879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
90880         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
90881         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
90882         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
90883         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
90884         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
90885         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
90886         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
90887         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
90888         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
90889         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
90890         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
90891         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
90892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
90893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
90894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
90895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
90896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
90897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
90898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
90899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
90900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
90901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
90902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
90903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
90904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
90905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
90907 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
90909         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
90910         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
90911         * string/memmove.c (memmove): Renamed to ...
90912         (MEMMOVE): ...this.  Default to memmove.
90913         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
90914         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
90915         (END_CHK): Define.
90916         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90917         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
90918         mempcpy-ssse3-back memmove-ssse3-back.
90919         * sysdeps/x86_64/multiarch/bcopy.S: New file .
90920         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
90921         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
90922         * sysdeps/x86_64/multiarch/memcpy.S: New file.
90923         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
90924         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
90925         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
90926         * sysdeps/x86_64/multiarch/memmove.c: New file.
90927         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
90928         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
90929         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
90930         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
90931         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
90932         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
90933         Define.
90934         (index_Fast_Copy_Backward): Define.
90935         (HAS_ARCH_FEATURE): Define.
90936         (HAS_FAST_REP_STRING): Define.
90937         (HAS_FAST_COPY_BACKWARD): Define.
90939 2010-06-21  Andreas Schwab  <schwab@redhat.com>
90941         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
90942         Restore proper fallback handling.
90944 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
90946         [BZ #11701]
90947         * posix/group_member.c (__group_member): Correct checking loop.
90949         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
90950         OOM in getpwuid_r correctly.  Return error number when the caller
90951         should return, otherwise -1.
90952         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
90953         call returning > 0 value.
90954         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
90956 2010-06-07  Andreas Schwab  <schwab@redhat.com>
90958         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
90959         libc_nonshared.a from targets in modules-names.
90961 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
90963         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
90964         requires it.
90966 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
90968         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
90969         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
90970         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
90971         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
90973 2010-06-02  Andreas Schwab  <schwab@redhat.com>
90975         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
90977 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
90979         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
90980         and F_GETPIPE_SZ.
90981         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
90982         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
90983         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
90984         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
90985         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
90986         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
90988 2010-06-14  Roland McGrath  <roland@redhat.com>
90990         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
90992 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
90994         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
90995         __REDIRECT followed by __THROW.
90996         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
90997         * posix/getopt.h (getopt): Likewise.
90999 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
91001         * hurd/lookup-at.c (__file_name_lookup_at): Accept
91002         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
91003         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
91004         in AT_FLAGS.
91005         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
91006         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
91008 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
91010         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
91012 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
91014         [BZ #11640]
91015         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91016         Properly check family and model.
91018 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
91020         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
91022 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
91024         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
91026 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
91028         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
91029         symbol reference.
91031 2010-05-19  Andreas Schwab  <schwab@redhat.com>
91033         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
91034         symbol reference.
91036 2010-05-21  Andreas Schwab  <schwab@redhat.com>
91038         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
91039         and internal_recvmmsg.
91040         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
91041         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
91042         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
91043         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
91045         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
91046         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
91047         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
91049 2010-05-20  Andreas Schwab  <schwab@redhat.com>
91051         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
91053 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
91055         POWER7 optimizations.
91056         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
91057         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
91059 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
91061         * version.h: Update for 2.13 development version.
91063 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
91065         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
91066         exceptions.  Return 0.
91068 2010-05-07  Roland McGrath  <roland@redhat.com>
91070         * elf/ldconfig.c (main): Add a const.
91072 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
91074         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
91075         (args_options): Add no-idn option.
91076         (ahosts_keys_int): Add idn_flags to ai_flags.
91077         (parse_option): Handle 'i' option to clear idn_flags.
91079         * malloc/malloc.c (_int_free): Possible race in the most recently
91080         added check.  Only act on the data if no current modification
91081         happened.
91083 See ChangeLog.17 for earlier changes.